Message: Attribute 'pack_mode' for 'FUNCTION' ( 'METHOD') not allowed
Possible error cause: Functions or methods which are attributed with the pragma {attribute 'pack_mode' := ' <pack mode value>'}
Example
{attribute 'pack_mode' := '2'} METHOD METH : INT VAR_INPUT END_VAR
{attribute 'pack_mode' := '1'} FUNCTION FunPacked : DINT VAR_INPUT by1: BYTE; END_VAR VAR by2: BYTE; END_VAR
Message:
C0550: Attribute 'pack_mode' for 'METHOD' not allowed
C0550: Attribute 'pack_mode' for 'FUNCTION' not allowed
Error correction: Delete the attribute pragma.