Originally Posted by
Ceramic Man
Ok sh1224, I got those settings for you. For anybody that uses this info, these settings are for the following setup:
Sunfar E-300-2S0015 inverter with 1.5kw chinese spindle motor, chinese "5-axis breakout board", and Mach 3 control. I don't remember which inverter settings are relevant, so I just listed all the settings up to F3.0. I know I didn't change any settings past the F2.X's
Inverter settings:
F0.0 = 1
F0.1 = 0
F0.2 = 1001
F0.3 = 0
F0.4 = 400
F0.5 = 5.0
F0.6 = 5.0
F0.7 = 0
F0.8 = 8.0
F0.9 = 0
F0.10 = 0
F0.11 = 0
F0.12 = 400
F0.13 = 220
F0.14 = 10.0
F0.15 = 10.0
F1.0 = 0
F1.1 = 10
F1.2 = 0
F1.3 = 400
F1.4 = 0
F1.5 = 0.0
F1.6 = 10.0
F1.7 = 1
F1.8 = 2
F1.9 = 3
F1.10 = 0000
F1.11 = 0
F1.12 = 8
F1.13 = 5.0
F1.14 = 10.0
F1.15 = 2.0
F1.16 = 110
F1.17 = 2.0
F2.0 = 1.0
F2.1 = 0.0
F2.2 = 0
F2.3 = 3.0
F2.4 = 0.0
F2.5 = 10
F2.6 = 10.0
F2.7 = 10.0
F2.8 = 170
F2.9 = 100
F2.10 = 370
Inverter wiring connections:
L1: 220v AC L1
L2: 220v AC L2
U: spindle motor
V: spindle motor
W: spindle motor It does not matter how U, V, and W are connected. If the spindle runs backward, just swap any 2 wires around.
CM: Common ground to 0-10v gnd on BOB, and to relay ground (common ground for all pins) on BOB
FV: Pin 17 on BOB (pin 17 is the relay output. Make sure the P17 jumper is installed on the BOB)
AI: +0-10v output terminal on BOB
Mach 3 settings:
Ports and Pins
Motor outputs
Spindle
-check enable, step low active, and dir low active
-step pin 1
-dir pin 0
-step port 1
-dir port 0
Output Signals
output #1
-check enable and active low
-port 1
-pin 17
Spindle setup
-UNcheck "disable spindle relays"
-Clockwise M3 output #1
-Counterclockwise M4 output #2
-check "use spindle motor output"
-check "PWM control"
-PWM base freq. = 35
-min PWM = 5
Motor tuning
Spindle
-steps per = 1
-velocity = 114660
-acceleration = 16905
Spindle pulleys
-pulley #1
-min = -4500
-max = 25000
-ratio = 1
I don't know if this is the correct way to have everything set, but it works for me. I had to play around with the spindle pulley min/max values to get the spindle to run at the approximate correct RPM. It won't necessarily run at the exact RPM set by your S command, but it will be reasonably close (within about 5%)