[Ri...] Posted October 14 Share Posted October 14 I am trying to detect which probing sensor is in use. VAST XTR Gold RDS CAA XXT Can this be done with PCM or a script? I would prefer a script as I don't have a full PCM license on every CMM. Since I have introduced a third tier to our Probe rack for the RDS styli, I need to detect which sensor is active to trigger a message or other event to warn an operator of impending crash if the third tier is not retracted. Eventually I will use a switch or laser to determine if the third tier is in the correct position. Link to comment https://qualityforum.zeiss.com/topic/27660-detect-which-sensor-is-in-use/ Share on other sites More sharing options...
[No...] Posted October 15 Share Posted October 15 (edited) You may want to try one of the following: executeCode("Zeiss.Calypso.OMConfiguration current at: #probeHeadType") baseSystem().machine.machineControl.configuration.carrier baseSystem().machine.machineControl.configuration.probehead I'm not sure if the first and second line query the same information, but on my offline seat they returned the same result (#VASTXTGOLD). 2 and 3 might work in a formula (not tested). Edited October 15 3 1 Link to comment https://qualityforum.zeiss.com/topic/27660-detect-which-sensor-is-in-use/#findComment-156948 Share on other sites More sharing options...
[Ri...] Posted October 15 Author Share Posted October 15 Thank you Norbert. executeCode("Zeiss.Calypso.OMConfiguration current at: #probeHeadType") Returns: #RDS baseSystem().machine.machineControl.configuration.carrier Returns: #RDS baseSystem().machine.machineControl.configuration.probehead Returns: XXT Link to comment https://qualityforum.zeiss.com/topic/27660-detect-which-sensor-is-in-use/#findComment-156972 Share on other sites More sharing options...
[No...] Posted October 15 Share Posted October 15 So is it sufficient? There are a few more config strings with similar information, so it may be possible to query them as well if needed. Link to comment https://qualityforum.zeiss.com/topic/27660-detect-which-sensor-is-in-use/#findComment-156986 Share on other sites More sharing options...
[Ri...] Posted October 19 Author Share Posted October 19 I think it will be sufficient, testing showed it correctly displaying the sensor in use. Thank you. 1 Link to comment https://qualityforum.zeiss.com/topic/27660-detect-which-sensor-is-in-use/#findComment-157100 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