EasyManua.ls Logo

Panasonic FP-E - Page 218

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic Instructions
2 108
S2: HFE
Clears interrupt INT0 (bit 0 is “0”) and does not clear the other
interrupts.
For the relationship between the set value and the interrupt
input contact, refer to page 2 106.
Even though the INT0 interrupt input occurred, when the
interrupt program is disabled, the ICTL instruction can still be
used to clear the INT0 interrupt.
Main program
INT0 program
INT0 input
on
off
INT1 program
Disabled Enabled
INT1 input
on
off
Condition
Execution
ICTL instruction
Clear
Execution
Execution
Since INT0 is cleared, the INT0 program will not be executed
even after execution is enabled. Since INT1 is not cleared, the
INT1 program will be executed after execution is enabled.
Example for setting periodical interrupt
Example:
ICTL, H2, K1500DF
S1
S2
[S1]: H0002
Specifies periodical interrupt
[S2]: K1500
Specifies the time interval for the periodical interrupt. With
K1500, the time interval is K1500 x 10ms = 15000ms (15s)
After this ICTL instruction is executed, the periodical interrupt
will occur every 15 seconds. At these times, the INT24
interrupt program will be executed.
INT24 program
Main program
15s 15s
Execution
ICTL instruction
Execution
Execution
FP0/FP0R/FPe/FPΣ/FPX
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com