Mitsubishi NZ2GFCF-D62PD2 User Manual page 160

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

Advertisement

(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).
Controlled by the high-speed counter module
Controlled by the program
CH
Pulse measurement start command
(RWr1C to RWr1D, RWr34 to RWr35)
CH
Measured pulse value update flag
CH
Measured pulse value update flag reset command
CH
Measured pulse value update flag reset completed
No.
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
1)
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.
The following processing is performed when the measured pulse value is stored.
2)
• CH Measured pulse value update flag (Function input terminal) (RX32, RX4A) turns on.
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
3)
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.
CH Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) is updated even if CH Measured
4)
pulse value update flag (Function input terminal) (RX32, RX4A) is on.
CH Pulse measurement flag (Function input terminal) (RWr20.b6, RWr38.b6) changes to Not operating (0) and the pulse
5)
measurement stops by turning off CH Pulse measurement start command (Function input terminal) (RY30, RY48).
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
6)
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.
158
(Function input terminal)
(RY30, RY48)
Function input terminal
(FUNC1, FUNC2)
CH
Measured pulse value
(Function input terminal)
CH
Pulse measurement flag
(Function input terminal)
(RWr20.b6, RWr38.b6)
(Function input terminal)
(RX32, RX4A)
(Function input terminal)
(RY31, RY49)
(Function input terminal)
(RX31, RX49)
ON
1)
OFF
ON
2)
OFF
0
XXX
1
0
ON
OFF
ON
3)
OFF
ON
OFF
Description
5)
4)
6)
ZZZ
YYY
0

Advertisement

Table of Contents
loading

Table of Contents