Mitsubishi NZ2GFCF-D62PD2 User Manual page 140

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

Advertisement

No.
Counting the input pulses starts from 0 at the rising edge of CH Selected counter function start command (RY25, RY3D) or CH
Function input terminal (FUNC1, FUNC2).
1)
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)
Counting stops at the end of the preset sampling period.
While the sampling counter function is being performed, set CH Sampling counter/Periodic pulse counter operation flag
3)
(RWr20.b3, RWr38.b3) to Operating (1).
4)
At the end of each sampling period, CH Update flag (Sampling count value) (RX29, RX41) turns on.
Even after the counting is completed, the values stored in CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) remain
the same until CH Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1, FUNC2) is
5)
turned on again. When CH Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1,
FUNC2) is turned on again, 0 is stored in CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) and the counting
resumes.
When CH Update flag reset command (Sampling count value) (RY28, RY40) is turned on, the high-speed counter module turns
off CH Update flag (Sampling count value) (RX29, RX41) and turns on CH Update flag reset completed (Sampling count value)
6)
(RX28, RX40).
After that, CH Update flag reset completed (Sampling count value) (RX28, RX40) turns off when CH Update flag reset
command (Sampling count value) (RY28, RY40) is turned off.
Although the sampling counter function operates regardless of the ON/OFF status of CH Count enable command (RY24, RY3C),
CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) is not counted while CH Count enable command (RY24, RY3C)
7)
is off. At the end of the sampling period after CH Count enable command (RY24, RY3C) is turned off, CH Sampling
counter/Periodic pulse counter operation flag (RWr20.b3, RWr38.b3) is set to Not operating (0) and CH Update flag (Sampling
count value) (RX29, RX41) turns on.
● The sampling counter function cannot be performed while CH Selected counter function start command (RY25, RY3D)
or CH Function input terminal (FUNC1, FUNC2) is on even if the other is turned on.
● By turning off both CH Selected counter function start command (RY25, RY3D) and CH Function input terminal
(FUNC1, FUNC2) and then turning on one of them during the operation of the sampling counter function, the pulses are
counted from 0 again though the sampling period is continually measured.
● Depending on the pulse input speed and sampling period, the values stored in CH Sampling count value (RWr12 to
RWr13, RWr2A to RWr2B) may be over the upper limit value (2147483647) or below the lower limit value (-2147483648).
In that case, the value stored in CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) remains the upper limit
value (2147483647) or the lower limit value (-2147483648), and CH Overflow/underflow error (Sampling count
value/Periodic pulse count, difference value) (error code: 050
function keeps working till the end of the sampling period.
● To perform the sampling counter function again, reset CH Update flag (Sampling count value) (RX29, RX41) before
turning on again CH Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1,
FUNC2). If it is not reset, whether its value was updated after the re-execution cannot be checked.
138
Description
) occurs. Despite this minor error, the sampling counter
H

Advertisement

Table of Contents
loading

Table of Contents