Delta Tau GEO BRICK LV 用户手册
Turbo PMAC User Manual
284
Writing and Executing Motion Programs
X20 Y20 I20 J0
; Arc move; I=20-0=20; J=0-0=0
LINEAR
X40 Y20
CIRCLE1
X20 Y0 I0 J-20
X20 Y0 I0 J-20
; Arc move; I=40-40=0; J=0-20=-20
J
I
I
CENTER
(15,20)
START
(25,20)
END
(15,10)
X
X
Y
Y
CIRCLE2
TM1000
X15Y10I-10
X
Y
START (10,0)
END
(0,10)
2
1
CIRCLE2
TM2000
X0Y10R-10
CIRCLE2
TM2000
X0Y10R10
1
2
X
X
Y
I
Y
J
CENTER
(20,20)
START,END
(30,10)
X
X
Y
Y
NORMAL K-1
ABS (X,Y)
INC (R)
CIRCLE1
F10
X25Y30I20J5
START
(10,5)
CENTER
(30,10)
END
(25,30)
PMAC
Defaults
CIRCLE1
F25
X30Y10I-10J10
or
I-10J10
Radius Size Specification
If the radius method of locating the arc center is used, the radius is the number after the letter R in the
move command. This value always represents the distance from the move starting point. With radius
specification, it is also necessary to specify whether the arc to the move endpoint is the long route (>=
180 degrees) or the short route (<= 180 degrees). Turbo PMAC’s convention is to take the short arc path
if the R value is positive and the long arc path if R is negative. R values are not modal – a value must be
specified on each move command line. It is not possible to do a full circle in a single move command
with a radius specification; the circle must be broken into at least two parts.
A typical circular move command with a radius specification is:
move command. This value always represents the distance from the move starting point. With radius
specification, it is also necessary to specify whether the arc to the move endpoint is the long route (>=
180 degrees) or the short route (<= 180 degrees). Turbo PMAC’s convention is to take the short arc path
if the R value is positive and the long arc path if R is negative. R values are not modal – a value must be
specified on each move command line. It is not possible to do a full circle in a single move command
with a radius specification; the circle must be broken into at least two parts.
A typical circular move command with a radius specification is:
X1000 Y2000 R750
Example:
To do the same moves as in the above example, except with radius center specification, the program
would be:
To do the same moves as in the above example, except with radius center specification, the program
would be:
NORMAL K-1
; XY plane
F10
CIRCLE1
X20 Y20 R20
X20 Y20 R20
; Arc move < 180 deg
X40 Y20
; Automatically linear
X20 Y0 R-20
; Arc move > 180 deg
Note:
Do not use the R radius specification if using the axis transformation matrices for
scaling purposes with the AROT or IROT statements. The radius value will not
scale with the axes.
scaling purposes with the AROT or IROT statements. The radius value will not
scale with the axes.