Mitsubishi 00JCPU User Manual page 410

Q series programmable controller
Table of Contents

Advertisement

(b) Current value update (count value + 1)
The current value is updated (count value + 1) at the leading edge (OFF
The current value is not updated while the coil is off, or when it remains on or turns off from on by the OUT C
instruction.
[Ladder example]
X0
[Current value update timing]
Sequence
program
X0
Coil C0
(c) Resetting the counter
The current counter value is not cleared even if the OUT C
To clear the current value and to turn off the contact of the counter, use the RST C
At the time of execution of the RST C
off.
[Ladder example]
X0
[Counter reset timing]
Sequence
program
X0
RST C0
instruction
9 - 35
K10
C0
END
OUT C0
ON
OFF
ON
OFF
Current value
update
Figure 9.33 Current value update timing
instruction, the counter value is cleared, and the contact is also turned
RST C0
END
RST C0
ON
OFF
Execution
OFF
Count value cleared,
the contact turned off
Figure 9.34 Resetting the counter
END
OUT C0
END
instruction is turned off.
END
RST C0
END
ON) of the OUT C
instruction.
OUT C0
Current value
update
instruction.
RST C0
Count value cleared,
the contact turned off

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents