-

Semantic Error (SEM1201): The pragma '...' has invalid parameters.

In the definition of a user-defined data type, a pragma is used with an invalid syntax (too many or less parameters). Check which parameters the pragma expects.

Error example: The pragma TrueLabel expects only one text label, the second label is not valid.

Further Info
For information on pragmas and how to declare them refer to the topic "Pragmas for IEC variables".