.

Average: 0
Rating Count: 0

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



Class Description


A class to create dynamic attributes above a Modbus interface

Families: Calculation

Key words:

Platform: All Platforms

Language: Cpp

License: GPL

Contact:

Hardware


Manufacturer: none

Bus: Modbus

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.

Pipes:

Properties:

Name Description
Modbus_nameDevString Name of the Modbus device
DynamicAttributesArray of DevString List of dynacmic attributes See <a href=grammar.html>grammar.html</a>
DynamicCommandsArray of DevString List of dynacmic attributes See <a href=grammar.html>grammar.html</a>
DynamicStatesArray of DevString State definitions (Default state is ON) See <a href=grammar.html>grammar.html</a>
AddressOffsetDevLong Integer offset added to Addresses in every Modbus command call
DefaultReadCommandDevString Command use to read Modbus registers (eg. ReadHoldingRegisters)
CacheConfigArray of DevLong Cache configuration, the read command is the DefaultReadCommand (if any) [0] = Start address [1] = Number of register [2] = Refresh period (ms)
CoilCacheConfigArray of DevLong Coil Cache configuration, the read can be only ReadMultipleCoilStatus [0] = Start address [1] = Number of coil [2] = Refresh period (ms)


Please log in to comment.

5 Oct 2019, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



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



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



19 Jan 2017, Piotr Goryl
Updated:
The device server has been updated.
You can see previous version here .



3 Jan 2017, Piotr Goryl
Created:
The device server has been added to catalogue.
Added by:pgoryl2 on:3 Jan 2017, 1:57 p.m.