Mitsubishi Electric RD62P2E Application User's Manual page 35

High-speed counter module
Table of Contents

Advertisement

No.
Description
(1)
The present counter value, 0 is stored in CH1 Cycle pulse count current value (Un\G18 to Un\G19).
The difference value with the previous value, 0 is stored in CH1 Cycle pulse count difference value (Un\G24 to Un\G27).
(2)
The present counter value, 200 is stored in CH1 Cycle pulse count current value (Un\G18 to Un\G19). The value 0, which has been stored in CH1
Cycle pulse count current value (Un\G18 to Un\G19), is stored in CH1 Cycle pulse count previous value (Un\G16 to Un\G17).
The difference value with the previous value, 200 is stored in CH1 Cycle pulse count difference value (Un\G24 to Un\G27).
(3)
The present counter value, 20 is stored in CH1 Cycle pulse count current value (Un\G18 to Un\G19). The value 200, which has been stored in
CH1 Cycle pulse count current value (Un\G18 to Un\G19), is stored in CH1 Cycle pulse count previous value (Un\G16 to Un\G17).
The difference value with the previous value, -180 is stored in CH1 Cycle pulse count difference value (Un\G24 to Un\G27).
(4)
The present counter value, 100 is stored in CH1 Cycle pulse count current value (Un\G18 to Un\G19). The value 20, which has been stored in
CH1 Cycle pulse count current value (Un\G18 to Un\G19), is stored in CH1 Cycle pulse count previous value (Un\G16 to Un\G17).
The difference value with the previous value, 80 is stored in CH1 Cycle pulse count difference value (Un\G24 to Un\G27).
(5)
The present counter value, 80 is stored in CH1 Cycle pulse count current value (Un\G18 to Un\G19). The value 100, which has been stored in
CH1 Cycle pulse count current value (Un\G18 to Un\G19), is stored in CH1 Cycle pulse count previous value (Un\G16 to Un\G17).
The difference value with the previous value, -20 is stored in CH1 Cycle pulse count difference value (Un\G24 to Un\G27).
(6)
The cycle pulse counter function is performed regardless of the on/off status of CH1 Count enable command (Y4).
(7)
While the cycle pulse counter function is performed, 1 is stored in CH1 Sampling/cycle counter flag (Un\G11).
Set the cycle time by writing the data within the range of 1 to 65535 to CH1 Sampling/cycle time setting
(Un\G10). The unit of time differs depending on the counting speed setting in CH1 Sampling/cycle time setting
(Un\G10). For details, refer to the following.
Page 63 CH1 Sampling/cycle time setting
Precautions for reading the previous value, current value, and difference value
Depending on the relation between the update timing of the previous value or current value in the module and the read timing
of the value using a program, the previous value and current value may match. When the previous value and current value
match, read the values again.
1 FUNCTIONS
1.5 Counter Function Selection
1
33

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd62d2Melsec iq-r seriesRd62p2

Table of Contents