myDESIGNER › myDESIGNER › Connections & Protocols
Modbus - Floating point numbers
Floating point data type is possible for use in both input and holding registers, and all possible byte swap combinations are supported.
| Register | Mapping | Swap mode | Bytes in 2 16 - bit registers | Resulting 32 - bit floating point |
| Hf | Holding registers | N/A | [a b][c d] | [a b c d] |
| Hfs | Holding registers | Byte and word swap | [a b][c d] | [d c b a] |
| Hfsb | Holding registers | Byte swap | [a b][c d] | [b a d c] |
| Hfsw | Holding registers | Word swap | [a b][c d] | [c d a b] |
| Rf | Input registers | N/A | [a b][c d] | [a b c d] |
| Rfs | Input registers | Byte and word swap | [a b][c d] | [d c b a] |
| Rfsb | Input registers | Byte swap | [a b][c d] | [b a d c] |
| Rfsb | Input registers | Word swap | [a b][c d] | [c d a b] |