2.3.2
Refresh processing of input/output modules or intelligent
function modules
The CPU module performs the following before program operations.
• On/off data input from the input module or intelligent function module to the CPU module
• On/off data output from the CPU module to the output module or intelligent function module
For details on refresh processing, refer to Page 51, Section 2.6.
2.3.3
Program operation
A main routine program repeatedly executes its operation from the step 0 to the END or FEND instruction. This
program is executed from the step 0 for every scan.
Main routine program
A main routine program can be divided to main routine and subroutine programs. A subroutine program is from a
pointer (P ) to the RET instruction, and is created between the FEND and END instructions. This program is
executed only when it is called by a subroutine program call instruction (such as CALL(P), FCALL(P)) from a main
routine program.
*1
Pointer numbers do not need to be specified in ascending order.
46
Program
execution
END/FEND
END/FEND
instructions
END processing
Program A
Main routine program
Subroutine
program 1
Subroutine
program 2
Subroutine
program 3
Pointer*
Step 0
1 scan (After completion
of END processing,
an operation is repeated
starting from step 0.)
1