IDEC SmartAXIS FT9Z-1A01 User Manual page 113

Table of Contents

Advertisement

Settings
Operation mode
For group 1 and group 3, you can select Single-phase High-speed Counter or Two-phase High-speed Counter.
When group 1 is selected as the high-speed counter, group 2 (I2) can be used as the external clear input.
When group 3 is selected as the high-speed counter, group 4 (I5) can be used as the external clear input.
The external inputs for group 2, group 4, group 5, and group 6 can only be used as single-phase high-speed counters.
Counting mode (single-phase high-speed counter)
When the single-phase high-speed counter is specified for Operation mode for group 1 or group 3, the counting mode can be
selected as Adding counter or Up/down selection reversible counter. The adding counter can only be used for the group
2, group 4, group 5, and group 6 high-speed counters.
Adding counter
The adding counter counts up with the rise in pulse input.
Up/down selection reversible counter
Up/down selection reversible counter can switch between addition and subtraction with the up/down selection input. When the
up/down selection input is on, the counter counts up with the rise in pulse input. When the up/down selection input is off, the
counter counts down with the rise in pulse input.
Counting mode (two-phase high-speed counter)
When the two-phase high-speed counter is specified for Operation mode for group 1 or group 3, the counting mode can be
selected as 2-edge count or 4-edge count. The two-phase counter cannot be used for the group 2, group 4, group 5, and
group 6 high-speed counters.
2-edge count
This counter counts at double the frequency of the input pulse.
This counter counts by the phase difference between the A-phase and B-phase pulse input. When the A-phase precedes the B-
phase, the counter counts up with the rise and fall of the B-phase. When the B-phase precedes the A-phase, the counter counts
down with the rise and fall of the B-phase.
4-edge count
This counter counts at quadruple the frequency of the input pulse.
This counter counts by the phase difference between the A-phase and B-phase pulse input. When the A-phase precedes the B-
phase, the counter counts up with the rise and fall of the A-phase and the B-phase. When the B-phase precedes the A-phase,
the counter counts down with the rise and fall of the A-phase and the B-phase.
Comparison action
The comparison action is a function that compares the high-speed counter's current value with a preset value (target value).
It can use either the comparison output or an interrupt program. However, the interrupt program can only be used when ladder
program is selected as the programming language.
When Comparison Output is selected, the specified external output is turned on when the current value and the preset value match.
When Interrupt Program is selected, the subroutine program with the specified label number is executed as the interrupt program when
the current value and the preset value match.
Overflow and underflow can also be used for the comparison conditions.
For details on the comparison actions, see "Comparison Actions" on page 5-17.
Comparison settings
When using the comparison output or the interrupt program as the comparison action for the high-speed counter, configure the
external output number or the label number when there is a match. A maximum of six preset values can be specified for
Number of preset values (preset value number 1 to 6).
Tag name
This setting specifies the starting address of the data register region to store the preset values.
Device address
This item shows the address of the data register specified by the tag name.
S
A XI S P
/ L
U
'
M AR T
R O
I TE
SER
S
M
FT9Y-B 1378
ANUAL
5: S
F
P ECI AL
UN CTI ON S
5-21

Advertisement

Table of Contents
loading

Table of Contents