-

Semantic Error (SEM1080): The data type of the control variable ('...') is not 'ANY_INT'.

In a FOR statement (ST code), all involved variables (control variable, start value, end value and increment value) must be of the data type ANY_INT (LINT, DINT, INT, SINT, ULINT, UDINT, UINT, USINT).

Example:

In a worksheet, another data type is used instead at the underlined position. Enter an ANY_INT variable to correct the statement.

Further Info
For information on the correct ST syntax refer to the topic "ST code objects".

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.