Agenda
- Request rPLC's Coupler instance on the coupler
- Adjust security
- Test that coupler software instance works
Requirements
Goal
This how to explains how to setup a generic OPC-UA capable Coupler using SlapOS which you can use in automation projects.
Request rPLC's Coupler instance on the coupler
Please use following tutorial to request a new coupler software instance. Please use any title for "<YOUR-INSTANE-TITLE>" but make sure that your instance is allocated to the computer which represents the real physical coupler!
Adjust security
Note: this step is needed to be done only once at every coupler instance.
You need to allow respective slapuserX access to I2C linux security group. This is not yet automated by SlapOS. Please issue following command (adjust for your slapuserX) as seen in image.

Test that coupler software instance works
The rPLc coupler itself is an OPC-UA server which anyone can access over IPv4 (or IPv6). Usually any OPC-UA enabled client can be used. Below you can see an image using UaExperts client.

An easy test is setting "I2C0 Relay 0" from 0 to 1. This will switch on the relay 0 on the attached to coupler board's relay 0. In addition to relay fields, the coupler application exposes both 4 digital and 4 analog inputs as they can be seen above. To them different sensors and actuators can be attached and exposed to any OPC UA client control process application.