158
(6) Operation example of the pulse measurement function
The following figure shows an operation example of the pulse measurement for the ON width with CH
Function
input terminal (FUNC1, FUNC2).
The explanations in the following table are for the measurement with CH
Function input terminal (FUNC1,
FUNC2). The same can be applied to the measurement with CH
Latch counter input terminal (LATCH1,
LATCH2) except the difference of the terminals for the pulse measurement and the setting items. For details on
the difference, refer to Page 159, Section 8.15 (7).
No.
Description
1)
When CH
Pulse measurement start command (Function input terminal) (RY30, RY48) is turned on, CH
Pulse measurement
flag (Function input terminal) (RWr20.b6, RWr38.b6) changes to Operating (1).
The following processing are performed. The remote input signal and remote register remain the same before the measured pulse
value is stored.
• CH
Measured pulse value update flag (Function input terminal) (RX32, RX4A) turns off.
• The value in CH
Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) changes to 0.
2)
The following processing is performed when the measured pulse value is stored.
• CH
Measured pulse value update flag (Function input terminal) (RX32, RX4A) turns on.
3)
When CH
Measured pulse value update flag reset command (Function input terminal) (RY31, RY49) is turned off then on, the
high-speed counter module turns off CH
Measured pulse value update flag (Function input terminal) (RX32, RX4A) and turns on
CH
Measured pulse value update flag reset completed (Function input terminal) (RX31, RX49).
After that, CH
Measured pulse value update flag reset completed (Function input terminal) (RX31, RX49) turns off when CH
Measured pulse value update flag reset command (Function input terminal) (RY31, RY49) is turned off.
4)
CH
Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) is updated even if CH
Measured
pulse value update flag (Function input terminal) (RX32, RX4A) is on.
5)
CH
Pulse measurement flag (Function input terminal) (RWr20.b6, RWr38.b6) changes to Not operating (0) and the pulse
measurement stops by turning off CH
Pulse measurement start command (Function input terminal) (RY30, RY48).
6)
If the pulse (pulse ON width in this case) is input before CH
Pulse measurement flag (Function input terminal) (RWr20.b6,
RWr38.b6) changes to Operating (1), CH
Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) is
not updated even when CH
Function input terminal (FUNC1, FUNC2) is turned off. Note that the pulse that is input after the
setting in CH
Pulse measurement flag (Function input terminal) (RWr20.b6, RWr38.b6) changes to Operating (1) is to be
measured.
0
0
XXX
YYY
ZZZ
1)
5)
2)
3)
4)
6)
OFF
CH Pulse measurement start command
(Function input terminal)
(RY30, RY48)
CH Measured pulse value
(Function input terminal)
(RWr1C to RWr1D, RWr34 to RWr35)
Function input terminal
(FUNC1, FUNC2)
CH Pulse measurement flag
(Function input terminal)
(RWr20.b6, RWr38.b6)
CH Measured pulse value update flag
(Function input terminal)
(RX32, RX4A)
CH Measured pulse value update flag reset command
(Function input terminal)
(RY31, RY49)
CH Measured pulse value update flag reset completed
(Function input terminal)
(RX31, RX49)
ON
1
ON
ON
OFF
OFF
0
OFF
OFF
ON
Controlled by the high-speed counter module
Controlled by the program
ON
Summary of Contents for NZ2GFCF-D62PD2
Page 1: ......
Page 2: ......
Page 54: ...52 Memo ...
Page 206: ...204 Memo ...
Page 303: ......
Page 304: ......