[Bl...] Posted 2 hours ago Share Posted 2 hours ago 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 1 hour ago Share Posted 1 hour ago 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. 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