Semantic Error (SEM1078): The data type of the case list element ('...') is not 'ANY_INT'.
In a CASE statement (ST Code), the variable or expression to be evaluated must be of the data type ANY_INT (LINT, DINT, INT, SINT, ULINT, UDINT, UINT, USINT). Consequently, all elements of the case list must begin with a suitable ANY_INT literal.
Further Info
For information on the correct ST syntax refer to the topic "ST code objects". |