Common elements
Common elements
The shared foundation that all five IEC 61131-3 languages build on. Covers everything that is independent of the per-language syntax. (Stub — to be written.)
Sub-pages:
- Lexical elements — whitespace, identifiers, comments, the keyword reserved list. Numeric literals live on the ST side at textual/structured-text/literals/integer-literals/.
- Data types —
BOOL, integer and bit-string families,REAL/LREAL, time / date types,STRING. - Generic types —
ANY,ANY_NUM,ANY_INT,ANY_BIT,ANY_REAL. The type-family markers used in standard-function signatures. - Derived types —
STRUCT,ARRAY, enums, type aliases, subranges. User-defined types viaTYPE … END_TYPE. - Variable declarations —
VAR,VAR_INPUT,VAR_OUTPUT,VAR_IN_OUT,VAR_TEMP,VAR_GLOBAL,VAR_EXTERNAL, modifiers. - POU model —
PROGRAM,FUNCTION_BLOCK,FUNCTION: the three POU kinds and when to pick which. - Object-oriented extensions —
METHOD,INTERFACE,EXTENDS,IMPLEMENTSand the rest of the IEC 61131-3 third-edition OOP layer. ForgeIEC parses these constructs, matiec does not. - Configuration —
CONFIGURATION,RESOURCE,TASK,PROGRAM-instance binding. The IEC scheduler model.