800m TCP server refuses connection
We are kind of stuck in trying to make this work.
- We have an 800m PLC that acts as a server (it will be a client in the end but server is easiest to test)
- It is set up with the following function blocks
[PLS 1 Function Block Diagram]
- With the following configuration
[PLC 2 config]
- In runtime
[PLC 3 runtime]
- After a short duration (seconds) the controller errors
[PLC 4 runtime eerror]
- With the following errors
[PLC 5 errors]
The 800m is connected via ethernet to eth interface of the computer running the builder, obviously we can contact it as we can upload and go online.
It also responds to pings from the host computer. The problem is that if we open a telnet client towards that IP on port 27000 nothing happens.
Is our diagram correct? Is there an error in our configuration? How do we interpret the warnings/errors? Any help appreciated, there is little documentation that helps with the custom TCP modules.
Voted best answer
I'm not sure about the "No Communication" Warning on Ethernet 1, but its only a Warning...
Anyway did you read the manual ? - there must be a "TCPProtocol" HW Unit inserted at Position 0.5.3 - this Part is not visible in your Screenshots...
After that, do you get the IP shown online on the Controller when connecting by Telnet or not?
If you expect some data to be sent, you need to toggle the "Req" Port on the TCPWrite, i guess you know that, and i am not sure it works with a Boolean, so can you once try to connect type "dint" instead?