8/30/2017 11:15 AM | |
Posts: 4 Rating:
|
I have been searching around on the forum, and found some answers which helped me get the modbus connection partly working. My project is to control a door system, where an Universal Robots controller is connecting to the logo 8 over modbus (logo 8 as server), and the robot can then set an output to either open the door or close the door, and the logo 8 is then doing the handling of outputs to send the commands to the door controller, and keep an eye on that while it is doing its work. (the part of closing the door is only in my project so far). I then also need some inputs back to the robot, so the logo 8 can report back when the door is closed, open, or if there has been an error. Default all inputs are low, and when the door is opened, that input would go high. So far I have gotten it to react on output 0, and it then handles the relays correctly and that entire cycle works as I want it to, but I got stuck trying to figure out how to set the input so the robot can see the door has been opened. I don't want to use an actual input, but just have it stored in memory, and when the robot reads the input, it will then read what is in the memory to display high or low. The next problem is, I can only get it to react on output 0. In my project I tried to make another input to control Q3, but nothing happens. Can anyone help me to understand how this works, and how to achieve the multiple input and output functions? AttachmentProject.zip (254 Downloads) |
8/30/2017 11:41 AM | |
Joined: 12/18/2014 Last visit: 9/6/2025 Posts: 35928 Rating:
|
If I interpret the second screenshot correctly, then isthe LOGO! the client for the robot and not the server. |
Follow us on