Panasonic FP-E Programming Manual page 216

Fp series
Table of Contents

Advertisement

Basic Instructions
Example of enabling the execution of interrupt programs
Example:
S1: H0000
Specifies enabling or disabling of interrupt programs that
correspond to interrupts at specified input contact or to target
value match interrupts.
S2: H0021
Enable INT0 and INT5 (set bits 0 and 5 to "1") and disable all
others.
Bit position
Set the bits to "1" that correspond to the interrupts to be
enabled.
When this ICTL instruction is executed, interrupt programs No.
0 and No. 5 will be executed when their corresponding
interrupt inputs occur.
2 − 106
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
DF
ICTL, H0, H21
S1
S2
. .
. .
15
12 11
S2
0 0 0 0
0 0 0 0
13 12
11 10 9 8 7 6 5 4
INT No.
Input contact
X0
(INT0)
X1
(INT1)
X2
(INT2)
X3
(INT3)
X4
(INT4)
X5
(INT5)
X6
(INT6)
X7
(INT7)
X8
(INT8)
X9
(INT9)
X10 (INT10)
X11 (INT11)
X12 (INT12)
X13 (INT13)
. .
. .
8 7
4 3
0
0 0 1 0
0 0 0 1
3 2 1 0
FP0/FP0R/FP−e/FPΣ/FP−X

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents