Straight line L
Application
With a straight line L you program a straight traverse motion in any direction.
Related topics
- Programming a straight line 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.
Depending on the kinematics of your machine, you can program up to six axes in a linear L block.
The TNC7 basic can move up to four axes simultaneously. If an NC block commands movement of more than four axes, the control displays an error message.If the axis position does not change, you can nevertheless program more than four axes.
Input
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
11 L X+50 Y+50 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 |
---|---|
L | Syntax initiator for a straight line |
X, Y, Z, A, B, C, U, V, W | End point of the straight line Number or numerical parameter Entry: absolute or incremental Optional syntax element |
&X, &Y, &Z | End point of the straight line in a main axis deselected with PARAXMODE Select three linear axes for machining with FUNCTION PARAXMODE Number or numerical parameter Optional syntax element |
R0, RL, RR | |
F, FMAX, FZ, FU, FAUTO | |
M |
Straight line L with the values of the current position
To enter a straight line L with the values of the current position:
| ||
|
- You use the actPosAxes machine parameter (no. 105415) to define the axes used by the actual position capture key to create a straight line L.
- The values are equivalent to the Actual pos. (ACT) mode of the position display.
Note
The Form column allows toggling between the syntaxes for Cartesian and polar coordinate input.
Example
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
11 L Z+100 R0 FMAX M3 |
12 L X+10 Y+40 RL F200 |
13 L IX+20 IY-15 |
14 L X+60 IY-10 |