Mitsubishi Electric NZ2GFCF-D62PD2 User Manual page 148

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

Advertisement

(2) Operation example of the latch counter function (counter function selection)
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 (RWr12 to RWr13, RWr2A to RWr2B) at the rising edge of CH
Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1, FUNC2).
Controlled by the high-speed counter module
Controlled by the program
CH
(RWr10 to RWr11, RWr28 to RWr29)
CH
CH
(RWr12 to RWr13, RWr2A to RWr2B)
CH
Update flag (Latch count value)
CH
CH
No.
The value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Latch count value (RWr12 to RWr13,
RWr2A to RWr2B) at the rising edge of CH Selected counter function start command (RY25, RY3D) or CH Function input
1)
terminal (FUNC1, FUNC2). For CH Selected counter function start command (RY25, RY3D), CH Counter function detection
(RX25, RX3D) turns on or off by turning on or off CH Selected counter function start command (RY25, RY3D).
After CH Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is updated, CH Update flag (Latch count value) (RX29,
2)
RX41) turns on.
When CH Update flag reset command (Latch count value) (RY28, RY40) is turned off then on, the high-speed counter module
turns off CH Update flag (Latch count value) (RX29, RX41) and turns on CH Update flag reset completed (Latch count value)
3)
(RX28, RX40). After that, CH Update flag reset completed (Latch count value) (RX28, RX40) turns off when CH Update flag
reset command (Latch count value) (RY28, RY40) is turned off.
CH Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is updated even if CH Update flag (Latch count value) (RX29,
4)
RX41) is on. (The latch counter function operates regardless of the ON/OFF status of CH Count enable command (RY24,
RY3C).)
146
Count enable command
(RY24, RY3C)
CH
Present value
Selected counter function
start command
(RY25, RY3D)
Counter function detection
(RX25, RX3D)
CH
Function input terminal
(FUNC1, FUNC2)
CH
Latch count value
(RX29, RX41)
Update flag reset command
(Latch count value)
(RY28, RY40)
Update flag reset completed
(Latch count value)
(RX28, RX40)
ON
OFF
150
100
50
50
0
0
ON
1)
OFF
ON
OFF
ON
1)
OFF
150
100
50
0
0
ON
2)
OFF
ON
3)
OFF
ON
OFF
Description
130
100
1)
1)
130
100
50
4)

Advertisement

Table of Contents
loading

Table of Contents