Infosys在阅读器中打开 / AI 翻译

PLC · 0 次阅读

Compiler Warning C0351

Message: The attribute <attribute name> is unknown and will be ignored by the compiler

Possible error cause: There is a spelling mistake in an attribute name.

Error correction: If you are using a predefined attribute, then make sure that the attribute is spelled correctly (in the example: call_after_init).

Example of the warning:

{attribute 'call_after_ini'}
PROGRAM MAIN
VAR
END_VAR

Message:

C0351: The attribute call_after_ini is unknown and will be ignored by the compiler