Message: '<keyword>' not allowed in this place
Possible error cause: A declaration keyword (example: VAR_INPUT
, VAR_OUTPUT
, or VAR
) is not allowed at this location.
Error correction: Correct the declaration: Inputs and outputs are not useful or necessary in type definitions or global variable lists.
TYPE DUT : STRUCT member : INT; END_STRUCT END_TYPE
Example of the error:
TYPE DUT : STRUCT VAR_INPUT member : INT; END_VAR END_STRUCT END_TYPE --> C0173: 'VAR_INPUT' not allowed in this place.
Error correction
Example: TYPE DUT : STRUCT member : INT; END_STRUCT END_TYPE