Programming instructions
11-12
Special NC Functions NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
The validity of the programmed parameter values cannot be tested until
the command is executed, in other words: when the NC program is run-
ning. If one of the parameters is incorrect or illegal, the CNC performs an
immediate stop and issues the following error message:
Incorrect Parameter [no. of incorrect parameter]
in data access command
•
Setup list-specific data elements cannot be written.
•
No tool or edge status bits assigned to the tool management may be
written.
•
The data elements "location", "storage" and "tool number" cannot be
written.
•
If one of these conditions is violated when an attempt is made to write
a data element, the CNC performs an immediate stop and issues the
following error message:
Illegal access to a data element !
Example NC program - read with TLD command
The tool number of the tool located in tool spindle 2 is to be assigned to a
NC variable.
@55=TLD(,0,1,2,0,5,)
Data Element = 5 : Tool Number
Edge = 0 : Basic Tool Data
Loc. = 2 : Spindle 2
Storage = 1 : Spindle
Adressing = 0 : Adressing Via Storage and Location
Process : Current Process
Example NC program - write with TLD command
The most recently used tool is to be locked.
TLD(3,1,@55,,0,9,22)=1
Data Element = 9 : Tool Status Bit
Edge = 0 : Basic Tool Data
Index No. : Index No. of Associated Primary Tool
Adressing=1 : Adressing via Tool and Index Number
Process = 3 : Process 3
@55=T
; Save Number of Current Tool
; in a NC-variable
; Lock Tool
Tool Status Bit = 22 : Tool Locked
Tool No. = @55 : Tool Number via NC-variable 55
General tests for the TLD
command
Tests during write operations
for the TLD command