Indirectly Programming G Codes - Siemens Sinumerik 840D sl Programming Manual

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

Advertisement

1.2.2

Indirectly programming G codes

Function
Indirect programming of G codes permits cycles to be effectively programmed.
Syntax
G[<group>]=<number>
Meaning
G[...]:
<group>:
<number>:
Note
Generally, only G codes that do not determine the syntax can be indirectly programmed.
Only G function group 1 is possible from the G codes that determine the syntax.
The syntax-determining G codes of G function groups 2, 3 and 4 are not possible.
Note
Arithmetic functions are not permitted in the indirect G code programming. If it is necessary
to calculate the G code number, this must be done in a separate part program line before the
indirect G code programming.
Examples
Example 1: Settable zero offset (G function group 8)
Program code
N1010 DEF INT INT_VAR
N1020 INT_VAR=2
...
N1090 G[8]=INT_VAR G1 X0 Y0
N1100 INT_VAR=INT_VAR+1
N1110 G[8]=INT_VAR G1 X0 Y0
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
G command with extension (index)
Index parameter: G function group
Type:
INT
Variable for the G code number
Type:
INT or REAL
Flexible NC programming
1.2 Indirect programming
Comment
; G54
; G code calculation
; G55
59

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents