80
8.8 Sampling Counter Function
This function counts pulses input during the specified sampling period (T).
The following figure shows the relationship between the signals and the buffer memory areas.
No. Description
1)
Input pulses are counted from 0 on the rising edge of CH Counter function selection start command (Y6, YE) or the
counter function selection start command (function start input).
2) Counting stops when the specified sampling period has elapsed.
3)
While the sampling counter function is performed, "1" is stored in CH Sampling/periodic counter flag (Un\G11,
Un\G43).
4)
Even after the sampling counter function is performed, the value stored in CH Sampling count value (Un\G14,
Un\G15, Un\G46, Un\G47) is held.
5) The sampling counter function is performed regardless the on/off status of CH Count enable command (Y4, YC).
ON
OFF
ON
OFF
TTT
200
100
0
200
100
0
-100
1
0
1)
2)
3)
4)
5)
CH Count enable command
(Y4, YC)
CH Present value
(Un\G2, Un\G3, Un\G34, Un\G35)
CH Counter function selection start
command (Y6, YE)
Counter function selection start command
(function start input)
CH Sampling count value
(Un\G14, Un\G15, Un\G46, Un\G47)
CH Sampling/periodic counter flag
(Un\G11, Un\G43)