Siemens SINUMERIK 840D sl Programming Manual page 146

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

Advertisement

File and Program Management
3.5 REDEF Changing the attributes of the NC language elements
Optional parameters
Value (optional)
Single value
value list
REP (w1)
SET(w1, w2, w3, ...)
(w1, w2, w3, ...)
n:
Meaning of the attributes
INIPO
INIRE
INICF
PRLOC
The user is responsible for synchronization of the events triggering initialization. For
example, if an end of parts program is executed in two different channels, the variables are
initialized in each. That affects global and axial data!
3-20
Optional parameters for attributes INIPO, INIRE, INICF, PRLOC:
Subsequent start value(s)
forms:
e.g. 5
e.g. (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) for variable with 10
elements with
w1: the value list to be repeated
for variable with several elements, e.g. REP(12)
or
value list
required protection level parameter for attributes for APR or
APW
For GUD, the definition can contain a start value (DEF NCK INT
_MYGUD=5). If this start value is not stated (e.g. in DEF NCK
INT _MYINT), the start value can be defined subsequently in
the REDEF statement.
The initialization value for an array applies to all array
elements. Individual elements can be set using an
initialization list or REP( ). Examples:
REDEF_MYGUD INIRE 5
REDEF_MYGUD INIRE 0,1,2,3,4,5,6,7,8,9
REDEF_MYGUD INIRE REP(12,14,16,18,20)
Cannot be used for R parameters and system variables.
Only constants can be assigned.
Expressions are not permitted values.
INIt for Power On
The data are overwritten with the default(s) on battery-back
restart of the NC.
INIt for operator panel front Reset or TP end
At the end of a main program, for example, with M2, M30 , etc.
or on cancellation with the reset, the data are overwritten with
the defaults.
INIRE also applies for INIPO.
INIt for NewConf request or NEWCONF TP command
On NewConf request or TP command NEWCONF, the data are
overwritten with the default values.
INICF also applies to INIRE and INIPO.
Only program-local change
If the data is changed in a parts program, subroutine, cycle, or
ASUB, it will be restored to its original value at the end of
the main program (end with, for example, M2, M30, etc. or on
cancellation by operator panel front reset).
This attribute is only permissible for programmable setting
data, see programmable setting data
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents