Count Value Reading - Mitsubishi Electric MELSEC iQ-R Series User Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Count value reading

1
Pulses input to the pulse input module are stored in separate buffer memory areas as the sampling pulse number,
accumulating count value, and input pulse value. Turning off and on 'CH1 Count enable' (Y18) starts the count operation and
updates each count value. While 'CH1 Count enable' (Y18) is on, the count operation continues and each count value
continues to be updated.
Sampling pulse number
The sampling pulse number is the pulse number converted to a unit pulse number by the pre-scale function or moving
average function. The count range is from 0 to 32767.
The count cycle is set with the count cycle change function and updated in the set cycle.
For details on items such as the buffer memory address of the storage location, refer to the following.
Page 74 CH1 Sampling pulse number
Accumulating count value
The accumulating count value is the accumulated value of the sampling pulse numbers. The linear counter or ring counter
count type can be used. The count range is from 0 to 99999999.
The count cycle is set with the count cycle change function and updated in the set cycle.
For details on items such as the buffer memory address of the storage location, refer to the following.
Page 75 CH1 Accumulating count value
Input pulse value
The input pulse value is the number of pulses that are actually input. It is not converted to a unit pulse number by the pre-
scale function or moving average function. The count range is from 0 to 2147483647, and the count type is ring counter.
The count cycle is fixed to 10ms and updated in a cycle of 10ms. Exercise caution when using this module as a counter
because the count cycle has a low speed compared to the high-speed counter module.
For details on items such as the buffer memory address of the storage location, refer to the following.
Page 76 CH1 Input pulse value
1 FUNCTIONS
15
1.1 Count Operation

Advertisement

Table of Contents
loading

Table of Contents