User`s manual
131
CHAPTER 4 FUNCTION
4
4.6 Counter Function Selection
4.6 Counter Function Selection
When CH1 Selected counter function start command (Y07) or the function input terminal (FUNC1) is input, one of the
functions below can be used.
A function can be selected for each channel.
(1) Counter function selection view
A time lag occurs before the start of the selected function due to any of the following factors:
• Input response time of the function input terminal (FUNC1)
• Scan time of the sequence program (for CH1 Selected counter function start command (Y07))
• Internal control cycle (1ms) of the QD65PD2 (for CH1 Selected counter function start command (Y07)
The count error is as follows:
• Count error (maximum) which occurs when a function is performed by the function input terminal (FUNC1)
• Count error (maximum) which occurs when a function is performed by CH1 Selected counter function start
command (Y07)
For the sampling counter function and the periodic pulse counter function, a sampling/periodic time error due to a
component error (±100 ppm) occurs. The count error is as follows:
*1 Pulse input speed (pps) = pulse input frequency (Hz) × number of multiples (count)
*2 Sampling/periodic time (s) = Sampling/periodic time setting value × Sampling/periodic time unit (s)
*3
To calculate the time from the value on the programming tool setting screen, use the following formula.
*3 When CH1 Time unit setting (sampling counter/periodic pulse counter) (Un\G1016) is 1ms (0
H
), this becomes 0.001(s).
When the time unit setting is 10ms (1
H
), this becomes 0.01(s).
Function
Switch setting Method
Reference
Function selection
setting
Related setting
CH1 Selected
counter
function start
command
(Y07)
Function
input
(FUNC1)
Count disable function
Operation mode
setting: Set to the
normal mode.
Counter function
selection: Select a
function.
• Function input logic setting
• Function input response
time setting
Page 132, Section 4.7
Latch counter function Page 129, Section 4.5.2
Sampling counter function Page 133, Section 4.8
Periodic pulse counter function Page 136, Section 4.9
Count disable/preset/replace
function
Page 141, Section 4.10
Latch counter/preset/replace
function
Page 143, Section 4.11
: Applicable, : N/A
*1
Pulse input speed (pps)
Function input response time setting (ms)
1000
(s)
*1
Pulse input speed (pps)
(s)
1 scan time (ms) + 2 (ms)
1000
Sampling/periodic time (s)
100 (ppm)
1000000
*2 *1
Pulse input speed (pps)
Sampling/periodic time (s) =
1000
Sampling/periodic time setting value (unit: 1ms)










