EasyManua.ls Logo

Xinje XD Series - Page 394

Xinje XD Series
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
393
Example 1
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 is Y2. To
improve the speed changing precision, the acceleration and deceleartion time are 0. The speed
will switch by external interruption.
Segment
Frequency setting
value (Hz)
Pulse numbers
Origin ---- A
10000
999999999
A---- B
30000
999999999
B ----- C
20000
999999999
Acceleration
and deceleratoin
time
0
Note: as the pulse numbers of each segment is unknown, the pulse numbers should set large
enough to ensure the object can move to the proximity switch. The STOP instruction will be
run by external interruption when the object gets to position C.
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.
Disable the Interruption
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series