MattP_Mac Posted March 7, 2017 Report Share Posted March 7, 2017 I am getting the following error when trying to initialize/go online for the first time with my V570. ----------------------------------------------------------------------- "Communication over TCP/IP could not be established due to one of the following reasons: - cable connections are not secure - incorrect TCP/IP settings (IP address, Protocol type, Port number) - the connection is currently being used by another application. " ----------------------------------------------------------------------- Right now the first net in my main routine is checking SB2, following by Set PLC Name, followed by a TCP/IP - Card Init, (setting IP to 192.168.1.10), and then a Socket Init (using socket 1, TCP, port 20256, and client set to server [slave]). In communication and OS I have tried my connection as both TCP/IP (Call) & TCP/IP (Listen), I am using a favorite with the same name and IP as specified above. My local machine IP is set to 192.168.1.253. I am connected directly to the ethernet port on the V570 with the V200-19-ET2 ethernet com port I am trying to "stop-download-reset" to go online and I get the above error consistently. I'm sure this is a basic question but I have watched all the tutorial videos and read the help files and I believe I am doing everything I am supposed to, any advice would be great! Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted March 7, 2017 MVP 2021 Report Share Posted March 7, 2017 To go online for the first time you will need to connect via serial or USB. After the program is downloaded and the ethernet parameters are set within the PLC, then you can connect via ethernet. Also, Socket 1 defaults to Port 20256 and Slave, so you don't need the Socket Init for this (though it doesn't hurt). It is possible to set up the ethernet via INFO Mode, if that's absolutely necessary. Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 7, 2017 Report Share Posted March 7, 2017 Hi MattP_Mac, 1.Make ping from your PC to PLC IP. Does PLC answers? 2.Open DOS prompt at your PC and enter "telnet 192.168.1.10 20256". DOS display will blink, clean and stay black. Is this what you see? 3.Enter PLC info mode and check Socket 1 status. Is it connected? Share test results. B.R. 1 Quote Link to comment Share on other sites More sharing options...
MattP_Mac Posted March 7, 2017 Author Report Share Posted March 7, 2017 See attached command line results. From INFO Mode: Ethernet Parameters: IP Address: 0.0.0.0; Mask 255.0.0.0; Gateway: 10.254.254.254 Socket Status: Socket 0: 20256: TCP Slave: Initialized and Not Connected Socket 1: 502: TCP Slave: Initialized and Not Connected Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted March 7, 2017 MVP 2021 Report Share Posted March 7, 2017 MattP, INFO Mode is telling you that the IP address is 0.0.0.0. You will not be able to connect to 192.168.1.10 if it doesn't yet exist. You either need to update the IP Address in INFO Mode or download your program via serial or USB first. Quote Link to comment Share on other sites More sharing options...
MattP_Mac Posted March 7, 2017 Author Report Share Posted March 7, 2017 Thanks, I have since entered the IP, subnet mask and gateway using INFO mode. I am now unable to connect due to an incorrect PLC name. I can successfully ping the PLC now. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted March 7, 2017 MVP 2021 Report Share Posted March 7, 2017 You can look up the PLC Name in INFO Mode and use that temporarily. You can set the name you prefer in a PLC Name FB, but it won't take effect until the program is downloaded and the PLC is Reset. Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 7, 2017 Report Share Posted March 7, 2017 Hi, Such mess with an IP settings. To eliminate this, always do SOCKET INIT. Then you will have much less problems. B.R. Quote Link to comment Share on other sites More sharing options...
MattP_Mac Posted March 7, 2017 Author Report Share Posted March 7, 2017 Thanks for all the help - the issue is resolved and I am successfully online. Now for the real fun to begin. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted March 7, 2017 MVP 2021 Report Share Posted March 7, 2017 Just for clarity, Socket Initialization is not the issue here. MattP is trying to perform the first download of his program into a new PLC. Normally, this should be done via serial or USB, which is why Unitronics includes a USB cable in the box. If absolutely necessary to connect via ethernet for the first time, the user must set the IP parameters in INFO Mode and look up the PLC Name. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted March 7, 2017 MVP 2021 Report Share Posted March 7, 2017 3 minutes ago, MattP_Mac said: Now for the real fun to begin. I think you'll find that VisiLogic is a joy to work with compared to other PLC software. Let us know if you encounter any other problems. 1 Quote Link to comment Share on other sites More sharing options...
rft Posted November 13, 2018 Report Share Posted November 13, 2018 Hello I have a similar problem. I get the same error message (210). I tried ping in the command prompt and this seems to be OK (same respons as in the tutorial made by unitronics). I also went to info mode, the IP addresses are all correct (uploaded via serial) but socket 1 is initialized & not connected. In ladder I removed the socket initializer, but that did not change a thing. I am using a SM43-J-R20. Can anyone help me out? Thanks in advance. RFT Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted November 13, 2018 MVP 2021 Report Share Posted November 13, 2018 Post your program and someone will take a look. Also, please provide the Ethernet settings of the computer you're trying to connect with. Quote Link to comment Share on other sites More sharing options...
rft Posted November 13, 2018 Report Share Posted November 13, 2018 1 hour ago, Flex727 said: Post your program and someone will take a look. Also, please provide the Ethernet settings of the computer you're trying to connect with. Thank you for your quick response. I have had contact with the technical support and possibly the problem is that I do not have the permission to make this connection (a network blocker could be the issue and I have no administration rights). I will check this and hope this will fix my problem. RFT Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted November 13, 2018 MVP 2021 Report Share Posted November 13, 2018 Sounds plausible. Good luck! Quote Link to comment Share on other sites More sharing options...
jfinn Posted July 16, 2019 Report Share Posted July 16, 2019 Hello, I also have an ethernet comms issue. I can enter an IP address of 192.168.1.4 in info mode. My project settings are 192.168.1.4. My card init parameters are 192.168.1.4. However, when power is cycled on the plc the ip address defaults to 127.0.0.1. Any ideas as to why this would be happening? Regards, jfinn Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted July 16, 2019 MVP 2021 Report Share Posted July 16, 2019 Please don't duplicate post. This forum is staffed by volunteers, not Unitronics employees for the most part and is moderated. It can sometimes take a few hours for someone to approve the post as we also have real lives and jobs away from this forum. You, appropriately created a new topic and have a couple of responses there already - let's keep the responses there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.