Common program
The following figure shows an example of the program to check the data link status of the remote head module (station
number 1).
(0)
Checks the data link status of the remote head module (station number 1).
Add the MCR instruction shown below to the last of the program.
Program example in pulse count mode
■Program example in pulse count mode
• To start the count operation
(32) Turns on 'CH1 Count enable command' (Y1004).
• To stop the count operation
(48) Turns off 'CH1 Count enable command' (Y1004).
• Setting to output the counter value coincidence signal
(64) Turns on 'CH1 Coincidence signal No.1 reset command' (Y1000) and 'CH1 Coincidence signal enable command' (Y1002).
(89) Turns off 'CH1 Coincidence signal No.1 reset command' (Y1000) and 'CH1 Coincidence signal enable command' (Y1002).
• Processing when the count values match
(99) Performs an external output when the count values match.
APPENDICES
78
Appendix 4 Operation Examples of When the Remote Head Module Is Mounted