Data Type Converter
Convert between data types (BYTE…LREAL) and number bases — decimal, hexadecimal, binary, bitwise.
READY
data_type_converter.tool
READY
// HOW IT WORKS
PLC values can be read as different data types and number bases. The tool converts a value between types (BYTE…LREAL) and between decimal, hexadecimal and binary, and shows the individual bits.
Example
Decimal 250 → hex 0xFA → binary 1111 1010 → as signed SINT (8-bit): −6.
Notes
- The same bit pattern means different numbers depending on type and signedness (0xFA = 250 unsigned, −6 signed).
- Watch the width: a value above 255 no longer fits in a BYTE/SINT.