Siemens SINUMERIK 840D sl Function Manual page 523

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

Advertisement

Example
x edge measurement
Program code
DEF INT RETVAL
DEF FRAME TMP
$TC_DP1[1,1]=120
$TC_DP2[1,1]=20
$TC_DP3[1,1]=10
$TC_DP4[1,1]= 0
$TC_DP5[1,1]=0
$TC_DP6[1,1]=2
T1 D1
g0 x0 y0 z0 f10000
G54
$AC_MEAS_VALID = 0
g1 x-1 y-3
$AA_MEAS_POINT1[x] = $AA_IW[x]
$AA_MEAS_POINT1[y] = $AA_IW[y]
$AA_MEAS_POINT1[z] = $AA_IW[z]
$AC_MEAS_DIR_APPROACH = 0
$AA_MEAS_SETPOINT[x] = 0
$AA_MEAS_SETPOINT[y] = 0
$AA_MEAS_SETPOINT[z] = 0
$AC_MEAS_ACT_PLANE = 0
$AC_MEAS_FRAME_SELECT = 101
$AC_MEAS_T_NUMBER = 1
$AC_MEAS_D_NUMBER = 1
$AC_MEAS_TYPE = 1
RETVAL = MEASURE()
if RETVAL <> 0
Extended Functions
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
8.5 Setting zeros, workpiece measuring and tool measuring
Comment
; Type
; 0
; (z) length compensation vector
; (y)
; (x)
; Radius
; Measure x edge
; Set all input values to invalid
; 1. Approach measuring point
; Set approach direction +x
; Set setpoint position of the edge
; Measuring plane is G17
; Select frame - IFRAME
; Select tool
; Set measurement type for x edge
; Start measuring process
M5: Measurement
523

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents