-

ST Parser Error (STP0025): Variable expected.

The ST parser detected a syntactical fault in a function block call:

When calling an FB in ST, the output parameters of this FB can be assigned to variables within the call. In the following example, the CV output of a CTU counter FB is assigned to the variable Counter (marked in the code). This is done using the => operator.

In a worksheet, the variable is missing in such an FB output assignment.

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.