Application
Indirectly programming 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 statement is required, which
would otherwise branch over all possible position attributes.
Syntax
<POSITIONING COMMAND>[<axis/spindle>]=
GP(<position>,<position attribute)
<axis/spindle>=BP(<position>,<position attribute)
Meaning
<POSITIONING COMMAND>[]: The following positioning commands can be programmed to‐
gether with the key word GP:
POS, POSA,SPOS, SPOSA
Also possible:
● All axis and spindle identifiers present in the channel:
<axis/spindle>
● Variable axis/spindle identifier AX
<axis/spindle>: Axis/spindle that is to be positioned
GP(): Key word for positioning
<position>: Parameter 1
Axis/spindle position as constant or variable
<position attribute>: Parameter 2
Position attribute (e.g. position approach mode) as a variable
(e.g. $P_SUB_SPOSMODE) or as key word (IC, AC, ...)
The values supplied from the variables have the following significance:
Value Meaning Permissible for:
0 No change to the position attribute
1 AC POS, POSA,SPOS, SPOSA,AX, axis address
2 IC POS, POSA,SPOS, SPOSA,AX, axis address
3 DC POS, POSA,SPOS, SPOSA,AX, axis address
4 ACP POS, POSA,SPOS, SPOSA,AX, axis address
5 ACN POS, POSA,SPOS, SPOSA,AX, axis address
6 OC -
7 PC -
8 DAC POS, POSA,AX, axis address
9 DIC POS, POSA,AX, axis address
10 RAC POS, POSA,AX, axis address
11 RIC POS, POSA,AX, axis address
12 CAC POS, POSA
13 CIC POS, POSA
Work preparation
3.1 Flexible NC programming
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 437