134
(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).
No.
Description
1)
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
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).
2)
After CH
Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is updated, CH
Update flag (Latch count value) (RX29, RX41)
turns on.
3)
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)
(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.
4)
CH
Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is updated even if CH
Update flag (Latch count value) (RX29,
RX41) is on. (The latch counter function operates regardless of the ON/OFF status of CH
Count enable command (RY24,
RY3C).)
CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
150
100
50
0
OFF
OFF
OFF
ON
150
100
50
0
0
0
50
50
100
100
130
130
2)
3)
1)
1)
1)
1)
4)
CH Count enable command
(RY24, RY3C)
CH Counter function detection
(RX25, RX3D)
CH Function input terminal
(FUNC1, FUNC2)
CH Latch count value
(RWr12 to RWr13, RWr2A to RWr2B)
CH Update flag (Latch count value)
(RX29, RX41)
Controlled by the high-speed counter module
Controlled by the program
CH Update flag reset command
(Latch count value)
(RY28, RY40)
CH Update flag reset completed
(Latch count value)
(RX28, RX40)
OFF
OFF
ON
OFF
ON
OFF
ON
ON
ON
ON
CH Selected counter function
start command
(RY25, RY3D)
Содержание NZ2GFCF-D62PD2
Страница 1: ......
Страница 2: ......
Страница 54: ...52 Memo ...
Страница 206: ...204 Memo ...
Страница 303: ......
Страница 304: ......