Siemens Sinumerik 840D sl Programming Manual page 127

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

Advertisement

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 (real/integer) in the cycles any more,
and therefore there is no evaluation of the programmed values with the correct conversion
factor.
There are two system variables $C_TYP_PROG. $C_TYP_PROG for information as to
whether REAL or INTEGER programming was undertaken. The structure is the same as that
of $C_ALL_PROG and $C_INC_PROG. If the value is programmed as INTEGER, then Bit is
set to 0, for REAL it is set to 1. If the value is programmed over a variable $<Number>, then
the corresponding bit is also set to 1.
Example:
P1234 A100. X100 -> $C_TYP_PROG == 1.
Only Bit 0 is present, because only A was programmed as REAL.
P1234 A100. C20. X100 -> $C_TYP_PROG == 5.
Bit 1 and Bit 3 (A and C) are present.
Restrictions:
A maximum of ten I, J, K parameters can be programmed in each block. Only one bit each is
provided for I, J, K in the variable $C_TYP_PROG. Hence in $C_TYP_PROG the
corresponding bit for I, J and K is always set to 0. Therefore it cannot be derived whether I, J
or K is programmed as REAL or as INTEGER.
Modal call (G66, G67)
A modal macro program is called with G66. The specified macro program is executed only if
the specified conditions are fulfilled.
● The modal macro program is activated on specifying "G66 P... L... <Parameters>;". The
● G66 is deselected by G67.
Table 4- 6
Call conditions
after executing a traversing command
Specification of a parameter
The transfer parameters are defined by programming an Address A - Z.
ISO Milling
Programming Manual, 06/09, 6FC5398-7BP10-1BA0
transfer parameters are handled as in G65.
Modal call conditions
Function for mode
selection
G66
Additional functions
4.7 Macro programs
Function for mode
deselection
G67
127

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 828dSinumerik 802d sl

Table of Contents