Basic Instructions
2
−
91
Outline
INT:
Indicates the start of the interrupt program.
IRET:
Indicates the end of the interrupt program.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
Interrupt program number
20
21
26
(INT 0 )
(ED
)
(IRET
)
20
21
26
....
ED
INT
0
IRET
....
Description
When an interrupt is input, the interrupt program of the number specified is executed starting from the
INT
instruction.
When the interrupt program reaches the
IRET
instruction, the program returns to the address where the
interrupt occurred and the main program resumes.
ED
INT
n
IRET
DF
X0
Interrupt
program n
ICTL, S1, S2
Main program
Interrupting
1
2
3
When the interrupt occurs, the program is executed in the order
1
−
2
−
3
shown above.
FP0/FP0R/FP
−
e/FP
Σ
/FP
−
X
INT
IRET
Interrupt
Interrupt return
Availability
FP0/FP0R/FP
−
e/
FP
Σ
/FP
−
X
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...