Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: greg on June 26, 2007, 12:07:18 AM
-
I am running the code attached and when when the Z axis moves to the negative, the spindle does not come on. If it moves in the positive direction, then the spindle comes on. The mill is set up to have the Z-axis move in the negtive direction from 0.
Any help would be appreciated.
Greg
-
Hi Greg,
I went through your file and made two changes that I could see were incorrect. Try the attached file and see if it makes a difference.
Jeff
-
i did not compare code, i just tried it. the first time it worked after that it has not. it will go to the line that has the spindle speed & the m3 & not do anything, it just goes to the next line & then starts the z raid. anymore help would be greatly appreciatted. thanks greg
-
i am wondering if something is wrong with my relay for my spindle? usually the first time i try to run a wizard the m3 works after that the code stops on that line then continues &the spindle does not start. i have not tried to turn the spindle on by hand since mach2. in the diagnostics page if i hit spindle toggle the dwell light comes on, should the spindle start also? if not how do i turn the spindle off & on by hand? thanks greg
-
Hey Greg,
If the dwell light is on the spindle relay shouldn't change states. In config, ports and pins, spindle set up what do you have in the spindle dwell settings? Also, what are you running for hardware? Can you post your XML file?
Brett
-
I am using a xylotex 4-axis. I have one other question. Is there a place to turn the spindle on and off manually?
Greg
-
Here is the xml and a screen shot.
Greg
-
Is there a place to turn the spindle on and off manually?
There is a button on the standard screenset on the bottom left hand side. Under "Spindle Speed"
Toggles CW spindle. Also works with F5 OEM code is 110 if your moding your screenset.
Greg
-
Greg, if you want Mach to control the spindle, you need to uncheck the disable spindle relay in the screen shot we both posted.
Brett
-
brett, the funny part is sometimes when i have just started the system up m3 in the code does start the spindle. thanks greg
-
i unchecked the spindle relay disable. now i get a flashing normal adnormal light. the message says, [list of adnormalities, axis are not refed to normal condition.] i am using screen program run alt-1. when i run the code now at the m3 it still pauses but does not turn the spindle on. when i ref all home they all do there normal thing &all read 0.000. on my screen, the spindle speed is on the lower right corner. when i click on the togglecw f5 it still does not start. when the spindle disable was checked it sometimes started from the m3. any ideas about the flashing light? if i take a digital meter & put it on the pin for the spindle should i get a reading of some kind when i click on the spindle cw f5 box? thanks greg