.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Communication/ModbusDataViewer
Contact:



Class Description


generic device to get/set single coils and registers in a modbus device
uses dynamic attributes

Families: Communication

Key words:

Language: Cpp

License:

Contact:

Class interface


Attributes:

Commands:

Name Description
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.

Pipes:

Properties:

Name Description
HardwarePollingTimeDevLong reading period for the thread
UrlDevString Modbus Device name
DataString[]Type list of the data to be displayed 1 line by data for each line the device will create 1 dynamic attribute Format : AttributeName;DataType;Data Access;Modbus Address;Ratio;Read Register Type Example : Temperature;DEV_DOUBLE;READ_WRITE;5;0.1 Prop;DEV_DOUBLE;READ_WRITE;35;1.0 Attribute Name = the name of the Attribute Data Type = type of the Attribute [DEV_BOOLEAN|DEV_SHORT|DEV_USHORT|DEV_LONG|DEV_ULONG|DEV_FLOAT|DEV_DOUBLE] Data Access = [READ|WRITE|READ_WRITE] Modbus Address = modbus Address see Modbus reference [0...10000] Ratio = floating point, if omitted defaults to 1.0 Read Register Type = [HOLDING|INPUT] if omitted or error defaults to HOLDING


Please log in to comment.

22 Feb 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



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



23 Feb 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 10:51 a.m.