hit counter script

Siemens SINUMERIK 840D sl Programming Manual page 148

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
Example: modal speed limitation in the parts program (setting data)
/_N_DEF_DIR/_N_SGUD_DEF
REDEF $SA_SPIND_MAX_VELO_LIMS PRLOC
M17
/_N_MPF_DIR/_N_MY_MPF
N10 SETMS (3)
N20 G96 S100 LIMS=2500
...
M30
Let the limit speed defined in setting data ($SA_SPIND_MAX_VELO_LIMS) speed limitation
be 1200 rpm. Because a higher speed can be permitted in a set-up and completely tested
parts program, LIMS=2500 is programmed here. After the end of the program, the value
configured in the setting data takes effect here again.
Reset settings to default values and delete initializations again
New
definition
REDEF
REDEF
REDEF
REDEF
Example
REDEF MASLON APX 2
REDEF SYG RS INIRE APW3
REDEF R[ ] INIRE
REDEF MASLON
REDEF SYG RS
REDEF R[ ]
Restrictions
• The change to the attributes of NC objects can only be made after definition of the object.
• If two or more concurrent attribute changes are programmed, the last change is always
3-22
Attribute
NC language element
Machine data/setting data
Synchronization variable
GUD, LUD
In particular, it is necessary to pay attention to the DEF.../ REDEF sequence for GUD.
(Setting data/system variables are implicitly created before the definition files are
processed). The symbol must always be defined first (implicitly by the system or by the
DEF statement) and only then can the REDEF be changed.
active.
;Setting data for limit speed
Reset default value initializations
APX = 7
Reset APW = 7 APR = 7 PRLOC
Reset APW = 7 INIRE, INIPO, INICF
Reset INIRE, INIPO, INICF
;Set APX to 7
;Set APW to 7 and INIRE deleted
;INIRE deleted
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents

Save PDF