Siemens SINUMERIK Series Function Manual page 499

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

Advertisement

Program code
$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
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
7.5 Setting zeros, workpiece measuring and tool measuring
Comment
; 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
M5: Measurement
499

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents