Development status:
New development
Information status: Updated
Repository:
http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Communication/OPCUA/TangoOpcUaAccess
Contact:
Class Description
Opc Ua Access
Families: Miscellaneous
Key words:
Platform: All Platforms
Language: Cpp
License: GPL
Contact:
Hardware
Manufacturer: none
Bus: Ethernet
Class interface
Attributes:
Commands:
Name | Description |
---|---|
StateInput: DevVoid Output: State Device state |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
StatusInput: DevVoid Output: ConstDevString Device status |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
ConnectInput: DevVoid Output: DevVoid |
Connection to the OPC UA server |
DisconnectInput: DevVoid Output: DevVoid |
Disconnection to the OPC UA server |
BrowseInput: DevVoid Output: DevVarStringArray OpcNodes |
Browse the OPC UA server |
CallInput: DevVarStringArray Name of the method, parameters Output: DevVarStringArray Result |
Call the specified method on the OPC UA server |
RegisterNodeInput: DevString Node Output: DevVoid |
Register to the specified node on the OPC UA server |
UnregisterNodeInput: DevString Node Output: DevVoid |
Unregister to the specified node on the OPC UA server |
ReadDoubleValueInput: DevString Node Output: DevDouble Value |
Read the double value of thespecified node on the OPC UA server |
WriteDoubleValueInput: DevVarDoubleStringArray Node, value Output: DevVoid |
Write the double value on the specified node on the OPC UA server |
SubscribeInput: DevVoid Output: DevVoid |
Subscription to the OPC-UA server |
UnsubscribeInput: DevVoid Output: DevVoid |
Unsubscription to the OPC-UA server |
ReadFloatValueInput: DevString Node Output: DevFloat Value |
Read the float value of thespecified node on the OPC UA server |
WriteFloatValueInput: DevVarDoubleStringArray Node, value Output: DevVoid |
Write the float value on the specified node on the OPC UA server |
ReadBoolValueInput: DevString Node Output: DevBoolean Value |
Read the bool value of thespecified node on the OPC UA server |
WriteBoolValueInput: DevVarLongStringArray Node, value Output: DevVoid |
Write the bool value on the specified node on the OPC UA server |
ReadLongValueInput: DevString Node Output: DevLong Value |
Read the long value of thespecified node on the OPC UA server |
WriteLongValueInput: DevVarLongStringArray Node, value Output: DevVoid |
Write the long value on the specified node on the OPC UA server |
ReadStringValueInput: DevString Node Output: DevString Value |
Read the string value of thespecified node on the OPC UA server |
WriteStringValueInput: DevVarStringArray Node, value Output: DevVoid |
Write the String value on the specified node on the OPC UA server |
ReadShortValueInput: DevString Node Output: DevShort Value |
Read the short value of the specified node on the OPC UA server |
WriteShortValueInput: DevVarLongStringArray Node, value Output: DevVoid |
Write the short value on the specified node on the OPC UA server |
ReadLong64ValueInput: DevString Node Output: DevLong64 Value |
Read the long64 value of thespecified node on the OPC UA server |
WriteLong64ValueInput: DevVarLongStringArray Node, value Output: DevVoid |
Write the long64 value on the specified node on the OPC UA server |
ReadULongValueInput: DevString Node Output: DevULong Value |
Read the ulong value of thespecified node on the OPC UA server |
WriteULongValueInput: DevVarLongStringArray Node, value Output: DevVoid |
Write the ulong value on the specified node on the OPC UA server |
ReadUShortValueInput: DevString Node Output: DevUShort Value |
Read the ushort value of the specified node on the OPC UA server |
WriteUShortValueInput: DevVarLongStringArray Node, value Output: DevVoid |
Write the ushort value on the specified node on the OPC UA server |
ReadULong64ValueInput: DevString Node Output: DevULong64 Value |
Read the ulong64 value of thespecified node on the OPC UA server |
WriteULong64ValueInput: DevVarLongStringArray Node, value Output: DevVoid |
Write the ulong64 value on the specified node on the OPC UA server |
Pipes:
Properties:
Name | Description |
---|---|
OpcUaServerAddressDevString | Opc Ua Server Address |
ConnectAtStartUpDevBoolean | — |
OpcUaPolicyIndexDevUShort | Policy index for the opc ua server Generally, 0 is for None |
Please log in to comment.
Matej Komel on 7 Jun 2018, 10:21 a.m.
In the Class Description it says "Platform: All Platforms". This is not the case, the code has several Microsoft-specific constructs (e.g. __stdcall and GetSystemTime()), therefore it cannot be built and used on the linux platform.
Other issue - it links to OpenOpcUa library, which is available only for a fee from openopcua.org. This means that the device server cannot be evaluated without first purchasing this library.
A better solution would be to use FreeOpcUa or open62541 library.
See a discussion under the following forum post for more details: http://www.tango-controls.org/community/forum/c/general/development/opc-ua-device-class/