Contour definitions
Angle and segment length
In this type of programming the angle and the magnitude (segment length) are always quoted, similarly to polar co-ordinates.
Parameter |
Description |
---|---|
ANG |
Angle in degrees with reference to the abscissa ( -360 ≤ ang ≤ 360 ) |
SEG |
Magnitude of the segment length |
Sample 1:
N10 G01 ANG=45 SEG=424.264 F60000
N20 G01 ANG=0 SEG=400
N30 G01 ANG=-45 SEG=282.843
or
N10 G01 ANG=45 SEG=424.264 F60000
N20 G01 X700 Y300
N30 G01 ANG=-45 SEG=282.843
Restrictions:
- The programming may only be done in the chosen principal plane.
- The length of the segment must be greater than zero, and refers to the projection in the principal plane.
Angle and one component in the plane
As above, an angle is programmed, but the length of the segment is no longer specified directly. It is calculated from a component in the selected principal plane.
Sample 2:
N10 G01 ANG=45 X300
N20 G01 ANG=0 Z700
R10=100
N30 G01 ANG=315
X=R10
Runtime error If either two components in the plane are quoted or none at all, the result is a runtime error. A runtime error is also generated if the movement is parallel to the abscissa or to the ordinate, and there is therefore no intersection. |