Hello Guest it is March 19, 2024, 07:22:12 AM

Author Topic: Huanyang VFD controller plugin  (Read 577531 times)

0 Members and 1 Guest are viewing this topic.

Re: Huanyang VFD controller plugin
« Reply #10 on: April 09, 2010, 12:52:10 AM »
I have the same USB connection that you have Michel Pet as well as the same USB connection that Matty Zee referenced (I bought them both.)  I cannot get this to work.  Do you have RS+ to A and RS- to B or do you have it hooked up the other way?  What are the settings on your VFD?  Is there something that I need to change with you com port settings with Device manager?  I cannot get numbers besides 99 in PD001 and PD002.  I have tried to start and stop my spindle, I hear a click but nothing turns on.  If I have RS+ to B and RS- to A I don't get an e-stop, but if I have RS+ to A and RS- to B I do. 

I asked Matty Zee which pins he had his set up with and he told me that he has RS- going to pin 1 on the DB9 connector and RS+ going to pin 2.  This seems odd to me because receive and transmit are pin 2 and 3 respectively, at least in the pinout I'm reading.  I tried RS+ to pin 1 and RS- to pin 2 and I still get nothing and vice versa, also tried to pins 2 and 3 etc.  If anyone can help me out I would really appreciate it.  Thanks,
Re: Huanyang VFD controller plugin
« Reply #11 on: April 09, 2010, 01:00:13 AM »
(How do I edit my post?)

Here are the VFD settings I'm using:

Factory Reset: then.

PD001 is set to 2
PD002 is set to 2
PD003-004-005 are set at 400Hz
PD006 is set to 3
PD008 is set to 220
PD009 is set to 15
PD010 is set to 8
PD011 is set to 120
PD070 is set to 0
PD071 is set to 20
PD072 is set at 400Hz
PD142 is set to 7
PD143 is set to 02
PD144 is set to 3000
PD163 is set to 1
PD164 is set to 1
PD165 is set to 3
Re: Huanyang VFD controller plugin
« Reply #12 on: April 09, 2010, 03:21:22 AM »
I definately have it connected to pins 1 & 2. Don't expect this chinese RS-485 adapter to conform to a random datasheet you find, or even a recognised standard for that matter. This is the datasheet for the adapter i have. http://www.hexin-technology.com/shared/manual/USB_To_RS_485_RS_422_USER_MANUAL.pdf
I use D-/D+ (for RS485) i.e. pins 1 & 2.

Maybe you need to try using a terminal program to see if the VFD is responding at all. Many of these VFDs are missing relays, temp sensor etc, maybe yours is missing the RS485 tranceiver chip? If you can get it to successfully reply to a query from a terminal program but not the plugin, then come back and ask more questions.
try this program http://www.eltima.com/products/serial-port-monitor/


Re: Huanyang VFD controller plugin
« Reply #13 on: April 09, 2010, 05:16:04 AM »
Ennova one thing you may be overlooking...

With your USB to rs485 adapter plugged in check in your device manager what port has been assigned to it. This is the port number that must be in the Huanyang plugin config. Note which usb port you are using and aways plug into the same spot as each one is a different number.

Hope that helps.

Mark
Re: Huanyang VFD controller plugin
« Reply #14 on: April 09, 2010, 08:10:37 AM »
[Img] http://94.100.114.174/923250001-923300000/923251401-923251500/923251439_5_KEUE.jpeg[/ Img]



[Img]http://94.100.118.217/923250001-923300000/923251401-923251500/923251460_5_WWZ_.jpeg [/ img]
« Last Edit: April 09, 2010, 08:20:34 AM by michel pet »
Re: Huanyang VFD controller plugin
« Reply #15 on: April 09, 2010, 11:04:39 AM »
dit you activate the software??
if not go to config end look at config plug in there you see the program en activate it.
now restart mach3 en look if the vfd works.
Re: Huanyang VFD controller plugin
« Reply #16 on: April 09, 2010, 11:11:48 AM »




the rest of the settings go Wat i understand automatic.

comport and baudrate and vfd setings have to bee set in the vfd.
Re: Huanyang VFD controller plugin
« Reply #17 on: April 09, 2010, 11:14:56 AM »




also look at the jumpers on the usb/rs485.
Re: Huanyang VFD controller plugin
« Reply #18 on: April 09, 2010, 03:09:09 PM »
Thanks for all the replies!  I truly didn't expect so many so fast.  I'm sorry if I sounded a bit desperate and frustrated in my posts.  I really do appreciate all your help.  I've changed my VFD settings so that the VFD is now at address 2.  Here are some pictures to communicate my current setup:

Board01:



Re: Huanyang VFD controller plugin
« Reply #19 on: April 09, 2010, 03:15:23 PM »
Board02:




Now I downloaded the program that Matty Zee recommended to check and see if the VFD responds.  I also downloaded another program that will let me see how Mach3 and the VFD are attempting to communicate, as the first program required the "professional edition" to do so.  However my knowledge into how to use this effectively and appropriately is very limited.  I do not know what the command line is that I can send to the VFD to get a response etc.   Here is what I see when I load Mach3:


Okay now some more advice would be helpful.  Thanks so much.  Also thankyou Matty Zee for making this plugin I Hope that I will get it working and I hope that my VFD isn't missing parts.