?
I've been building up my CNC system for the milling machine using a PC with dual boot for both WIN-XP and LinuxCNC.? I'm using the parallel port for both at the moment since it's easier to switch between OS and CNC software than unplugging a MESA board and plugging in a USB Smooth Stepper.
?
The system is constructed as follows:
Parallel Port to PMDX-126 BoB
Separate 24V switching power supply for logic with a linear regulator to 15V for the HP_UHU DC Servo drives which run off 105VDC Toroid based power supply. ?
Axis X and Y are 3:1 and 4:1 with the 225 oz-in Brushed DC Servo motors.
Axis Z uses one Gecko running a 1200 oz-in motor on 65VDC toroid based supply for the milling machine knee (3:1)
Axis A uses a Harmonic Drive with an AC Servo STMBL drive using the same 105VDC supply.
Changing from the single phase 2HP (1.5kW) spindle motor to a 1.8kW Bergerda AC Servo but for now on the test bench using a 400W Bergerda AC Servo.
?
There are several custom boards to do optical level conversion between the non-optically isolated PMDX-126 and the STMBL and also the 0V-10V PWM converter module from China.
?
So here's the interesting problem.? Without the Bergerda AC Servo (spindle) motor powered MACH3 and LinuxCNC boot and can run/jog the various axis without issues.? Faults like encoder cable missing, high voltage errors etc. are all caught and cause the system to enter the RESET fault state.
?
Plug in the Bergerda AC Servo (just the 400W unit) and suddenly MACH3 won't come out of ESTOP.? Reboot into LinuxCNC and absolutely no problem.
?
Since this stuff is all running on the bench at the moment the solution turned out to be deceptively simple.? Move the AC servo motor away from sitting beside the PC and that moves the cables so they aren't lying along side the parallel port cable.? Now MACH3 comes out of reset without the PMDX-126 suddenly flagging an error and going back into ESTOP mode.?? Still works perfectly in LinuxCNC.
?
I can now easily run a
S3000 M3
M4
M5
Using the MDI and the Bergerda works perfectly turning 3000 RPM? (200ipm).
?
The DC Servo X axis (250 line encoder) with the 3:1 and 5 TPI lead screw configuration run a nice 200 ipm (Motor 3000 RPM) and the arrow keys nicely change direction between -3000 RPM and +3000 RPM as indicated by the Bergerda AC Servo Drive.
?
All is as it should be!
?
What I'm wondering is why it worked with LinuxCNC and not MACH3.? It was tried with Charge Pump ON during RESET.? No real difference.? Cycling it back on when it did work (although flakey) required using the OFFLINE button and the RESET.
?
Remember, the only difference between the two systems was which OS was chosen when the PC boots.? No hardware was touched or moved during these experiments.
?
The only thing I can think of is that the noise from the AC Servo was coupled onto the parallel port line and somehow the Charge Pump signal was corrupted in a way on the MACH3 system that didn't affect the charge pump signal generated by LinuxCNC.? A missing Charge Pump is the only thing that would cause the PMDX-126 to suddenly reset.? Especially since I had the FAULT signal into the PMDX-126 disconnected.
?
Under LinuxCNC I can specify the Charge Pump Frequency.? I haven't found anything in the MACH3 setup that lets me set that.? There's enough switching noise in the system that looking at the signals with a scope didn't show anything specific.? The scope leads themselves were picking up noise and it's hard to determine where to connect the scope ground.
?
Comments?? Why LinuxCNC robust.? MACH3 not??? Something odd with PMDX-126 setup that causes a Charge Pump Missing reset?
?
Thanks
John Dammeyer
?
?
?
?
?
"ELS! Nothing else works as well for your Lathe"
Automation Artisans Inc.
www dot autoartisans dot com
?