TANGO
Device Server



Modbus
Properties Description

Modbus Class

Revision: release_3_6_1 - Author: buteau






Device Properties
Property name
Property type
Description
Protocol Tango::DEV_STRING RTU'' : Binary serial communication. ''TCP'' : Communication over ethernet.
Iphost Tango::DEV_STRING The host IP address used with the TCP protocol in the form aa.bb.cc.dd.
Serialline Tango::DEV_STRING The name of the serial line device used with RTU protocol. This can be any device name of a Serial Class object in the Tango system.
Address Tango::DEV_SHORT Node index used with the RTU or TCP protocol
CacheConfig Array of string Describe which data has to be cached. Each set of cached data is described by 3 parameters which are: 1 - Command to be used to read data (ReadHoldingRegisters, ReadInputStatus ReadInutRegisters or ReadMultipleCoilStatus) 2 - First address to be read 3 - Number of data to read
CacheSleep Tango::DEV_LONG Cache update thread main loop sleeping time (in ms)
SocketConnectionSleep Tango::DEV_LONG The necessary sleep time between closing a connection (Socket) and opening a new connection. To avoid hang-ups a non blocking socket is used to check the availability on the network. Afterwards the non blocking socket is closed and a blocking socket will be opened. The SocketConnectionSleep time specified the wait time in ms between these two connections.
TCPTimeout Tango::DEV_LONG Timeout used when the TCP protocol is used (in sec)






Device Properties Default Values:
Property Name Default Values
Protocol RTU
Iphost No default value
Serialline No default value
Address 1
CacheConfig No default value
CacheSleep 1000
SocketConnectionSleep 200
TCPTimeout 1



There is no Class properties.






ESRF - Software Engineering Group