Mitsubishi Electric MELSEC-Q/L Programming Manual page 157

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Program example
• The following program turns Y30 ON after X0 has gone ON 10 times, and resets the counter when X1 goes ON.
[Ladder Mode]
• 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]
Instruction
Step
Stores 10 at D0 when X0 goes ON.
Stores 20 at D0 when X1 goes ON.
C10 executes counting using the data
stored in D0 as the set value.
Y30 goes ON at the count-up of C10.
Device
[List Mode]
Instruction
Step
5 SEQUENCE INSTRUCTIONS
Device
5.3 Output Instructions
5
155

Advertisement

Table of Contents
loading

Table of Contents