Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Known Bugs
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 11:21:26 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
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
»
Go Down
« previous
next »
Author
Topic: Huanyang VFD controller plugin (Read 27652 times)
0 Members and 1 Guest are viewing this topic.
mhasting2004
Active Member
Offline
Posts: 135
Re: Huanyang VFD controller plugin
«
Reply #20 on:
April 09, 2010, 04:18:15 PM »
Hi Ennova
Everything looks ok so I'd check two more things:
1. The Maxxim chip on the USB converter board looks slightly out of its socket and
2. Check the fuse on that board with a voltmeter
Having said that you have the same problem on both setups so that does point to some common setting somewhere.
Hmmm.. i'll have to tink some more.
BTW as these signals (RS485) are differential ones you should twist your cables at least 2-3 turns per inch to help with noise immunity.
Cheers
Mark
PS make sure that the huanyang pluging has a green tick next to it as suggested by Michel pet
Logged
Matty Zee
Active Member
Offline
Posts: 38
Re: Huanyang VFD controller plugin
«
Reply #21 on:
April 09, 2010, 07:14:50 PM »
Good work Ennova. Looks like the USB-RS485 Converters are working fine(EDIT) Maybe its not working, i can't see if they are sent or recevied messages. Try the following anyway (EDIT). I can see messages in the screen dump you provided. Now to make things clearer for debugging, un-check the speed the current tick boxes. This should get rid of all of the 'polling' .i.e the constant stream of messages. Now you should only see messages appear when you click start and stop or change the spindle speed. Can you provide a screen dump with a few of these messages. for example, after you have turned off the other messages, clear the serial monitor window, click 'Spindle ON' button and see what messages appear in the serial monitor. Post that screen dump.
«
Last Edit: April 09, 2010, 07:17:12 PM by Matty Zee
»
Logged
ennova
Active Member
Offline
Posts: 6
Re: Huanyang VFD controller plugin
«
Reply #22 on:
April 09, 2010, 09:02:14 PM »
Here you are Matty Zee, thanks for your time:
Also I attached a .xls file that contains all the 167 lines from simply pressing the "start" spindle button.
test.xls
(9.07 KB - downloaded 66 times.)
Logged
Matty Zee
Active Member
Offline
Posts: 38
Re: Huanyang VFD controller plugin
«
Reply #23 on:
April 09, 2010, 11:19:49 PM »
Ok, seems the Plugin is configured correctly as it is outputting messages but the there is no reply from the VFD. You can see the first message (02 05...CD BD set speed) being repeated 6 times, then the next message (02 03...31 CC start spindle) repeated six times, then the plugin sending a stop command as no reply had been recieved for the first two.
Double check you correctly set the VFD address on the VFD to match the plugin. I can't seeing anything else wrong with your other VFD regsiter settings.
Logged
Matty Zee
Active Member
Offline
Posts: 38
Re: Huanyang VFD controller plugin
«
Reply #24 on:
April 09, 2010, 11:28:55 PM »
I thing i just noticed and i have no idea if it makes a differece. Your adapter similat to mine is the G version, mine is the F version. I wonder if this affects the ADDC TopNotch mentioned. I haven't heard back from him in a while.
http://www.hexin-technology.com/USB_to_Serial_Converters-Subcatalog-84.html
Try your other one that Michel has working. Mut as Mark suggested check that Maxim chip is pressed into the socket properly.
Logged
Matty Zee
Active Member
Offline
Posts: 38
Re: Huanyang VFD controller plugin
«
Reply #25 on:
April 09, 2010, 11:29:28 PM »
Michel, have you got your RPM speed correct now?
Logged
mhasting2004
Active Member
Offline
Posts: 135
Re: Huanyang VFD controller plugin
«
Reply #26 on:
April 10, 2010, 05:12:22 AM »
Couple more thoughts...
Ennova , I'm not sure with the Hexin unit how you specify rs485 as opposed to rs422 (they are different) and maybe the F version which is rs485 only would work better. I have the same adapter as Michel (your other one ) and am curious how your grounding is set up as maybe there is no common ground referance between your VFD and the RS485 board and its power supply. This may cause issues.
Here's a crazy idea... wire the 2 converters together ie usb to rs485 then rs485 back to usb to check if both converters are working without having to deal with the VFD for the moment. This will at least let you know they are working correctly or not.
cheers
Mark
Logged
Lapin
Active Member
Offline
Posts: 2
Re: Huanyang VFD controller plugin
«
Reply #27 on:
April 10, 2010, 11:02:07 AM »
Hi everyone.
I have also had a bunch of problems with getting this to work. but finally i got the plugin to read from vfd both PD001 and 002 says "2" and that shows that the vfd are communicating with mach.
The problem i have now is that nothing happens when i press start spindle button. anyone got the same problem? or is it just something in mach i need to change? (relay is off)
I have the same usb adapter as matty zee, but the G version.
Logged
Matty Zee
Active Member
Offline
Posts: 38
Re: Huanyang VFD controller plugin
«
Reply #28 on:
April 10, 2010, 05:59:14 PM »
Can you download the serial monitor program and provide some screen dumnps like Ennova? this will show what is happending with the VFD comms.
Also, silly question, but have you set the spindle speed to something reasonable like 12000? (i.e. its not set to 0 is it?)
Logged
ennova
Active Member
Offline
Posts: 6
Re: Huanyang VFD controller plugin
«
Reply #29 on:
April 10, 2010, 11:52:59 PM »
As far as I can tell the plugin is working as it should and the USB converters seem to be working as well. So problem lies with the communication with the VFD. Could anything like an "antivirus" or any other windows program block communication with the USB serial port? How can I tell which version of the VFD I have? I am wondering if they changed something in-between revisions. Maybe they listened and made it Modbus compliant.(yeah right) In all probability something is probably wrong with my VFD or there is some other problem that I can't figure out.
I tried grounding the breakout board to the same ground I have my VFD grounded to. Same effect. While I was testing things with a multi-meter I noticed that if I touch the screw leads for A and B with my negative and positive test leads then I get continuity, but not the other way around(found out later). So there appears to be a diode connection them. Not that this is really helpful, but I thought I'd share as it freaked me out for a minute. I thought I had a short in my wires somewhere.
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
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP motion controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
Loading...