Mitsubishi Electric MELSEC-L02SCPU User Manual page 235

Cpu module, built-in i/o function
Table of Contents

Advertisement

(1) Required settings
(a) Pulse measurement target setting
Select a target of pulse measurement from "Pulse ON Width" and "Pulse OFF Width".
• The range of pulses that can be measured
Pulses can be measured within the range from 2000 to 2147483647 (0.2ms to approx. 214s). If the
number of pulses exceeds the range, "Pulse measurement range overflow error" (CH1 Error code: 3200)
occurs.
To resume the measurement, perform either of the following operation. Note, however, that these
operations do not reset CH1 Error code (SD1887), it must be reset by CH1 Error reset command
(SM1899).
• Input the pulse measurement target again. (Select on for on width and off for off width).
• Turn on CH1 Pulse measurement start command (SM1898) after turning off the CH1 Pulse
measurement start command (SM1898) and setting Pulse measurement flag to stopped(0).
• Update intervals of the pulse measurement
Update interval of the pulse measurement is 1ms. If pulses are measured twice or more often within 1ms,
only the last measured value is read out to the device by Measured pulse value read instruction
(ICPLSRD1(P)).
• Resolution of measured pulse value
The resolution of the measured pulse value varies by the input response time of Function input signal.
(Measured pulse value is the increments of the resolution.)
Input response time
There is a margin of error for 0.1ms in the measured pulse value, depending on the response time from the standard input
circuit.
ON width
OFF width
0.1ms
1ms
5ms
10ms
20ms
70ms
CHAPTER 8 HIGH-SPEED COUNTER FUNCTION
Resolution (0.1s) (time)
50 (5s)
500 (50s)
5000 (500s)
5000 (500s)
10000 (1000s)
50000 (5000s)
8
233

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents