Mitsubishi MELSEC QCPU Programming Manual page 121

Programmable logic controller
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS
(2) No count is conducted with the operation results at ON.
(There is no need to perform pulse conversion on count input.)
(3) After the count up status is reached, there is no change in the count value or the contacts until
the RST instruction is executed.
(4) A negative number (-32768 to -1) cannot be set as the setting value for the timer.
If the set value is 0, the processing is identical to that which takes place for 1.
(5) Index modification for the counter coil and contact can use only Z0 and Z1.
Index modification cannot be performed for the counter setting.
[Operation Errors]
(1) There are no operation errors associated with the OUT C
[Program Example]
(1) The following program turns Y30 ON after X0 has gone ON 10 times, and resets the counter
when X1 goes ON.
[Ladder Mode]
(2) 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
Steps
REMARK
The number of basic steps of the OUT C
5 - 25
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
[List Mode]
Steps
Stores 10 at D0 when X0 goes ON
Stores 20 at D0 when X1 goes ON
C10 takes data stored at D0 as set
value, and counts
Y30 goes ON when C10 reaches count
out state
Device
instruction is 4.
MELSEC-Q/QnA
instruction.
Instruction
Device
5 - 25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents