Hi,
Does Modbus provide functions to handle Modbus function number 7 (read exception status) ?
I have a flowmeter that uses this function. I quote :
"The Read Exception Status command (function code 07) returns the exception status byte, which is defined as follows. This byte may be cleared by setting “coil” register #00003 (function code 5, address 2, data = 0xff00).
Bit(s) Definition
0-1 Byte order (see Modbus Order on page 2)
0 = 3-2:1-0 1 = 2-3:0-1
2 = 1-0:3-2 3 = 0-1:2-3
2 Temperature sensor fault
3 Pressure sensor fault
4 A/D converter fault
5 Period overflow
6 Pulse overflow
7 Configuration changed
"
I will code the feature if it doesn't exist and send a pull request.
Thank you.