Siemens SINUMERIK 840D sl Function Manual page 662

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

Advertisement

M5: Measuring
8.4 Setting zeros, workpiece measuring and tool measuring
$AA_MEAS_POINT1[_zz] = $AA_IW[_zz]
$AA_MEAS_POINT1[A] = $AA_IW[A]
$AA_MEAS_POINT1[B] = $AA_IW[B]
$AC_MEAS_P1_COORD=0
$AC_MEAS_P2_COORD=0
$AC_MEAS_CHSER=$MC_MM_SYSTEM_FRAME_MASK B_AND 'B1011111'
$AC_MEAS__NCBFR='B0'
$AC_MEAS__CHBFR='B1'
$AC_MEAS__UIFR=2
$AA_MEAS_PFRAME=1
RETVAL = MEASURE()
if RETVAL <> 0
setal(61000 + RETVAL)
endif
if $AA_MEAS_PIONT2[_xx] <> 10
setal(61000)
M0
stopre
endif
if $AA_MEAS_PIONT2[_yy] <> -1
setal(61000)
M0
stopre
if $AA_MEAS_PIONT2[_zz] <> 0
setal(61000)
M0
stopre
if $AA_MEAS_PIONT2[A] <> 0
setal(61000)
M0
stopre
if $AA_MEAS_PIONT2[B] <> 7
setal(61000)
M0
stopre
m30
662
; Assign measurement value to applicate
; Converting a position from WCS into WCS'
; Set WCS
; Entire frame results in
CTRANS(_xx,0,_yy,0,_zz,5,A,6,B,0)
; Stop cycle frame
; Stop global basic frame
; Channel basic frame 1 from data management
; Settable frame G55 from data management
; Do not include programmable frame in
calculation
; Start measurement calculation
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents