You want to exchange data using the OPC-UA protocol and wonder if this is possible and how?
...
This protocol is based on the client/server principle. An OPC server is a piece of software that is tailored to one or more PLC/machine manufacturers. For example, you have a server running on your Revolution Pi (PLC) to collect and send Data to a client. For this simple example, we have a server and a client. Our server is a Python program that generates data from a pressure and temperature sensor and the time of each change in value.
Instructions
Install OPCUAOPC-UA
install UAExpert client
copy server.py into a directory on the target device and adapt it
Implementation
Install OPCUA OPC-UA and some dependencies on your RevPi
...
2. Download and install UaExpert client and configure it.
Here you must enter the Entpoint Endpoint URL like as shown on in the video below.
Enter opc.tcp://<your revpi-Ipaddress>. For example, enter opc.tcp://192.168.1.xxx when your RevPi address is 192.168.1.xxx and select the authentication Settings (Username, Password) for security reasons.
...
You can copy it to your RevPi device like sohttps://kunbus-gmbh.atlassian.net/plugins/servlet/servicedesk/customer/confluence/shim/spaces/KS/pages/350683137 i.e., to /home/pi/
Info |
---|
You must adapt the Endpoint Url URL on your Server running on your RevPi. |
...