File and Program Management
3.5 REDEF Changing the attributes of the NC language elements
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
3-19
3.5 3.5 REDEF Changing the attributes of the NC language elements
Function
The extension of the REDEF statement makes available the functions described in the
previous subsection for defining data objects and protection levels into a general interface for
setting attributes and values.
Programming
REDEF NC language element attribute value
or
REDEF name (no further parameter details)
Parameters
NC language element This includes:
GUD
R parameters
Machine data/setting data
Synchronous variables ($AC_PARAM, $AC_MARKER, $AC_TIMER)
Synchronous variables that can be written from parts programs
(see PGA1)
User frames (G500, etc.)
Magazine/tool configurations
name The settings for APX, APR, APW are set to default values and
INIPO, INIRE, INICF, PRLOC are reset again.
Attribute
Initializations
INIPO
INIRE
INICF
PRLOC
Permissible for:
GUD, R parameters, synchronous vars
GUD, R parameters, synchronous vars
GUD, R parameters, synchronous vars
Setting data
Synchronization
SYNR
SYNW
SYNRW
Permissible for:
GUD
GUD
GUD
Access
authorization
APW
APR
Permissible for:
Machine/setting data
Machine/setting data
Setting a default value:
Preprocess stop while reading
Preprocess stop while writing
Preprocess stop while reading and
writing
Access right during write
Access right during read
For machine and setting data you
can overwrite the preset access
authorization subsequently. The
permissible values range from
'0' (Siemens password) to
'7' (keyswitch setting 0)