274
ICC
Figure 109: BACnet - DeviceNet Little Endian
Conversely, Figure 110 illustrates the consequences of configuring the database
for big-endian byte order using this scenario. Once again, Analog Value 0 has a
value of 0x12345678. But now, when the DeviceNet device interprets the 4 bytes
of input data sent by the gateway, the resulting 4-byte value is 0x78563412, thus
receiving an incorrect value for Analog Value 0. Note that in this example as well,
the DeviceNet byte array is identical, byte-for-byte to the database. This example,
in conjunction with the previous, demonstrates the dependence on the bag-of-
bytes style networks for correct database endianness selection.
Figure 110: BACnet - DeviceNet Big Endian