Hello Guest it is April 18, 2024, 10:45:37 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mc58

Pages: 1
1
General Mach Discussion / Re: Machine coordinates in wrong units
« on: January 23, 2016, 06:34:14 PM »
It's G20, but it's always been G20. The problem is before I  load any g-code.

2
General Mach Discussion / Machine coordinates in wrong units
« on: January 23, 2016, 04:40:40 PM »
Hello. I'm having some trouble with my little CNC machine. I have a generic ebay 3040 crap machine that was working perfectly. If I traveled the spindle 1 inch, then it showed one inch on the coordinates display for whatever axis I was using. Well, yesterday it randomly started showing different units. If I travel 11 inches on my table, it shows 355 whatevers on the coordinates display. I've installed and reinstalled mach3 about 4 times, including trying out an older (2.x?) demo. About half the time it shows the correct units, then goes right back to the wrong ones. All my settings in motor tuning, inputs, motor outputs, etc are exactly as they've always been. The native units are set in mm, as they've always been. Now, when I load up some g-code, the coordinate display is accurate again and the part cuts fine. Changing between native units has no effect. Anyone know what's happening here? It's driving me nuts. Technically, I guess it's fine because my programs run fine, but jogging around is irritating because it says I'm moving like 25 whatevers for every inch.

My settings are as follows:

Native Units - mm

Port 1 enabled 0x378

X axis enabled - step pin 2 - dir pin 3 -dir low active x - step low active check - step port 1 - dir port 1
Y axis enabled - step pin 4 - dir pin 5 -dir low active x - step low active check - step port 1 - dir port 1
Z axis enabled - step pin 6 - dir pin 7 -dir low active x - step low active check - step port 1 - dir port 1

e-stop port 1 - pin number 10 - active low check

motor tuning:
X steps per 400 - velocity 2000 - acceleration 200 - step pulse 3 - dir pulse 0
Y steps per 400 - velocity 2000 - acceleration 200 - step pulse 3 - dir pulse 0
Z steps per 400 - velocity 700 - acceleration 100 - step pulse 3 - dir pulse 0

According to the little sheet that came with the CNC machine, the dir pulse is supposed to be 1, but it resets to 0 every time I save the settings.

This is driving me insane, any help would be much appreciated. If this is in the wrong spot, mods feel free to move it.

Thanks.

Pages: 1