STRING (hexadecimal format) into DOUBLE WORD
This function converts a string in hexadecimal formal into a value of the data type DWORD.
At first the string is converted into a value of the data type STRING[32]. Finally this is converted into a value of the data type DWORD in a subprogram of approximately 270 steps, which is also used by the functions STRING_TO_INT, STRING_TO_WORD, STRING_TO_DINT and STRING_TO_DWORD.
Input
Input data type
Output
Conversion result
Acceptable Format: _'[Space][Hexadecimal number][Space]' e.g. perhaps ' afFE '
Acceptable characters:
Space
Sign "+" (plus), "-" (minus)
Hexadecimal numbers in the ranges "0 - 9", "A - F" or "a - f".
The analysis ends with the first non-decimal number.