User guide

98 ControlLogix
Analog HART Modules
Figure 7.19
Tag Name Value in Hex Description
HA RT_PA SS_THRU_REQ_TX[0] 00 HA RT channel
HA RT_PA SS_THRU_REQ_TX[1] 01 Pas s - t hr ough command designator
HA RT_PA SS_THRU_REQ_TX[2] 82 Start c har cter
HA RT_PA SS_THRU_REQ_TX[3] BE Long addr es s by te 0
HA RT_PA SS_THRU_REQ_TX[4] 02 Long addr es s by te 1
HA RT_PA SS_THRU_REQ_TX[5] 0C Long addr es s by te 2
HA RT_PA SS_THRU_REQ_TX[6] 77 Long addr es s by te 3
HA RT_PA SS_THRU_REQ_TX[7] 37 Long addr es s by te 4
HA RT_PA SS_THRU_REQ_TX[8] 23 HA RT command = 35 decimal
HA RT_PA SS_THRU_REQ_TX[9] 09 By te c ount
HA RT_PA SS_THRU_REQ_TX[10] 20 Range units code = 32 decimal
HA RT_PA SS_THRU_REQ_TX[11] 44
HA RT_PA SS_THRU_REQ_TX[12] 16
HA RT_PA SS_THRU_REQ_TX[13] 00
HA RT_PA SS_THRU_REQ_TX[14] 00
HA RT_PA SS_THRU_REQ_TX[15] C3
HA RT_PA SS_THRU_REQ_TX[16] 16
HA RT_PA SS_THRU_REQ_TX[17] 00
HA RT_PA SS_THRU_REQ_TX[18] 00
HA RT_PA SS_THRU_REQ_TX[19] FF Chec ks um
Upper Range value (This is a
floating point value = 600.0) No te :
The bytes are in reverse order.
Low er Range value (This is a
floating point value = -150.0) Not e :
The bytes are in reverse order.
The HART message string, shown in figure 19, performs HART
command 35 (write range values). Once the tags are populated with the
HART message, the message can be sent using the ladder in figure 7.
The reply for the HART command will be found in the (If8h0 or
Of8ho)PassThruQryRX tag. The response message should look like the
table shown below.
Figure 7.20
Tag Name Value in Hex Description
HA RT_PA SS_THRU_QRY _RX[0] 00 HA RT c hannel
HA RT_PA SS_THRU_QRY _RX[1] 01 Pas s -thr ough c ommand des ignator
HA RT_PA SS_THRU_QRY _RX[2]
15
Length of handle + HART response
data
HA RT_PA SS_THRU_QRY _RX[3] 02 Mes s age handle
HA RT_PA SS_THRU_QRY _RX[4] 86 Star t c har c ter
HA RT_PA SS_THRU_QRY _RX[5] BE Long address byte 0
HA RT_PA SS_THRU_QRY _RX[6] 02 Long address byte 1
HA RT_PA SS_THRU_QRY _RX[7] 0C Long address byte 2
HA RT_PA SS_THRU_QRY _RX[8] 77 Long address byte 3
HA RT_PA SS_THRU_QRY _RX[9] 37 Long address byte 4
HA RT_PA SS_THRU_QRY _RX[10] 23 HA RT c ommand = 35 dec imal
HA RT_PA SS_THRU_QRY _RX[11] 0B By t e count = 11 decimal
HA RT_PA SS_THRU_QRY _RX[12] 00 Status Byte 0
HA RT_PA SS_THRU_QRY _RX[13] 00 Status Byte 1
HA RT_PA SS_THRU_QRY _RX[14] 20 Range units c ode = 32 dec imal
HA RT_PA SS_THRU_QRY _RX[15] 44
HA RT_PA SS_THRU_QRY _RX[16] 16
HA RT_PA SS_THRU_QRY _RX[17] 00
HA RT_PA SS_THRU_QRY _RX[18] 00
HA RT_PA SS_THRU_QRY _RX[19] C3
HA RT_PA SS_THRU_QRY _RX[20] 16
HA RT_PA SS_THRU_QRY _RX[21] 00
HA RT_PA SS_THRU_QRY _RX[22] 00
HA RT_PA SS_THRU_QRY _RX[23] F9 Chec ks um
Upper Range value (This is a
floatin
g
point value = 600
)
Note: The
bytes are in reverse order.
Low er Range value (This is a
floating point value = -150) Note:
The bytes are in reverse order.