Import in PL7

Import sub-routines in PL7

1- Create 2 sub-routines Sr10 and Sr11.

                     PL7_1.jpg

PL7_2.jpg

That gives :

                           image277.jpg

 

2- Open the sub-routine Sr10 by double click and from the File menu, choose Import.             

image288.jpg

 

 

 

 

 

Indicate the path (C:\program files\processim_tsx\applications\liaison tsx\configuration1\sr10.st in the example)

 

 

That gives :

image299.jpgRemark :

The content of Sr10 depends of the PLC configuration.

Proceed in the same way for the sub-routine Sr11.

 

 

 

 

 

 

 

3- Call the sub-routine Sr10.

 

The sub-routine Sr10 must be called in the first line in the application for any language used.

Example in Ladder logic :

PL7_3.jpg

Example in ST :

image311.jpg

Calling of sub-routine Sr11

Proceed in the same way to place the Sr11 calling at the latest line in the program.