Instruction Manual
Chapter 8: Ladder Program Examples 115
Figure 8.4e (OF8H HART Message Ladder)
Swap ByteSwap Byte
Swap ByteSwap Byte
Swap Byte
LadderLadder
LadderLadder
Ladder
Figure 8.5 demonstrates how to reverse the order of the bytes for a
floating point tag and then convert it to 4 consecutive SINT tags, so that it
can be used in a HART message.
!
Attention: If the HART message being sent orAttention: If the HART message being sent or
Attention: If the HART message being sent orAttention: If the HART message being sent or
Attention: If the HART message being sent or
received using the pass-through command containsreceived using the pass-through command contains
received using the pass-through command containsreceived using the pass-through command contains
received using the pass-through command contains
floating point values, the order of the bytes must befloating point values, the order of the bytes must be
floating point values, the order of the bytes must befloating point values, the order of the bytes must be
floating point values, the order of the bytes must be
reversed.reversed.
reversed.reversed.
reversed.
Figure 8.5 (Converting a FLOAT Value To Its 4 byte HART Equivalent)