Panasonic FP-E Programming Manual page 213

Fp series
Table of Contents

Advertisement

FP0/FP0R/FP−e/FPΣ/FP−X
Precaution if rewriting during a RUN operation (for FP0/FP0R/FP−e/FPΣ)
If rewriting is done during a RUN operation while the interrupt function is being used, execution of the interrupt
function is inhibited. The ICTL instruction has to be used once again to enable the interrupt program to be
executed.
Example:
A periodic interrupt is set every 10 ms when the operation is
begun. (After rewriting during a RUN operation, interrupts are
enabled again.)
R9013
R9034
Input examples
Example 1: Setting a periodical interrupt every 10ms from the start of
operations
R9013
The R9013 (initial pulse relay) turns on only for the first scan
after operations begin.
Example 2: Enable INT0 through INT3 when X0 rises.
X0
Example 3: Clear interrupts other than INT0 after the INT0 program is
completed.
R0
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
ICTL, H2, K1
ICTL, H2, K1
DF
ICTL, H0, HF
INT 0
ICTL, H100, H1
IRET
Executes INT24 every 10 ms.
Executes INT24 every 10ms
X0: Enables INT0 to INT3 when on
Interrupts other than INT0 are
cleared when the program of
INT0 is finished
Basic Instructions
2 − 103

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents