Siemens SINUMERIK 840D sl Function Manual page 657

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

Advertisement

The following output variables are written for measurement type 10:
Output variable
$AC_MEAS_TOOL_LENGTH
$AC_MEAS_RESULTS[0]
$AC_MEAS_RESULTS[1]
$AC_MEAS_RESULTS[2]
$AC_MEAS_RESULTS[3]
$AC_MEAS_RESULTS[4]
$AC_MEAS_RESULTS[5]
Example
Measuring the tool length
DEF INT RETVAL
T0 D0
g0 x0 y0 z0 f10000
$AC_MEAS_VALID = 0
g1 z10
$AC_MEAS_LATCH[0] = 1
$AC_MEAS_DIR_APPROACH = 5
$AA_MEAS_SETPOINT[x] = 0
$AA_MEAS_SETPOINT[y] = 0
$AA_MEAS_SETPOINT[z] = 0
$AC_MEAS_ACT_PLANE = 0
$AC_MEAS_T_NUMBER = 0
$AC_MEAS_D_NUMBER = 0
$AC_MEAS_TYPE = 10
RETVAL = MEASURE()
if RETVAL <> 0 setal(61000 + RETVAL)
endif
if $AC_MEAS_TOOL_LENGTH <> 10
setal(61000 + $AC_MEAS_TOOL_LENGTH)
endif
m30
Extended Functions
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
8.4 Setting zeros, workpiece measuring and tool measuring
Description
Tool length
Tool length in x
Tool length in y
Tool length in z
Tool length L1
Tool length L2
Tool length L3
; Measure tool length
; Set all input values to invalid
; Move tool towards reference part
; Pick up measuring point 1
; Set approach direction -z
; Set reference position
; Measuring plane is G17
; No tool has been selected
; Set measuring type on tool length
, Start measuring process
; Query known tool length
Measurement (M5)
657

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents