1
General Mach Discussion / Re: spindle variable speed control board relay
« on: January 08, 2016, 08:00:07 AM »
Problem solved.
Under Motor control tab in config spindle Dir Pin#cannot be used. Set it to a unused pin because mach# will not let you set it to zero. Then define the output pin numbers you want to use under Spindle set up in the relay control box. Then connect those corresponding pins on the breakout board to the c6 cw/ccw pins.
The problem is that we were trying to use 2 forward direction pins at the same time, so when you called m5, it turned off the relay for a time then re energized because the second direction pin was still energized.
hope that makes sense.
Under Motor control tab in config spindle Dir Pin#cannot be used. Set it to a unused pin because mach# will not let you set it to zero. Then define the output pin numbers you want to use under Spindle set up in the relay control box. Then connect those corresponding pins on the breakout board to the c6 cw/ccw pins.
The problem is that we were trying to use 2 forward direction pins at the same time, so when you called m5, it turned off the relay for a time then re energized because the second direction pin was still energized.
hope that makes sense.