
Basic Instructions
2
−
112
If execution has been specified as enabled or disabled for INT0 to INT15, [S1] = H0.
If an interrupt clear has been specified for INT0 to INT15, [S1] = H100.
If execution has been specified as enabled or disabled for INT16 to INT23, [S1] = H1.
If an interrupt clear has been specified for INT16 to INT23, [S1] = H101.
Set [S1] = H2 to set the time intervals for INT24.
Set [S1] = H3 to set the time intervals for INT24 (for the FP2, FP2SH and FP10SH only)
S2: Specifying the control of interrupts
1
Enabling or disabling interrupt programs (when S1 = H0 or S1 = H1).
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.)
Bit position
8 7
4 3
0
12 11
15
. .
. .
. .
. .
INT program
number
23
S2 (Enabled/
disabled)
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
Bit position
8 7
4 3
0
12 11
15
. .
. .
. .
. .
INT program
number
S2 (Enabled/
disabled)
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
22 2120 19 18 17 16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2
Clearing interrupt programs (when S1 = H100 or S1 = H101)
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.)
Bit position
8 7
4 3
0
12 11
15
. .
. .
. .
. .
INT program
number
23
S2 (Enabled/
disabled)
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
Bit position
8 7
4 3
0
12 11
15
. .
. .
. .
. .
INT program
number
S2 (Enabled/
disabled)
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
22 2120 19 18 17 16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
3
Specifying periodical interrupt (when S1 = H2 or S1=H4)
Specify the setting with decimal number. The time interval = value of S2
×
10 (ms).
Bit position
8 7
4 3
0
12 11
15
. .
. .
. .
. .
S2
K0 to K3000
Time interval setting: K1 to K3000 (10ms to 30s)
INT24 disabled: K0
Note
For the difference in the operation of H2 and H4, refer to ”Example
2 for setting periodical interrupt”.
(H4 can be specified with the PLC FP2/FP2SH
Ver. 1.50
or later.)
FP2/FP2SH/FP10SH
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-E
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 ...