Instruction blocks in ladder diagram programs
The
FactoryTalk Design Workbench
instruction set includes instruction blocks in compliance with IEC 61131-3. Instruction blocks collectively include function blocks, functions, and operators.Connect instruction block inputs and outputs to variables, contacts, coils, or other instruction block inputs and outputs.
Instruction block conventions
The IEC61131-3 programming language specification addresses numerous aspects of programmable controllers, including operating system execution, data definitions, programming languages, and instruction sets. The IEC61131-3 specification provides a minimum set of functionalities that can be extended to meet end user applications.
Instruction block names
Functions and function blocks are represented by a box that displays the name of the instruction and the short version of the parameter names. For function blocks with an instance, the instance name is displayed below the function block name.
Instruction block return parameters
- The return parameter of a function has the same name as the function. The return parameter is the only output.
- The return parameters of a function block can have any name. Multiple return parameters can provide multiple outputs.
- You can define the parameters of programs for each controller by navigating the tabs for individual controllers displayed in theParameterview.
Provide Feedback