High-speed counter instructions
901
Part III FP Instructions
F166_HighSpeed
Counter_Set
Target value match ON (high-speed counter)
See also:
Hsc_TargetValueMatch_Set (see page 1168)
Characteristics of target value match ON control
10000
0
1
2
4
3
10000 Target value
1
Elapsed value of high-speed counter
2
Execution condition
3
High-speed counter control flag
4
PLC output
The PLC output turns to TRUE when the elapsed value matches the target value. In addition, the
high-speed counter control flag turns to FALSE and the instruction is deactivated.
If an output is specified that has not been implemented, only the internal memory of the
corresponding WY address is set or reset.
Interrupt operation
The interrupt program will be executed when the elapsed value matches the target value. Any
interrupt that has been entered into the Tasks list is automatically enabled.
Channels used by interrupt programs:
PLC type FP0, FP-e
FP
FP-X (Relay
types)
FP-X
(Transistor
types)
FP0R
Interrupt 0 Channel 0 Channel 0 Channel 0 Channel 0 Channel 0
Interrupt 1 Channel 1 Channel 1 Channel 1 Channel 1 Channel 1
Interrupt 2
Channel 2 Channel 2
Interrupt 3 Channel 2 Channel 2 Channel 3 Channel 3 Channel 2
Description
If the elapsed value of the high-speed counter matches the target value, an interrupt process
immediately turns the specified output to TRUE.