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

Flexible NC programming
1.2 Indirect programming
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 "G function groups"
1.2.3

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)
60
Comment
; read active G function of G function
group 6
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents