EcoStruxure Machine Expert version 1.1 does not support the M258, LMC058 and LMC078 controllers.

ANY_..._TO Conversions

Definition

Conversion from any data type, or more specifically from any numeric data type to another data type. As with any type of conversion, the size of the operands must be taken into account in order to have a successful conversion.

Syntax

ANY_NUM_TO_<numeric data type>

ANY_TO_<any data type>

Example

Conversion from a variable of data type REAL to INT:

re : REAL := 1.234;
i : INT := ANY_TO_INT(re)