March 2021
Installation, Operation and Maintenance Manual
MDE 254 Rev. 1
HART Commands12
Section 7: HART Commands
Bit Mask Communication Status Definition
0x80 1 – This bit is always set to indicate a communication error.
0x40 Vertical Parity Error – The parity of one or more of the bytes received by the device was not odd.
0x20
Overrun Error – At least one byte of data in the receive buffer of the UART was overwritten before
it was read.
0x10
Framing Error – The Stop Bit of one or more bytes received by the device was not detected
by the UART.
0x08
Longitudinal Parity Error – The Longitudinal Parity calculated by the device did not match the
Check Byte at the end of the message.
0x04 Reserved – always 0
0x02 Buffer Overflow – The message was too long for the receive buffer of the device.
0x01 Reserved – always 0
Bit Mask Communication Status Definition
0x80
Device Malfunction – The device detected a serious error or failure that compromises
device operation.
0x40 Configuration Changed – An operation was performed that changed the device’s configuration.
0x20 Cold Start – A power failure or Device Reset has occurred.
0x10
More Status Available – More status information is available via command 48, Read Additional
Device Status.
0x08
Loop Current Fixed – The Loop Current is being held at a fixed value and is not responding to
process variations.
0x04
Loop Current Saturated – The Loop Current has reached its upper (or lower) endpoint limit and
cannot increase (or decrease) any further.
0x02
Non-Primary Variable Out of Limits – A Device Variable not mapped to PV is beyond its
operating limits.
0x01 Primary Variable Out of Limits – The PV is beyond its operating limit.
If no communication errors are detected the first byte in the Data Field contains the Response Code.
The Response Code describes the result of the executed command.
The Response Code is encoded as a 7-bit enumeration (between 0 and 127).
There are 3 Classification Response Codes:
• Notification: The command sent by the Master is executed properly by the Slave.
• Warning: The command sent by the Master is executed with the deviation as described in
the response.
• Error: The command sent by the Master was not properly completed and the Response
Code indicates the reason.
See the appropriate Response Code Table for each command.
The second data byte in a Slave-to-Master frame is a bit field table that represent the current
operating status of the slave.
Table 5.
NOTE:
• Device Malfunction bit is set if a generic alarm or warning is active, maintenance operation is required,
one or more device variables are not loaded by the logic card or Main Voltage alarm is active.
• Configuration Changed bit is set if one or more parameters are modified by a HART command.
• Cold Start bit is set after a power on or reset operation has occurred.
• More Status Available bit is set if additional device status data bytes are changed.
• Loop Current Fixed bit is set if Loop Current Mode is disabled.
• Loop Current Saturated, Non-Primary Variable Out of Limits, Primary variable Out of Limits bits are
not used. These bits are always set to 0.
The Communication Status is returned if a communication error is detected by the field device.
Table 4.