timbercrushers Posted June 28, 2012 Report Share Posted June 28, 2012 I am using a V130 with an Ethernet card added. I have 5 devices and 1 web server I need to communicate with the PLC. Does anyone have a way to double up the sockets, or some other way to get all 6 devices in the 4 sockets? I have tried to CONNECT/CLOSE and this does not work. Link to comment Share on other sites More sharing options...
Damian Posted June 28, 2012 Report Share Posted June 28, 2012 You have to tell us what protocol you are using. You get 4 sockets, that's it. If you want to talk to 6 devices you will need to share a socket or two and do some multi-plexing (opening / closing sockets as fast as you can) Link to comment Share on other sites More sharing options...
timbercrushers Posted June 29, 2012 Author Report Share Posted June 29, 2012 Socket 0 is TCP Port 23 Master, Socket 1 is TCP Port 20256 Slave, Socket 2 is HTTP Port 80, and Socket 3 is TCP Port 2000. I cannot us a CONNECT with Socket 1 because I am expecting data to come at anytime from a remote PC that will send data to upto 167 different Unitronics V130 PLCs. Obviously I cannot us Socket 2 for anything other than my web server. I have tried to have a card reader connect/close on Socket 0 and remote data come in on Socket 1, but it seems to not be port dependant. Link to comment Share on other sites More sharing options...
Emil Posted July 1, 2012 Report Share Posted July 1, 2012 You can perform at any time Socket Init with different settings. This way you can switch communication between devices. It seems you can use Socket 1, which is Master and you can connect/disconnect it to communicate withh diferent devices. Is Socket 3 Master or Slave? If it's Master, you can use it absolutelly the same way - to Connect ot a device, exchange data, disconnect and then connect to the next device. What are the ptorocols used by devices connected to Socket 1 and Socket 3? What are the devices, which in this scheme are remaing not connected? What arethe protocols they are using? Link to comment Share on other sites More sharing options...
Jerther Posted February 1, 2016 Report Share Posted February 1, 2016 Sorry to revive this old thread, but I have to make sure. There is absolutely no way to have more than 4 sockets on the V130, via an addon card or something? I'm already doing multiplexing. Link to comment Share on other sites More sharing options...
s.pratt Posted February 1, 2016 Report Share Posted February 1, 2016 Sorry to revive this old thread, but I have to make sure. There is absolutely no way to have more than 4 sockets on the V130, via an addon card or something? I'm already doing multiplexing. There are only 4 sockets on the V130. The V700 has 8 sockets, and the UniStream can handle dozens of port connections. The V130 will only contain 4 sockets though. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 2, 2016 MVP 2023 Report Share Posted February 2, 2016 I'm using V1210 (also only has 4 sockets) to connect to 12 different remote PLCs using MODBUS TCP using only a single socket. You simply re-initialize the IP Configuration FB with the new IP Address, Re-connect the Socket, perform the communications, Close the Socket, then index to the next PLC and repeat. I allow 2 seconds for the entire process for each PLC to complete. Perhaps it could be performed more quickly, but this has been extremely reliable. Link to comment Share on other sites More sharing options...
Jerther Posted February 2, 2016 Report Share Posted February 2, 2016 The problem is that the additional sockets I need are to be configured as server so another device can reliably connect to the V130 at any time. Multiplexing a server socket would mean that every connection must be short, and that the other device has to "pray the lord" the socket is available. Looks like the V700 is the way to go, thanks! 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