Latch Counter Function By Latch Counter Input Terminal - Mitsubishi NZ2GFCF-D62PD2 User Manual

Cc-link ie field network high-speed counter module
Table of Contents

Advertisement

8.5

Latch Counter Function by Latch Counter Input Terminal

(1) Latching the present value by the latch counter input terminal
The latch counter function by latch counter input terminal acquires the value in CH Present value (RWr10 to
RWr11, RWr28 to RWr29) of the counter and stores it in the remote register when CH Latch counter input
terminal (LATCH1, LATCH2) is input.
The following figure shows an operation example of acquiring the value in CH Present value (RWr10 to RWr11,
RWr28 to RWr29) as CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31)
at the rising edge of CH Latch counter input terminal (LATCH1, LATCH2).
Controlled by the high-speed counter module
Controlled by the program
CH
(RWr10 to RWr11, RWr28 to RWr29)
CH
(RWr18 to RWr19, RWr30 to RWr31)
CH
CH
CH
No.
The value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Latch count value (Latch counter input
1)
terminal) (RWr18 to RWr19, RWr30 to RWr31) at the rising edge of CH Latch counter input terminal (LATCH1, LATCH2).
After CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated, CH Latch count
2)
value update flag (Latch counter input terminal) (RX2B, RX43) turns on.
When CH Latch count value update flag reset command (Latch counter input terminal) (RY2A, RY42) is turned off then on, the
high-speed counter module turns off CH Latch count value update flag (Latch counter input terminal) (RX2B, RX43) and turns on
3)
CH Latch count value update flag reset completed (Latch counter input terminal) (RX2A, RX42).
After that, CH Latch count value update flag reset completed (Latch counter input terminal) (RX2A, RX42) turns off when CH
Latch count value update flag reset command (Latch counter input terminal) (RY2A, RY42) is turned off.
CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated even if CH Latch count
4)
value update flag (Latch counter input terminal) (RX2B, RX43) is on.
(The latch counter function operates regardless of the ON/OFF status of CH Count enable command (RY24, RY3C).)
Count enable command
(RY24, RY3C)
150
100
50
CH
Present value
0
Latch counter input terminal
(LATCH1, LATCH2)
150
100
CH
Latch count value
(Latch counter input terminal)
50
0
Latch count value update flag
(Latch counter input terminal)
(RX2B, RX43)
Latch count value update
flag reset command
(Latch counter input terminal)
(RY2A, RY42)
Latch count value update
flag reset completed
(Latch counter input terminal)
(RX2A, RX42)
ON
OFF
50
0
ON
ON
1)
1)
OFF
OFF
OFF
50
0
ON
2)
OFF
3)
OFF
OFF
Description
CHAPTER 8 FUNCTIONS
ON
OFF
130
100
ON
ON
1)
1)
OFF
130
100
4)
8
127

Advertisement

Table of Contents
loading

Table of Contents