Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Diagnostics

Every diagnostic iecf reports has a code: E for an error, which stops a build, W for a warning, which does not. iecf explain CODE prints the code’s page; each is here too.

E0009 is not a fault in the program: it marks something the checker accepts and the C generator does not cover yet.

CodeWhat
E0001a character that has no place in IEC 61131-3 text
E0002a comment that is never closed
E0003a string literal that is never closed
E0004a literal that is not well formed
E0005the text does not fit the grammar here
E0006a block whose END keyword never comes
E0007a $ escape that a string literal does not have
E0008Instruction List, removed from IEC 61131-3 in Ed.4
E0009a part of IEC 61131-3 that iecf does not compile yet
E0010a name that nothing declares
E0011a type that nothing declares
E0012a name declared twice
E0013a value whose type does not convert implicitly
E0014operands an operator or index does not take
E0015an assignment to what cannot be assigned
E0016a call that does not fit what it calls
E0017a VAR_EXTERNAL that matches no VAR_GLOBAL
E0018a name the standard reserves for a type, function or block
E0019a condition that is not BOOL
E0020a literal outside its type’s range
E0021EXIT or CONTINUE outside a loop
E0022an address where the standard does not allow one
E0023a * address that VAR_CONFIG does not complete
E0024a VAR_CONFIG entry that does not fit the variable it names
E0025a VAR_CONFIG outside a CONFIGURATION
E0026REF() of what cannot be referenced
E0027a reference where it cannot be
E0028a name a namespace does not have, or does not let this code see
E0029a short name that two USINGs both bring in
W0001an octal literal, removed from IEC 61131-3 in Ed.4
W0002a direct address in a body, deprecated since Ed.3
W0003TRUNC without a type, deprecated since Ed.3
W0004an address whose size prefix is not its variable’s size
W0005REF() of a variable at an input address