getting g code into AXIS

More
21 May 2020 05:02 #168467 by ferrous1991@gmail.com
My Bridgeport mill x and y tables can be moved via MDI commands and now i am ready to down load G code written in Mouse Pad. Not clear on how to save g code program so it can be run by AXIS. I have been unable to find detailed information on how to do this. All attempts to open a saved g code result in a notice that the g code cannot be opened. Thanks

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

More
21 May 2020 06:46 #168470 by cmorley
Replied by cmorley on topic getting g code into AXIS
can you posted a sample file and quote the actual error message?

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

More
21 May 2020 10:59 #168487 by Clive S
Replied by Clive S on topic getting g code into AXIS

ferrous1991@gmail.com wrote: My Bridgeport mill x and y tables can be moved via MDI commands and now i am ready to down load G code written in Mouse Pad. Not clear on how to save g code program so it can be run by AXIS. I have been unable to find detailed information on how to do this. All attempts to open a saved g code result in a notice that the g code cannot be opened. Thanks


How are you saving the file. I you save as somefile.txt or .ngc -it should be ok.

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

More
21 May 2020 11:01 #168488 by tommylight
Replied by tommylight on topic getting g code into AXIS
Also gcode needs to have % sign at the beginning and end.

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

More
22 May 2020 17:45 #168590 by ferrous1991@gmail.com
tommy light
Thanks for the % tip. That worked.
Steve Vitkovits
The following user(s) said Thank You: tommylight

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

More
22 May 2020 17:46 #168591 by ferrous1991@gmail.com
Clive S.
Thanks for your response. I've got it now.
Steve
The following user(s) said Thank You: Clive S

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

More
23 May 2020 09:01 #168667 by bbsr_5a
Replied by bbsr_5a on topic getting g code into AXIS
the % at begin and end is not needed but a M2 or M30 is to be Programm end
without it will be an error to load

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

More
23 May 2020 13:06 #168685 by MaHa
Replied by MaHa on topic getting g code into AXIS
Just had a look at the different behaviour, ending a program with M2, M30 or enclosed by %.
At least the active G code is similar, after ending with M2 or M30, but reset to a state as described in the docs.
Enclosing the Code with %, F, Plane, M3, Offset and maybe more is keeping its programmed values.
I am not shure if it is still a problem, when using % in the main program and also in a called subroutine.

Ending M2


Ending M30


Enclosed with % %
Attachments:
The following user(s) said Thank You: tommylight

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

More
23 May 2020 13:25 #168687 by tommylight
Replied by tommylight on topic getting g code into AXIS
@MaHa,
Thank you, i did not know that, but i use % only when writing gcode by hand to test stuff.
Regards,
Tom.

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

Time to create page: 0.137 seconds
Powered by Kunena Forum