14.5
Check scope of NC language present (STRINGIS)
Function
Using the function STRINGIS(...) it can be checked as to whether the specified string is
available as element of the NC programming language in the actual language scope.
Definition
INT STRINGIS(STRING <Name>)
Syntax
STRINGIS(<Name>)
Meaning
STRINGIS:
<name>:
Return value:
Elements of the NC programming language
The following elements of the NC programming language can be checked:
•
G codes of all existing G function groups e.g. G0, INVCW, POLY, ROT, KONT, SOFT, CUT2D,
CDON, RMB, SPATH
•
DIN or NC addresses such as e.g. ADIS, RNDM, SPN, SR, MEAS
•
Functions e.g. TANG(...) or GETMDACT
•
Procedures, e.g. SBLOF.
•
Keywords e.g. ACN, DEFINE or SETMS
•
System data, e.g. machine data $M... , setting data $S... or option data $O...
•
System variable $A... , $V... , $P...
•
Arithmetic parameter R...
•
Cycle names of activated cycles
•
GUD and LUD variables
•
Macro names
•
Label names
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
14.5 Check scope of NC language present (STRINGIS)
Function with return value
Name of the NC programming language element to be checked
The return value format is yxx (decimal).
Additional functions
695