-

FROM_LITTLE_ENDIAN

Type Function
Description Converts the value connected to IN from Little Endian format into the internal endianness of the controller.
Only in this format received data can be processed further on the controller.
Notes
  • The function can operate on various input data types.
  • The data types of the input and the output shall be of the same type. The data type of the output can be larger than the input data type.
  • If an array or structure is converted, the byte order is reversed for each individual component.
  • Input data that is contained in the array or structure but cannot be converted (for example, data type STRING) is copied as is.
  • The function supports structures up to a nested level of 10.
Parameters Input

IN

Output

OUT
Example Example in ST
Additional information Endianness conversion functions

EN/ENO behavior