Quick start
To start, create or open a TwinCAT HMI project.
Installation
Install the NuGet package "Beckhoff.TwinCAT.HMI.OpcUa" via the NuGet Package Manager.
Configuration of the OpcUa extension
- 1. Open the server configuration page
- 2. Go to the TcHmiOpcUa tab
- 3. Click on namespaces to open the submenu.
- 4. Click Add to create a new connection and enter the following values:
Name: Name and namespace of the connection
endpoint: OPC UA address to which a connection is to be established
security settings: Select a profile from the security settings area.
Advanced settings: Select a profile from the advanced settings area.
Connection settings: Select a profile from the Connection settings section.
- The connection you have configured is available. The new symbols can be read via the server. To do this, you can map directly via the server or the configuration window within Visual Studio.