FX Series Programmable Controllers

STL Programming 3

3.4.2Using OUT to drive an STL coil

This has the same operational features as using SET. However, there is one major function which SET is not used. This is to make what is termed ‘distant jumps’.

OUT is used for loops and jumps

If a user wishes to ‘jump’ back up a program, i.e. go back to a state which has already been processed, the OUT instruction would be used with the appropriate STL state number.

Alternatively the user may wish to make a large ‘jump’ forwards skipping a whole section of STL programmed states.

Partial

S 0

repeat

 

 

S 20

 

OUT

 

S 21

 

S 22

OUT

 

 

S 23

S 0

S 20

S21

S 22

S 23

Program jump

Out is used for distant jumps

If a step in one STL program flow was required to trigger a step in a second, separate STL program flow the OUT instruction would be used.

STL flow 1

S 0

S20

S 21

S22

S 23

STL flow 2

OUT

S 1

S40

S 41

S 42

S 43

S 44

Note: Although it is possible to use SET for jumps and loops use of OUT is needed for display of STL in SFC like structured format.

3-6

Page 58
Image 58
Mitsubishi Electronics FX1S Using OUT to drive an STL coil, OUT is used for loops and jumps, Out is used for distant jumps