Hi All,
I have been using my mill via the parallel port for years with no problem but recently fired up a laptop, to use a USB SmoothStepper.
All was fine under PP mode, I could enter the required speed and Mach3 would see the spindle index pulse and regulate the spindle speed according to what it was set to with the S command, speed regulation was very good (PWM mode).
On my laptop, I have the SmoothStepper with no BoB using Port 1 only - i.e., nothing connected to port 2 and no other connections.
SmoothStepper is connected directly to a Xylotex XS-3525/8S-4 stepper driver board. A Homann Designs Digispeed XL remains connected to the Xylotex board's break out screw terminals.
I am using Mach3 version 3.043.062 and SmoothStepper version 2.08.24 with V17fe.m3p file. I was using an earlier version of all but upgraded to those when I struck the problem described below - I still have the problem.
I copied my PP XML file to the laptop and set up smooth stepper with the plugin etc.
X, Y, and Z axes work fine and I can fine tune steps and backlash OK.
I can start the spindle and stop the spindle using M3/M4/M5 commands via a Homann Designs Digispeed XL using PWM and Mach3 displays a speed when the spindle is running.
However if I set the speed with an S command, to say 500rpm, when a M3/M4 command is executed the spindle immediately ramps up to top speed (e.g., 1700rpm) and stays at that speed.
It doesn't matter what speed I enter with the S command, the result is the same.
I can see rpm's in Mach3 but they are not stable.
For instance, irrespective of what speed is entered in Mach3 I get a constant spindle speed of 1700rpm (verified with a second spindle sensor/display) and I see the Mach3 display of 1700rpm intermittently fluctuate upwards by as much as 600rpm momentarily, the second rpm display remains constant at 1700rpm.
I have tried two different spindle sensors with Mach3 with the same result.
I've tried different Ports/Pins, Motor settings, and Spindle settings in Mach3 but nothing I do rectifies the problem.
Here are my current settings:
Motor Outputs Ports / Pins
X. 2 / 3
Y. 4 / 5
Z. 6 / 7
Spindle. 14 / 17
Step/Dir Port 1. Dir - active low, Step - active high
Input Signals Ports / Pins
Probe. 1 / 12
Index. 1 / 15
EStop.2 / 2
All active high
Note: I could not get Estop to work on my original PP settings of port 1 and pin (2?) - (I can't remember what it was set to), so why it works on a port 2 setting when I don't have anything connected to it is a mystery!
Output Ports / Pins
#1. 1 / 1
Active low
Encoder/MPG's
MPG #1. 1 / 10 and 1 / 11 counts 4/vel 100
I have not tried using the MPG device with SmoothStepper yet but it worked fine with those settings on PP.
So, can anyone put me out of my misery and tell me what I am doing wrong?
TIA,
Dave.
