Siemens SINUMERIK 802D sl Programming Manual page 158

Iso milling
Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

Enhanced Level Commands
4.10 Macroprograms
Table 4-10
Address in Type I
H
I
J
K
M
Correspondence between addresses and system variables (Type II)
To use I, J, and K, they must be specified in the order of I, J, and K.
Since addresses I, J, K can be programmed up to ten times in a block with macro
call, an array index must be used to access the system variables within the macro
program for these addresses. The syntax for these three system variables is then
$C_I[..], $C_j[..], $C_K[..]. The values are stored in the array in the order program-
med. The number of addresses I, J, K programmed in the block is stored in varia-
bles $C_I_NUM, $C_J_NUM and $C_K_NUM.
Unlike the rest of the system variables, an array index must always be specified for
these three variables. Array index 0 must always be used for cycle calls (e.g. G81);
e.g. N100 R10 = $C_I[0]
Table 4-11
Address - - variable correspondence
Address in Type II
A
B
C
I1
J1
K1
I2
J2
K2
I3
J3
K3
I4
J4
K4
4-158
SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D ISO Milling (PGM) -- 04.07 Edition
Address -- variable correspondence and usable addresses for call up
commands (type I), continued
System variable
$C_H
$C_I[0]
$C_J[0]
$C_K[0]
$C_M
Address -- variable correspondence and usable addresses for call up
commands (type II)
System variable
$C_A
$C_B
$C_C
$C_I[0]
$C_J[0]
$C_K[0]
$C_I[1]
$C_J[1]
$C_K[1]
$C_I[2]
$C_J[2]
$C_K[2]
$C_I[3]
$C_J[3]
$C_K[3]
Address in Type I
System variable
W
$C_W
X
$C_X
Y
$C_Y
Z
$C_Z
Address - - variable correspondence
Address in Type II
System variable
K5
$C_K[4]
I6
$C_I[5]
J6
$C_J[5]
K6
$C_K[5]
I7
$C_I[6]
J7
$C_J[6]
K7
$C_K[6]
I8
$C_I[7]
J8
$C_J[7]
K8
$C_K[7]
I9
$C_I[8]
J9
$C_J[8]
K9
$C_K[8]
I10
$C_I[9]
J10
$C_J[9]
© Siemens AG 2007 All rights reserved
04.07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents