Siemens Sinumerik 802D sl Programming Manual page 140

Iso turning
Hide thumbs Also See for Sinumerik 802D sl:
Table of Contents

Advertisement

Enhanced Level Commands
4.5 Macroprograms
Simple call up (G65)
Format
G65 P... L... ;
By specifying "G65 P... L... <argument specification>; ", the macroprogram which is
assigned the program number specified with P is called up and executed L times.
If it is necessary to pass arguments to the called up macroprogram, these argu-
ments can be specified in this block.
Table 4-9
Address
P
L
System variables for the addresses I, J, K
Because addresses I, J, and K can be programmed up to ten times in a block by
macro call, an array index must be used to access the system variables 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 programmed. The number
of addresses I, J, K programmed in the block is stored in variables $C_I_NUM,
$C_J_NUM, $C_K_NUM.
The passed parameters I, J, K for macro calls are treated as one block, even if
individual addresses are not programmed. If a parameter is programmed again or a
following parameter has been programmed with reference to the sequence I, J, K,
it belongs to the next block.
4-140
P and L commands
Program number
Number of repetitions
SINUMERIK 802D sl/840D sl840D/840Di sl/840Di/810D ISO Turning -- 04.07 Edition
Description
5 digits
9 digits
© SIEMENS AG 2007 All rights reserved
04.07
Number of digits

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents