Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: RGCustomSignsLLC on January 13, 2013, 12:10:08 PM

Title: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 12:10:08 PM
I purchase my license and copied it to mach 3 folder, rebooted and now my y axis ( i have 2 motors - one reversed) are now going opposite of each other causing it to twist and my x axis only goes left now???????
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 12:43:48 PM
Change the Dir active state of one of them.
As for X only going one way sounds like possibly a wiring issue.
Puting a licence in the folder will not do any of the changes you have seen.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 01:04:29 PM
that didnt work.  and the wiring is good.  nothing changed
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 01:13:45 PM
Did you open the correct profile? Are the ports and pins set correct?
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 01:28:49 PM
i only have one file and yes, pins and ports are correct
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 01:31:01 PM
problem,  if i go down on the y axis, it is ok.  if i go up on the y axis, the motors reverse themselves.  the x axis only goes left??
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 01:31:29 PM
Attach your xml and I will see if I can find the problem.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 01:37:25 PM
here ya go

thx!!
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 02:00:22 PM
Dont see anything wrong in the xml that would suggest it wont work.
If you have a scope check the outputs, if you dont then you can still check the Dir pin outputs if you have a volt meter.
To do that change the E-Stop setting to Active Low and then remove the port cable from the computer an make sure Mach is out of Reset (not flashing) Connect the meter between pin 25 and  3 and jog Y one way then the other. Volts should change between 5v and 0v. Next connect to pin 5 and 25 and again jog Y and see if its the same.
.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 03:14:06 PM
it is a constant 4.94 v
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 04:02:38 PM
Which?
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 04:10:46 PM
both.  i even switch the x and the z driver and the problem follows the axis not the driver
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 04:18:59 PM
Cant see how it can be on both if one axis physically reverses when you reverse the jogging.
Were you checking on the computers port with the cable removed?
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 04:21:00 PM
I checked the cable coming from the controller uplugged at the PC end
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 04:23:49 PM
Check direct on the port if you can.
Just to be sure I am understanding, when all is plugged in and you Jog Y both Y and slaved axis move but when you jog the other way the Y reverses but slave continues the same direction as it was previously going?
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 04:27:47 PM
yes.  for the y axis yes.  for the x axis, it only goes left.  z is aok.  i switched the x and the z axis direclty on the board, it still only travells left. if i change it in the software, it only travels left.  this all the sudden happend today.  i have cut about 40 hours so far on the machine and now i have this issue.
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 04:30:53 PM
I can not understand how it can possibly stay at 5v on pin 3 when you change jogging direction if the axis does respond and reverse.
Make sure you are checking the correct pins, the manual shows the view from the computers port perspective.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 05:35:31 PM
Ok, Can anyone call me to go over this?  is it the pc, cable or mach 3 giving issues.  i am lost.  this was working since december.  now it is acting up??  message me for phone number.

Thanks!!
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 07:54:37 PM
After unpluging the y and a axis' (slaved) and switching drivers bewteen them it worked.  switched them back it stayed working.  bad driver?
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 07:59:30 PM
Bad wiring connections I would say is more likely.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: RGCustomSignsLLC on January 13, 2013, 08:07:10 PM
strange.  very strange.  why all the sudden though.  noth was moved or touched.
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 13, 2013, 08:11:52 PM
Could be vibration from machine running or maybe the temperature has changed recently (bit colder)
Could be a bad driver, could be dry solder joints on it but still think wiring/connections most likely.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: Mountainman on January 14, 2013, 03:43:10 PM
Hood, can you figure out why I would be getting the tables to move when I call up spindle M3/M4  I am running a C32 and ESS. 
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 14, 2013, 03:46:49 PM
Do the axis DROs in Mach change with the axis moves?
Hood
Title: Re: Need help - Machine going nutz!!
Post by: Mountainman on January 14, 2013, 04:39:16 PM
No DRO change.  When I hit M3 all the axis moved.  Then when I thought let me check my VFD wiring.  There was one wire that I had to wire to the digital input common to make teh VFD work which was not mentioned in Arturo's instructions.  when I unhooked that wire and I commanded M3 nothing moved.  At this point I am wired as per his instructions and nothing works.  I believe that I wired the DCM on the VFD to pin #8 in the RJ45

http://cnc4pc.com/Tech_Docs/C32R4andL100-002MFU.pdf
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 14, 2013, 04:45:47 PM
If the DROs are not moving in Mach then it is likely to be a noise issue.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: Mountainman on January 14, 2013, 04:50:02 PM
do you get noise if there is not enough capacitance coming out of the 120VDC power supply?  
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 14, 2013, 05:03:23 PM
You would get ripple on the voltage if there is not enough capacitance, that may do weird things I suppose.
What was the wire you needed? Where is it coming from?
Hood
Title: Re: Need help - Machine going nutz!!
Post by: Mountainman on January 14, 2013, 06:02:28 PM
I don't know what pin #8 of the VFD outlet on the C32 is connected to.  Somewhow, I suspect that is the culprit that is tripping all of my axis's.  Only reason I am coming here is because getting a hold of Arturo is close to impossible.  It would be nice if he could asnwer that ?.    That definately was the wire.  because when I unhooked my drive power supply and rewired that pin to the DC common on my VFD the spindle ran like a charm.
Title: Re: Need help - Machine going nutz!!
Post by: Hood on January 14, 2013, 06:18:33 PM
Afraid I have never used any CNC4PC stuff (only used PMDX BOBs)  so cant really help there, certainly sounds like there is an issue with it though, hopefully Arturo will get back to you.
Hood
Title: Re: Need help - Machine going nutz!!
Post by: Mountainman on February 20, 2013, 07:42:32 PM
Twas the carrier frequency of the VFD.  I had to bring it down to 2khz from 15 khz.  I'll see hwat kind of emf/rfi supression I can get for that VFD.  I sure wish I spent the extra pennies getting shielded rj45 cables.