Welcome, Guest. Please login or register.
Did you miss your activation email?
October 21, 2018, 09:30:05 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Finished Plugins for Download
| | | |-+  Huanyang VFD controller plugin
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »   Go Down
Print
Author Topic: Huanyang VFD controller plugin  (Read 403916 times)
0 Members and 1 Guest are viewing this topic.
ennova
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #10 on: April 08, 2010, 11:52:10 PM »

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,
Logged
ennova
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #11 on: April 09, 2010, 12: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
Logged
Matty Zee
Active Member

Offline Offline

Posts: 38


View Profile
« Reply #12 on: April 09, 2010, 02: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/


Logged
mhasting2004
Active Member

Offline Offline

Posts: 135


View Profile
« Reply #13 on: April 09, 2010, 04: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
Logged
michel pet
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #14 on: April 09, 2010, 07: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, 07:20:34 AM by michel pet » Logged
michel pet
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #15 on: April 09, 2010, 10: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.
Logged
michel pet
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #16 on: April 09, 2010, 10: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.
Logged
michel pet
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #17 on: April 09, 2010, 10:14:56 AM »





also look at the jumpers on the usb/rs485.
Logged
ennova
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #18 on: April 09, 2010, 02: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:



Logged
ennova
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #19 on: April 09, 2010, 02: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. 
Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!