-

Lexical Error (LEX0002): Invalid direct variable '...'.

In an ST code worksheet, the lexical analysis detected an invalid direct addressing of a variable (using a location prefix I, Q or M, the % character and a size prefix X, B, W etc.). The affected code position is underlined in the worksheet.

This type of addressing is not supported in iCube Engineer, regardless of the present lexical error. Addressing is done exclusively by assignment to a process datum in the Data List.

Remedy

 


This help information is valid for iCube Engineer Online Help 2025.6

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