Siemens SINUMERIK 840D sl Operating Manual page 386

Integrate create myconfig - diff, expert, topo
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Create MyConfig - Expert
4.8 Reference list, system variables
Query step - Up.$Step[id]
The Up.$Step[id] system variable can be used to query whether a specific step is available
in manipulation tasks, dialog scripts or step scripts.
Example
CHANDATA(1)
If Up.$Step[C_AXIS] != null
$Step[C_AXIS].Activated == true
EndIf
Enable step - Up.$Step[id].Activated
Using the system variable Up.$Step[id].Activated, the activation status of a specific
step is defined in the step tree.
The system variable Up.$Step[id].Activated supplies the value "true" for all steps whose step
icon (option button or checkbox) are displayed in white or green with checkmark - and the
value "false" for all other step icons without a checkmark.
The step is activated now, but it is not considered during package execution as long as the
step is additionally assigned the "Execute" status and displayed in green.
386
If Up.
$MA_IS_ROT_AX[AX5] = 1
EndIf
; Step with ID: C_AXIS is available
; Step with ID: C_AXIS is activated
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents