-

Semantic Error (SEM1238): A variable named '...' is already defined in this scope.

A variable name conflict exists in an object-oriented function block POU. The same variable name is declared twice: in the POU itself ('Variables' table of the POU) and in a method of the FB.

  1. Double-click the error message to open the 'Variables' table of the method.
  2. Rename one of the affected variables.

 


This help information is valid for iCube Engineer Online Help 2025.6

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