FX Series Programmable Controllers Devices in Detail 4
4-23
4.11.1 Basic High Speed Counter Operation
Althou
h counters C235 to C255 (21 points) are all hi
h speed counters, the
share the same
ran
e of hi
h speed inputs. Therefore, if an input is alread
bein
used b
a hi
h speed
counter, it cannot be used for an
other hi
h speed counters or for an
other purpose, i.e as an
interrupt input.
The selection of hi
h speed counters are not free, the
are directl
dependent on the t
pe of
counter required and which inputs are available.
Available counter t
pes;
a) 1 phase with user start/reset: C235 to C240
b) 1 phase with assi
ned start/reset: C241 to C245
c) 2 phase bi-directional: C246 to C250
d) A/B phase t
pe: C251 to C255
Please note ALL of these counters are 32bit devices.
Hi
h speed counters operate b
the principle of interrupts. This means the
are event
tri
ered and independent of c
cle time. The coil of the selected counter should be driven
continuousl
to indicate that this counter and its associated inputs are reserved and that other
hi
h speed processes must not coincide with them.
Example:
When X20 is ON, hi
h speed counter C235 is
selected. The counter C235 corresponds to
count input X0. X20 is NOT the counted
si
nal. This is the continuous drive mentioned
earlier. X0 does not have to be included in the
pro
ram. The input assi
nment is hardware
related and cannot be chan
ed b
the user.
When X20 is OFF, coil C235 is turned OFF and coil C236 is turned ON. Counter C236 has an
assi
ned input of X1, a
ain the input X20 is NOT the counted input.
The assi
nment of counters and input devices is dependent upon the PLC selected. This is
explained in the relevant, later sections.
Driving high speed counter coils:
• The counted inputs are NOT used to
drive the hi
h speed counter coils.
This is because the counter coils
need to be continuousl
driven ON
to reserve the associated hi
h speed
inputs.
Therefore, a normal non-hi
h speed
drive contact should be used to drive
the hi
h speed counter coil.
Ideall
the special auxiliar
contact M8000 should be used. However, this is not
compulsor
.
X0
K4789
X1
D4
C235
C236