Jump to content

Messvolumen über PCM


Recommended Posts

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)
×
×
  • Create New...