Programming Languages
IEC 61131-3 standard programming languages and syntax
C
3 terms
CFC (Continuous Function Chart)
CFC
Extended graphical programming method for complex control strategies, similar to FBD with free positioning.
Comment
Non-executable text in program providing documentation and explanations for code.
Cross Reference
Programming tool showing all locations where a variable or address is used in the program.
F
3 terms
Function
FC
Reusable code block with inputs and single output, no internal memory between calls.
Function Block
FB
Reusable code with inputs, outputs, and persistent internal memory (instance data) between calls.
Function Block Diagram
FBD
Graphical programming language using interconnected function blocks to represent control logic flow.
G
2 terms
I
4 terms
IEC 61131-3
International standard defining five programming languages for PLCs, ensuring consistency across manufacturers.
Indirect Addressing
Using pointer or index to dynamically access memory locations during runtime.
Instance
Specific occurrence of a function block with its own data memory, allowing multiple uses of same FB.
Instruction List
IL
Low-level text-based language similar to assembly code, being phased out in favor of Structured Text.
L
3 terms
Ladder Logic
LD
A visual programming language for PLCs that resembles electrical relay logic diagrams, using symbols for contacts and coils to represent logic operations.
Library
Collection of reusable functions and function blocks for common tasks.
Local Variable
Variable only accessible within its declaring POU, preventing unintended interactions.
N
2 terms
P
2 terms
S
6 terms
Sequential Function Chart
SFC
Graphical language for programming sequential control systems using steps, transitions, and parallel branches.
State Machine
Programming pattern organizing code into discrete states with defined transitions, ideal for sequential control.
Structured Text
ST
A high-level textual programming language for PLCs similar to Pascal, defined in IEC 61131-3, ideal for complex math, data manipulation, and algorithm implementation.
Subroutine
Reusable program segment called from main program or other subroutines to modularize code.
Symbolic Addressing
Using descriptive names instead of physical addresses for variables.
System Block
Manufacturer-provided function blocks for system-level operations.
V
3 terms
VAR_IN_OUT
Pass-by-reference parameter in IEC 61131-3, allowing direct modification of external variables.
VAR_INPUT
Input parameter declaration in IEC 61131-3 POUs, read-only within the block.
VAR_OUTPUT
Output parameter declaration in IEC 61131-3 POUs, writable within the block.