User`s manual

135
CHAPTER 4 FUNCTION
4
4.8 Sampling Counter Function
You can use Operating condition settings batch-change command (Y01) to enable the setting of the sampling period.
Yet buffer memories for the data classification Md1, for example, CH1 Present value (Un\G1050, Un\G1051) are also
cleared by using Operating condition settings batch-change command (Y01). To avoid that, use CH1 Setting change
request (sampling counter/periodic pulse counter) (Un\G1020) instead.
When either of CH1 Selected counter function start command (Y07) or the function input terminal (FUNC1) is ON, the
sampling counter function can not be executed by turning on the other.
By turning off both CH1 Selected counter function start command (Y07) and the function input terminal (FUNC1) and then
turning on one of them during the operation of the sampling counter function, the pulses are counted from 0 again.
Depending on the pulse input speed and sampling period, the values stored in CH1 Sampling count value (Un\G1056,
Un\G1057) might be over 2147483647 (upper limit value) or below -2147483648 (lower limit value).
In that case, the values in CH1 Sampling count value (Un\G1056, Un\G1057) remain 2147483647 (upper limit value) or
-2147483648 (lower limit value), and CH1 Overflow/underflow error (sampling count value/periodic pulse count,
difference value) (warning code 1050) will be detected.
Despite of this warning, the count is continued till the end of the sampling period.
Do not use CH1 Sampling count value update flag (Un\G1076) and CH1 Sampling count value update flag reset
command (Un\G1024) when retrieving CH1 Sampling count value (Un\G1056, Un\G1057) via the auto refresh target
device. (In case 1
H
: Updated is stored in CH1 Sampling count value update flag (Un\G1076) after the auto refresh is
done, the updated values are not reflected to the auto refresh target device and therefore, the values retrieved via the
auto refresh target device are the ones before the updating.)
To use CH1 Sampling count value update flag (Un\G1076), reset it before executing the sampling counter function.
If you do not reset it, you cannot tell whether its value was updated after the execution.
When changing the sampling period by using CH1 Setting change request (sampling counter/periodic pulse counter)
(Un\G1020), note the following:
Do not execute the sampling counter function by the function input terminal (FUNC1) until the value in CH1 Setting
change request (sampling counter/periodic pulse counter) (Un\G1020) turns from 1
H
: Requested to 0
H
: Not requested.
If you do so, the count might be done with the previous setting.
When the sampling counter function is used, the sampling period might slightly differs due to component error
(±100ppm).
For details, refer to the Point described in the following clause:
Page 131, Section 4.6