Jump to content

Strange behaviour of positionCMM()


Recommended Posts

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?

 

image.thumb.png.1b4145c77a13c16ade689121e52eea69.png

Link to comment
https://qualityforum.zeiss.com/topic/24675-strange-behaviour-of-positioncmm/
Share on other sites

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

  • Like! 1
  • 2 weeks later...
  • 1 month later...
  • 5 months later...
×
×
  • Create New...