Input Pulse Count Operation - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

Input pulse count operation

This section describes the input pulse count operation of the pulse input module.
'Module READY'
(X0)
OFF
'Operating condition
setting complete
OFF
flag' (X1)
'CH1 Count enable'
(Y18)
OFF
'CH1 Input pulse
value' (Un\G4,
Un\G5)
'CH1 Sampling pulse
number' (Un\G0)
'CH1 Accumulating
count value' (Un\G2,
Un\G3)
Performed by the pulse input module
Performed by a program
No.
Operation
(1)
When 'Operating condition setting complete flag' (X1) turns on, the count operation becomes possible. If there is an error in the setting values or
something similar, 'Operating condition setting complete flag' (X1) will not turn on, and the count operation will not start.
(2)
When 'CH1 Count enable' (Y18) is turned on, the count operation starts.
(3)
The count values are stored in the following buffer memory areas. The first storage operation lasts from turning on 'CH1 Count enable' (Y18) to the
point when one count cycle has elapsed. After that, values are stored once per count cycle while 'CH1 Count enable' (Y18) is on. The count cycle
varies depending on the count value.
• 'CH1 Sampling pulse number' (Un\G0)
• 'CH1 Accumulating count value' (Un\G2, Un\G3)
• 'CH1 Input pulse value' (Un\G4, Un\G5)
(4)
When 'CH1 Count enable' (Y18) is turned off, the count operation stops. At this time, the count values are as shown below.
• 'CH1 Sampling pulse number' (Un\G0) is reset to 0.
• 'CH1 Accumulating count value' (Un\G2, Un\G3) and 'CH1 Input pulse value' (Un\G4, Un\G5) retain their values from before 'CH1 Count enable'
(Y18) was turned off.
(5)
When 'CH1 Count enable' (Y18) is turned on, the count operation restarts.
1 FUNCTIONS
16
1.1 Count Operation
ON
ON
ON
(1)
(2)
(3)
...
0
1
2
0
10ms
(3)
0
0
5000
Count cycle
setting value
(3)
0
0
5000
Count cycle
setting value
(4)
...
...
6
12
13 14 14
10000
20000
15000
35000
35000
(5)
14 14
14
15
0
0
2500
35000
37500

Advertisement

Table of Contents
loading

Table of Contents