User manual

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
87 43 012 1115
. . .. .. ..
INT program
number
23
S2 (Enabled/
disabled)
0000000000000000
Bit position
87 43 012 1115
. . .. .. ..
INT program
number
S2 (Enabled/
disabled)
0000000000000000
22 21 20 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
87 43 012 1115
. . .. .. ..
INT program
number
23
S2 (Enabled/
disabled)
0000000000000000
Bit position
87 43 012 1115
. . .. .. ..
INT program
number
S2 (Enabled/
disabled)
0000000000000000
22 21 20 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
87 43 012 1115
. . .. .. ..
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