March 2021
Installation, Operation and Maintenance Manual
MDE 254 Rev. 1
HART Command Set32
Section 8: HART Command Set
Code Class Description
0 Success No Command-Specific Errors
1 - 2 Undefined
3 Error Passed Parameter Too Large
4 Error Passed Parameter Too Small
5 Error Too Few Data Bytes Received
6 Error Device-Specific Command Error
7 Error In Write Protect Mode
8 Warning Set To Nearest Possible Value
9 - 15 Undefined
16 Error Access Restricted
17 - 31 Undefined
32 Error Busy
33 - 127 Undefined
Table 84. Command-Specific Response Codes
8.2.4 Command #95: Read Device Communication Statistics
This command returns the field device communication statistics: the number of STX messages
received by the device, the number of ACK messages sent by the device and the number of BACK sent
by the device.
Table 85. Request Data Bytes
Table 86. Response Data Bytes
Byte Format Description
None
Byte Format Description
0 - 1 Unsigned-16 Count of STX messages received by this device
2 - 3 Unsigned-16 Count of ACK messages sent from this device
4 - 5 Unsigned-16 Count of BACK messages sent from this device
Code Class Description
0 Success No Command-Specific Errors
1 - 5 Undefined
6 Error Device-Specific Command Error
7 - 127 Undefined
Table 87. Command-Specific Response Codes
8.2.3 Command #59: Write Number of Response Preambles
This command sets the number of asynchronous 0xFF preambles bytes to be sent by a device before
the start of a response message. This value may be set to no smaller than 5 and no greater than 20.
Table 82. Request Data Bytes
Table 83. Response Data Bytes
Byte Format Description
0 Unsigned-8 Number of preambles to be sent with the response message from the Slave to the Master
Byte Format Description
0 Unsigned-8 Number of preambles to be sent with the response message from the Slave to the Master