Siemens SINUMERIK 840D sl Programming Manual page 143

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

Advertisement

Parameters
The REDEF command acts globally for all channels and mode groups
REDEF
NC language element
System variables
Machine data/setting data
APX
APW, APR
Value
value 7
Example: subroutine call in definition files
N10 REDEF GEOAX APX 3
N20 IF(ISFILE("/_N_CST_DIR/_N_SACCESS_SUB1_SPF"))
N30 PCALL /_N_CST_DIR/_N_SACCESS_SUB1_SPF
N40 ENDIF
N40 M17
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
3.4 Protection levels for user data, MD, SD and NC commands
Effect and application of the REDEF command
Language element to which a protection level is to
be assigned for execution:
1. Predefined subroutines/functions
(see list with same name).
2. "DO" statement keyword for synchronized actions
3. G functions (G functions/preparatory
functions).
4. Program identifier for cycle
The cycle must be stored in one of the cycle
directories and contain a PROC statement.
System variable to which a protection level is to
be assigned for write access. Read access is
always possible. (see "List of system variables"):
Machine data or setting data to which a protection
level is to be assigned for read/write access.
Vocabulary word for access protection
Execute
Write, read
Numerical value of the protective level (0 to 7)
from 0 or 10 (highest level)
to 7 (lowest level)
Keyswitch position 0 corresponds to the default
setting of all available parts program commands
File and Program Management
3-17

Advertisement

Table of Contents
loading

Table of Contents