Programming instructions
11-8
Special NC Functions NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
11.4 Read/Write Tool Data from the NC Program ‘TLD’
The "TLD command" (tool data) can be used to read the tool data into the
NC program and to write them from the NC program, however some re-
strictions apply to writing.
TLD([0..6],[1],[1..9999999],[1...999],[0..9],[1..35],[1..32])
Status
Data Element
Edge
Pocket / Index No.
Storage [0..2] / Tool Number
Adressing
Process
TLD([0..6],[0], [0..2] ,[1...999],[0..9],[1..35],[1..32])
PA S/T L/D E D S
All data present in the tool list can be read. The individual data elements
are addressed by means of elements. The identifiers for the individual
data elements are shown in the table Tool list data for the TLD command.
Name Sym-
bol
Range Meaning
Process P 0..6 Process no.
Addressing A 0
1
0:
Addressing via
storage and loca-
tion
1:
Addressing via
tool and index
number
Storage S 0..3 S=0:
Magazine/turret
S=1: Spindle
S=2: Gripper
S=3: Position
Location L S=0: 1..999
S=1: 1..4
S=2: 1..4
S=3: 1..4
S=0:
Mag.-/turret loc.
S=1:
No. of tool spindle
S=2:
Gripper number
S=3:
Position number
Tool no. (T
no.)
T 1..9999999 Tool number
Tool index
number
D 1..999 Tool index
number
Edge E 0..9 E=0: Basic tool data
E=1..9: Edge data
Data Element D E=0: 3..28
E=1..9: 1..35
E=0: Access basic tool data
E=1..9: Access edge data
Status S E=0: 1..32
E=1..9: 1..16
E=0: Access tool status bits
E=1..9: Access edge status bits
Syntax
Range and meaning of the
parameters