Panasonic FP-XH M8N16PD User Manual page 442

Programmable controller
Table of Contents

Advertisement

General-purpose Input / High-speed counter Function
 Sample program
When the elapsed value of high-speed counter CH0 is consistent with K10000, below is the
situation for setting output Y0.
R0
DF
F166 HC1S
Target value
10000
0
R0
High-speed counter
in-control flag
Y0
 Precautions for programming
• After the instruction's execution condition turns to ON, high-speed counter In-control flag
(R9110 - R9117) will be ON until the target value is consistent. The high-speed counter for
the same channel cannot execute instruction (F166 - F167).
• Before being consistent with the target value, during hardware reset, elapsed value is reset
to 0, but the setting of the target value and target value being consistent will not reset to zero.
• For the output Y designated when target value has consistent output, do not perform dual-
output check for OT instruction, KP instruction and other application instruction.
• When in common program and interruption program, the same channel is described, do not
execute them at the same time.
23-12
H0
K10000
Process value
F166 Control end
(Removal)
ON when the target
value is consistent
Y0

Advertisement

Table of Contents
loading

Table of Contents