127
CHAPTER 8 FUNCTIONS
8
8.5 La
tch C
ounter F
unction
by Lat
ch C
ounter In
put Ter
m
ina
l
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).
No.
Description
1)
The value in CH
Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in 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).
2)
After CH
Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated, CH
Latch count
value update flag (Latch counter input terminal) (RX2B, RX43) turns on.
3)
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
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.
4)
CH
Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated even if CH
Latch count
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).)
150
100
50
0
OFF
ON
OFF
ON
OFF
OFF
OFF
ON
OFF
ON
OFF
ON
OFF
OFF
ON
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 Present value
(RWr10 to RWr11, RWr28 to RWr29)
CH Latch counter input terminal
(LATCH1, LATCH2)
CH Latch count value
(Latch counter input terminal)
(RWr18 to RWr19, RWr30 to RWr31)
CH Latch count value update flag
(Latch counter input terminal)
(RX2B, RX43)
CH Latch count value update
flag reset command
(Latch counter input terminal)
(RY2A, RY42)
CH Latch count value update
flag reset completed
(Latch counter input terminal)
(RX2A, RX42)
Controlled by the high-speed counter module
Controlled by the program
Содержание NZ2GFCF-D62PD2
Страница 1: ......
Страница 2: ......
Страница 54: ...52 Memo ...
Страница 206: ...204 Memo ...
Страница 303: ......
Страница 304: ......