You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
10 Measuring Cycles<br />
10.3 Functional check<br />
10.3 Functional check<br />
Measuring command The measuring cycles operate internally with the MEAS command.<br />
References: /PGA/, Programming Guide<br />
PLC service<br />
display<br />
10-146<br />
The functional test for the probe is conducted via an NC program.<br />
The measuring signal can be controlled after the end of the program via the<br />
diagnostics menu “PLC status”.<br />
Table 10-2 Status display for measuring signal<br />
Probe 1 deflected DB 10 DB B107.0<br />
Probe 2 deflected DB 10 DB B107.1<br />
Status display<br />
-,...<br />
DBX107.0 and 107.1 Probe activated<br />
Data block Signal(s) from axis/spindle (drive_PLC)<br />
Edge evaluation: no Signal(s) updated: cyclically Signal(s) valid as of SW: 1.1<br />
Signal state 1 or edge<br />
change 0 - - ->1<br />
Probe 1 or 2 is activated.<br />
Signal state 0 or edge<br />
change 1 - - -> 0<br />
Probe 1 or 2 is not activated.<br />
References /PHD/, NCU 571-573 Manual<br />
/PHF/, NCU 570 Manual<br />
Note The above mentioned signal states correspond to the default setting (non-deflected 0 V;<br />
deflected 24 V). Otherwise, the measurement input No. must be entered as a negative<br />
number.<br />
Example of<br />
functional test<br />
%_N_PRUEF_MESSTASTER_MPF<br />
;$PATH=/_N_MPF_DIR<br />
;Testing program probe connection<br />
N05 DEF INT MTSIGNAL ;Flag for<br />
;actuation state<br />
12.01<br />
N10 DEF INT ME_NR=1 ;Measuring input number<br />
N20 DEF REAL MEASVAL_IN_X<br />
N30 G17 T1 D1 ;Preset tool offset for<br />
;probe<br />
N40 _ANF: G0 G90 X0 F150 ;Start position and<br />
;measuring velocity<br />
N50 MEAS=ME_NR G1 X100 ;Measurement at measuring<br />
input 1<br />
; in the X axis<br />
N60 STOPRE<br />
N70 MTSIGNAL=$AC_MEA[1] ;Reading switching signal<br />
;implemented in SW<br />
E Siemens AG, 2001. All rights reserved<br />
<strong>SINUMERIK</strong> <strong>840D</strong>/<strong>810D</strong> Description of Functions <strong>ShopMill</strong> (FBSP) - 12.01 Edition