[Ro...] Posted October 7 Share Posted October 7 Hey guys, When I use positionCMM together with getPositionCMM(), for example: positionCMM(getPositionCMM().x, getPositionCMM().y, -5) I’m running into a really strange bug. Instead of just moving up along the Z-axis, the machine starts flying all over the place. This only happens right after starting the program, when the first of those commands is executed. If it somehow doesn’t crash and the program keeps running, the next time I call this function it behaves as expected and just goes up. This is happening in simulation and live on the machine. I’ve attached a picture showing what happens. The machine is only supposed to move upward. Is there an alternative PCM method to move the machine along just one axis? Link to comment Share on other sites More sharing options...
[Ri...] Posted October 7 Share Posted October 7 Please sign in to view this quote. Perhaps this is because the base alignment has not been established, and it is working from CMM positioning? (My best guess). Link to comment Share on other sites More sharing options...
[Ro...] Posted October 8 Author Share Posted October 8 The command and its inputs are based on the machine coordinate system, so i think it should not matter. And it happens a good while after the base alignment has been established... I might have worded the "right after starting the program" wrong. For example, if i stop the program with the red light and start it again with existing alignment there is no problem 1 Link to comment Share on other sites More sharing options...
[Je...] Posted Monday at 08:36 PM Share Posted Monday at 08:36 PM You're complicating the command; try positionCMM(z,-5) positionCMM() positionCMM(x,y,z[AXIS1,AXIS2,AXIS3]) Move to position. In given axis order. positionRS() positionRS(x,y,z[COORdiNATE SYSTEM,PROBE]) Move to position in coordinate-system with probe 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