Siemens SINUMERIK 840D sl Programming Manual page 539

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

Advertisement

Examples of other checks for the programmable scope of NC language 2xx
Xis defined as axis
201 = STRINGIS("X")
201 = STRINGIS("X1")
A2 is an NC address with extension
201 = STRINGIS("A")
201 = STRINGIS("A2")
INVCW is a defined G code
202 = STRINGIS("INVCW")
GETMDACT is an NC language function
203 = STRINGIS("GETMDACT")
DEFINE is an NC key word
205 = STRINGIS("DEFINE")
the $MC_GCODES_RESET_VALUES is channel-
specific machine data
206 = STRINGIS("$MC_GCODE_RESET_VALUES")
$TC_DP3 is a
length components
207 = STRINGIS("$TC_DP3")
$TC_TP4 is a
tool size
207 = STRINGIS("$TC_TP4")
$TC_MPP4 is a
magazine space status
207 = STRINGIS("$TC_MPP4")
0 = STRINGIS("$TC_MPP4")
MACHINERY_NAME is defined as GUD variable
209 = STRINGIS("MACHINERY_NAME")
LONGMACRO is defined as macro
210 = STRINGIS("LONGMACRO")
MYVAR is defined as LUD variable
211 = STRINGIS("MYVAR")
X, Y, Z is a command not known in the NC
0 = STRINGIS("XYZ")
(4) For the system parameters of magazine management, the following characteristic applies
in particular: if the function is not active, then STRINGIS always supplies the result value of 0
regardless of the value set for machine data for configuring the scope of NC language.
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
13.2 Check scope of NC language present (STRINGIS)
system variable for the tool
system variable for a
system variable for the
Additional functions
;Axis is a liner axis X
;Return value of linear axis X
;Return value of linear axis X1
;NC address A2 with extension
;Return value for NC address A
;with extended NC address A2
;INVCW is G code evolvent
;interpolation (clockwise).
;Return value of known G code
;the NC language function GETMDACT
;is present.
;GETMDACT is an NC language function
;the DEFINE key word exists for
;identification of macros.
;DEFINE is present as a key word
;the machine data
;$MC_GCODE_RESET_VALUES exists.
;$MC_GCODE_RESET_VALUES has been
;recognized as machine data
;NC system variable $TC_DP3 exists
;for tool length components.
;$TC_DP3 recognized as system
;variable.
;NC system variable $TC_TP4 exists
;for tool size.
;$TC_TP4 recognized as system
;variable.
;Check magazine management for
;Magazine management is active
;Magazine management is not
;available (4)
;Global user variable is defined as
;MACHINERY_NAME.
;MACHINERY_NAME found as GUD
;Macro name is LONGMACRO
;Macro identified as LONGMACRO
;Local user variable has been named
;MYVAR
;LUD variable is included in current
;program as the MYVAR name
;X,Y,Z is an unknown language
;command and is also not a
;GUD/macro/cycle name
;STRING name X, Y, Z is not known
13-7

Advertisement

Table of Contents
loading

Table of Contents