AXIIS Bug???

More
19 Jun 2009 22:45 #457 by gtom
AXIIS Bug??? was created by gtom
If you run a program without M02 at the end of the file AXIS does not respond to MDI comands any more. As i remember there was a message in prior versions of AXIS telling that "PROGRAM END IS MISSING" (or similar)
Now this Message does not appear, AXIS executes the program until the line before the last line and stops at this point. When i enter something like G01 X0 Y0 nothing happens. Axis returns to "normal" behaivour if i enter M02 in MDI.
Is there a way to change this? Or, show the message again, or tell the user that M02 is missing???

Regards, Thomas

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

More
20 Jun 2009 14:43 - 20 Jun 2009 14:46 #458 by BigJohnT
Replied by BigJohnT on topic Re:AXIIS Bug???
What version are you running?

I noticed that 2.3.1 seems to function properly and trunk behaves a little different if you run a file anyway without M2. They both throw up an error when you try and load a file without M2 as far as I can tell...
In 2.3.1 if I run a program anyway after closing out the error popup MDI works fine for me...

Do you mean a file with %...% as start and stop points or do you mean a file where the M2 was left out by accident?

John
Last edit: 20 Jun 2009 14:46 by BigJohnT.

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

More
21 Jun 2009 06:53 #460 by gtom
Replied by gtom on topic Re:AXIIS Bug???
Im running 2.3.1 and a file with %...%

The line before the last % is not executed and there is no way to enter MDI code when the program stops at this point.

if you enter i.e. G0 X0Y0 nothing happens. if you enter M02 axis responds again to MDI commands...

regards Thomas

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

More
21 Jun 2009 12:10 #461 by BigJohnT
Replied by BigJohnT on topic Re:AXIIS Bug???
I can't seem to reproduce that here on my machine. I have a simple program with %...% and it executes fine. I have seen 2.3.1 Axis lock up once this morning and not run any lines but can not reproduce that either :/

Can you either pastebin or post the G-Code so I can see if I can reproduce it on my machine as well? If we can reproduce it then it is possible that developers can fix it :)

Is there some reason you are using %...% instead of just ending with a M2 or the like?

Where are you entering the G0 X0Y0 and the M02 if you can't enter into the MDI window?

Regards
John

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

More
21 Jun 2009 15:20 #463 by gtom
Replied by gtom on topic Re:AXIIS Bug???
Heres the code:
%
G91
F400
G0 X0 Y0
M8 (Coolant flood on)
G64 P1
G2 X0 Y0 I20 J0
M9 (Coolant off)
G64 P1
G01 X0 Y50 F400
M8 (Coolant flood on)
G64 P1
G2 X0 Y0 I20 J0
M9 (Coolant off)
G64 P1
G01 X50 Y-50 F400
M8 (Coolant flood on)
G64 P1
G2 X0 Y0 I20 J0
M9 (Coolant off)
G64 P1
G01 X0 Y50 F400
M8 (Coolant flood on)
G64 P1
G2 X0 Y0 I20 J0
M9 (Coolant off)
G0 X0 Y0
%

Well, i CAN enter something in the MDI edit-control, but i can NOT execute it, i mean the line ive entered in the MDI swaps up to the MDI-History but nothing happens until i enter M02. After that the MDI acts like normal...

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

More
21 Jun 2009 16:07 - 21 Jun 2009 16:13 #464 by BigJohnT
Replied by BigJohnT on topic Re:AXIIS Bug???
In your code you have left yourself in incremental mode with the G91 so a G0 X0 Y0 tells it to not move. So if you enter G0 X0 Y0 in the MDI window nothing happens because in incremental mode you have to enter the distance you want to move. When you enter a M2 watch the active G-Codes window... you will see that the G91 gets set back to G90 as well as a few other things. Now when you enter a G0 X0 Y0 you are back in absolute mode and you get what you expect from the G0 X0 Y0.

These two sections cover the difference between using %...% and M2.
www.linuxcnc.org/docview/html//gcode_ove...ha:Language-Overview
www.linuxcnc.org/docview/html//gcode_main.html#sub:M0,-M1,-M2,


Regards
John
Last edit: 21 Jun 2009 16:13 by BigJohnT.

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

Time to create page: 0.151 seconds
Powered by Kunena Forum