The following example describes the creation of a simple operator app with OPC-UA communication. The example app consists of a view displaying the current temperature and an input field for entering the limit value.
The operator app is created using the Unified-E App Designer via drag & drop. Programming knowledge is not required for app development. Your app will automatically run on Android, iOS and Windows devices.
Next, specify which endpoints or datapoints (e.g., PLC variables, SQL queries) the operator app should communicate with.
Now that the datapoints are defined, switch back to the view editor to configure the views of the operator app.
The created app can be tested directly on the App Designer PC without an operator device. During the app test, simulated values or values from a real endpoint with endpoint connection can be used. The current values of the datapoints are displayed under Endpoint_1.
If the operator app communicates directly with the endpoints without a gateway, the App Manager is not needed. You can proceed directly with step 3.
For gateway communication, the Unified-E App Manager program must first be downloaded and installed on the PC located in production or at the machine. This turns the PC in production into a gateway and acts as a link between the endpoints and operator devices. All endpoints must therefore be reachable from the gateway PC.
The quickest way to get to the trial license is as follows:
After creating the operator app in Step 1 and setting up the gateway PC in Step 2 (only necessary if communication is to take place via the gateway PC), an app package must be created and published from the operator app in the App Designer. This app package is then installed on the operator device (e.g. Windows computer, smartphone). When publishing the app package, it is important to distinguish whether the operator app will later communicate indirectly via the gateway or directly with the endpoints.
If the App Manager is installed on a remote PC, a publishing remotely would be carried out by entering the gateway license and the app name, as illustrated here:
To operate the created operator app, it must be embedded in a Unified-E App Client from the app stores (or for Windows from the download area). The Unified-E App Client must first be installed on the operator device (e.g. Windows computer, smartphone) and serves as a kind of operator app container.
For this, the App Manager and the Unified-E App Client are required. In the App Manager, an authorized user (administrator) must first start the registration process for the operator app. Then, the operator app is registered on the smartphone by scanning a registration code.
In this example, the OPC-UA server must be directly accessible from the operator device (e.g. Windows computer, smartphone) via WLAN to enable direct communication between the operator device and the OPC-UA endpoint.
There are several ways to register the operator app.
Option 1:
Register app package via URL in the "Unified-E" app
Option 2:
The app package is sent via email to the smartphone (for iOS & Android). In this case, open the email attachment (.uea file) with the "Unified-E" app. After assigning a new app name, the operator app is registered.
The registered operator app can now be started from the start view of the "Unified-E" app.
The view configured in step 1 will appear.