Panasonic FP-E Programming Manual page 215

Fp series
Table of Contents

Advertisement

FP0/FP0R/FP−e/FPΣ/FP−X
S2: Specifying the control of interrupts
Enabling or disabling interrupt programs (when S1 = H0 or S1 = H1).
1
Set the control data in the bit corresponding to the number of the interrupt program that you want to control.
Set the bit corresponding to the number of the program you want to enable to "1." (INT program disabled.)
Set the bit corresponding to the number of the program you want to disable to "0." (INT program enabled.)
Example:
When specified so that the interrupt programs INT1 and INT2 are
enabled, and INT0 and INT3 to 13 are inhibited
Bit position
Clearing interrupt programs (when S1 = H100 or S1 = H101)
2
Set the control data in the bit corresponding to the number of the interrupt program that you want to control.
Set the bit corresponding to the number of the program you want to clear to "0." (INT program disabled.)
Set the bit corresponding to the number of the program you want to not clear to "1." (INT program enabled.)
Example:
When specified so that the interrupt programs INT0 to INT2 are
cleared, and INT3 to INT13 are not cleared
Bit position
Specifying periodical interrupt (when S1 = H2)
3
Specify the setting with decimal number. The time interval = value of S2 × 10 (ms).
. .
Bit position
15
12 11
S2
Time interval setting: K1 to K3000 (10ms to 30s)
INT24 disabled: K0
Specifying periodical interrupt programs (when S1 = H3)
4
The time interval = value of S2 × 0.5 (ms).
. .
Bit position
15
12 11
S2
Time interval setting: K1 to K3000 (0.5ms to 1.5s)
INT24 disabled: K0
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
. .
15
12 11
INT program
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
number
S2 (Enabled/
0 0 0 0
0 0 0 0
disabled)
. .
15
12 11
INT program
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
number
S2 (Enabled/
0 0 0 0
0 0 0 0
disabled)
. .
. .
. .
8 7
4 3
K0 to K3000
. .
. .
. .
8 7
4 3
K0 to K3000
. .
. .
. .
8 7
4 3
0
0 0 0 0
0 1 1 0
. .
. .
. .
8 7
4 3
0
1 1 1 1
1 0 0 0
0
0
Basic Instructions
2 − 105

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents