Hello Guest it is December 02, 2021, 07:36:36 PM

Author Topic: Mach3 and W7/32 spindle setup  (Read 5852 times)

0 Members and 1 Guest are viewing this topic.

Mach3 and W7/32 spindle setup
« on: August 27, 2012, 11:14:58 PM »
I am having trouble with getting a spindle to run after replacing an XP PC with W7 32bit.
We have copied the xml and carefully reproduced all the Ports & Pins and Output Settings from the old pc to the new one.
Everything works except the spindle which crashes Mach3 when the start button is pressed, and gives an Error 9991.
We havent yet been able to get the output to flash in Diagnostics either.
Is there a place where error message numbers are explained, or can someone shed light?

« Last Edit: August 27, 2012, 11:30:30 PM by Jimildoo »
Re: Mach3 and W7/32 spindle setup
« Reply #1 on: September 05, 2012, 01:21:04 AM »
I am having the same problem, only I get error 6762 or 8877when I run the spindle after just a few seconds. If I hit yes to recover the then I get error 9991. Either way Mach3 crashes. Also I have to toggle the spindle relay from the DSPMC to make the spindle go. Even though I have Mach3 set to use the relays. 
Things worked fine on an XP system. Am I doing something wrong, or do I have to go back to Win XP?

I haven't even set up the servo axis yet because I'm not sure any of this will work at all now.

My setup:
DSPMC controller with current firmware.
Teco VFD with 0-10V input, output1=forward, output2=reverse
iMach P3 pendant.

Re: Mach3 and W7/32 spindle setup
« Reply #2 on: September 05, 2012, 12:52:22 PM »
Free bump.  I had this same problem going from Win XP to Win 7 32.  Had other issues, so went back to Win 7.  Could not figure out why Mach would not turn the spindle on using the same config as well as the same g-code files I that were successful when running on XP.
Re: Mach3 and W7/32 spindle setup
« Reply #3 on: September 06, 2012, 11:56:23 AM »
After a tip from Andrew at mach tech support I found a ton of noise on the ground line coming from the VFD.

I don't understand why this is a problem for mach under win7 and not a problem under WinXP.

To get mach to use the spindle relays under win7 you have to enable the outputs you are using in the output setup. I don't remember having to do this in mach under WinXP.

Anyone got any good suggestions for eliminating (ok - realistically reducing) the noise from the VFD?
Re: Mach3 and W7/32 spindle setup
« Reply #4 on: May 03, 2013, 05:14:02 AM »
Hey Guys,

Thought I'd just confirm the noise theory for you. I had endless 9991 errors using a VFD over Modbus. Problem ended up being that it was the lack of the pullup resistor between the Tx and Rx serial lines on the RS485. Noise on the line wasn't letting the end of data packet pull down for 3 zero bits due to lack of the resistor and this was causing the CRC checks to fail.