M550/M560/M850 Set Endian


Set Endian (Modbus function 108 (6Ch))

Write Only
0 = BIG ENDIAN
1 = LITTLE ENDIAN
2 = BIG ENDIAN + WORD SWAP
3 = LITTLE ENDIAN + WORD SWAP
Format-
[node address][6Ch][Data Length(1 byte)][Endian Code(1 byte)][crc(2 bytes)]

Example 1.
Set Endian of node 1 to BIG with no word swapping
[01][6C][01][00][C055]

Example 2.
Set Endian of node 1 to LITTLE with no word swapping
[01][6C][01][01][0195]

Example 3.
Set Endian of node 1 to BIG with word swapping
[01][6C][01][02][4194

Example 4.
Set Endian of node 1 to LITTLE with word swapping
[01][6C][01][03][8054]
]