In this video I show you how to build a simple OPC UA Server and Client using Python opcua from freeopcua. You want to support my work? You can buy me a coffee here: www.buymeacoffee.com/johannes...
Hi Johannes, thanks for your videos. I would like to know how you started the server and the client separately. Did you simply use two terminals? I'm using git bash, but when starting the client, it executes my code and then stops working... Thanks!
Hi.. Very interesting video. I enjoyed it! I am trying to run a model predictive control (MPC) algorithm on Python. But I need to run the server and client in the same shell. Do you think its possible to: 1. Connect to a Simulated plant I used Prosyopc simulated OPCUA server (free by the way for testing) and set up client connection in Python. My values are dynamic and random. 2. Take those values and calculate Outputs. 3. Create a OPC UA Server... Then serve the output to say a HMI, where the PLC can then read the values. I seem to be doing something wrong and I get the error: Bind:Address Already in Use Cheers, I look forward to yours response.