[Vo...] Posted April 30, 2020 Share Posted April 30, 2020 Hallo, ich möchte mir im Resultatselement das Messvolumen/Vefahrweg der KMG-Achsen ausgeben lassen; Bsp. Contura 7/10/6 für X=700mm; Y=1000mm; Z=600mm Kann ich das über eine PCM-Funktion auslesen? Mit freundlichen Grüßen, Volker Link to comment Share on other sites More sharing options...
[Er...] Posted May 1, 2020 Share Posted May 1, 2020 Nein, the output will not be either a lenght, angle or number. So you can't use a result element. But you can use a textelement, or the comment of something else. This will work, but depending on where the reference point is located in regards to axis direction you might have to change Plus/Minus. But I'm sure you'll figure that out if you have to. //With real machine type, can't fake this when connected to actual CMM. text(baseSystem().machine.machineControl.configuration.machineType)+" "+mid(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangePlusX.asString,1,len(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangePlusX.asString).half.asInteger)+"/"+mid(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusY.asString,1,len(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusY.asString).half.asInteger)+"/"+mid(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusZ.asString,1,len(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusZ.asString).half.asInteger) //What you have named the machine tab, Ex. "Prismo Grinding Station" or "ACCURA II Compressor Blades" baseSystem().machine.machineControl.configuration.Control+" "+mid(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangePlusX.asString,1,len(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangePlusX.asString).half.asInteger)+"/"+mid(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusY.asString,1,len(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusY.asString).half.asInteger)+"/"+mid(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusZ.asString,1,len(baseSystem().machine.machineControl.cmmParamObject.cmmMeasuringRangeMinusZ.asString).half.asInteger) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in