Siemens SINUMERIK Series Function Manual page 479

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

Program code
$P_CHBFRAME[0] = crot(z,45)
$P_IFRAME[x,tr] = -sin(45)
$P_IFRAME[y,tr] = -sin(45)
$P_PFRAME[z,rt] = -45
$AC_MEAS_VALID = 0
g1 x-2
$AA_MEAS_POINT1[x] = $AA_IW[x]
$AA_MEAS_POINT1[y] = $AA_IW[y]
$AA_MEAS_POINT1[z] = $AA_IW[z]
g1 x4
$AA_MEAS_POINT2[x] = $AA_IW[x]
$AA_MEAS_POINT2[y] = $AA_IW[y]
$AA_MEAS_POINT2[z] = $AA_IW[z]
$AA_MEAS_SETPOINT[x] = 0
$AA_MEAS_SETPOINT[y] = 0
$AA_MEAS_SETPOINT[z] = 0
$AC_MEAS_DIR_APPROACH = 0
$AC_MEAS_ACT_PLANE = 0
$AC_MEAS_FRAME_SELECT = 0
$AC_MEAS_T_NUMBER = 1
$AC_MEAS_D_NUMBER = 1
$AC_MEAS_TYPE = 12
RETVAL = MEASURE()
if RETVAL <> 0 setal(61000 + RETVAL)
endif
$P_SETFRAME = $AC_MEAS_FRAME
$P_SETFR = $P_SETFRAME
g1 x0 y0
m30
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
7.5 Setting zeros, workpiece measuring and tool measuring
Comment
; Measure groove
; Set all input values to invalid
; 1. Approach measuring point
; 2. Approach measuring point
; Set setpoint position of the groove center
; Set approach direction +x
; Measuring plane is G17
; Select frame - SETFRAME
; Select tool
; Set measuring type on groove
; Start measuring process
; Describe system frame in data management
; Approach the groove center
M5: Measurement
479

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents