FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
U
SER
’
S
M
ANUAL
FC9Y-B1722 5-33
5: F
UNCTIONS
AND
S
ETTINGS
Interrupt Input
When a quick response to an external input is required, such as positioning control, the interrupt input can call a subroutine to
execute an interrupt program.
Six inputs I0, I1, I3, I4, I6, and I7 can be designated to execute interrupt at a rising and/or falling edge of input pulses. When an
interrupt is initiated by inputs I0, I1, I3, I4, I6 and I7, program execution immediately jumps to a predetermined label number
stored in special data registers D8215, D8032 through D8035, and D8214 respectively. The Function Area Settings dialog box is
used to designate inputs I0, I1, I3, I4, I6 and I7 as an interrupt input, normal input, high-speed counter input, or catch input.
Normal input signals to input terminals are read when the END instruction is executed at the end of a scan.
Since these settings relate to the user program, the user program must be downloaded to the FC6A Series MicroSmart after
changing any of these settings.
Interrupt Input Terminals, Special Data Registers, and Special Internal Relays for Interrupt Inputs
Programming WindLDR
1. From the WindLDR menu bar, select Configuration > Input Configuration.
The Function Area Settings dialog box for Input Configuration appears.
2. Select Interrupt Input in the Groups 1 through 6 pull-down list boxes. the Interrupt Input dialog box appears.
3. Select an interrupt edge in the pull-down list for each group.
Disable and Enable Interrupts
The interrupt inputs I0, I1, I3, I4, I6, and I7 and timer interrupt are normally enabled while the FC6A Series MicroSmart is running,
and can also be individually disabled using the DI instruction or enabled using the EI instruction. When interrupt inputs I0, I1, I3,
I4, I6, and I7 are enabled, special internal relay M8137 through M8143, and M8167 are turned on, respectively. See Chapter 14
"Refresh Instructions" in the "FC6A Series MicroSmart LAD Programming Manual".
Group Interrupt Input No. Interrupt Input Jump Destination Label No. Interrupt Input Status
Group 1 I0 D8215 M8137
Group 2 I1 D8032 M8140
Group 3 I3 D8033 M8141
Group 4 I4 D8034 M8142
Group 5 I6 D8035 M8143
Group 6 I7 D8214 M8167
Interrupt Input Rising/
Falling Edge Selection
Interrupt at Rising Edge
Interrupt occurs when the
interrupt input turns on.
Interrupt at Falling Edge
Interrupt occurs when the
interrupt input turns off.
Interrupt at Both Edges
Interrupt occurs when the
interrupt input turns on or off.