75
CHAPTER 8 FUNCTIONS
8
8.5 Counter Function Selection
8.5 Counter Function Selection
The count disable function, the latch counter function, the sampling counter function, or the periodic pulse counter
function can be used by selecting each item in "Counter function selection". The selected counter function is performed
by the counter function selection start command (A voltage is applied to the function start input terminal or CH
Counter function selection start command (Y6, YE) is turned on by a program).
The counter function selection permits using only one function of the four counter functions.
(1) Setting method
Select a counter function in "Counter function selection".
Project window [Intelligent Function Module] Model name [Parameter]
● When changing the counter function, change the function with the off state of CH Counter function selection start
command (Y6, YE).
● The selected counter function can be performed by turning on CH Counter function selection start command (Y6, YE)
or applying a voltage to the function start input terminal. A signal that is input first takes priority.
● Time for the sampling counter function or the periodic pulse counter function can be set by writing a value of 1 to 65535
to CH Sampling/periodic time setting (Un\G10, Un\G42). The unit of time is 10ms.
Setting "420" for CH Sampling/periodic time setting (Un\G10, Un\G42)
Item Description Reference
Count Disabling Function Stops counting while CH Count enable command (Y4, YC) is on. Page 78, Section 8.6
Latch Counter Function Latches the present counter value when a signal is input. Page 79, Section 8.7
Sampling Counter Function Counts pulses input during the specified sampling period (T). Page 80, Section 8.8
Periodic Pulse Counter Function
Stores the present and previous counter values to CH Periodic
pulse count present value (Un\G18, Un\G19, Un\G50, Un\G51) and
CH Periodic pulse count previous value (Un\G16, Un\G17,
Un\G48, Un\G49), respectively, at the preset cycle (T).
Page 81, Section 8.9
Ex.
420 10 = 4200(ms)