Siemens SINUMERIK 808D Programming And Operating Manual page 153

Iso turning/milling
Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

functionality. If other macros with parameter transfer are called in a macro (subroutine), then the transfer parameters in the
subroutine must be saved in internal variable before the new macro call.
To enable internal variable definitions, one must switch automatically to Siemens mode during macro call. One can do this
by inserting the instruction PROC<Program name> in the first line of the macro program. If another macro call is
programmed in the subroutine, then ISO dialect mode must be reselected in advance.
For the P and L commands, see the table below:
Address
P
L
System variables for the addresses I, J, K
As the addresses I, J, and K can be programmed up to ten 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 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 Siemens mode.
Example:
N5 I10 J10 K30 J22 K55 I44 K33
Block1
Block2
Block3
$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
Cycle parameter $C_x_PROG
In the ISO-dialect-0 mode, the programmed values can be evaluated in different ways, depending on the programming
method (integer or actual value). The different evaluation is activated through a machine data.
If the MD is set, the control system responds as in the following example:
X100 ; X axis is traversed by 100 mm (100. with point) => actual value
Y200 ; Y-axis is traversed by 0.2 mm (200 without point) => integer value
If the addresses programmed in the block are used as transfer parameters of cycles, then the programmed values always
exist as real values in the $C_x variables. For integer values, one cannot take recourse to the programming method
Programming and Operating Manual (ISO Turning/Milling)
01/2017
Description
Program number
Number of repetitions
Number of digits
4 to 8 digits
153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced

Table of Contents