Siemens Sinumerik 802D sl Programming Manual page 143

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

Advertisement

04.07
Modal call up (G66, G67)
The modal call up commands set the mode for calling up a macroprogram. The
specified macroprogram is called up and executed when the specified conditions
are satisfied.
S By specifying "G66 P... L ... <argument-specification>; ", the mode for calling up
the macroprogram is set. Once this block is executed, the macroprogram which
is assigned the program number specified with P is called up and executed L
times after the completion of move commands.
If an argument is specified, the argument is passed to the macroprogram each
time it is called up as with the simple call up of a macroprogram. The correspon-
dence between the address of argument and local variables is the same as in
the case of simple call up (G65).
S G67 cancels the G66 mode. When arguments are specified, G66 must be spe-
cified before all arguments. If G66 is specified, G67 must be specified in the
same program corresponding to it.
Table 4-10
Call up conditions
After the execution of move command G66
Specifying argument
The term "to specify argument" means "assigning a real number" for local variables
used in a macroprogram. There are two types of argument specifications: type I
and type II. These types can be used as required, including a combination of the
two types.
Correspondence between addresses and system variables (Type I)
Table 4-11
Address - - variable correspondence
Address in Type I
A
B
C
D
E
F
H
I
J
© SIEMENS AG 2007 All rights reserved
SINUMERIK 802D sl/840D sl840D/840Di sl/840Di/810D ISO Turning -- 04.07 Edition
Modal call up conditions
Address -- variable correspondence and usable addresses for call up
commands (type I)
System variable
$C_A
$C_B
$C_C
$C_D
$C_E
$C_F
$C_H
$C_I[0]
$C_J[0]
Enhanced Level Commands
4.5 Macroprograms
Mode setting code
G67
Address - - variable correspondence
Address in Type I
Q
R
S
T
U
V
W
X
Y
Mode cancel code
System variable
$C_Q
$C_R
$C_S
$C_T
$C_U
$C_V
$C_W
$C_X
$C_Y
4-143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents