Straight line L

Application

With a straight line L you program a straight traverse motion in any direction.

Related topics

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

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 as a fixed or variable number

Entry: absolute or incremental

Optional syntax element

&X, &Y, &Z

End point of the straight line in a main axis that is deselected with PARAXMODE as a fixed or variable number

Select three linear axes for machining with FUNCTION PARAXMODE

Optional syntax element

R0, RL, RR

Tool radius compensation

Tool radius compensation

Optional syntax element

F, FMAX, FZ, FU, FAUTO

Feed rate

Feed rate F

Fixed or variable number

Optional syntax element

M

M function

Miscellaneous Functions

Fixed or variable number

Optional syntax element

Notes

  • The Form column allows toggling between the syntaxes for Cartesian and polar coordinate input.
  • The Form column in the Program workspace

  • The actual position capture key allows you to program a straight line L with all axis values. The values are equivalent to the Actual pos. (ACT) mode of the position display.
  • Position displays

Example

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