Download Modbus for Field Technicians

Transcript
Modbus for Field Technicians
8. MODBUS AND GATEWAYS
A gateway is a device that makes data read using one protocol available using
another protocol. For example you could read Modbus data from a power
meter and serve that data using BACnet to a Building Automation System.
What data must the gateway report if the Modbus is offline or the data
cannot be read? It can report the last value read. How old is that value? In
this example, we can exploit a property of each BACnet data object called
Reliability. When the validity of the data is unknown, like when a field device
is offline, we mark the BACnet objects as unreliable. Now a consumer of that
data has enough information – he knows the value and if it is reliable. It is his
call whether to use the data or not.
Modbus does not have an equivalent mechanism. If a gateway is doing the
opposite, for example, reading BACnet data and serving that data using
Modbus. If the BACnet link is broken the data validity is questionable.
However, in Modbus there is no way of reporting this.
The gateway can take one of two actions – serve the invalid data or – not
serve the data – by not responding to the poll. This is the strategy FieldServer
gateways use. If the Data is invalid, the Gateway does not respond to a
request for that data and allows the client to time out.
Page 17