Siemens SINUMERIK 840D sl Function Manual page 626

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Measurement (M5)
8.4 Setting zeros, workpiece measuring and tool measuring
g1 x0 y3
$AA_MEAS_POINT2[x] = $AA_IW[x]
$AA_MEAS_POINT2[y] = $AA_IW[y]
$AA_MEAS_POINT2[z] = $AA_IW[z]
g1 x3 y0
$AA_MEAS_POINT3[x] = $AA_IW[x]
$AA_MEAS_POINT3[y] = $AA_IW[y]
$AA_MEAS_POINT3[z] = $AA_IW[z]
$AA_MEAS_SETPOINT[x] = 0
$AA_MEAS_SETPOINT[y] = 0
$AA_MEAS_SETPOINT[z] = 0
$AC_MEAS_ACT_PLANE = 0
$AC_MEAS_FRAME_SELECT = 0
$AC_MEAS_T_NUMBER = 1
$AC_MEAS_D_NUMBER = 1
$AC_MEAS_TYPE = 8
RETVAL = MEASURE()
if RETVAL <> 0
setal(61000 + RETVAL)
endif
if $AC_MEAS_DIAMETER <> 10
setal(61000 + $AC_MEAS_WP_ANGLE)
endif
$P_SETFRAME = $AC_MEAS_FRAME
$P_SETFR = $P_SETFRAME
g1 x-3 y0
g2 I = $AC_MEAS_DIAMETER / 2
m30
626
; Approach 2nd measuring point
; Approach 3rd measuring point
; Set setpoint position of the center
; Measuring plane is G17
; Select frame - SETFRAME
; Select tool
; Set measuring type on hole
; Start measuring process
; Query known diameter
; Describe system frame in data management
; Approach P1
; Approach hole in reference to the center of
the circle
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents