C-74
Preset Counter/Timer
H8GN
Initial Setting Level
1. Counter/Timer Selection (
func
)
Select to use the H8GN as either a counter or a timer.
2. Input Mode (
cntm
)
The input mode is displayed only when
“
Counter/Timer
selection
”
in the initial setting level has been set to counter.
When the H8GN is to be used as a counter, select increment,
decrement, individual, or quadrature for the input mode. If incre-
ment or decrement is selected, the input signal edge for CP1
(count input) can be switched using the input signal edge setting.
Refer to
Input/Output Modes and Count Values
on page 80 for
information on input mode operations.
3. Time Range (
timr
)
The time range is displayed only when
“
Counter/Timer selec-
tion
”
in the initial setting level has been set to timer.
When the H8GN is to be used as a timer, set the time range to be
timed.
4. Timer Mode (
timm
)
The timer mode is displayed only when
“
Counter/Timer
selection
”
in the initial setting level has been set to timer.
When the H8GN is to be used as a timer, set the elapsed or
remaining time mode.
5. Output Mode for Counter Function (
outm
)
The output mode is displayed only when
“
Counter/Timer
selection
”
in the initial setting level has been set to counter.
When the H8GN is to be used as a counter, set the output mode.
Refer to
Input/Output Mode Settings
on page 81 for information
on output mode operations.
6. Output Mode for Timer Function (
outm
)
The output mode is displayed only when
“
Counter/Timer
selection
”
in the initial setting level has been set to counter.
When the H8GN is to be used as a timer, set the output mode.
Refer to
Input/Output Mode Settings
on page 81 for information
on output mode operations.
7. Output Time (
otim
)
The output time is displayed only when
“
output mode for
counter function
”
in the initial setting level has been set to C
or K or when
“
output mode for timer function
”
in the initial
setting level has been set to A or B.
When using one-shot output in the H8GN, set the output time for
the one-shot output (0.01 to 99.99 s).
One-shot output can be used only when the C or K output mode
is selected for counter function or A or B output mode is selected
for timer function.
If the output time is set to
“
0
”
when selecting timer function, the
output will be held. The output time cannot be set to
“
0
”
for
counter function.
8. Counting Speed (
cnts
)
The counting speed is displayed only when
“
Counter/Timer
selection
”
in the initial setting level has been set to counter.
When the H8GN is used as a counter, the operator can switch
between maximum counting speeds (30 Hz/5 kHz) for CP1 and
CP2.
Set to 30 Hz when using a contact for the input signal. When the
counting speed is set to 30 Hz, input signal chattering is removed.
9. Input Signal Width (
iflt
)
Switches between minimum input signal widths (20 ms/1 ms) for
start, reset and gate inputs. All input signal widths are set
together via external input.
When the counter function is selected, only the reset input is set,
but when the timer function is selected the start, gate, and reset
inputs are all set together.
Set to 20 ms when using a contact for the input signal. When the
input signal width is set to 20 ms, input signal chattering is
removed.
10.Decimal Point Position (
dp
)
The decimal point position is displayed only when
“
Counter/
Timer selection
”
in the initial setting level has been set to
counter.
This determines the decimal point position for PV, SV, SV-bank
(SV 0 to 3), and totalizing count values. Press the
move the decimal point to the left and press the
it to the right.
Key to
Key to move
11.Prescale Value (
pscl
)
The prescale value is displayed only when
“
Counter/Timer
selection
”
in the initial setting level has been set to counter.
Converts the counter input pulse to any value within the setting
range (0.001 to 9.999).
Example: To have a display of
@@
.
@@
m for a system that out-
puts 25 pulses when the object has been moved forward 0.5 m,
perform the following steps.
1.
Set the decimal point position to before the second-last digit.
2.
Set the prescale value to 0.02 (0.5
÷
25).
(1) Counter/Timer selection
(2) Input mode
(3) Time range
(4) Timer mode
(5) Output mode for counter function
(6) Output mode for timer function
(7) Output time
(8) Counting speed
(9) Input signal width
(10) Decimal point position
(11) Prescale value
(12) Input signal edge
(13) Move to advanced function setting level
Encoder
25 pulses