Renaming D Numbers (Getdno, Setdno) - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

04.00
8
8.7 Free assignment of D numbers, cutting edge number CE
840D
NCU 572
NCU 573

8.7.2 Renaming D numbers (GETDNO, SETDNO)

Programming
d = GETDNO(t,ce)
state = SETDNO(t,ce,d)
Explanation of the parameters
d
t
ce
state
Function
GETDNO
This command returns the D number of a particular
cutting edge (ce) of a tool with tool number t.
If there is no D number for the specified parameters,
d is set to 0. If the D number is invalid, a value
greater than 32000 is returned.
SETDNO
This commands assigns the value d of the D number
to a cutting edge ce of tool t. The result of this
statement is returned via state (TRUE or FALSE)
If there is no data block for the specified parameter,
the value FALSE is returned. Syntax errors produce
an alarm. The D number cannot be set to 0 explicitly.
Example: (renaming a D number)
$TC_DP2[1,2]
$TC_DP3[1,2]
$TC_DPCE[1,2] = 3;
number CE
...
N10 def int DNoOld, DNoNew = 17
N20 DNoOld = GETDNO(1,3)
N30 SETDNO(1,3,DNoNew)
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
840Di
D number of the cutting edge of the tool
T number of the tool
Cutting edge number (CE number) of the tool
Indicates whether the command could be executed (TRUE or FALSE).
= 120
= 5.5
cutting edge
Tool Offsets
8
8-293

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents