Download Print this page

Panasonic FP-XH Series User Manual page 171

Programmable controller
Hide thumbs Also See for FP-XH Series:

Advertisement

10.5 Interrupt Program Activation
10.5.1 Overview of Function
When the elapsed value reaches the target value while the high-speed counter instruction F165
(CAM0) / F166 (HC1S) / F167 (HC1R) is being executed, the interrupt program can be
activated.
Execution method
● Make the setting for the high-speed counter by system registers. There is no need to make
the setting of interrupt input.
● Describe the interrupt program as a sub program.
● Allow the execution of a corresponding interrupt program number by the ICTL instruction in
the main program.
● Execute the F165 (CAM0) / F166 (HC1S) / F167 (HC1R) instruction. When the elapsed
value of the high-speed counter reaches the target value, the interrupt program is activated.
R0
R9110
R1
DF
( (
) )
Corresponding channel numbers and interrupt program numbers
Channel No.
CH0
CH1
CH2
CH3
CH4
CH5
CH6
CH7
CH8
CH9
CHA
CHB
WUME-FPXHPOSG-01
ICTL
K0
F166 HC1S
INT0 Program
INT number
INT0
INT1
INT3
INT4
INT5
INT6
INT7
INT8
INT9
INT10
INT11
INT12
10.5 Interrupt Program Activation
H0
H1
K10000
Y2
(
ED
)
( INT
0 )
( I RET
ICTL instruction
INT0 program
execution enabled
F166 HC1S instruction
Target value match ON
R9110: CH0 control flag
K0: CH0 specified
K10000: Target value
Y2: Match output set
)
10-31

Advertisement

loading