Interruption Program Startup When Target Value Has Consistent Control23-13 - Panasonic FP-XH M8N16PD User Manual

Programmable controller
Table of Contents

Advertisement

23.3.4 Interruption program startup when target value has consistent control
After [F166 HC1S] instruction, [F167 HC1R] instruction combined with interruption program,
when the target values are consistent, you can startup interruption program.
 Execute method
• Use system register to set high-speed counter. No need to set interruption input.
• Compile interruption program as secondary program.
• With the ICTL instruction in the main program, the corresponding interruption program is
allowed to execute.
• Execute [F166 HC1S] instruction and [F167 HC1R] instruction. If high-speed counter's
elapsed value is consistent with target value, the interruption program will startup.
R0
R1
R9110
DF
F166 HC1S
INT0 Program
 Matching of channel number and interruption program number
Channel
INT No
number
CH0
INT0
CH1
INT1
CH2
INT2
CH3
INT3
23.3 General-purpose Input / High-speed Counter Related Instruction
ICTL
H0
K0
K10000
Channel
INT No
number
CH4
INT4
CH5
INT5
CH6
INT6
CH7
INT7
ICTL instruction
INT0 program
H1
allowed for execution
ON when the F166HC1S
instruction target value is
Y2
consistent
R9110: CH0
(
ED
)
In-control mark
K0: CH0 designation
( INT
0 )
K10000: target value
Y2: Consistent output settings
(
IRET
)
23-13

Advertisement

Table of Contents
loading

Table of Contents