I am hoping the group here can help me with a problem that I am having.
I am having issue getting my spindle to run correctly whether I select CW or CCW rotation.
I am just setting up the spindle control for the first time. Up to this point my spindle has been controlled manually at the machine.
Here is my setup. I have a LittleMachineShop 3900 Mini Mill (Sieg SX2). It has a brushless motor for the spindle so I am using the LittleMachineShop 4213 spindle control board. I have it connected to a CNC4PC C11G BOB. I have attached my XML file for reference as well. Wiring is per diagram Chris provided with the LMS 4213 spindle.
So using the XML posted I can get the spindle to turn CCW (M4) at whatever speed I choose. All good here. I can shut off the spindle with M5. However, when I go to turn CW (M3) I get no response at the spindle.
So I started trying to figure out the setup a bit more. I have the following core setup:
MY SETUP
Kernal Speed 35,000
Motor Outputs
Enabled Step Pin # Dir Pin # Dir Low Step Low Step port Dir Port
Spindle Y 14 0 X X 2 0
Output Signals
Enabled Port# Pin# Active Low
Output1 Y 2 1 X
Output2 Y 2 16 X
ChargePump X 2 17 X
Spindle Setup
CW Output1
CCW Output2
Spindle motor output - YES
Step/Dir Motor - YES
Spindle Motor Tuning
Steps Per Velocity Acceleration Step Pulse Dir Pulse
1000 1500 31.25 3 0
Pin Type Output
Start/Stop 16 Electromechanical Relay 2
Forward/Reverse 1 A/C Solid State Relay 1
AVI (SPEED) 14 Analog Output (0-10V) Spindle
I based this loosely on the CNC4PC sample XML and the manuals for the C11G and the 4213.
Now, if I add a Dir Pin of 1 to the spindle setup on Port 2, I can get the spindle to turn CW using the M3, but the M4 will turn for a bit and then stop.
I would like to be able to use M3 and M4 as necessary for tapping.
Anyway, I am open to any thoughts and ideas as I am by no means a Mach expert (just learning as I go along).