Siemens SINUMERIK 840D sl Programming Manual page 214

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Frames
6.1 Coordinate transformation via frame variables
Predefined settable frames $P_UIFR[n]
The predefined frame variable $P_UIFR[n] can be used to read or write the settable zero
offsets G54 to G599 from the parts program.
These variables produce a one-dimensional array of type FRAME called $P_UIFR[n].
Assignment to G commands
As standard, five settable frames $P_UIFR[0]... $P_UIFR[4] or five equivalent G
commands – G500 and G54 to G57 , can be saved using their address values.
$P_IFRAME=$P_UIFR[0] corresponds to G500
$P_IFRAME=$P_UIFR[1] corresponds to G54
$P_IFRAME=$P_UIFR[2] corresponds to G55
$P_IFRAME=$P_UIFR[3] corresponds to G56
$P_IFRAME=$P_UIFR[4] corresponds to G57
You can change the number of frames with machine data:
$P_IFRAME=$P_UIFR[5] corresponds to G505
... ... ...
$P_IFRAME=$P_UIFR[99] corresponds to G599
Note
This allows you to generate up to 100 coordinate systems, which can be called up globally in
different programs, for example, as zero point for various fixtures.
Caution
Frame variables must be programmed in a separate NC block in the NC program.
Exception: programming of a settable frame with G54, G55, ...
6-8
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents