EDH0162En1040 – 06/99
3.26
MM4005
CA — Define sweep angle and build an
arc of circle = ƒ (CR, CA)
Usage
IMM
PGM
MIP
Syntax
CAnn
Parameters
Description
nn
[double]
— Sweep angle for an arc of circle.
Range
nn
—
-1.7 E
304
to
-1.0 E
-12
.
and
1.0 E
-12
to
1.7 E
304
.
Units
nn
— Defined motion units.
Defaults
nn
Missing: Error C.
Description
This command defines to the controller the sweep angle and tells to the
controller to build an element of trajectory of the type:
Arc of circle = ƒ(CR, CA).
NOTE
The convention for the sweep angle is the following:
• Sweep angle > 0 then it is used as Counter Clock Wise.
• Sweep angle < 0 then it is used as Clock Wise.
Returns
None.
Errors
C
—
Parameter out of limits
H
—
Calculation overflow.
V
—
Too long trajectory.
\
—
Type error (arc expected).
]
—
Trajectory: Arc (r,
θ
) radius is too small.
^
—
Trajectory: Arc (r,
θ
) radius is too big.
_
—
Trajectory: Arc (r,
θ
) sweep angle is too small.
Rel. Commands
CR
—
Define radius for an arc of circle = ƒ (CR, CA).
XE
—
Tell the last element.
Example
NT
|
Clear trajectory.
CR10
|
Define radius of an arc of circle = ƒ (r,
θ
).
CA90
|
Build an arc of circle = ƒ (r = 10 units,
θ
= 90°).
CA480
|
Build an arc of circle = ƒ (r = 10 units,
θ
= 480°).
XE
|
Tell last element.
XE, Arc (r,
θ
), 10, 10, 90
|
Controller tells the built element.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com