Basic Instructions
2
−
96
Interrupt program execution waiting state and clearing
When multiple interrupt programs occur simultaneously or new interrupt programs occur during the
execution of another interrupt program, the interrupt programs of lower preference are placed in the
execution waiting state. They are then executed in order of preference when the other interrupt programs are
completed.
Example:
Main program
INT1 program
INT1 input
on
off
INT2 program
Execution waiting state
INT2 input
on
off
If placed in the execution waiting state, there is a time difference between the time of when the interrupt
occurs and when the interrupt program is actually executed. If you do not want to execute the interrupt
program placed in the execution waiting state because of this, it can be cleared with the
ICTL
instruction. An
interrupt program that is cleared will not be executed.
Example:
Main program
INT1 program
INT1 input
on
off
INT2 program
INT2 input
on
off
Clear
ICTL
(INT2 clear) execution
When the execution of interrupt programs is disabled with the
ICTL
instruction, interrupts that occur are still
placed in the execution waiting state. When the execution is enabled with the
ICTL
instruction, the waiting
interrupt programs will then be executed. Programs in the execution waiting state can be cleared with the
ICTL
instruction.
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 ...