Siemens SINUMERIK 840D sl Programming Manual page 398

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.1 Flexible NC programming
User variables must be defined before they can be used (read/write). The following rules must
be observed in this context:
● GUDs must be defined in a definition file, e.g. _N_DEF_DIR/_N_UGUD_DEF.
● PUDs and LUDs must be defined in the definition section of the NC program.
● The data must be defined in a dedicated block.
● Only one data type may be used for each data definition.
● Several variables of the same data type can be defined for each data definition.
Syntax
LUD and PUD
DEF <type> <phys_unit> <limit values> <name>[<value_1>, <value_2>,
<value_3>]=<init_value>
GUD
DEF <range> <pp_stop> <access_rights> <data class> <type>
<phys_unit> <limit values> <name>[<value_1>, <value_2>,
<value_3>]=<init_value>
Meaning
DEF:
<range>:
<PP_stop>:
<access rights>:
<data class>:
398
Command for defining GUD, PUD, LUD user variables
Range of validity, only relevant for GUD:
NC-global user variable
NC:
Channel-global user variable
CHAN:
Preprocessing stop, only relevant for GUD (optional)
Preprocessing stop when reading
SYNR:
Preprocessing stop when writing
SYNW:
Preprocessing stop when reading/writing
SYNRW:
Protection level for reading/writing GUD via NC program or OPI (optional)
APRP <protection level>:
APWP <protection level>:
APRB <protection level>:
APWB <protection level>:
<protection level>:
See "Attribute: Access rights (APR, APW, APRP, APWP, APRB, APWB)
(Page 412)"
Data class assignment (only SINUMERIK 828D)
Data class M (= Manufacturer)
DCM:
Data class I (= Individual)
DCI:
Data class U (= User)
DCU:
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Read: NC program
Write: NC program
Read: OPI
Write: OPI
Range of values: 0 ... 7
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents