Arnor Posted December 21, 2017 Report Share Posted December 21, 2017 Hi! My name is Arnor and I am from Iceland I am trying to establish connection between two Vision PLC's. I have the master: V700 and V350 as slave. I can use SCADA pc software to connect to the slave and read the data. But I am not able to read data from slave to V700. I added both programs to google drive folder (sorry, the programs was to large, and its a bit mesh): https://drive.google.com/open?id=1yL1h1ZvJomBeoY7v22UvHVeY09T4ooAC I am using also Serial modbus on both sides that works well. The PLC are set up like this: V700: 192.168.1.20 V350: 192.168.1.30 Any idea what I am doing wrong? cheers! Quote Link to comment Share on other sites More sharing options...
Isakovic Posted December 25, 2017 Report Share Posted December 25, 2017 I had a quick look, maybe I could give a few suggestions. - Use Scan_Ex block and separate all those functions into separate blocks (one net for config, one for scan etc.) - You are calling connect block after every Modbus operation, maybe try calling it via transition contact only when Socket that you use is not connected. Tell us back how it goes. 1 Quote Link to comment Share on other sites More sharing options...
Arnor Posted December 26, 2017 Author Report Share Posted December 26, 2017 Thank you very much. I separated all the blocks like you said and it started working! Cheers! 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.