Issue
When a Modbus device comes back online after being offline a message is sent from the Building Operation Server to the Modbus device which looks similar to:
WriteData TX on /dev/tac_comporta: 01 2B 0E 01 00 70 77
ReadData RX on /dev/tac_comporta: 01 AB 01 9E F0
This message can cause the Modbus device to restart or stop responding, is it possible to disable it?
Product Line
EcoStruxure Building Operation
Environment
- EcoStruxure Building Operation 1.5.xand above
- Modbus Device
- Socomec Power Meters
- Crompton Integra 1221 Power Meter
Cause
A feature was added in release 1.5 that is intended to read the device's identification (0x2B). It works by polling this function code (FC). If the Building Operation server does not get a valid reply to this message, it assumes it is not supported by the device and will not request this again. This is usually not a problem but some Modbus devices, such as those listed in the Environment above, are unable to handle this message and will stop communicating with the AS or ES.
Resolution
In Building Operation 2.0.4 and above the option to enable or disable the device identification request (Function code 2B) has been introduced, allowing the poll interval (and online detection) to be set.
Some devices will stop responding to poll requests if the device identification is enabled.
Once disabled the AS or ES and the device may need to be restarted to enable normal polling without any device identification request being sent and stopping the normal responses from the device.
In previous versions this message cannot be disabled, however, if device polling is disabled the device identification request won't be requested, which can be used as a work-around.
To turn off the device polling:
- Open Properties
- Set "Poll interval" to "Inhibit"
The trade-off with this workaround is that the online detection for the device is turned off, so the device will never go offline in Building Operation.
In some instances, the third-party Modbus device will need to be restarted to allow communication to resume.