
10.2 OPC UA
10 IIoT functionality
There are the following configuration elements:
Element
Data
type
Description
Example data
port
integer
Server port for the OPC UA server.
0, 4840, 0xFFFF
opcua-enable
boolean Master switch for the OPC UA server.
true / false
anon-allowed
boolean If true, anonymous login is allowed.
true / false
commands-allowed
boolean Master switch for OPC UA commands.
If false there will be no writeable OPC
UA objects.
true / false
force-allowed
boolean If true, the device accepts force
commands via OPC UA.
true / false
reset-allowed
boolean If true, the device accepts restart and
factory reset commands via OPC UA.
true / false
config-allowed
boolean If true, the device accepts configuration
changes via OPC UA.
true / false
Table 24: OPC UA Configration
All configuration elements are optional and do not need a specific order.
Not every element is required to be sent. This means that only configuration
changes will be taken over.
Optional: The configuration parameters of OPC UA can be set directly via the
Web interface. It is possible to download the Web interface for sharing with
other devices.
Response:
The resulting response is a JSON object with a "status" field. Status should
be 0 if no error occurred and -1 if there is an error.
In case of an error, the response contains an error array.
The error array contains an error object for each error occurred. The object
consists of a field "Element" which names the config element which caused
the error, and a field "Message" for the error message.
Examples:
{"status": -1, "error": [{"Element": "upcua-enable", "Message": "Boolean
expected"}]}
Manual EtherCAT®
Version 1.1 04/2021
106