Struct Definition

The stValue variable is an instance of the structured data type ST_Value. Here’s its definition:

TYPE ST_Value :
STRUCT
    bValue : BOOL;
    sValue : STRING;
END_STRUCT
END_TYPE

The struct ST_Value contains a boolean (bValue) and a string (sValue). These members allow us to test interactions with complex data types.