Number to hex text DINT → HEX

Writes the number as hex text, like 42 → "0000002A".

TagAfter two scans
StatusHex'000000FF'
StatusWord255

How it's used

Use it to show a status word in hex, as device manuals list it.

TagValue
StatusWord255
StatusHex'000000FF'

255 is 000000FF: always 8 hex digits.

Operands

OperandData typeRead or write
SourceDINT or a numberReads
DestSTRINGWrites

Common mistakes

  • Expecting a short resultThe text is always 8 hex digits: 255 is 000000FF.