Mitsubishi NZ2GFCF-D62PD2 User Manual page 143

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

Advertisement

*2
Though the periodic pulse counter function can also be performed by CH Function input terminal (FUNC1, FUNC2),
the status of CH Counter function detection (RX25, RX3D) does not change.
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).
Every preset cycle time, the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Periodic pulse
2)
count, present value (RWr14 to RWr15, RWr2C to RWr2D).
Every preset cycle time, the difference of the count values between the previous one and the present one is stored in CH Periodic
3)
pulse count, difference value (RWr12 to RWr13, RWr2A to RWr2B) and CH Periodic pulse count value update check (RWr16 to
RWr17, RWr2E to RWr2F).
While the periodic pulse counter function is being performed, set CH Sampling counter/Periodic pulse counter operation flag
4)
(RWr20.b3, RWr38.b3) to Operating (1).
CH Update flag (Periodic pulse count value) (RX29, RX41) turns on when CH Periodic pulse count, difference value (RWr12 to
5)
RWr13, RWr2A to RWr2B), CH Periodic pulse count, present value (RWr14 to RWr15, RWr2C to RWr2D), and CH Periodic
pulse count value update check (RWr16 to RWr17, RWr2E to RWr2F) are updated.
When CH Update flag reset command (Periodic pulse count value) (RY28, RY40) is turned on, the high-speed counter module
turns off CH Update flag (Periodic pulse count value) (RX29, RX41) and turns on CH Update flag reset completed (Periodic
6)
pulse count value) (RX28, RX40).
After that, CH Update flag reset completed (Periodic pulse count value) (RX28, RX40) turns off when CH Update flag reset
command (Periodic pulse count value) (RY28, RY40) is turned off.
7)
The periodic pulse counter function operates regardless of the ON/OFF status of CH Count enable command (RY24, RY3C).
The periodic pulse counter function is stopped by turning off both CH Selected counter function start command (RY25, RY3D)
8)
and CH Function input terminal (FUNC1, FUNC2).
● Use the periodic pulse count value after checking the values in CH Periodic pulse count, difference value (RWr12 to
RWr13, RWr2A to RWr2B) and CH Periodic pulse count value update check (RWr16 to RWr17, RWr2E to RWr2F) are
equal. When they are different, the periodic pulse count value includes values before and after the end of the cycle time
and there is a value discrepancy. Read again CH Periodic pulse count, difference value (RWr12 to RWr13, RWr2A to
RWr2B), CH Periodic pulse count, present value (RWr14 to RWr15, RWr2C to RWr2D), and CH Periodic pulse count
value update check (RWr16 to RWr17, RWr2E to RWr2F).
● Depending on the pulse input speed and cycle time, the value in CH Periodic pulse count, difference value (RWr12 to
RWr13, RWr2A to RWr2B) and CH Periodic pulse count value update check (RWr16 to RWr17, RWr2E to RWr2F) may
be over the upper limit value (2147483647) or below the lower limit value (-2147483648). (The value in CH Present
value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Periodic pulse count, present value (RWr14 to RWr15,
RWr2C to RWr2D).) In that case, the values in CH Periodic pulse count, difference value (RWr12 to RWr13, RWr2A to
RWr2B) and CH Periodic pulse count value update check (RWr16 to RWr17, RWr2E to RWr2F) remain 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) occurs. Despite this minor error, the periodic pulse
counter function keeps working.
● To perform the periodic pulse counter function again, reset CH Update flag (Periodic pulse 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.
Description
CHAPTER 8 FUNCTIONS
141
8

Advertisement

Table of Contents
loading

Table of Contents