Preview displaced when X Y rotation set

More
2 years 3 weeks ago #311487 by MaHa
I have this preview problem in Axis:

There is  a rotation:
  • G10 L2 P2 R20
jog to eg.  X100

In the routine:
  • G0 G55 Y100
get X,Y in the current ucs:
  • #<MX> = #<_x>
  • #<MY> = #<_y>

This gives a displaced preview:
Code:
G1 G55 X#<MX> X#<MY> F1000 X[#<MX> + 20] Y[#<MY> + 20] X#<MX> Y#<MY> M2

 

Attachment not found



The problem only occurs, when 1 axis use current absolute position, the other axis moved to position in current ucs, and a rotation R set.

If both X and Y positions are set by  G55 X100 Y100  or  G53 X100 Y100  or if rotation is set to zero, preview works perfect.

 

Attachment not found



 

Please Log in to join the conversation.

More
1 year 8 months ago #322533 by piflixe
I have the same issue. I tried to rotate the G54 coordinate system slightly to account for a slightly misaligned part fixture. However, the G10 L2 P1 R1 command moved the origin around like described above. I would assume the coordinate system would be rotated around the origin of the respective coordinate system, thus not moving the origin. I could manually set the origin in the rotated coordinate system and then preview and movement of the machine were like expected.

Moreover, the G53 commands used during toolchange operations do not work anymore since LinuxCNC is throwing an error that limits are violated. I would assume the G53 is not affected by rotation of the coordinate system since it is machine coordinates?

I am using LinuxCNC 1.8.4. I would be very happy if someone could check this on a more current version of LinuxCNC since it might have been fixed already.

I know probe_basic and Qtdragon have their own probing procedures including rotating the part coordinate systems. Is this working or affected by this?

Please Log in to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum