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

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

Advertisement

Flexible NC programming
1.2 Indirect programming
1.2.1

Indirectly programming G codes

Function
Indirect programming of G codes permits cycles to be effectively programmed.
Syntax
G[<group>]=<number>
Significance
G[...]:
<group>:
<number>:
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
62
G command with extension (index)
Index parameter: G function group
Type:
INT
Note:
Only modal G function groups can be indirectly programmed. G function
groups that are effective blockwise are rejected with an alarm.
Variable for the G code number
Type:
INT or REAL
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.
Comments
; G54
; G code calculation
; G55
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents