6 Pro
rammin
the control
6
03/2006
6.3 Protection level concept
6-56
© Siemens AG 2006 All Rights Reserved
SINUMERIK 840D/810D Start-Up Guide (IADC) – 03/2006 Edition
When the control is powered up, these are evaluated in order, from
/_N_DEF_DIR/_N_SACCESS_DEF to /_N_DEF_DIR/_N_UACCESS_DEF.
Protection levels can only be allocated in these definition files. Apart from these
files, processing of the REDEF command is rejected and alarm 14018 is output.
To be able to check whether the REDEF instructions programmed in the defini-
tion files are correct, the write protection for each definition file is evaluated. It
must be equal to or greater than the
protection level specified in the REDEF command and the protection level cur-
rently assigned to the part program command or the machine or setting data.
Alarms 7500 and 15180 are triggered if these conditions are not fulfilled.
The write protection for the definition files is set via MD 11170 to MD 11172. Va-
lues between –1 and 7 are possible. If the value is –1, the value currently set in
the relevant definition file is retained.
Table 6-5 Setting write protection for the definition files
Machine data Associated definition directories
MD 11170: ACCESS_WRITE_SACCESS /_N_DEF_DIR/_N_SACCESS_DEF
MD 11171: ACCESS_WRITE_MACCESS /_N_DEF_DIR/_N_MACCESS_DEF
MD 11172: ACCESS_WRITE_UACCESS /_N_DEF_DIR/_N_UACCESS_DEF
Subprograms may be called in the above definition files. They must have the
extension _SPF or _MPF and be located in the search path for subprogram
calls or be called with the absolute path. They inherit the write protection of the
definition files set with MD 11170-11172: ACCESS_WRITE_xACCESS. For the
REDEF command,
see Reference material: /PGA/ Programming Guide for Work Preparation,
Section: 3
To ensure that the implicit right to use the cycle directories is not misused, write
protection for these directories can be matched to the specific right of use with
MD 11165-11167.
Table 6-6 Setting the write protection for cycle directories
Machine data Associated cycle directories
MD 11165: ACCESS_WRITE_CST /_N_CST_DIR (standard cycles)
MD 11166: ACCESS_WRITE_CMA /_N_CMA_DIR (manufacturer’s cycles)
MD 11167: ACCESS_WRITE_CUS /_N_CUS_DIR (user cycles)
Defining write
protection for
definition files
Defining write
protection for
cycle directories