7-12
Sample program (F178)
7.3.6 High-speed counter control flag
Note that there are the following restrictions on using each function of the high-speed counter.
Allocation and role of high-speed counter control flag
- When a high-speed counter instructions (F166/F167/F178) is executed, the high-speed counter control
flag of the corresponding channel is ON. No other high-speed counter instruction can be executed as
long as this flag is ON.
- The high-speed counter control flags are allocated to each channel.
Channel No. High-speed counter control flag
CH0 R9110
CH1 R9111
CH2 R9112
CH3 R9113
Operation of high-speed counter control flag
- The high-speed counter flag varies during scanning. Replace it with an internal relay at the beginning of
the program when using it several times in the program.