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:

Contour definitions 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:

Notice It is additionally possible to program rounding or chamfering. The ANG and SEG parameters must be programmed in every block. The assignment may use R-parameters, but formulas cannot be programmed.

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:

Contour definitions 2:
N10 G01 ANG=45 X300

N20 G01 ANG=0 Z700
R10=100
N30 G01 ANG=315
X=R10
Contour definitions 3:

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.