.

Average: 0
Rating Count: 0

Development status: Released, Release: 1.0
Information status: Updated
Repository: This device class is not available in a public repository. Please contact the author piotr.goryl@outlook.com.
Contact:



Class Description


This class aims to integrate OpcUa Objects into Tango Control system. The OpcUa objects are represented by related dynamic attributes (see OpcTags property). It does not depend on OpcUaAccess device.

Families: Communication

Key words: OPC OpcUa communication,OPC OpcUa communication,OPC OpcUa communication,OPC OpcUa communication,OPC OpcUa communication,OPC OpcUa communication,OPC OpcUa communication,OPC OpcUa communication

Platform: All Platforms

Language: PythonHL

License: none

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
Connect to the OPC UA server. Reinitialise all event subscriptions.
DisconnectInput: DevVoid
Output: DevVoid
Disconnect from the OPC UA server. State will be UNKNOWN from now on.

Pipes:

Properties:

Name Description
StateDefinitionDevString Define the state behaviour with an OpcUa tag. <tag_name>![<value>:<state>!] Example: MyDevice.StateInt!1:OFF!2:ON!3:FAULT
OpcTagsArray of DevString Tags for creating Tango attributes. Format is as the following: first_attr_name!Scalar!Double!READ!first_tag_name snd_attr_name!Scalar!Boolean!READ_WRITE!snd_tag_read_name!snd_tag_write_name Arrays are not supported.
OpcUaServerAddressDevString OPC UA server address Given as: ``opc.tcp://hostname:port``


Please log in to comment.

README

b'## TangoOpcUaObject class\n\nThis class aims to representing an OpcUa Object by defining properties.\nIt must be used with an OpcUaAccess device\n\n## Requirement\n\n- PyTango >= 8.1.6\n- freeopcua (an open-source (LGPL) OPC-UA stack and associated tools)\n- devicetest (for using tests)\n- sphinx (for building sphinx documentation)\n\nRun in terminal, to install requirements:\n\n\tpip install -r requirements.txt \n\n## Installation\n\nRun python setup.py install\n\nIf you want to build sphinx documentation,\nrun python setup.py build_sphinx\n\nIf you want to pass the tests, \nrun python setup.py test\n\n## Usage\n\nNow you can start your device server in any\nTerminal or console by calling it :\n\nTangoOpcUa instance_name\n\n### Device server properities\n\n- OpcUaServerAddress, e.g.: opc.tcp://192.168.64.12:4840\n- StateDe\xef\xac\x81nition , e.g.: MyDevice.Value!1:ON!2:OFF!3:ALARM!15:FAULT\n- OpcTags, e.g.: Resistance!Scalar!Double!READ_WRITE!DeviceName.Resistor1! DeviceName.Resistor1\n\n### Device server commands:\n\n- Connect\n- Disconnect\n\n'

22 Sep 2020, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



22 Sep 2020, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



21 Sep 2020, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



28 Mar 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



28 Mar 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



28 Mar 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



28 Mar 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:28 Mar 2017, 9:32 a.m.