7081
General Mach Discussion / Re: spindle control
« on: April 24, 2011, 11:09:44 AM »
Groundhog,
Looks like you have already done all the basic checks etc.
The X4 spindle is controlled by a direction signal on pin1 of the LPT parallel port. When this pin is high the spindle will rotate in one direction when activated and rotate in the other direction when the pin is taken low. Therefore you should be able to change the spindle direction from CCW to CW by changing the 'dir active low' config in Mach (as per arrow). Then by entering G0 M3 in the MDI box it will go one way and G0 M4 it will go the other and stop with M5.
I have tried the generic .xml and it all works fine here so if your Mach configuration is correct then it is more than likely a broken wire relating to the LPT pin 1 and its connection to the X4 terminal board. You should be able to check this with a multimeter (positive to pin1 and negative to ground [pins 18 to 25]) using the MDi and commands M3 and M4 to toggle the pin state between 0volts and 5volts (approx).
Tweakie.
Looks like you have already done all the basic checks etc.
The X4 spindle is controlled by a direction signal on pin1 of the LPT parallel port. When this pin is high the spindle will rotate in one direction when activated and rotate in the other direction when the pin is taken low. Therefore you should be able to change the spindle direction from CCW to CW by changing the 'dir active low' config in Mach (as per arrow). Then by entering G0 M3 in the MDI box it will go one way and G0 M4 it will go the other and stop with M5.
I have tried the generic .xml and it all works fine here so if your Mach configuration is correct then it is more than likely a broken wire relating to the LPT pin 1 and its connection to the X4 terminal board. You should be able to check this with a multimeter (positive to pin1 and negative to ground [pins 18 to 25]) using the MDi and commands M3 and M4 to toggle the pin state between 0volts and 5volts (approx).
Tweakie.