Jump to content

Communication over TCP/IP could not be established


Recommended Posts

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!

Link to comment
Share on other sites

  • MVP 2023

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.

Link to comment
Share on other sites

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.

 

  • Like 1
Link to comment
Share on other sites

  • MVP 2023

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.

Link to comment
Share on other sites

  • 1 year later...

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 8 months later...

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

Link to comment
Share on other sites

  • MVP 2023

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...