342
10-4. Interruption [EI], [DI], [IRET]
XD/XL series PLC have interruption function, including external interruption and timing
interruption. By interruption function we can deal with some special programs. This function
is not affected by the scan cycle.
10-4-1
.
External Interruption
The input terminals X can be used to input external interruption. Each input terminal
corresponds with one external interruption. The input’s rising/falling edge can activate the
interruption. The interruption subroutine is written behind the main program (behind FEND).
After interruption generates, the main program stops running immediately, turn to run the
correspond subroutine. After subroutine running ends, continue to execute the main program.
Note: The external interruption of XC series PLC cannot be activated by rising edge
and falling edge at the same time; but XD/XL series PLC supports rising edge and
falling edge activation meantime.
XD1/XD2/XD3/XD5/XL1/XL3 series 16 I/O
Input
terminal
Pointer No.
Disable the
interruption
instruction
Rising
Interruption
Falling
interruption
X2
I0000
I0001
SM050
X3
I0100
I0101
SM051
X4
I0200
I0201
SM052
X5
I0300
I0301
SM053
X6
I0400
I0401
SM054
X7
I0500
I0501
SM055
XD1 series 32 I/O, XD2/XD3 series 24/32/48/60 I/O, XD5 series, XDM series,
XDC series, XD5E series, XDME series, XL5 series, XL5E, XLME series
Input
terminal
Pointer No.
Disable the
interruption
instruction
Rising
Interruption
Falling
interruption
X2
I0000
I0001
SM050
X3
I0100
I0101
SM051
X4
I0200
I0201
SM052
Main
Program
Main Program
Subprogram
Input Interrupt
External Interruption’s Port Definition
Содержание XD Series
Страница 1: ...XD XL series PLC User manual Instruction WUXI XINJE ELECTRIC CO LTD Data No PD05 20201022 3 5 ...
Страница 210: ...209 ...
Страница 314: ...313 B Double click the middle part to modify ...