Programming Manual; Indirectly Programming Position Attributes (Bp) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Example 2: Level selection (G function group 6)
Program code
N2010 R10=$P_GG[6]
...
N2090 G[6]=R10
References
For information on the G function groups, refer to:
Programming Manual, Fundamentals; Chapter "List of G functions/preparatory functions"
1.2.2

Indirectly programming position attributes (BP)

Function
Position attributes, e.g. the incremental or absolute programming of the axis position, can be
indirectly programmed as variables in conjunction with the key word BP.
Application
The indirect programming of position attributes is used in replacement cycles, as in this
case, the following advantage exists over programming position attributes as keyword (e.g.
IC, AC, ...):
As a result of the indirect programming as variable, no CASE instruction is required, which
would otherwise branch for all possible position attributes.
Syntax
<POSITIONING COMMAND>[<axis/spindle>]=
BP(<position>,<position attribute)
<axis/spindle>=BP(<position>,<position attribute)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Comments
; read active G function of G function
group 6
Flexible NC programming
1.2 Indirect programming
63

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents