RUTX11 OPC UA

Wiki mirrorView source
The information in this page is updated in accordance with firmware version RUTX_R_00.07.22.1.

OPC UA Client

OPC Unified Architecture (OPC UA) is a cross-platform, open-source, IEC62541 standard for data exchange from sensors to cloud applications developed by the OPC Foundation. The UA in OPC UA stands for “Unified Architecture” and refers to the latest specification of the standard. It differs from its predecessor in that it is platform-independent, moving away from COM/DCOM to purely binary TCP/IP or alternatively SOAP.
This manual page provides an overview of the OPC UA Client functionality in RUTX11 devices.
Note: OPC UA Client is additional software that can be installed from the System → Package Manager page.

General status

This section displays OPC UA Client general status information.

OPC UA Servers

The OPC Server is the basis of OPC communication. It is a software that implements the OPC standard and thus provides the standardized OPC interfaces to the outside world.
Notice the Global section config. It is used to outright turn the service off or on if any active configurations are present.
Clicking the Cog icon opens a modal window. The global configuration slider can be set and it's state saved.
To add a new server, enter an instance name and click the 'Add' button.
Note: A maximum of 10 servers is allowed.
After clicking 'Add' you will be redirected to the newly added server's configuration page.

OPC UA Server Configuration

The OPC UA Server Configuration section is used to configure the parameters of an OPC UA Server.
FieldValueDescription
Enableoff | on; default: offEnables specific OPC UA server instance.
Namestring; default: noneName of the server, used for management purposes only.
URLurl; default: noneSpecifies OPC UA endpoint URL.
Timeoutinteger [10..3600000]; default: 5000Specifies server timeout in ms.
IdentityAnonymous | Credentials  ; default: AnonymousSpecifies client identity.
Usernamestring ; default: emptySpecifies client username.
Passwordstring; default: emptySpecifies client password.
Security modeNone | Sign | Sign & encrypt; default: NoneOPC UA security mode.
Application URIstring; default: emptyShould match SubjectAlternativeName in client certificate.
Certificate.ca file; default: noneClient certificate.
Key.key file; default: noneClient key.
TCLfile; default: noneTrusted certificate list. A TCL is a list of hashes of certificates or a list of file names.

OPC UA Server Nodes

A node is the basic unit of data in the OPC UA address space, which provides a standard way for OPC UA servers to represent objects to OPC UA clients. Nodes are pieces of information (for example, a unique temperature) and consist of attributes, the actual data value, and one or more references to other nodes, each in its own address space. A unique temperature will therefore take up multiple addresses in an address space.
By default, there are no nodes configured. To add a new server node, enter an instance name and click the 'Add' button.
Note: A maximum of 50 nodes per server are allowed.
After clicking 'Add' you will be redirected to the newly added server node's configuration page.

OPC UA Server Node Configuration

The OPC UA Server node Configuration section is used to configure the parameters of an OPC UA Server Node.
FieldValueDescription
Namestring; default: noneName of the node instance, used for management purposes only.
ID namespaceinteger [0..65535]; default: noneSpecifies node ID namespace.
ID typeNumeric | String | GUID | Bytestring; default: NumericSpecifies node ID type.
IDdynamic; default: noneSpecifies node ID (validation varies depending on ID type).

OPC UA Value Groups

A Value Group is a collection of different specific group values. Each value configured under this group will be returned inside the same group array.
By default, there are no value groups configured. To add a new group, enter an instance name and click the 'Add' button.
Note: A maximum of 20 value groups are allowed.
After clicking 'Add' you will be redirected to the newly added value group's configuration page.

OPC UA Value Group Configuration

The OPC UA Value Group Configuration section is used to configure the parameters of an OPC UA Value Group.
FieldValueDescription
Enableoff | on; default: offEnables specific OPC UA value group instance.
Namestring; default: noneName of the value group instance, used for management purposes only.
Scheduling typePeriod; default: PeriodSpecifies method of scheduling data retrievals.
Periodinteger [1..86400]; default: noneSpecifies time duration between data retrievals in seconds.
Failure modeNone | Any | All; default: NoneWhen to consider retrieval a failure.
Failure storageoff | on; default: offWhether to store results of a failure.
Failure replacementstring; default: noneResults of a failure will be replaced by this string
Prefixstring; default: noneString going before all the values.
Midfixstring; default: noneString going between all the values.
Postfixstring; default: noneString going after all the values.

OPC UA Group Values

A Group Value is a specific value retrieved from a defined server node.
By default, there are no group values configured. To add a new value, enter an instance name and click the 'Add' button.
Note: A maximum of 50 values per value group is allowed.
After clicking 'Add' you will be redirected to the newly added group value's configuration page.
OPC UA Group Value Configuration
The OPC UA Group Value Configuration section is used to configure the parameters of an OPC UA Group Value.
FieldValueDescription
Enableoff | on; default: offEnables specific OPC UA value instance.
Namestring; default: noneName of the group value instance, used for management purposes only.
Prefixstring; default: noneString before the value.
Postfixstring; default: noneString after the value.
Replacementstring; default: noneString to replace everything in case of failure.
Server to retrieve data fromOPC UA server instance; default: noneSpecifies which server to retrieve data from.
Server nodeOPC UA server node instance; default: noneSpecifies which server node to retrieve data from.

OPC UA Server

This manual page provides an overview of the OPC UA Server in RUTX11 devices.
Note: OPC UA Server is additional software that can be installed from the System → Package Manager page.

Status

This section displays OPC UA Server status information.

OPC UA Server Configuration

The OPC UA Server Configuration section is used to enable the local OPC UA server.
FieldValueDescription
Enableoff | on; default: offEnables OPC UA server.
Portinteger [1..65535]; default: noneService port.

OPC UA Server variables

All RUTOS device variables are described in the table below:
Note: All the variables have these qualities in common:
  • Namespace index is 1
  • Node ID type is string
  • Read-only
  • Updated upon request
IDTypeDescription
sys_uptimeUINT32System uptime in seconds.
sys_serialStringDevice serial number.
sys_devnameStringDevice name.
sys_devcodeStringDevice code.
sys_versionStringFirmware version.
sys_hostnameStringHostname.
lan_macStringLAN MAC address.
lan_ipStringIP address of LAN interface.
lan_maskStringSubnet mask of LAN interface.
lan_gatewayStringGateway IP address of LAN interface.
lan_dnsArray of StringIP addresses of LAN interface DNS servers.
rut_wan_ipStringIP address if WAN is connected.
rut_wan_typeStringValues of WAN type.
io_dinArray of BOOLValues of digital input pins.
io_doutArray of BOOLValues of digital output pins.
gps_fix_statusUINT32Whether a GPS connection has been acquired.
gps_timestampUINT64UTC timestamp.
gps_longitudeDOUBLELongitude.
gps_latitudeDOUBLELatitude.
gps_altitudeDOUBLEAltitude.
gps_angleDOUBLEAngle.
gps_speedDOUBLESpeed.
gps_accuracyDOUBLEAccuracy.
gps_sat_countUINT32Satellite count.
mob_modem_countUINT32Modem count.
mob_modem_imeiArray of StringModem IMEI.
mob_modem_serialArray of StringModem serial number.
mob_modem_mnfArray of StringModem manufacturer name.
mob_modem_modelArray of StringModem model name.
mob_modem_fwArray of StringModem firmware version string.
mob_modem_tempArray of FLOATModem temperature.
mob_sim_countArray of UINT32SIM count.
mob_simArray of UINT32Selected SIM.
mob_sim_stateArray of StringSIM state.
mob_sim_iccidArray of StringSIM ICCID.
mob_rssiArray of INT32RSSI.
mob_conn_typeArray of StringData carrier type.
mob_conn_stateArray of StringConnection state.
mob_net_stateArray of StringNetwork link state.
mob_operatorArray of StringOperator name.

Data Sources

Data sources transmit data from one or more data sources (Modbus cliet and etc..) and write it to OPC UA nodes.
To add new nodes, press `Add` button:
Node configuration:
FieldValueDescription
Enableoff | on; default: offTurns server node configuration on or off.
Namestring; default: noneName of the server node.
Node ID typeNumeric | String | GUID | Byte string; default: NumericNode ID type.
Node IDinteger [2..2147483647]; default: noneNode ID.
Sourcelist; default: OPC UA ServerSource service name.
Value from sourceUptime | Device serial number | Device name | Device code | Firmware version | Hostname | LAN IP address | LAN subnet mask | LAN gateway | LAN DNS servers | LAN MAC address | GPS fix status | GPS timestamp | GPS latitude | GPS altitude | GPS angle | GPS speed | GPS accuracy | GPS satellite count | Modem count | Modem IMEI | Modem serial number | Modem manufacturer name | Modem model name | Modem firmware version | Modem temperature | Modem SIM count | Modem active SIM slot | Modem SIM state | Modem SIM ICCID | Modem SIM RSSI | Modem connection type | Modem connection state | Modem network state | Modem operator name | WAN IP address | WAN type | WAN | I/O; default: UptimeNote: different types of sources have different values.