Khom Posted July 20, 2021 Report Share Posted July 20, 2021 Hi Everyone! I'm a beginner to the Unitronics PLCs and I currently have V570-57-T20B-J with V200-18-E1B. I have got a used one, and when powering it on, it displays old programs therefore I would like to: 1- Erase old programs to start fresh and, 2- Would appreciate with any help to get me started with linking and communicating the PLC with Visilogic. I assume the miniUSB port is only for the sake of reprogramming and not initialising the PLC with new IP address, what would be used to set an IP? Any help would be much appreciated! Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted July 20, 2021 MVP 2023 Report Share Posted July 20, 2021 4 hours ago, Khom said: 1- Erase old programs to start fresh and, When you install a new program from VisiLogic it will erase the old one automatically. 4 hours ago, Khom said: 2- Would appreciate with any help to get me started with linking and communicating the PLC with Visilogic. Just grab a mini-USB cable and plug it between your PC and PLC. You can install the necessary driver from within VisiLogic. 4 hours ago, Khom said: I assume the miniUSB port is only for the sake of reprogramming and not initialising the PLC with new IP address, what would be used to set an IP? Assuming you have a V200-19-ET2 module installed in the PLC, you can set the IP address either through INFO Mode or by ladder within the PLC program. I heartily recommend reading through the Help file included with VisiLogic. It has most of the information that you seek. Also, there are example projects that came with your VisiLogic installation. Don't worry that many of the examples are for other PLC models as the programming is the same for all. They can be very helpful. Unitronics has many webinars online that will walk you through the basics of programming Unitronics PLCs. Link to comment Share on other sites More sharing options...
Khom Posted July 21, 2021 Author Report Share Posted July 21, 2021 Thank you for the response Flex727, So I have powered up my HMI, connected a mini-USB to my computer and opened VisiLogic with one of the examples and would like to upload into my HMI. In Visilogic: connection > communication & OS > USB Installation > "Install USB driver" , showing the below Link to comment Share on other sites More sharing options...
MVP 2014 Simon Posted July 21, 2021 MVP 2014 Report Share Posted July 21, 2021 Have you tested comms after installing the driver? I know those windows messages look concerning, but I'd just check and see if it's working. Also try unplug/re-plug the USB and/or a restart of the PC To check the comms: Go back to the Connection -> Communication and OS dialog. Select COM3, click Get OPLC Information Link to comment Share on other sites More sharing options...
Khom Posted July 21, 2021 Author Report Share Posted July 21, 2021 Hi Simon, Thank you for your response. Comms connection was alright (I got the model, hardware rev and OS version), but now that I try again I get this error: Link to comment Share on other sites More sharing options...
MVP 2014 Simon Posted July 21, 2021 MVP 2014 Report Share Posted July 21, 2021 Try setting the baud rate to 115,200. That is the default value for the V570. Link to comment Share on other sites More sharing options...
Khom Posted July 21, 2021 Author Report Share Posted July 21, 2021 (edited) I tried 115,200 baud rate and for time out 1 sec and 4 sec. Did not receive any OPLC Info. Could the USB that I'm using be a possible issue with the communication? Edited July 21, 2021 by Khom Link to comment Share on other sites More sharing options...
MVP 2014 Simon Posted July 21, 2021 MVP 2014 Report Share Posted July 21, 2021 Try unplug/re-plug the USB. Also try cycling power to the PLC. Just while you are working with getting started, i would also try any example that is already written for the 570. I see you have a V120 example opened. Link to comment Share on other sites More sharing options...
Khom Posted July 21, 2021 Author Report Share Posted July 21, 2021 Tried all, no luck unfortunately Link to comment Share on other sites More sharing options...
MVP 2014 Simon Posted July 21, 2021 MVP 2014 Report Share Posted July 21, 2021 What is showing on the screen of the HMI? I suggest you contact your local distributor, and Unitronics support. Link to comment Share on other sites More sharing options...
Khom Posted July 21, 2021 Author Report Share Posted July 21, 2021 HMI is displaying the old program from previous project, but at one point when I was able to get Comms connection good, HMI was displaying Unitronics Logo. Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted July 21, 2021 MVP 2023 Report Share Posted July 21, 2021 Your screen shots are showing a V120 as the PLC model. Have you changed the hardware type to a V570? Try downloading this program to it. Joe T. V570 Blank.vlp Link to comment Share on other sites More sharing options...
Khom Posted July 21, 2021 Author Report Share Posted July 21, 2021 (edited) Hi Joe, just tried with the file you have attached, it gave the error in the first picture. I am able to get the OPLC information for a while only when I unplug and replug the power, and after a minute or two, it gives the communication driver error. Second picture is when it detects it in the OPLC information. Edited July 21, 2021 by Khom Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted July 21, 2021 MVP 2023 Report Share Posted July 21, 2021 Once you get the second picture, go to Connection->Download->Download. As far as your communication problem is concerned, that fact that you sometimes punch through tells me the driver is working. I'd try a different USB cable first, and if that doesn't work get a Unitronics USB->Serial Adapter part number MJ10-22-CS35. This will allow you to plug into Port 1 on the side of the PLC which is a more reliable way to talk to it. If you go this way, don't go shopping for a generic USB-Serial converter as they don't work if they don't use the Prolific PL2303 chipset. Plus the Unitronics adapter comes with the RJ12 cable you'll need. I don't know what country you're in but they're not expensive from an actual Unitronics distributor. Edit - It doesn't come with the RJ12 cable. You'll need that too - RS232-CB1. My bad. 19 hours ago, Khom said: I have got a used one There may be an issue with the 570's onboard USB converter. Like cracked solder joints on the connector. Joe T. Link to comment Share on other sites More sharing options...
AlexUT Posted July 21, 2021 Report Share Posted July 21, 2021 Khom, You have to set Timeout to 10 sec. Then check again. Does communication works? Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted July 21, 2021 MVP 2023 Report Share Posted July 21, 2021 Please try to go to info mode and switch PLC to Stop mode. Than try to load JT project. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted July 21, 2021 MVP 2023 Report Share Posted July 21, 2021 Another option, since you previously mentioned Ethernet, would be to obtain the IP settings from INFO Mode and attempt to connect using Ethernet. You may have to make changes, either to the PLC IP or the PC IP to force them to be on the same subnet. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted July 21, 2021 MVP 2023 Report Share Posted July 21, 2021 Khom, did you do the Visilogic install using Run as Administrator? Your issue MAY be related to not doing this properly. Please see this post and do as directed if you didn't install correctly: https://forum.unitronics.com/topic/7917-visilogic-doesnt-work-properly-after-installation-what-install-as-administrator-really-means/ cheers, Aus Link to comment Share on other sites More sharing options...
Khom Posted July 23, 2021 Author Report Share Posted July 23, 2021 Problem solved, thanks everyone. Changed USB cable, did a Factory boot in Working Mode, went to info mode and switched PLC to Stop mode and hence updated the OS and not it works fine! Also to mention, previous program was protected by a password which I had to find out. Thanks everyone again 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