Siemens SINUMERIK 840D sl Function Manual page 646

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

Advertisement

M5: Measuring
8.4 Setting zeros, workpiece measuring and tool measuring
DEF INT RETVAL
T1 D1
G54
TRANS x=10
G0 x0 f10000
$AC_MEAS_VALID = 0
$AC_MEAS_TYPE = 14
$AC_MEAS_ACT_PLANE = 0
$AC_MEAS_P1_COORD = 5
$AC_MEAS_LATCH[0] = 1
$AC_MEAS_SET_COORD = 5
$AA_MEAS_SETPOINT[x] = 0
$AC_MEAS_FRAME_SELECT = 2505
RETVAL = MEASURE()
IF RETVAL <> 0 GOTOF ERROR
ENDIF $ P_RELFR = $AC_MEAS_FRAME
Preset actual value memory for special axes only ($AC MEAS TYPE = 15)
This measurement type is used on the HMI operator interface.
Figure 8-14
646
Preset actual value memory for special axes only
; Activate probe
; Activate all frames and G54
; Offset between WCS and ENS
; WCS(x) = 0; ENS(x) = 10
; Set all input variables to invalid
; Measuring type for preset actual value
memory
; Measuring plane is G17
; ENS_REL for 1st measuring point
; Pick up all axis positions
; Setpoint position is relative to ENS
; Setpoint position in the relative ENS
coordinate system
; $P_RELFR
; Calculation of $P_RELFR; PI SETUDT(6)
; Activation; PI SETUDT(7)
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