-

Pragmas for IEC Variables

The IEC 61131-3 standard defines variable pragmas for program pre-processing and post-processing.

Note
In the current iCube Engineer version, pragmas can be defined only in data types worksheets, i.e., when defining user-defined data types. Variables tables do currently not provide a possibility for defining pragmas.

In the current iCube Engineer version, only the pragmas TrueLabel('labelString') and FalseLabel('labelString') for Boolean variables are supported.

Example: In a user-defined STRUCT data type, a TrueLabel pragma is defined for a Boolean variable Heater.

The pragma influences the online representation of the variable: If Heater = TRUE, the online value "Heating..." is displayed instead of TRUE. The following example shows the WATCHES window with the variable being TRUE and 'Display > Label' selected as display mode ‣ WATCHES: Monitoring/Debugging the Application
×‣ WATCHES: Monitoring/Debugging the Safety-Related Application
×
.

The pragma is also displayed as possible force/overwrite value:

 


This help information is valid for iCube Engineer Online Help 2025.6

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