Mitsubishi Electric RD62P2E Application User's Manual page 37

High-speed counter module
Table of Contents

Advertisement

Measurable range of the pulses
The measured values of the pulses are stored in CH1 Measured pulse value (Un\G516 to Un\G517). The measurable range
of the pulses is between 2000 and 2147483647 (0.2ms to approx.214s).
■Overflow error
• When the input pulses are beyond the measurable range, an overflow error will be detected.
• When an overflow error occurs, 1 is stored in CH1 Overflow detection (Un\G8).
• Clear the overflow error using the following restarting method.
■Restarting method of the pulse measurement
To resume the measurement, input the pulses once again, or turn off and on CH1 Pulse measurement start command (pulse
measurement) (Y6).
Operation example of the pulse measurement function
The following figure shows an operation example of the pulse measurement function. Assume that a target for pulse
measurement is already set to the pulse ON width.
CH1 Pulse measurement start
command (pulse measurement)
(Y6)
Function start input terminal
CH1 Measured pulse value
(Un\G516 to Un\G517)
CH1 Measured pulse value
update flag (Un\G515)
0 write request to CH1 Measured
pulse value update flag (Un\G515)
(controlled by the program)
CH1 Pulse under-measurement
flag (Un\G514)
No.
Description
(1)
The following operations are performed when CH1 Pulse measurement start command (pulse measurement) (Y6) is turned off and on. Operating
(1H) is stored in CH1 Pulse under-measurement flag (Un\G514).
• 0 is stored in CH1 Measured pulse value (Un\G516 to Un\G517).
(2)
Updated (1H) is stored in CH1 Measured pulse value update flag (Un\G515) when a measured value is stored in CH1 Measured pulse value
(Un\G516 to Un\G517).
(3)
Not updated (0H) is written in CH1 Measured pulse value update flag (Un\G515).
(4)
Even though Updated (1H) is stored in CH1 Measured pulse value update flag (Un\G515), CH1 Measured pulse value (Un\G516 to Un\G517) is
updated.
(5)
When CH1 Pulse measurement start command (pulse measurement) (Y6) is turned on and off, operation stop (0H) is stored in CH1 Pulse under-
measurement flag (Un\G514) and the pulse measurement stops.
(6)
If the measurement target (Pulse ON width in this example) has been input before Operating (1H) is stored in CH1 Pulse under-measurement
flag (Un\G514), the values in CH1 Measured pulse value (Un\G516 to Un\G517) are not updated even though the function start input terminal is
turned on and off.
Note that only the pulse input after Operating (1H) is stored in CH1 Pulse under-measurement flag (Un\G514) is the measurement target.
Do not use CH1 Measured pulse value update flag (Un\G515) when the values in CH1 Measured pulse value
(Un\G516 to Un\G517) are retrieved via the auto refresh target device. (When Updated (1H) is stored in CH1
Measured pulse value update flag (Un\G515) after the auto refresh is done, the updated values are not
reflected to the auto refresh target device and therefore, the values retrieved via the auto refresh target device
are the ones before the updating.)
ON
(1)
OFF
ON
OFF
0
Updated (1H)
Not updated (0H)
Request
No request
Operating (1H)
Not operating (0H)
(5)
(2)
(4)
XXX
YYY
(3)
1.6 Pulse Measurement Function
(6)
ZZZ
0
1 FUNCTIONS
1
35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd62d2Melsec iq-r seriesRd62p2

Table of Contents