Skip to main content

Compiler Warning C0344

Message: The monitoring attribute is not supported for property '<property name>' and will be ignored

Possible error cause: A property has the monitoring attribute 'call' and returns a structure.

Error correction: Use the monitoring attribute 'variable'.

Example 466. Example of the warning
TYPE ST_Test :STRUCT
      a,b : INT;  
END_STRUCT
END_TYPE

FUNCTION_BLOCK FB_Test
...

{attribute 'monitoring' := 'call'}
PROPERTY TestProp : ST_Test

The declaration of the property TestProp produces the following warning.

Message:

C0344: The monitoring attribute is not supported for property 'TestProp' and will be ignored.