Dmitiry Posted October 13, 2016 Report Share Posted October 13, 2016 I'm using two PLC - V1040 and V570. This PLC is connected between (by socket 0 - UDP, port 20000). It's work normally by modbusIP, but if I connecting to the V1040 by remoteAccess, connection between PLC is breaking. For connection from PC to PLC I using Socket 1 - TCP, port 20256. Is it normal? P.s. Please sorry for my English. Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted October 13, 2016 MVP 2023 Report Share Posted October 13, 2016 No, it is not normal for Socket 1 not to work on 20256. By default, this socket is initialized as a slave and you don't have to do anything. Did you happen to put a Socket Init in your program for Socket 1? If not, please elaborate on "breaking". Joe T. Link to comment Share on other sites More sharing options...
Dmitiry Posted October 17, 2016 Author Report Share Posted October 17, 2016 I am initialized both sockets. I need use it together. Socket 1 is TCP - port 20256 - Master. But if I connect to the TCP - Socket 0 is not work, while I connected to Socket 1. Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted October 18, 2016 MVP 2023 Report Share Posted October 18, 2016 Post your code. Joe T. Link to comment Share on other sites More sharing options...
Dmitiry Posted November 2, 2016 Author Report Share Posted November 2, 2016 Sorry for long answer. Here is the code of initialization and connection between controllers. 570.vlp 1040.vlp Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted November 2, 2016 MVP 2023 Report Share Posted November 2, 2016 Take the Socket Init blocks out of both programs. I don't think you need them. 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