EasyManua.ls Logo

Siemens SINUMERIK 840D Simodrive 611 digital - Protection Levels for NC Language Commands (REDEF)

Siemens SINUMERIK 840D Simodrive  611 digital
298 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 Pro
g
rammin
g
the control
6
03/2006
6.3 Protection level concept
6-55
© Siemens AG 2006 All Rights Reserved
SINUMERIK 840D/810D Start-Up Guide (IADC) – 03/2006 Edition
6.3.1 Protection levels for NC language commands (REDEF)
The existing protection level concept for accessing machine and setting data
and GUDs has been extended to include executing certain part program com-
mands and write access to system variables. Individual part program com-
mands are thus associated with a corresponding right of use.
The default setting for the current right of use corresponds to the access right
that is active on the control, i.e. to key switch position 0 to 3 or passwords for
end users through to Siemens, as shown in Table 6-2.
To allow the programs stored in the cycle directories to be used via a range of
commands that are independent of the rights of use of a particular operator, the
right of use is implicitly modified while these programs are running. To do this,
when programs are called from the cycle directories, the right of use is set to the
values stored in machine data MD 11160 to MD 11162, provided that a higher
access right has not already been set on the control by key switch or password.
Table 6-4 Modifying rights of use for the cycle directories
Assign defined rights of use to the cycle directory
MD 11160: ACCESS_EXEC_CST /_N_CST_DIR (standard cycles)
MD 11161: ACCESS_EXEC_CMA /_N_CMA_DIR (manufacturer’s cycles)
MD 11162: ACCESS_EXEC_CUS /_N_CUS_DIR (user cycles)
NC language commands are assigned protection levels using the REDEF com-
mand. The following language constructs may be protected:
S G codes (list of G functions/preparatory functions)
S Predefined procedures and functions (predefined subprograms)
S “DO” instructions for synchronous actions only
S Write or read access to machine and setting data
S Write access to system variables (part program and synchronous actions)
S Cycle identifiers (PROC instruction)
S Language commands that were generated via the compile cycle interfaces.
Once the part program commands have been activated, they are not executed
unless the relevant right of use exists. If this is not the case, then processing of
the part program is canceled and alarm 14018 is output.
As with the GUD definitions, separate definition files are provided for program-
ming the REDEF instruction:
Siemens system applications /_N_DEF_DIR/_N_SACCESS_DEF,
Machine manufacturer /_N_DEF_DIR/_N_MACCESS_DEF and
End user /_N_DEF_DIR/_N_UACCESS_DEF
Access rights to
execute NC
commands
Allocation of pro-
tection levels with
REDEF command
Activating the
protection levels

Table of Contents

Related product manuals