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