108
8-3
Basic Program Examples
8-3-1 Positioning to a Single Point (X Axis)
The following program positions to point A [10,000, 0 (pulses)] from the origin
[0,0 (pulses)] at 2 kpps. At point A, bit J(15) turns ON to indicate completed
positioning.
Y axis (pulse)
0 (origin)
X axis (pulse)
A (10,000,0)
Time (s)
2 kpps
Speed (pps)
DIFU(13) j(01)
WRIT(87)
#0002
DM m
n
READ(88)
#0017
n+1
l
l+7
CMP(20)
#0010
( = )
( = )
j (00)
l+4 (07)
Start input
Origin
j (01)
j (03)
l(15)
Command
Ready
j (02)
25506
25506
j
(15)
j
(02)
j
(03)
Normally ON
Positioning
Completed
Position of point A
Reads flags
l+3 (08)
25313
Start command to point A
Ladder Diagram
8-3-2 Positioning to a Single Point (Y Axis)
The following program positions to the origin [0, 0 (pulses)] from point C
[10,000, 10,000 (pulses)] at 1 kpps. At the origin bit, j+2 (15) turns ON to indi-
cate completed positioning. The speed registered in the X-axis speed field is
used.
Y axis (pulse)
0 (origin)
X axis (pulse
)
Time (s)
Speed (pps)
C (10,000, 10,000)
B (10,000,
5,000)
3 kpps
A
B
C
1 kpps
(10,000, 0)
Basic Program Examples
Section 8-3
Содержание SYSMAC C500-NC222-E
Страница 1: ...OPERATION MANUAL Two axis Position Control Unit NC221 Mode SYSMAC C500 NC222 E Cat No W138 E1 03...
Страница 2: ...C500 NC222 E Two axis Position Control Unit NC221 Mode Operation Manual Revised June 2003...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 163: ...Cat No W138 E1 03 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...
Страница 164: ...Cat No W138 E1 03 SYSMAC C500 NC222 E Two axis Position Control Unit NC221 Mode OPERATION MANUAL...