141
CHAPTER 8 FUNCTIONS
8
8.10 Per
iod
ic Pulse Cou
nter F
unct
ion
*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.
●
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.
No.
Description
1)
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).
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)
Every preset cycle time, 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).
3)
Every preset cycle time, the difference of the count values between the previous one and the present one is stored 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).
4)
While the periodic pulse counter function is being performed, set CH
Sampling counter/Periodic pulse counter operation flag
(RWr20.b3, RWr38.b3) to Operating (1).
5)
CH
Update flag (Periodic pulse count value) (RX29, RX41) turns on when 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) are updated.
6)
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
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).
8)
The periodic pulse counter function is stopped by turning off both CH
Selected counter function start command (RY25, RY3D)
and CH
Function input terminal (FUNC1, FUNC2).
Summary of Contents for NZ2GFCF-D62PD2
Page 1: ......
Page 2: ......
Page 54: ...52 Memo ...
Page 206: ...204 Memo ...
Page 303: ......
Page 304: ......