Hello Guest it is May 15, 2024, 06:30:41 AM

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 - cncman172

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
171
Finished Plugins for Download / Re: Huanyang VFD controller plugin
« on: February 12, 2011, 10:41:07 AM »
VFD Update: Well I spent two hour reading the 20 pages in this topic yet again, looking for some grain in data that I might have overlooked on how to establish communcations with the VFD.

I am using the 3KW VFD and Spindle which I purchased probably close to two years ago.  It works on the bench fine and just got busy with other projects so it never got installed on the mill.

I am using a USB to RS485 converter which uses the Prolific PL-2303HX chip, just like the one with photos and details at this link.

http://cgi.ebay.com/USB-RS-485-Converter-Adapter-RS485-New-17-/180612321384?pt=LH_DefaultDomain_0&hash=item2a0d555068

My cable between the converter and the VFD is connected in the following manner:
VFD RS-  >>> T+/B (DB9-2) and VFD RS+ >>> T-/A (DB9-1)
I have tried ground, no ground, and no difference.   One note when I measure the voltage on the TI 75176B differential chip on the VFD it measure 5VDC as expected, if I measure VCC to DCM on the VFD which is suppose to be DC Common I only get about 3.4VDC with respect to Pin 8  (vcc) of the 75176B chip.  However, if you measure between V0 and Pin 8 you get the full 5VDC.  DCM is not really the common DC side with respect to the IC's on the upper VFD pc board. Anyway I tried to use the V0 ground as a reference back to the PC usb RS485 converter again the same responses.

At this point I am not sure if the USB to RS485 converter I am using has been successfully used to control the VFD.  Hope this info helps someone else or highligths something that someone else has noticed that might point me to a solution.  I might blow another $30 on a different USB to RS485 converter.

I did noticed after reading these 20 pages of posts several times that Bryan "Bolingerbe" had the exact same issue and responces from his VFD but he disappeared and had not posted in a long time.  I know he was also frustrated and talked about get a different VFD fully modbus compliant.  I hate to go that route until this one dies because I already spent the money. 

Comments or Suggestions are welcome.  Thanks

Russ


172
Finished Plugins for Download / Re: Huanyang VFD controller plugin
« on: February 12, 2011, 08:56:02 AM »
Phil,

Hope your weather down under is better than we are having it up North.  It has been well below freezing for weeks, we are ready for spring.  LOL

OK, I did some more testing after reading your post and went back and read the other post "again" that you suggeted.  The only thing he did was change the VFD to #2

Well here are my results from both attempts:

VFD#1                                            VFD#2
request: 01 01 02 01 00 B8 6C           02 01 02 01 00 FC 6C
answer: 7F 8F BF                               BF FB FD
request: 01 01 02 00 B8 9C                02 01 02 02 00 FC 9C
answer: 7F 7F BF                               BF FB FB

Changing the VFD address in both places did change the output coming back from the VFD and looking at the data closely it almost seems like it is inverted.

BF FD in binary is 11011111 1111101 so if we invert it we get 00100000 00000010 and back to HEX is 20,02

I had a very lold Tektronics 338 logic analyzer which has not been used in probably 20 years and I could not find the user manual but was going to use it to read the output and input on the Texas Instrument 75176B the differential bus transceiver.
Pin 1 on the device is "R" the data coming from the PC in digital form, and pin 4 is "D" the data being send from the VFD back to the PC.  If I can get the logic analyzer or scope to capture this data at least I would know what the VFD is seeing and sending in digital format.  If this was correct then it could have something to do with the converter but right now I don't know.  I tried to play with the logic analyzer for an hour last night and started searching for a manual online to no avail.

More testing planned for today.  This has been very painful process.

Russ



173
Finished Plugins for Download / Re: Huanyang VFD controller plugin
« on: February 11, 2011, 01:41:31 PM »
Another Update!

When I put an HP digital scope on the line leaving the USB to RS485 converter and tell the MACH3 plugin to bring up the plugin dialog box you can see two data requests fly across the link.  I checked both sideds of the line and they look good.  Seems like the data is getting to the VFD.  The VFD responds immediately two the two answers.  Not sure why it is not sending good data back.

I also opened the VFD to see if I had other missing components like so many have shared on the forum.  Well the only thing I see missing was one relay down near the connector with the screw terminals.  There is a spot for two relays I have one populated, which is  labeled as a JZC-33F 3A 30VDC.  Three contact pins C, NO, NC.  I saw several pictures on the forum of the boards inside the VFD.  The relay populated in mine is the relay near the outer edge of the board.  On other photos I see they populated the relay closer to the screw terminal strip.  Wow looks like a good deal of hand soldering took place inside the unit.  Clearly some design issues they added several capacitors after the fact which have not standard pads on the board.  They just soldered them between two other components.  I work in manufacturing and these boards would never pass our QA and we have boards built in China, Thailand, and Mexico.  Wow pretty surprising.

