![Xinje XD Series User Manual Download Page 345](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444345.webp)
344
Example 1
origin
A
(
X0
)
B
(
X1
)
C
(
X2
)
The positions of A, B, C are unknown. The speed of the three segments are different. The
application can be perform by PLSF instruction and external interruption. We can install three
proximity switch at postion A, B, C, and connect the signal to PLC input terminal X0, X1,
X2. (suppose X0, X1, X2 are external interruption terminal, the related rising edge
interruption ID are I0000, I0100, I0200. The PLC external interruption terminal please refer
to “external interruption terminal definition). The pulse terminal is Y0, the direction terminal
By programming DI instruction, can
set interruption disabled area;
Allow interruption input between
EI~DI
If interruption forbidden is not
required, please program only with EI,
and program with DI is not required.
Every input interruption is
equipped with special relays
(SM50~SM69)
to
disable
interruption.
In the left program, if use M0 to
set SM50 “ON”, then disable the
interruption 0.
Interruption’s Range Limitation
Disable the Interruption