F166 Hc1S] High-Speed Counter Target Value Consistent On Instruction; [F167 Hc1R] High-Speed Counter Target Value Consistent Off Instruction23-11 - Panasonic FP-XH M8N16PD User Manual

Programmable controller
Table of Contents

Advertisement

23.3.3 [F166 HC1S] High-speed counter target value consistent ON instruction

[F167 HC1R] High-speed counter target value consistent OFF instruction
When the high-speed counter elapsed value is consistent with the target value of operand
setting, set the designated output to ON or OFF.
 Instruction format
R0
DF
F166 HC1S
 Operand
Operand
Settings
The high-speed counter channel number which acts as consistent output object
S
n
Start number of the area in which high-speed counter's target value data or data is saved
D
The output coil of ON or OFF in case of consistency (Y0 - Y29F)
 Memory area type that can be specified (A: Available)
Operand
WX
WY
S
-
n
A
D
-
 Operation description
• The value designated by [S] is set to high-speed counter's target value, when elapsed value
is consistent to target value, control designates the output [Yn]. This will be executed by
interruption handling.
• [F166 HC1S] During instruction, set output OFF->ON; during [F167 HC1R] instruction, set
the output ON->OFF.
• When executing instruction, S value is saved to target value area.
• When the target value setting is consistent to target value, output control is cleared to zero
when target value is consistent.
• When the target value is consistent, reset ON/OFF output, please use RST instruction, F0
(MV) instruction for resetting, or F166 (HC1S) instruction, F167 (HC1R) instruction to match
the use.
23.3 General-purpose Input / High-speed Counter Related Instruction
H0
K10000
S
WR
WL
SV
-
-
-
-
A
A
A
A
-
-
-
-
Y2
n
D
EV
DT
LD
I
-
-
-
-
A
A
A
A
-
-
-
-
Constant
Index
modifier
K
H
A
A
-
A
A
A
-
-
-
23-11

Advertisement

Table of Contents
loading

Table of Contents