1001
General Mach Discussion / Re: Stepper Motors Heating Up
« on: September 13, 2009, 10:55:38 AM »Thanks MechanoMan,
Thanks for your explanation on the stepper motors. I'm just trying some of the programs in the wizard of Mach 3 trying to understand how to write or modify the wizard programs. I'm a complete newbie so I need all the help I can get. There are so many questions I could ask now but I'll play with what I have for a while before bothering the forum here until I understand the code better. But I do have one question that you touched on briefly in your reply to my overheating question.
As far as I understand G54 is a command that I place in my program after I set the home position for that command. Please correct me if I'm wrong but this is how I'm setting the G54:
I open the MDI Alt2 screen in Mach 3.
(jog mode in constant) Jog the work piece in the vice so the 1/4'' end mill is just above the work piece (block of wood for now) then (jog mode in step) jog down to approximently 2 thousands above the work piece using a piece of paper then zero out the Z axis.
Do the same with the end mill at the bottom left of the work piece on the X and Y axis's and using the paper then enter -.125 for both the X and Y axis's.
Then enter into the INPUT command line G54 and enter.
Then I enter G00 X0 Y0 and enter and the table moves to the home position which seems to work ok.
Now when I turn off Mach 3 and the controller and turn them back on at a later time it looses the home position. I thought it should remember the home position. I am also placing G54 in the beginning of my programs. Do I have to set the home position each and every time I turn on the Mach 3 program and controller?
Any comments about that?
Thanks in advance
jessey
I'm not sure you're description is quite right, as I can't see it behaving the way you describe. When using fixtures, you want to select the fixture, then set your zeroes IN that fixture. So, if you want to use G55, move the machine to your zero position, select G55, *then* zero your DROs.
When Mach exits, it will save all current fixture offsets, if you tell it to. G54, however, is treated differently. The G54 offsets are not saved. Why this is, I do not know. However, there is an option, in Config->GeneralConfig to load the G54 offsets from G59.253 on startup. I get around this two ways: Either don't use G54, or, before exiting Mach, move the machine to 0,0 in G54. Then, when I restart, just re-zero the DROs before moving the machine. If using steppers, you may be off by a few microsteps. Generally, though, I just use G55-59.
Regards,
Ray L.