EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 157

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
155
5
Program example
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]
Step
Instruction
Device
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.
Step
Instruction
Device

Table of Contents

Related product manuals