Use a subroutine program for the purposes such as the following.
• Handle the program that is executed several times in one scan as a subroutine program so that the entire
number of steps can be reduced
• Handle the program that is executed under the specific condition as a subroutine program so that the scan
time can be decreased
● A subroutine programs can be managed as one separate program (standby type program). ( Page 66, Section 2.8.3)
● Subroutine programs can be configured with the nesting. ( Page 335, Section 5.9)
● Using an interrupt pointer in a subroutine program changes the program to an interrupt program. ( Page 56, Section
2.7)
2.3.4
END processing
END processing includes the following.
• Link refresh with CC-Link IE Field Network master/local module
• Link refresh with CC-Link IE Field Network Basic
• Auto refresh with intelligent function module
• Intelligent function module dedicated instruction processing
• Device data latch processing
• Service processing
• Watchdog time reset
• Self-diagnostics processing
• Special relay/special register value setting (only for those that should be set during END processing)
When a constant scan is set, the results of processing performed in END processing are held for the period between after
END processing is completed and until the next scan starts.
CHAPTER 2 APPLICATION OF PROGRAMMING
2
47