More testing is planned over the weekend, it would be great to get this thing to start talking to MACH.  :)

Comments, Suggestions, Welcome.  :)

Russ

174
Finished Plugins for Download / Re: Huanyang VFD controller plugin
« on: February 11, 2011, 11:22:28 AM »
Phil,

I plan to hook up a scope to see if the data is actually getting to the VFD.  Something seems to be going there because I am getting some kind of response.  I read from other others when you see 7F 7F BF as a response that is almost all 1's which usually indicates noise.  I have take so many steps to eliminate noise that seems strange.  The low voltage levels seem very strange to me, but if someone had one working that would be useful information.  I will hook up a scope this afternoon and see if I can actually see a data package actually getting to the VFD.  I might also open my VFD and look for other missing components.  I know that one relay near the terminal side of the board is missing and read about all kinds of other saying the MAXIM RS485 chip was missing.  Just unbelievable these guys ship this stuff with the missing parts.

I would also like someone to confirm the VFD should be flashing the "00000" the forward LED, and the ROTT led is on.  This might be normal but no one else has responded so I am pretty much in the dark.  Thanks for at least responding.  LOL

Russ

175
Finished Plugins for Download / Re: Huanyang VFD controller plugin
« on: February 11, 2011, 10:50:28 AM »
Just a follow up note with a little more information.
I tried to put 120 ohm resistors across both ends of the RS485, which made no difference at all.

When I populated the Huanyang plugin dialog box and hit ok it disappears, so i do it again to see if the PD001 and PD002 have changed from 99 to 2, but no such luck.  I am not sure that is the correct procedure.

Using the serial monitor program you can see the plugin sends out two strings and gets two responses.

Request: 01 01 02 01 00 B8 6C
Answer: 7F 7F BF

Request: 01 01 02 02 00 B8 9C
Answer: 7F 7F BF

I also read up on RS485 attempting to understand potential problems.  When I attempt to measure the voltage on the RS485 with respect to ground they are extremely low.  One is maybe 0.35V and the other might be -0.24V, which seems to be under the minmums listed for RS485. 

Any recommendations guys?  Thanks

Russ

176
Finished Plugins for Download / Huanyang VFD controller plugin challenges
« on: February 10, 2011, 10:29:08 PM »
I finally got around to testing this plug in on my Huanyang 3KW VFD.  Well after four hours I have not been able to get it to communicate properly.

Symptoms.

The VFD is programmed as follows:

PD001 = 2
PD002 = 2
PD163 = 1
PD164 = 1
PD165 = 3

Using the Chinese USB to RS485 that Mark and many others have successfully got working, setup as COM2 using 9600 N81

The plugin loads fine and I have NET3.5 loaded as well.  Plugin is activated and when I fopen the plug in setting and set it to COM2 9600 VFD 1 I never get the two parameters to populate like many others. I setup a serial monitor and can see the commands go to the VFD and it responds immediately with7F 7F BF to both requests.  Another symptom when I setup the VFD after power on the display flashes all "0000" the Power light is on and the forward light flashes and the ROTT light is ON. I have a shielded cable to the VFD for control linkage and the VFD and spindle are 7 feet from the MACH3 computer.  I even installed and EMI filter on the power input to the VFD, none of this made any difference at all.

Any suggestions as I am scratching my head.  I am usually pretty good at troubleshooting these issues but not this time.  The VFD and SPINDLE work perfect if I program the VFD for operator panel interface.  The RS485 does not respond at all if I reverse the leads going to the RS485 unit.  Thanks

Russ



177
PoKeys / Re: Pokey55 and MPG issues
« on: January 11, 2011, 03:43:21 PM »
Jak,

When you get your updated board from Artuero can you post if it all works correctly now?  In particular I am interested in the lag mentioned by others.  The Pokey seems like a nice way to implement a pendant but if it lags and looses communciations I might have to go to TCP modbus implementation.  Thanks

CNCMAN172
 :D

178
Show"N"Tell ( Your Machines) / Re: ModIO Yaskawa Pendant Project.
« on: January 11, 2011, 02:04:34 PM »
Peter,

Did you ever finish the project with the Yaskawa pendant?  I actually started down this path myself and got side tracked so many times it never happened.  I had my design and had completely reverse engineered the original boards and built schematic and a virus wiped out my entire hard disk.  That put the project way on the back burner. ha ha

Anyway I have followed the modbus discussion for years and was in the process of building another pendant when I ran across this very old posting.

Love how stuff on the forums lasts forever.  :)

Russ

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18