250
« on: February 21, 2014, 10:25:47 PM »
Welcome to Mach.
How are your switches wired? Series with NC connections?
2 limits on each axis and a home switch?
Do all share the same pin?
Is each axis set up this exact way?
Does each axis have its own pin or all 3 share 1 pin?
It sounds like you must be sharing 1 pin. During the ref process the Z moves first (this is correct and helps keep from breaking tools etc) though I think your home switch is being mistaken for a limit switch. Mach backs off of a limit switch, not sure of the home switch as I dont run them. The odd thing is you state the DRO is still moving for the next axis but you see no stepper movement. That is not right but Mach is pretty complicated at times. Most likely a setting.
In your ports and pins "inputs" are both the home and limit switches enabled?
Regarding the spindle, again there are quite a few settings that can be easily misunderstood. Not only that but if you are new, what method might you be trying to activate the spindle? You probably havent set up hotkeys or the relays yet either in "outputs" Have you programmed the VFD to get its operational signals from an exterior source?
There are also a few settings under spindle , again in ports and pins. There are 2 that have a bearing, "disable spindle relays" and "motor control". How these are checked or not will be dependent on the signals needed. Dont worry this confuses most us. Solve the other issues first.
The steppers, it would be nice to know the model. If not at least how many wires are coming out of it. Pictures at this point would also be very helpful. The more the better IMO. Use your cell phone. The speed it takes to travel lock to lock is dependent on many things velocity, accel, voltage of your power supply, ballscrew pitch, microstepping, direct drive on the screws or geared. With the velocity numbers you stated 196, if you are in inches and new to this, 196ipm should seem very fast. It is. More on this later. Your math looks correct to me.
If the machine was supposed to come with the USB controller, why dont you have it? Personally I would go Ethernet before USB. It appears to be a much more stable format. Same price if you have to buy it or close enough. A smoothstepper will allow many more inputs and outputs. Potentially 6 axis IIRC and 3 ports if Ethernet, 2 if USB. Plenty of room for any kind of expansion. More to read and understand though too.
I didnt see your xml but the forum wont allow you to attach it as an xml. Rename the extension to .txt or similar and you can post it.
Hope this is of some help. Sorry this was incorrect, Mach does allow xml's but yours wasnt attached.