Statement to ignore ST-objects
Syntax
(* syntax to ignore the entire contents of an ST-object *)
{ DoNotValidateThisFile ('') }
PROGRAM name1 | FUNCTION_BLOCK name2 | FUNCTION name3 | TYPE | INTERFACE name 4
...
Meaning |
ignore the contents of the current ST-object when validating the application The statement { DoNotValidateThisFile ('') } must be inserted at the beginning of an ST-object and is valid for all elements within the ST-object (hence: →POUs, →data types and →interfaces). |
Example for ignoring the entire contents of ST-object 'Test'
{ DoNotValidateThisFile ('') }
FUNCTION_BLOCK Control
...
END_FUNCTION_BLOCK