Tech Posted November 30, 2018 Report Share Posted November 30, 2018 Dear sir, I'm trying to communicate tcp/ip (Valves)with v700 unitronics.but communication not yet done pls provide solution to resolve.I have attached ladder for your ref Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted November 30, 2018 MVP 2022 Report Share Posted November 30, 2018 We need to see inside those function blocks to provide any meaningful help. Post your .vlp file. Alternatively, you can review the example projects that came with your VisiLogic installation. They show the proper way to set up MODBUS TCP communications. 1 Quote Link to comment Share on other sites More sharing options...
Tech Posted December 1, 2018 Author Report Share Posted December 1, 2018 Dear sir, I have attached my sample tcp/ip program. For your reference.I'm trying to connect three different ip in one master V570.Kindly check and provide solution for that.Thak you for your earlier replay. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted December 1, 2018 MVP 2022 Report Share Posted December 1, 2018 1 hour ago, Tech said: I have attached my sample tcp/ip program. I see nothing attached. Quote Link to comment Share on other sites More sharing options...
Tech Posted December 1, 2018 Author Report Share Posted December 1, 2018 sorry sir by mistake i dint attached.here i attached sample 1040 tcpip.vlp Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted December 2, 2018 MVP 2022 Report Share Posted December 2, 2018 In net 2 you have Socket 0 Connect four times to different IP addresses. You can't do this - the socket can only connect to one at a time. And you have to close the socket each time. You should also use a positive transitional for this, as the Socket won't talk while it's Connecting. It looks like want to talk to the valves every 5 seconds. You also don't have a coil for MB 435 Socket 0 Close. You may need a short delay (0.1 s) before switching IP addresses to another valve to let the Modbus finish. I put this into one of my State Machines as this is what I do for fun on a Saturday night and this is a good example for other users. The pointer / Equal block method allows more control. I did this in VisiLogic 9.8.79. Let us know if it works. Joe T. sample1040tcpip JT.vlp 1 Quote Link to comment Share on other sites More sharing options...
Tech Posted December 2, 2018 Author Report Share Posted December 2, 2018 Thks a lot Joe...I just now download this program and sucessfully got communicate with 3 different Ip Device. So what here happn in 5 sec only device will ON after its getting cummunication got fail.it will repeat again and again how can I hold my communication permanent. Quote Link to comment Share on other sites More sharing options...
Tech Posted December 2, 2018 Author Report Share Posted December 2, 2018 I connected 3 different Ip Device which has 24 valves individual valve.....fyi Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted December 3, 2018 MVP 2022 Report Share Posted December 3, 2018 On 12/2/2018 at 6:22 AM, Tech said: So what here happn in 5 sec only device will ON after its getting cummunication got fail.it will repeat again and again I'm not understanding what you're saying here. Joe T. 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.