Spectrum Controls 1756sc-OF8H Series A User Manual
Page 129
![background image](/manuals/742122/129/background.png)
Chapter 8: Ladder Program Examples
115
Figure 8.4e (OF8H HART Message Ladder)
Swap Byte
Swap Byte
Swap Byte
Swap Byte
Swap Byte
L a d d e r
L a d d e r
L a d d e r
L a d d e r
L a d d e r
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 or
Attention: If the HART message being sent or
Attention: If the HART message being sent or
Attention: If the HART message being sent or
Attention: If the HART message being sent or
received using the pass-through command contains
received using the pass-through command contains
received using the pass-through command contains
received using the pass-through command contains
received using the pass-through command contains
floating point values, the order of the bytes must be
floating point values, the order of the bytes must be
floating point values, the order of the bytes must be
floating point values, the order of the bytes must be
floating point values, the order of the bytes must be
r e v e r s e d .
r e v e r s e d .
r e v e r s e d .
r e v e r s e d .
r e v e r s e d .
Figure 8.5 (Converting a FLOAT Value To Its 4 byte HART Equivalent)