[Bl...] Posted yesterday at 12:16 PM Share Posted yesterday at 12:16 PM Can someone help me understand this PCM command, positionCMM()? I'm trying to get the probe to move in the -Y direction immediately after the program is done running. This PCM command will be place in the post settings for the overall program PCM. I'll list my code below. *"variable" will be a set parameter inside of a parameter file. Actualx = getActual("circle").x Actualy = getActual("circle").y Actualz = getActual("circle").z if "variable" == 1 then positionCMM(Actualx, Actualy, Actualz) endif As soon as the program is done running the probe will just go straight up. Not sure what I'm doing wrong. Any help would be appreciated, thanks! Link to comment Share on other sites More sharing options...
[Ra...] Posted yesterday at 01:31 PM Share Posted yesterday at 01:31 PM PositionCMM uses machine coordinates, not your base system. It will also go in the order of Z then Y then X, unless specified otherwise. Look at the last example for moving in the Y direction first. But I would recall that circle into machine coordinates first, or you'll be in for a rough time. 2 Link to comment Share on other sites More sharing options...
[Bl...] Posted 23 hours ago Author Share Posted 23 hours ago Randawgg, Thank you very much! That is very useful! How exactly would you recall that circle into machine coordinates? Link to comment Share on other sites More sharing options...
[Ra...] Posted 23 hours ago Share Posted 23 hours ago Create a new alignment, then select (CMM system) from the drop-down. Then create a new circle and recall the circle you want to reference. Then on the recalled circle, change its alignment to the one you just created. Use the new circle's location for your getActuals. 1 Link to comment Share on other sites More sharing options...
[Bl...] Posted 22 hours ago Author Share Posted 22 hours ago Randawgg, Thank you again! A round of applause for our boy Randawgg! 1 Link to comment Share on other sites More sharing options...
[Je...] Posted 11 hours ago Share Posted 11 hours ago also you can use positionRS(Actualx, Actualy, Actualz), to navigate in your base-system, or positionRS(Actualx, Actualy, Actualz,"yourAlignmentName") to navigate in a secondary alignment 2 Link to comment Share on other sites More sharing options...
[Ra...] Posted 4 hours ago Share Posted 4 hours ago Please sign in to view this quote. You can also specify a specific stylus as well. positionRS(Actualx, Actualy, Actualz,"yourAlignmentName","yourStylusHere") 1 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