Indirectly Programming G Codes - Siemens SINUMERIK 828D Programming Manual

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

Advertisement

Flexible NC programming
1.2 Indirect programming
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
58
:
G command with extension (index)
:
Index parameter: G function group
Type:
INT
:
Variable for the G code number
Type:
INT or REAL
Comment
; G54
; G code calculation
; G55
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents