3
08.97 File and Program Management
3.4 Definin
user data
3
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
3-133
Defining user data (GUD)
1. Save block _N_INITIAL_INI.
2. Creating a definition file for user data
•
on an external PC (up to
SW
4
)
•
in the Services operating area (
SW 5
and
higher)
Predefined file names are provided (see previous
page):
_N_SGUD_DEF
_N_MGUD_DEF
_N_UGUD_DEF
_N_GUD4_DEF … _N_GUD9_DEF
Files with these names can contain definitions
for GUD variables.
An additional attribute is required to identify the
variable as a GUD variable and to define the area
in which the definition is to be valid:
NCK, CHAN.
An implicit preprocess stop can also be defined
when the variables are read and/or written at a
later stage:
SYNR
: Preprocess stop while reading
SYNRW
: Preprocess stop during read/write
3. Load the definition file in the program memory of
the control.
The control always creates a default directory
_N_DEF_DIR
.
This name is entered as the path in the header of
the GUD definition file and evaluated when read
in via the V.24 interface.
Example of a definition file, global data (Siemens):
%_N_SGUD_DEF
;$PATH=/_N_DEF_DIR
DEF NCK REAL RTP
;Retraction plane
DEF CHAN INT SDIS
;Safety clearance
M30