6 - 5 6 - 5
MELSEC-Q
6 CONVENIENT USAGE
6.3 Using the Latch Counter Function
The latch counter function latches the present counter value at the time a signal was
entered.
The following figure shows the relationship among the present value of the counter, the
counter function selection start command, and CH
Latch count value (Un\G12,
Un\G13, Un\G44, Un\G45).
1) 2) 3) 4)
0
50
100
150
ON
OFF
ON
OFF
0
50
100
130
0
50
100
150
0
50
100
130
CH Count enable command
(Y4, YC)
CH Present value
(Un\G2, Un\G3, Un\G34, Un\G35)
CH Counter function selection start
command (Y6, YE)
Counter function selection start command
(function start input)
CH Latch count value
(Un\G12, Un\G13, Un\G44, Un\G45)
At the rise of CH
Counter function selection start command (Y6, YE) or the counter
function selection start command (function start input) of 1) to 4), the present value of
the counter is stored in CH
Latch count value (Un\G12, Un\G13, Un\G44, Un\G45).
The latch counter function can be performed regardless of whether CH
Count enable
command (Y4, YC) is on or off.