
//INTEGRAS/ELS/PAGINATION/ELSEVIER UK/PLC/3B2/FINALS-7-6-04/0750656794-CH03 0.3D – 311 – [310–314/5]
19.6.2004 9:21PM
30.1 Sub-routine program flow
Main program
30.2 Pri nciple of operat ion
1. When input X0 is ON, the execution of the CALL instruction will cause a jump to
the sub-routine instructions, which starts at label P0.
Note: In the FX2N range of PLCs a total of 63 labels are available, in the range P0–P62.
2. The sub-routine instructions are now executed until the sub-routine return -[SRET]-
instruction is executed.
3. The program will now return to the main program, to enable the remaining main
program instructions to be executed, or as shown ...