Siemens Sinumerik 840D sl Programming Manual page 697

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

Advertisement

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:
400 == STRINGIS("T")
000 == STRINGIS ("T3")
2. String "X" is defined as axis:
201 == STRINGIS("X")
201 == STRINGIS("X1")
3. String "A2" is defined as address with extension:
201 == STRINGIS("A")
201 == STRINGIS("A2")
4. String "INVCW" is defined as named G code:
202 == STRINGIS("INVCW")
5. String "$MC_GCODE_RESET_VALUES" is defined as machine data:
206 == STRINGIS("$MC_GCODE_RESET_VALUES")
6. String "GETMDACT" is an NC language function:
203 == STRINGIS("GETMDACT ")
7. String "DEFINE" is a keyword:
205 == STRINGIS("DEFINE")
8. String "$TC_DP3" is a system parameter (tool length component):
207 == STRINGIS("$TC_DP3")
9. String "$TC_TP4" is a system parameter (tool size):
207 == STRINGIS("$TC_TP4")
10.String "$TC_MPP4" is a system parameter (magazine location state):
-
-
Also refer to the paragraph below: Tool magazine management.
11.The string "MACHINERY_NAME" is defined as GUD variable:
209 == STRINGIS("MACHINERY_NAME")
12.The "LONGMACRO" string is defined as macro:
210 == STRINGIS("LONGMACRO")
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Tool magazine management is active: 207 == STRINGIS("$TC_MPP4") ;
Tool magazine management is not active: 000 == STRINGIS("$TC_MPP4")
14.5 Check scope of NC language present (STRINGIS)
Additional functions
697

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents