calling subroutine from G54, G55, G56, but it acts weird

More
10 months 5 days ago #340557 by MaHa
I was just working on a mdi command, so it was easy to have a look at this in FlexGui.
Starting with  G0G55X0Y0

 

Then pressing the button with MDI command

 

and it goes to    G0G54X0Y0

 


the subroutine:

o<work_zero> sub
G90 G54 G0 X0 Y0
o<work_zero> endsub [1]
M2

Please Log in or Create an account to join the conversation.

More
10 months 5 days ago #340559 by tlightus
thank you for testing. i have been getting a very different result but will go back and see if it was something i was doing wrong.

Please Log in or Create an account to join the conversation.

More
10 months 5 days ago #340586 by tlightus
i did notice you use machine zero as the G54 offset. try setting it off that and run the test.

Please Log in or Create an account to join the conversation.

More
10 months 5 days ago #340595 by MaHa
Today i tested with axis, made an entry in ini:

[HALUI]
MDI_COMMAND = O<work_zero> call

and had this button in glade in postgui.hal
net tb  gladevcp.tb.tog halui.mdi-command-00

The subroutine as before, and the result as before. MDI G0G55X0Y0, when press the button it moves to G0G54X0Y0

 

 


 

Please Log in or Create an account to join the conversation.

Time to create page: 0.254 seconds
Powered by Kunena Forum