Siemens SINUMERIK 840D sl Function Manual page 538

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

Advertisement

M5: Measurement
8.5 Setting zeros, workpiece measuring and tool measuring
Program code
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-11
The values of the following variables are evaluated for measurement type 15:
Input variable
$AC_MEAS_VALID
$AA_MEAS_POINT1[axis]
$AA_MEAS_SETPOINT[axis]
$AC_MEAS_FINE_TRANS
538
Preset actual value memory for special axes only
Comment
; Offset between WCS and ENS
; WCS(x) = 0; ENS(x) = 10
; Set all input variables to invalid
; Measuring type for preset actual value mem-
ory
; 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 co-
ordinate system
; $P_RELFR
; Calculation of $P_RELFR; PI SETUDT(6)
; Activation; PI SETUDT(7)
Meaning
Validity bits for input variables
Actual values of the axes
Setpoint position of the individual axes *
0: Coarse offset, 1: Fine offset *
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents