5 - 31 5 - 31
MELSEC-Q/QnA
5 SEQUENCE INSTRUCTIONS
b) For word processing
• Internal device (word to be specified by bit device) : 2
• Index resister : 2
• Other than above : 3
[Program Example]
(1) The following program sets the value of the data register to 0.
[Ladder Mode]
When X0 goes ON, the contents of X10
to 1F are stored at D8
When X5 goes ON, the value of D8 is
set to 0
[List Mode]
Steps
Instruction
Device
(2) The following program resets the 100 ms retentive timer and counter.
[Ladder Mode]
When T225 is set at the retentive timer,
the ON time for X4 is 30 minutes, then
T225 goes ON.
Counts the number of times T225 goes ON
When the T225 contact goes ON, the T225
coil, contact, and present value are reset.
When C23 reaches the count out state,
Y55 goes ON.
Resets C23 when X5 goes ON.
[List Mode]
Steps
Instruction
Device
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com