Additional functions
4.7 Macro programs
Interrelation between address- and system variables
Table 4- 7
Interrelation between addresses and variables
Address
A
B
C
D
E
F
H
I
J
K
M
Q
R
S
T
U
V
W
X
Y
Z
Interrelation between address- and system variables
To be able to use I, J and K, these must be specified in the I, J, K sequence.
As the I, J and K addresses in a block containing a macro call can be programmed up to 10
times, access to the system variables within the macro program for these addresses must
take place with an index. The syntax of these three system variables thus is $C_I[..], $C_J[..],
$C_K[..]. The corresponding values are saved in the matrix in the sequence in which they
were programmed. The number of I, J, K addresses programmed in the block is saved in the
variables $C_I_NUM, $C_J_NUM and $C_K_NUM.
Unlike for the remaining variables, one index must always be specified while reading the
three variables. The index "0" is always used for cycle calls (e.g. G81), for example, N100
R10 = $C_I[0]
128
Interrelation between addresses and variables and addresses that can be used to call
commands
System variable
$C_A
$C_B
$C_C
$C_D
$C_E
$C_F
$C_H
$C_I[0]
$C_J[0]
$C_K[0]
$C_M
$C_Q
$C_R
$C_S
$C_T
$C_U
$C_V
$C_W
$C_X
$C_Y
$C_Z
Programming Manual, 06/09, 6FC5398-7BP10-1BA0
ISO Milling