342
6 BASIC INSTRUCTIONS
6.8 Other Convenient Instructions
• The following program turns Y0 and Y1 ON and OFF once each second (flicker) when X20 is ON. (Uses 100ms timer)
Note that the STMR instruction operates when the instruction is used within the range written data by the online program
change.
For details, refer to the User's Manual (Function Explanation, Program Fundamentals) for the CPU module used.
[Ladder Mode] [List Mode]
[Timing Chart]
M1, Y0
X20
M2, Y1
M3
1 sec 1 sec