Siemens Sinumerik 840D sl Programming Manual page 126

Iso milling
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Additional functions
4.7 Macro programs
Table 4- 5
Address
P
L
System variables for the addresses I, J, K
As the addresses I, J, and K can be programmed up to 10 times in a block containing macro
call, the system variables of these addresses must be accessed with an array index. The
syntax of these three system variables thus is $C_I[..], $C_J[..], $C_K[..]. The values remain
in the programmed sequence in the array. The number of I, J, K addresses programmed in
the block is given in the variables $C_I_NUM, $C_J_NUM, $C_K_NUM.
The transfer parameters I, J, K for macro calls are treated in each case as one block even if
the individual addresses are not programmed. If a parameter is reprogrammed, or a
following parameter based on the I, J, K sequence was programmed, it belongs to the next
block.
The system variables $C_I_ORDER, $C_J_ORDER, $C_K_ORDER are set to detect the
programming sequence in the ISO mode. These are identical arrays of $C_I, $C_K and they
contain the associated numbers of the parameters.
Note
The transfer parameters can be read only in the subroutine in the Siemens mode.
Example:
N5 I10 J10 K30 J22 K55 I44 K33
Block1
$C_I[0]=10
$C_I[1]=44
$C_I_ORDER[0]=1
$C_I_ORDER[1]=3
$C_J[0]=10
$C_J[1]=22
$C_J_ORDER[0]=1
$C_J_ORDER[1]=2
$C_K[0]=30
$C_K[1]=55
$C_K[2]=33
$C_K_ORDER[0]=1
$C_K_ORDER[1]=2
$C_K_ORDER[2]=3
126
The P and L command
Description
Program number
Number of repetitions
Block2
Block3
Number of digits
4 to 8 digits
Programming Manual, 06/09, 6FC5398-7BP10-1BA0
ISO Milling

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 828dSinumerik 802d sl

Table of Contents