Siemens SINUMERIK 828D Programming Manual page 676

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Additional functions
14.5 Check scope of NC language present (STRINGIS)
Examples
In the following examples it is assumed that the NC language elements specified as string -
as long as nothing else is noted - can in principle be programmed in the control.
1. String "T" is defined as auxiliary function:
2. String "X" is defined as axis:
3. String "A2" is defined as address with extension:
4. String "INVCW" is defined as named G code:
5. String "$MC_GCODE_RESET_VALUES" is defined as machine data:
6. String "GETMDACT" is an NC language function:
7. String "DEFINE" is a keyword:
8. String "$TC_DP3" is a system parameter (tool length component):
9. String "$TC_TP4" is a system parameter (tool size):
10. String "$TC_MPP4" is a system parameter (magazine location state):
11. The string "MACHINERY_NAME" is defined as GUD variable:
12. The "LONGMACRO" string is defined as macro:
13. The string "MYVAR" is defined as LUD variable:
14. String "XYZ" is a command that is not known in the NCK, GUD variable, macro or cycle
676
400 == STRINGIS("T")
000 == STRINGIS ("T3")
201 == STRINGIS("X")
201 == STRINGIS("X1")
201 == STRINGIS("A")
201 == STRINGIS("A2")
202 == STRINGIS("INVCW")
206 == STRINGIS("$MC_GCODE_RESET_VALUES")
203 == STRINGIS("GETMDACT ")
205 == STRINGIS("DEFINE")
207 == STRINGIS("$TC_DP3")
207 == STRINGIS("$TC_TP4")
– Tool magazine management is active:
– Tool magazine management is not active:
Also refer to the paragraph below: Tool magazine management.
209 == STRINGIS("MACHINERY_NAME")
210 == STRINGIS("LONGMACRO")
211 == STRINGIS("MYVAR")
name:
000 == STRINGIS("XYZ")
207 == STRINGIS("$TC_MPP4")
000 == STRINGIS("$TC_MPP4")
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
;
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents