Difference between revisions of "Template:Networking rutos manual opcua server"

From Teltonika Networks Wiki
(Created page with "{{Template: Networking_device_manual_fw_disclosure | series = {{{series}}} | name = {{{name}}} | fw_version ={{Template: Networking_device_manual_latest_fw | series = {{{se...")
(5 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
OPC Unified Architecture (<b>OPC UA</b>) is a cross-platform, open-source, IEC62541 standard for data exchange from sensors to cloud applications developed by the OPC Foundation. The <i>UA</i> 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.
 
OPC Unified Architecture (<b>OPC UA</b>) is a cross-platform, open-source, IEC62541 standard for data exchange from sensors to cloud applications developed by the OPC Foundation. The <i>UA</i> 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 Server in {{{name}}} devices.
 
 
<b>Note:</b> OPC UA Server is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.
 
  
 
==OPC UA Server Configuration==
 
==OPC UA Server Configuration==
Line 117: Line 113:
 
         <td>IP address of WAN interface.</td>
 
         <td>IP address of WAN interface.</td>
 
     </tr>
 
     </tr>
{{#ifeq:{{{digitalio}}}| 1 |
 
 
     <tr>
 
     <tr>
 
         <td>io_din</td>
 
         <td>io_din</td>
Line 127: Line 122:
 
         <td>Array of BOOL</td>
 
         <td>Array of BOOL</td>
 
         <td>Values of digital output pins.</td>
 
         <td>Values of digital output pins.</td>
     </tr>|}}
+
     </tr>
{{#ifeq:{{{configurableio}}}| 1 |
 
 
     <tr>
 
     <tr>
 
         <td>io_dio_dir</td>
 
         <td>io_dio_dir</td>
Line 138: Line 132:
 
         <td>Array of BOOL</td>
 
         <td>Array of BOOL</td>
 
         <td>Values of digital input/output pins.</td>
 
         <td>Values of digital input/output pins.</td>
     </tr>|}}
+
     </tr>
{{#ifeq:{{{relay}}}| 1 |
 
 
     <tr>
 
     <tr>
 
         <td>io_relay</td>
 
         <td>io_relay</td>
 
         <td>Array of BOOL</td>
 
         <td>Array of BOOL</td>
 
         <td>Values of relays. 0 is open, 1 is closed.</td>
 
         <td>Values of relays. 0 is open, 1 is closed.</td>
     </tr>|}}
+
     </tr>
{{#ifeq:{{{adc}}}| 1 | 
 
 
     <tr>
 
     <tr>
 
         <td>io_adc</td>
 
         <td>io_adc</td>
 
         <td>Array of FLOAT</td>
 
         <td>Array of FLOAT</td>
 
         <td>Values of Analog-to-Digital converters.</td>
 
         <td>Values of Analog-to-Digital converters.</td>
     </tr>|}}
+
     </tr>
 
{{#ifeq:{{{gps}}}| 1 |
 
{{#ifeq:{{{gps}}}| 1 |
 
     <tr>
 
     <tr>
Line 196: Line 188:
 
         <td>UINT32</td>
 
         <td>UINT32</td>
 
         <td>Satellite count.</td>
 
         <td>Satellite count.</td>
     </tr>|}}
+
     </tr>|}
 
{{#ifeq:{{{mobile}}}| 1 |  
 
{{#ifeq:{{{mobile}}}| 1 |  
 
     <tr>
 
     <tr>
Line 277: Line 269:
 
         <td>Array of String</td>
 
         <td>Array of String</td>
 
         <td>Operator name.</td>
 
         <td>Operator name.</td>
     </tr>|}}
+
     </tr>|}
 
</table>
 
</table>
  
 
[[Category:{{{name}}} Services section]]
 
[[Category:{{{name}}} Services section]]

Revision as of 15:58, 18 December 2023

The information in this page is updated in accordance with firmware version .

Summary

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.

OPC UA Server Configuration

The OPC UA Server Configuration section is used to enable the local OPC UA server.

Networking rutos manual opcua server configuration.png

Field Value Description
Enable off | on; default: off Enables OPC UA server.
Port integer [1..65535]; default: none Service 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
{{#ifeq:{{{gps}}}| 1 | |} {{#ifeq:{{{mobile}}}| 1 | |}
ID Type Description
sys_uptime UINT32 System uptime in seconds.
sys_serial String Device serial number.
sys_devname String Device name.
sys_devcode String Device code.
sys_version String Firmware version.
sys_hostname String Hostname.
lan_mac String LAN MAC address.
lan_ip String IP address of LAN interface.
lan_mask String Subnet mask of LAN interface.
lan_gateway String Gateway IP address of LAN interface.
lan_dns Array of String IP addresses of LAN interface DNS servers.
wan_ip Array of String IP address of WAN interface.
io_din Array of BOOL Values of digital input pins.
io_dout Array of BOOL Values of digital output pins.
io_dio_dir Array of BOOL Directions of digital input/output pins. 0=IN, 1=OUT.
io_dio Array of BOOL Values of digital input/output pins.
io_relay Array of BOOL Values of relays. 0 is open, 1 is closed.
io_adc Array of FLOAT Values of Analog-to-Digital converters.
gps_fix_status UINT32 Whether a GPS connection has been acquired.
gps_timestamp UINT64 UTC timestamp.
gps_longitude DOUBLE Longitude.
gps_latitude DOUBLE Latitude.
gps_altitude DOUBLE Altitude.
gps_angle DOUBLE Angle.
gps_speed DOUBLE Speed.
gps_accuracy DOUBLE Accuracy.
gps_sat_count UINT32 Satellite count.
mob_modem_count UINT32 Modem count.
mob_modem_imei Array of String Modem IMEI.
mob_modem_serial Array of String Modem serial number.
mob_modem_mnf Array of String Modem manufacturer name.
mob_modem_model Array of String Modem model name.
mob_modem_fw Array of String Modem firmware version string.
mob_modem_temp Array of FLOAT Modem temperature.
mob_sim_count Array of UINT32 SIM count.
mob_sim Array of UINT32 Selected SIM.
mob_sim_state Array of String SIM state.
mob_sim_iccid Array of String SIM ICCID.
mob_rssi Array of INT32 RSSI.
mob_conn_type Array of String Data carrier type.
mob_conn_state Array of String Connection state.
mob_net_state Array of String Network link state.
mob_operator Array of String Operator name.

[[Category:{{{name}}} Services section]]