5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
155
5
• The following program turns Y30 ON after X0 has gone ON 10 times, and resets the counter when X1 goes ON.
• The following program sets the value for C10 at 10 when X0 goes ON, and at 20 when X1 goes ON.
[Ladder Mode] [List Mode]
[Ladder Mode]
[List Mode]
Stores 20 at D0 when X1 goes ON.
Stores 10 at D0 when X0 goes ON.
Y30 goes ON at the count-up of C10.
C10 executes counting using the data
stored in D0 as the set value.