Siemens SINUMERIK 840D sl Programming Manual page 139

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Note
To protect a complete file, the commands must be placed before the first definitions in the
file. In other cases, they go into the REDEF instruction of the relevant data, see section
"Protection levels for NC commands".
Example: definition file with write access protection
(Machine manufacturer), read (key switch 2 on the user interface):
%_N_GUD6_DEF
;$PATH=/_N_DEF_DIR
APR 15 APW 12
DEF CHAN REAL_CORRVAL
DEF NCK INT MYCOUNT
...
M30
Activating a GUD definition file for the first time
When a GUD definition file is first activated any defined access authorization contained
therein is evaluated and automatically re-transferred to the read/write access of the GUD
definition file.
Note
Access authorization entries in the GUD definition file can restrict but not extend the required
access authorization for the GUD definition file.
Example:
The definition file _N_GUD7_DEF contains: APW2
10. The file _N_GUD7_DEF has value 3 as write protection. The value 3 is then overwritten
11. The file _N_GUD7_DEF has value 0 as write protection. There is no change to it.
With the APW statement a retrospective change is made to the file's write access.
With the APR statement a retrospective change is made to the file's read access.
Note
If you erroneously enter in the GUD definition file a higher access level than your
authorization allows, the archive file must be reimported.
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
with value 2.
3.4 Protection levels for user data, MD, SD and NC commands
;Protection levels for all following
;variables
File and Program Management
3-13

Advertisement

Table of Contents
loading

Table of Contents