(4) Configuration of program examples
The following figure shows a configuration of a program example.
(a) Program configuration under the normal mode
(Use this program when the linear counter function is set for counter format.)
(b) Program configuration under a mode other than the normal mode
Program examples under a mode other than the normal mode operate in a single-program example.
(c) Error/warning reset program and error history read program
If an error or warning processing is required for a program example under a mode other than the normal mode,
add the error/warning reset program and error history read program of the normal mode before the MCR
instruction of each program.
Common program
Initial setting program
Counter function program
(Select the program for the counter function used.)
Comparison output function
(coincidence output function or cam switch function) program
Overflow/underflow detection program
Error/warning reset program
Error history read program
CHAPTER 9 PROGRAMMING
199
9