Walkerok Posted July 10, 2012 Report Share Posted July 10, 2012 This is not a question, but a issue that has been soved that might be usefull to someone else to avoid pain. V1210 V9.4 Visilogic Windows Vista 32 bit The initial problem was that my communications on com port 2 (my VFD connection) is always perfect with no issues, but as soon as I turn on a VFD (variable Frequency Drive) the communication between the PLC and a computer instantaneously and permanently stops until such time the VFD is stopped (not powered down) and then the communications can be re-established to the PC. I have tested out just about everything I can to make sure that the answer is correct and not accidental. 1) I have an RS485 with termination using Modbus RTU protocol on com port 2, 19200 com speed 8,2,none connected to a FUJI brand VFD 2) I have com 1 at the default 232 connection to go to the computer using a USB to serial adaptor the has been in constant use for 2 years and never had any trouble (cable from “cables to go” the model is 26886) 3) I have tried shielded com wire both grounded and ungrounded. (no help) 4) I have altered the output carrier frequency of the VFD (Higher the carrier frequency on a VFD the more electrical noise is generated) (no help) 5) I have tried with a motor connected and not connected both with and without grounding. (VFD wiring to a motor can act as an brodcast antenna) (no help) The answer is the USB to serial cable that has and does work when no VFD is running is the root cause of the condition. I have other USB to serial converters and have replaced the original with a metal cased USB-COMi-M that was purchased from www.byterunner.com for $59 and when using the different USB to serial adapter everything works smoothly with no issues under all conditions. I have also run direct to a 9 pin serial port with the standard programming cable and all communications are perfect with or without the VFD running. I think I can correctly and safely say that nothing in either the Unitronics hardware or software is to blame for the troubles I have had. It has taken me most of a day to figure this out so I figured I would pass the information on since it might be useful at some point in the future when someone else has a similar problem. Keith 1 Link to comment Share on other sites More sharing options...
Damian Posted July 11, 2012 Report Share Posted July 11, 2012 Keith, Good to know (well, good to be aware anyhow.). Curious, were you using a laptop? If so, were you running off the battery or did you have it plugged in? Link to comment Share on other sites More sharing options...
Walkerok Posted July 11, 2012 Author Report Share Posted July 11, 2012 I was using a Dell Optiplex 755 desktop machine. If I get a chance I will try with my laptop and see if the results are the same (in the sprit of discovery ) Keith Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted July 11, 2012 MVP 2023 Report Share Posted July 11, 2012 The "plugged-in" aspect of the laptop is VERY important. When you're on battery, everything is isolated. When you're plugged in, the negative of the power supply and everything else (including the USB port) is grounded through the neutral and that will often kill communications. Joe T. 2 Link to comment Share on other sites More sharing options...
Walkerok Posted July 16, 2012 Author Report Share Posted July 16, 2012 Well I have finally had a chance to test the same USB to serial converter on my new laptop. Lenovo Thinkpad T420 Windows 7 professional The resultsa re the same except that the Windows 7 OS gives an actual arror message that says "Internal error - retrieving device control bloabk for the port". This causes a hard crash of visilogic also in Windows 7 (both computer are running V9.4 Visilogic). With the power supply plugged unplugged I actually got a blue screen of death when I started the VFD. So I'm not going to retry that again, but I ran the scenario with the power cord plugged in 3 times just to see if it was repeatable. Everything works fine with no issues when using the USB-COMI-M. Well now we know Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted July 17, 2012 MVP 2023 Report Share Posted July 17, 2012 I checked out the byterunner site and followed the links on the driver. This device is using the FTDI chip, as opposed to the Prolific chip we've been selling for years. I also noticed that the Unitronics-supplied USB->Serial converters (MJ10-22-CS35) have just recently changed but I haven't played with one yet. Question for the Creators - are we still promoting the Prolific chip or have we moved to something else? Joe T. Link to comment Share on other sites More sharing options...
Damian Posted July 17, 2012 Report Share Posted July 17, 2012 It sounds as though there are some severe isolation issues with with the hardware. It does not sound like ports1 and ports 2 of the v1210 are isolated. I am curious if you just have a defective piece of hardware, or if this is a problem (like Joe suspects) with that entire line of cables. Link to comment Share on other sites More sharing options...
Walkerok Posted July 17, 2012 Author Report Share Posted July 17, 2012 I have always had periodic disconnects with my older USB converter, but this was always when I was in a field condition on an old laptop. The USB ports were "loose" to say the least (they would wiggle up and down with my fingernail if I pushed on them. So I always figured that that the bad USB ports on the old laptop were the culprit. I got a new laptop a few months ago and the ports are tight and no issues so when I got the disconnect in the field when I was near a VFD I knew something was up, but was unsure as to what. I had to map some information to a VFD so I set up in my office and got all of the issues that this chain has talked about whenever I would ask the VFD to fire the IGBTs and make a motor turn (even if the VFD output was 0.00 Hz). We also program some Rabbit controls here and so we had the two of the Bytrunner products (it is a 232 and 485 to USB converter) and the issues went completely away. I suspect that there may be something physically wrong with my old converter, but if I look back at field history where I have had a heck of a time staying connected I'm actually leaning Joe's way and agree that the different hardware in the Byterunner product is more the answer to the improved results that anything else. Keith Link to comment Share on other sites More sharing options...
Trinitton Posted December 31, 2019 Report Share Posted December 31, 2019 On 7/10/2012 at 11:30 PM, Walkerok said: USB-COMi-M Dear sir, May i get the specification for that metal case converter. Because am getting the same issue what you faced, in MODSCAN32 am getting "invalid response" and "MODBUS message timeout" once after the VFD starts with 0Hz. Thanks, Trinitton Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted December 31, 2019 MVP 2023 Report Share Posted December 31, 2019 That converter is isolated. You'll need something like it. Go to byterunner.com and search for that part number. All the specs are there. Joe T. Link to comment Share on other sites More sharing options...
Trinitton Posted January 6, 2020 Report Share Posted January 6, 2020 am having the converter HEXIN 2108B and will this do the same as USB-COMi-M because nearby shop i can able to find HEXIN 2108B and not USB-COMi-M.. please suggest Link to comment Share on other sites More sharing options...
Trinitton Posted January 6, 2020 Report Share Posted January 6, 2020 On 12/31/2019 at 8:35 AM, Joe Tauser said: That converter is isolated. You'll need something like it. Go to byterunner.com and search for that part number. All the specs are there. Joe T. am having the converter HEXIN 2108B and will this do the same as USB-COMi-M because nearby shop i can able to find HEXIN 2108B and not USB-COMi-M.. please suggest Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted January 6, 2020 MVP 2023 Report Share Posted January 6, 2020 I find no mention of isolation in the HEXIN information. cheers, Aus Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted January 6, 2020 MVP 2023 Report Share Posted January 6, 2020 I use USB to RS485 isolated, work fine. https://www.ebay.com/itm/Industrial-USB-to-RS485-Converter-Magnetically-Isolated-FT232-ADM2587/163780212831?hash=item26220fb85f:g:T8cAAOSw9N1VlBRx Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted January 7, 2020 MVP 2023 Report Share Posted January 7, 2020 Looks like the USB-COMi-M is replaced by this- http://www.vscom.de/usb-com-plus-mini.html 3 hours ago, Ausman said: I find no mention of isolation in the HEXIN information. I don't, either. Whatever you find needs to say "isolated" somewhere. Joe T. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now