Number to hex text DINT → HEX
Writes the number as hex text, like 42 → "0000002A".
Source255
To
Dest"000000FF"
| Tag | After two scans |
|---|---|
| StatusHex | '000000FF' |
| StatusWord | 255 |
How it's used
Use it to show a status word in hex, as device manuals list it.
Source255
To
Dest"000000FF"
| Tag | Value |
|---|---|
| StatusWord | 255 |
| StatusHex | '000000FF' |
255 is 000000FF: always 8 hex digits.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | DINT or a number | Reads |
| Dest | STRING | Writes |
Common mistakes
- Expecting a short resultThe text is always 8 hex digits: 255 is 000000FF.