MD13210 $MN_MEAS_TYPE Measuring type for distributed drives
= 1 Standard value, not adjustable
Testing the probe function
You can test the switching function of the probe by manually deflecting it and checking the
following PLC interface signals:
DB2700 General signals from the NC
NC -> PLC interface
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 - - - -- - - EMERGEN‐
CY OFF
active
-
DBB1
Sys‐
tem
inch
meas‐
uring
system
- - - - - Probe actuated
Probe 2 Probe 1
To test the switching behavior and the measured value transfer, use an NC test program with,
for example, the following NC commands:
MEAS Measurement with deletion of distance-to-go
$AC_MEA[n] Check the switching operation, n = measurement input number
$AA_MW[axis name] Measured value of the axes in workpiece coordinates
$AA_MM[axis name] Measured value of the axes in machine coordinates
Example of a test program
Program code Comment
%_N_PRUEF_MESSTASTER_MPF
$PATH=/_N_MPF_DIR ;Testing program probe connection
N00 DEF INT MTSIGNAL ;Bit memory to check the switching state
N05 G17 G54 T="3D_Taster" D1 ;Select tool geometry for probe
N10 M06 ;Activate tool
N15 G0 G90 X0 F150 ;Starting position and meas. velocity
N20 MEAS=1 G1 X100 ;Measurement at measuring input 1 in the
X axis
N30 MTSIGNAL=$AC_MEA[1] ;Switching operation at the 1st measuring
input completed, ;YES / NO
N35 IF MTSIGNAL == 0 GOTOF _FEHL1 ;evaluation of the signal
N40 R1=$AA_MM[X] ;Save measured value in machine coordi-
nates at R1
Configuring cycles
7.9 Measuring cycles and measurement functions
SINUMERIK Operate
Commissioning Manual, 10/2015, 6FC5397-3DP40-5BA3 171