Straight line LP
Application
With the straight line function LP you program a straight traverse motion in any direction using polar coordinates.
Related topics
- Programming a straight line with Cartesian coordinates
Requirement
- Pole CC
You must define a pole CC before programming with polar coordinates.
Description of function
The control moves the tool in a straight line from its current position to the defined end point. The starting point is the end point of the preceding NC block.
You define the straight line with the polar coordinate radius PR and the polar coordinate angle PA. The polar coordinate radius PR is the distance from the end point to the pole.
The algebraic sign of PA depends on the angle reference axis:
- If the angle from the angle reference axis to PR is counterclockwise: PA>0
- If the angle from the angle reference axis to PR is clockwise: PA<0
Input
11 LP PR+50 PA+0 R0 FMAX M3 | ; Straight line without radius compensation in rapid traverse |
To navigate to this function:
Insert NC function All functions Path contour L
The NC function includes the following syntax elements:
Syntax element | Meaning |
---|---|
LP | Syntax initiator for a straight line with polar coordinates |
PR | Polar coordinate radius Fixed or variable number Entry: absolute or incremental Optional syntax element |
PA | Polar coordinate angle Fixed or variable number Entry: absolute or incremental Optional syntax element |
R0, RL, RR | |
F, FMAX, FZ, FU, FAUTO | |
M |
Note
The Form column allows toggling between the syntaxes for Cartesian and polar coordinate input.
Example
12 CC X+45 Y+25 |
13 LP PR+30 PA+0 RR F300 M3 |
14 LP PA+60 |
15 LP IPA+60 |
16 LP PA+180 |