Hello Guest it is April 19, 2024, 10:15:31 PM

Author Topic: MACH 4 G1 CMD DOES NOT WORK  (Read 634 times)

0 Members and 1 Guest are viewing this topic.

MACH 4 G1 CMD DOES NOT WORK
« on: August 18, 2021, 11:01:25 AM »
Hey Everyone,

I have finished setting up my CNC replacing my Chinese cnc controller with an AXBB-E. Everything works I can stop/start spindle and control its speed. Jog the machine etc. However, I am having an issue with running g code. I can execute G0 commands but not G1 commands if I run G1 X10 Y10 Z0 F300 it does not do anything. I think this has something to do with the feed rate somehow. I have not encountered this issue before. I should mention I am using Mach 4. Any help would be much appreciated.

Peter
Re: MACH 4 G1 CMD DOES NOT WORK
« Reply #1 on: August 18, 2021, 11:35:46 PM »
Hi,
more as a matter for clarification Mach4 treats ALL Gcode as lowercase, without leading zeros and without whitespace.
Whenever the Gcode interpreter operates it will first alter all Gcode to suit.

G0 X0.01 Y3.01 gets interpreted g0x.01y3.01     and
G1 X4.98 Y    0.76 Z50 F400 gets interpreted as g1x4.98y.76z50f400   etc

In most cases Mach will interpret Gcode you have supplied it without problem but there are a few occasions where it
does not and it can be very hard to spot why. May I suggest you follow the rules of Mach4, ie all lowercase, no leading
zeros and no whitespace as it will circumvent that problem.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: MACH 4 G1 CMD DOES NOT WORK
« Reply #2 on: August 19, 2021, 01:25:09 PM »
Thanks for the advice I did try that and had no luck. I ended up creating a new profile inside of mach 4 which fixed my issue.