Tool loading <LOADTL>


<LOADTL> command loads tool of the specified in the first parameter number. Use <LOADTL> command to form NC-program block that move the tooling turret or select the tool from the tool magazine. Also this command is used to form NC-program frames that move the tool to the safe tool changing position.

Command:

LOADTL N n, Tool changed 1, X x, Y y, Z z, D d, M m, K k, L l, P p, A a, R r, H h, RC rc,

PLANE XY(33) | YZ(37) | XZ(41) | YX(133) | ZY(137) | ZX(141),

FEEDCOLOR c1, FEEDCOLOR c1, DUR d2

Parameters:


Parameter

CLD array

Description

n

CLD[1]

CLD.N

Tool number

x,

y,

z

CLD[2],

CLD[3],

CLD[4]

CLD.X

CLD.Y

CLD.Z

Tool offset along axes X, Y, Z relative to tool fixing point (flange coordinate system).

d

CLD[5]

CLD.D

Tool diameter.

m

CLD[6]

CLD.M

Length corrector number. If the tooling point is the tool end then M < 0.

k

CLD[7]

CLD.K

Radius corrector number. If the tooling point is the tool end then K < 0.

L

CLD[8]

CLD.L

Tool length.

P

CLD[9]

CLD.P

Tool width.

a

CLD[10]

CLD.A

Tool approach angle (for external pocketing 180<a<0, for internal pocketing 0<a<90).

r

CLD[11]

CLD.R

Nose radius.

h

CLD[12]

CLD.H

Tool height.

rc

CLD[13]

CLD.Rc

Radius of cylinder part of axial tool.

XY(33)

YZ(37)

XZ(41)

YX(133)

ZY(137)

ZX(141)

CLD[14]


Tool plane. A plane normal to the tool axis for axial tool. Machining plane for the lathe tool.

33 – XY,

37 – YZ,

41 – XZ,

133 – YX,

137 – ZY,

141 – ZX.

CLD[15],

CLD[16]


Reserved.

d2

CLD[17]

CLD.Dur

Tool durability (minutes).

0 – ignored.

HID

CLD[18]

CLD.HID

Tool holder block id (number)

nx

CLD[19]

CLD.NX

The values that define orientation of the tool relative to the anchor point (the flange coordinate system). Depending on the system settings (defined in the machine schema) they can be either rotation angles around the coordinate axes X, Y and Z in degrees (Euler angles A = NX, B = NY, C = NZ), either the coefficients of the quaternion q = (NX, NY, NZ, NW).

ny

CLD[20]

CLD.NY

nz

CLD[21]

CLD.NZ

nw

CLD[22]

CLD.NW


Parameters available through the Cmd operator


TCLDLoadTool: ComplexType

Tool loading command

ToolChanged: bool (integer)

Cmd.Int["ToolChanged"] - ToolChanged is a flag that determines whether a tool change is made at this location relative to the previous operation. If it has a value of 1 (true), it means that the tool in this operation is different from the tool in the previous operation. If the flag has a value of 0 (false), it means that the tools in the current and previous operations are the same and there is no tool change.

"Skip LoadTL if no tool change" option in the settings window depend on this flag and postprocessor can skip LoadTL procedure calling.

ToolID: Integer

Cmd.Int["ToolID"] - Tool identifier (number)

RadCorrNum: Integer

Cmd.Int["RadCorrNum"] - Radius corrector number

LenCorrNum: Integer

Cmd.Int["LenCorrNum"] - Length corrector number

HolderID: Integer

Cmd.Int["HolderID"] - Tool holder identifier (number)

RevolverID: String

Cmd.Str["RevolverID"] - String identifier of the turret head


See also:

Technology commands description