FUNCTION WORD_AS_STRING : STRING(2)
Converts one word into its ASCII string representation
Example:
Input: '16#AF' Byte order: FALSE -> String: 'AF'
Scope
Name
Type
Comment
Return
WORD_AS_STRING
STRING(2)
A STRING(2) representing the HEX code of the input W
Input
W
WORD
Input value
ORDER
BOOL
TRUE: Swaps high and low byte