Hello Guest it is January 22, 2022, 07:20:35 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - rexdc

Pages: 1 2 »
Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 25, 2013, 06:02:25 PM »

An update on the tests I ran today.  I am convinced the problem lays in the fact that my computer doesn't like to run the VFD through a USB to RS-485 converter.  I tried all four baud rates and different carrier frequencies in the VFD.  I use a least 3 different cables for the communications.  Anytime I was controlling the VFD form the Mach 3 program the Z-axis would freeze for a few steps at random, not good!  I have setup a kind of work around that seems to work, not what I want but for now it will have to do.  The work around basically is using the VFD in a semi-manual oreration.  There is a output from the Gecko Drive that provides AC for running a vacuum system and follows the M03  commands from the G-gode.  I connected a relay to that output that closes a set of contacts on M03 comand.  The set of contacts are connected to the VFD at For. (D1) and DCM.  I programmed PD001 for external control and PD044 to 01 (for RUN function) and PD002 to 0.  This allows the computer to start and stop the spindle and setting the speed manually.  When I get the opto-issolated interface for the serial port on the computer I will update it's function.  I'm hoping that by completely issolating the commuications line from the computer and using a real serial port will get me where I would like to be.

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 24, 2013, 09:06:51 PM »
Hi Royaumedeole

It seems that I don't proof read very well.  In my last post I was thinking faster than I type!  I believe that I was trying to say that if the VFDplugin.dll was loaded mach 3 would E-stop when encountering M03 in th G-code if it wasn't able to communicate with the VFD, even when the VFDplugin.dll was disabled. I had to completely remove the VFDplugin.dll before mach 3 would execute the G-code with M03 embedded when the VFD was disconnected.  In reference to the cables,  the way I wrote the post would lead one to believe that the common-mode noise was on the motor cable,  actually the motor cable is fairlly quiet.  In the middle of the sentence my thought had changed to the control (RS-485) cable, that was where I was finding the common-mode noise.  I have since done more checks, and believe that the Z-axis problem may be do to noise generated by the VFD somehow getting into the computer running Mach 3  because it also will lock up the keyboard.  I have some thoughts on how that is happening, but haven't had the time to pursue.  Hope to get at it tomorrow.  By the way I want to thank you for your effort in all the work you have done, I really like how this plugin works,  incidentally it is now displaying AMPS in my DRO, haven't got the speed to display yet, but again this may be on me.  Mikemaat, if you are reading this, thanks for your help also.  Lastly, has anyone used a opto-issolated RS-485 interface,  did it help.  I have one ordered so we will soon know.

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 22, 2013, 11:56:46 PM »
Gentlemen, after changing and shortening the motor cable and doing some re-routing it, it appears that the E-stop problems have ceased.  However, I have now another problem,  it seems that if the motor is running and and the RS-485 connected the Z-axis will randomly freeze for a few steps. It won't freeze if the motor is not running and the rs-485 pluged in by removing M03 from the G-code, or if RS-485 cable is unplug and the motor running manually.  Incidentally, I don't know if this is a bug or not but if the VFDplugin.dll is loaded in Mach3 and the RS-485 cable is unplugged the program will E-stop if it encounters an M03 cammand in the G-code, even if you have the plugin disabled.  I had to delete the VFDplugin.dll before it would run code with M03 enbedded.  I checked the motor cable for noise with a scope, it seemed to be pretty quiet, however that was a lot of noise on, most of it looked like common mode noise, the worst kind to get rid of.  Being some more test tomorrow to attack the noise on the RS-485.  Just wondering, has anyone used a opto-issolated RS-485 interface, if so did it help?

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 21, 2013, 03:03:05 PM »
yep you are right, my cable is not sheilded, but will be by this evening.  Also going to re-route the cable and short to get it away from other (RS-485) cables and the computer.

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 21, 2013, 02:17:25 AM »
Did Ver 1.5.1 improve your operation over ver 1.4? 

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 21, 2013, 01:26:52 AM »
I might add the I am using ver 1.4 plugin I see that there is an new release ver 1.5.1

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 21, 2013, 01:23:43 AM »
Thanks Mikemaat  I was thinking that might be my problem. the cable from the spindle to the motor is not sheilded.  I am going to do the check you suggested.  Couple of questions.  How long is your RS-485 cable and is it also sheilded,  if so did you connect the sheild to both the computer and the VFD?  Did you use any ferrite cores on the RS-485 cable or the spindle power cable.  How long is your VFD to spindle cable?  do you know the mfg. and number of the cable you used for your spindle power.  It sound like the same problem I'm having, I get E-stops and mach3 will freeze at random.  I REALLY apprecate your help and input.

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 20, 2013, 11:38:03 PM »
I have been testing My CNC wood router system that I put a 3.0 KW chinese spindle and a "matching" huanyang VFD.  My setup is using Mache ver 3.043.022. I'm haviing a problem with random E-stops.  I plan on doing a few more tests to try to determine if the problem is coming VIA RS-485 or from the VFD itself, if the problem is noise induced in the RS-485 link.  I'm using a modified 1024.set screen and not as yet get the AMPS to read in my DRO, that i'm sure is something I am missing in the setup of the DRO or something, but also it does not display spindle speed.  It will show some activity in the spindle speed DRO if you change the speed either up or down. of the VFD while it is running then return to zero when the speed stablizies.  If anyone has some suggestions on what to look for I would be grateful

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: March 15, 2013, 12:35:48 AM »
Thanks for your info.  After a rather long effort I have managed to get the spindle motor mounted all wired up nice and petty. Install your dll file and connected the computer the Huanyang VFD, and managed to get the VFD programmed.  After a bit of tweaking mach 3 would control the VFD the way I wanted it too.  As i stated in my other posts I am new to the world of mach 3.  Using a mach screen editor I believe MachScreen I make some modification the the spindle window and added a DRO for AMPS and I think I labeled it OEM 1003.  I get nothing to read in the DRO, also spindle speed is not shown in the spped DRO, but when you change the spped of the spindle there will briefly be some numbers come up is the speed DRO  The other mods I made were basiclly to change the size and shape of the DRO in the window to clean up its look.  Is there a good tutorial out there on building and modifing screen.  I know my problem is my own making, but I need some help!

Finished Plugins for Download / Re: A new Huanyang VFD plugin
« on: February 06, 2013, 08:44:35 PM »
Maybe I was mis-understood about whlat I am concerned with.  That is removing power from the VFD system is not in use, not to control the spindle motor

Pages: 1 2 »