Problem with probe post processor output with Siemens 840D

Problem with probe post processor output with Siemens 840D

rsalasidis
Advocate Advocate
652 Views
2 Replies
Message 1 of 3

Problem with probe post processor output with Siemens 840D

rsalasidis
Advocate
Advocate

My probe output is as follows - I believe the G1 Z25.4 is somehow calculated as a metric value, and output as such. If I change the Clearance (now 2 in), Overtravel (1 in), Heights (clearance 2 in, and Retract 1.99 in), I get different values, but always large numbers - and always out of the Z-axis range of my machine. Note the M70 is an added modification --> if (isProbeOperation()) { writeBlock("M70"); }. - but should not have an effect

 

N170 ; Probe1
N180 T="RMP600_PROBE" D1
N190 M6
N200 ; Renishaw Probe
N210 T="M_E0750_3_L"
N220 G512
N230 G0 X0 Y0
N240 G0 Z2
N250 G17
N260 F39.37
N270 M70
N280 G1 Z25.4
N290 _TSA=1 _PRNUM=057 _VMS=0 _NMSP=1 _FA=50.8
N300 _MVAR=100 _SETVAL=0 _MA=3 _KNUM=9999
N310 CYCLE978

 

 

Any ideas?

0 Likes
653 Views
2 Replies
Replies (2)
Message 2 of 3

rsalasidis
Advocate
Advocate

I found this in the post processor

 

cycle.depth));
writeBlock(_TSA, _PRNUM, _VMS, _NMSP, _FA);
writeBlock(_MVAR, _SETVAL, _MA, _KNUM);
writeBlock("CYCLE978");
break;
case "probing-z":
// _FA1 is always in mm
var _FA1 = ((unit == MM) ? 1 : 25.4) *

cycle.probeClearance;
var _SETVAL = "_SETVAL=" + xyzFormat.format(z - cycle.depth);
_MVAR += xyzFormat.format(100);
_MA += xyzFormat.format(3);
writeBlock(gMotionModal.format(1), zOutput.format(z - cycle.depth + _FA1/2));

 

 

Is there a reason for it? It would seem that unit == mm should have the values reversed

 

(((unit == MM) ?  25.4 : 1) 

0 Likes
Message 3 of 3

rsalasidis
Advocate
Advocate

Any ideas on this,m as to why the G1 Zxxx valuye is output in mm, and the best way to fix it.

 

I have bypassed the probe function for now, and I am doing it manually.

 

I am also using the latest post processor from the web site.

 

My other possibility is to change the  var _FA1 - by never scaling it for units - but not sure if that will affect the probe cycle routine itself.

 

// _FA1 is always in mm
var _FA1 = ((unit == MM) ? 1 : 1) *

cycle.probeClearance;

0 Likes