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.
( ED )
( INT 0 )
( I RET )
INT0 Program
F166 HC1S instruction
Target value match ON
R9110: CH0 control flag
K0: CH0 specified
K10000: Target value
Y2: Match output set
ICTL instruction
INT0 program
execution enabled
R0
H0
ICTL
H1
R1
K10000
K0
F166 HC1S
Y2
(
(
)
)
DF
R9110
■
Corresponding channel numbers and interrupt program numbers
Channel No.
INT number
CH0
INT0
CH1
INT1
CH2
INT3
CH3
INT4
CH4
INT5
CH5
INT6
CH6
INT7
CH7
INT8
CH8
INT9
CH9
INT10
CHA
INT11
CHB
INT12
10.5 Interrupt Program Activation
WUME-FPXHPOSG-01
10-31
Summary of Contents for FP-XH Series
Page 2: ... MEMO 2 WUME FPXHPOSG 01 ...
Page 18: ... MEMO 1 10 WUME FPXHPOSG 01 ...
Page 30: ... MEMO 3 8 WUME FPXHPOSG 01 ...
Page 51: ...4 4 Reading Elapsed Values WUME FPXHPOSG 01 4 21 ...
Page 52: ... MEMO 4 22 WUME FPXHPOSG 01 ...
Page 88: ... MEMO 5 36 WUME FPXHPOSG 01 ...
Page 94: ... MEMO 6 6 WUME FPXHPOSG 01 ...
Page 140: ... MEMO 9 8 WUME FPXHPOSG 01 ...
Page 193: ... MEMO WUME FPXHPOSG 01 ...
Page 194: ...Panasonic Industrial Devices SUNX Co Ltd 2020 October 2020 WUME FPXHPOSG 01 ...