A webserver(coded in HTML5 with Javascript backend) hosting a HMI simulating the controll systems of a ship. It showcases the use of OpenBridge elements with Wago applications. http://www.openbridge.no/.
The webserver is available on the application's IP through port 9999
docker run -d --restart always -p 9999:9999 --name hmi wagonorge/openbridgehmi
Setup (changing/confirming OPCUA URL and application ID).
Access the container
docker exec -ti hmi /bin/sh
Access the OPC-client javascript (opc.js).
vi opc.js
Make sure "endpointUrl" matches the URL of the OPCUA-server. E.g.:
var endpointUrl = "opc.tcp://192.168.10.17:4840";
Make sure "opcuaAppID" matches the OPCUA Ctr Configuration Name (found in the application's Web Based Managment. Fieldbus -> OPCUA -> Configuration). E.g.: