-

Semantic Error (SEM1275): The value '...' exceeds the range '...' to '...' of data type '...'.

In a CASE selection statement in ST, the value of the variable following the keyword CASE exceeds the value range of the declared data type.

Error example

The variable a is of the data type INT. The second CASE selection exceeds the maximum INT value.

Remedy

Double-clicking the error message opens the code and marks the incorrect code position. Correct the value or modify the data type of the expression variable accordingly.

 


This help information is valid for iCube Engineer Online Help 2025.6

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