User`s manual
134
(3) Operation example of the sampling counter function
The following figure shows an operation example of the sampling counter function.
Number Description
1)
The module starts counting input pulses from 0 at the rise of CH1 Selected counter function start command (Y07) or the
function input terminal (FUNC1).
2) The module stops counting at the end of the preset sampling period.
3)
When the sampling counter function is working, 1
H
: Operating is stored in CH1 Sampling counter/periodic pulse counter
operation flag (Un\G1071).
4)
At the end of each sampling period, 1
H
: Updated is stored in CH1 Sampling count value update flag (Un\G1076).
5)
Even after the sampling count is completed, the values stored in CH1 Sampling count value (Un\G1056, Un\G1057) remain the
same.
6)
Reset CH1 Sampling count value update flag (Un\G1076) to 0
H
: Not updated by setting CH1 Sampling count value update flag
reset command (Un\G1024) to 1
H
: Reset.
CH1 Sampling count value update flag reset command (Un\G1024) is automatically reset to 0
H
: Not reset after the completion
of the reset.
7)
Although the sampling counter function works regardless of CH1 Count enable command (Y06) status (ON or OFF), the count
does not start when CH1 Count enable command (Y06) is OFF.
ON
OFF
ON
OFF
150
100
50
0
1)
6)
4)
3)
5)
7)
2)
150
100
50
-50
0
Operating (1
H)
Not operating (0
H)
Updated (1
H)
Not updated (0
H)
Reset (1
H)
Not reset (0
H)
CH1 Count enable command
(Y06)
CH1 Present value
(Un\G1050, Un\G1051)
CH1 Selected counter
function start command (Y07)
or
function input terminal (FUNC1)
CH1 Sampling count value
(Un\G1056, Un\G1057)
CH1 Sampling counter/
periodic pulse counter operation flag
(Un\G1071)
CH1 Sampling count value update flag
(Un\G1076)
CH1 Sampling count value update flag
reset command
(Un\G1024)
*1 T = Sampling period
T *1 T *1 T *1










