Modes
Point to point
In point-to-point mode the digital signals are overlaid on the 4–20 mA loop current. Both the 4–20 mA current and the digital signal are valid signalling protocols between the controller and measuring instrument or final control element. The polling address of the instrument is set to "0". Only one instrument can be put on each instrument cable signal pair. One signal, generally specified by the user, is specified to be the 4–20 mA signal. Other signals are sent digitally on top of the 4–20 mA signal. For example, pressure can be sent as 4–20 mA, representing a range of pressures, and temperature can be sent digitally over the same wires. In point-to-point mode, the digital part of the HART protocol can be seen as a kind of digital current loop interface.Multi-drop
In multi-drop mode the analog loop current is fixed at 4 mA and it is possible to have more than one instrument on a signal loop. HART revisions 3 through 5 allowed polling addresses of the instruments to be in the range 1–15. HART revision 6 allowed addresses 1 to 63; HART revision 7 allows addresses 0 to 63. Each instrument must have a unique address.Packet structure
The request HART packet has the following structure:Preamble
Currently all the newer devices implement five byte preamble, since anything greater reduces the communication speed. However, masters are responsible for backwards support. Master communication to a new device starts with the maximum preamble length (20 bytes) and is later reduced once the preamble size for the current device is determined. Preamble is: "ff" "ff" "ff" "ff" "ff" (5 times ff)Start delimiter
This byte contains the Master number and specifies that the communication packet is starting.Address
Specifies the destination address as implemented in one of the HART schemes. The original addressing scheme used only four bits to specify the device address, which limited the number of devices to 16 including the master. The newer scheme utilizes 38 bits to specify the device address. This address is requested from the device using either Command 0, or Command 11.Command
This is a one byte numerical value representing which command is to be executed. Command 0 and Command 11 are used to request the device number.Number of data bytes
Specifies the number of communication data bytes to follow.Status
The status field is absent for the master and is two bytes for the slave. This field is used by the slave to inform the master whether it completed the task and what its current health status is.Data
Data contained in this field depends on the command to be executed.Checksum
Manufacturer codes
Each manufacturer that participates in the HART convention is assigned an identification number. This number is communicated as part of the basic device identification command used when first connecting to a device.References
External links