Siemens Sinumerik 802D sl Programming Manual page 145

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

Advertisement

04.07
Table 4-12
Address in Type II
J5
Note:
If more than one set of I, J, or K is specified, the order of sets is determined for each
I/J/K set, so that variable numbers are determined corresponding to that order.
Example of argument specification
When arguments are specified, the macroprogram call up code must always be
specified before the specification of arguments. If argument specification is given
before the macroprogram call up code, an alarm occurs. The value of argument
specification can include a sign and decimal point independent of the address.
If no decimal point is used, the value is saved to the variable as the value with a
decimal point according to the normal number of digits of that address.
G65 P*** A10. C20. X30. Z40. I50. K60. J70. I80.;
Fig. 4-43
Siemens mode/ISO mode macro program execution
The called macro program can either be executed in Siemens mode or ISO mode.
The execution mode is decided in the first block of the macro program.
If a PROC <program name> instruction is included in the first block of the macro
program, it is automatically switched to Siemens mode. If no such instruction is
included, ISO mode is retained.
By executing a macro program in Siemens mode, transfer parameters can be sto-
red into local variables using the DEF instruction. In ISO mode, however, transfer
parameters cannot be stored into local variables.
In order to read transfer parameters within the macroprogram executed in ISO
mode, switch to Siemens mode by G290 command.
© SIEMENS AG 2007 All rights reserved
SINUMERIK 802D sl/840D sl840D/840Di sl/840Di/810D ISO Turning -- 04.07 Edition
Address -- variable correspondence and usable addresses for call up
commands (type II), continued
System variable
$C_J[4]
$C_Z: 40.
$C_X: 30.
$C_C: 20.
$C_A: 10.
Example of argument specification
Enhanced Level Commands
Address in Type II
$C_I[1]: 80.
§C_J[0]: 70.
$C_K[0]: 60.
$C_I[0]: 50.
4.5 Macroprograms
System variable
4-145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents