Basic Function Block Diagram Programming for Siemens PLCs 290
This class explains how function block diagram programming is used to program PLCs. It examines the basic rules that are used to construct an FBD program, including Boolean logic functions. It then illustrates these rules and how they relate to hard-wired circuitry by showing the various methods used to create a forward-reverse control application.
Number of Lessons 14
Or fill out this form and a specialist will contact you shortly
- Function Block Diagram Programming
- Instructions and Operands
- Network Execution
- AND Instruction
- OR Instruction
- Exclusive OR (XOR) Instruction
- Instructions that Set and Reset Bits
- Hardwired Motor Forward-Reverse Circuit
- PLC Motor Forward-Reverse Control
- PLC Motor Forward-Reverse Control Program
- PLC Motor Forward-Reverse Control Program Operation
- Describe function block diagram programming.
- Understand the use of binary instructions and operands in FBD programming.
- Understand how a network is executed in an FBD program.
- Explain the AND instruction.
- Explain the OR instruction.
- Explain the XOR instruction.
- Explain inversion in FBD programming.
- Understand the instructions that set and reset bits.
- Explain how forward-reverse control is done using hardwired circuits.
- Describe the operation of a typical PLC forward-reverse control application.
- Describe the operation of a PLC motor forward-reverse control program.
An operand that can be used by any code block in a program. In STEP 7 (TIA Portal), absolute operands are preceded by the % symbol.
A Boolean logic function for which the result is 1 if only when all inputs to the function are 1.
An FBD instruction that sets the status bit specified by the operand to 1 when the result of logic operation (RLO) to the instruction is 1, and resets the status bit to 0 when the RLO to the instruction is 0. The assign instruction is the FBD equivalent of the LAD output coil instruction.
A number system used for PLCs that has either 0 to 1 as a value.
A single numerical unit in the binary number system. Bit is the smallest unit of information on a computer.
Bit logic instructions
A category of instructions in the FBD programming language that performs logical operations using single bit memory locations.
M. A part of the global memory of a Siemens PLC used to store the immediate results of program operations.
A branch of mathematics that deals with the use of logical operators that define relationships between two or more entities. Examples of Boolean functions include AND, OR, and Exclusive OR.
8 consecutive binary bits.
Program blocks in a Siemens PLC program. Code blocks store information in global and instance data blocks and are allocated local memory when being executed.
A type of circuit that uses control devices to determine when loads are energized or de-energized by controlling current flow. Control circuits usually operate with lower voltages and currents.
32 consecutive binary bits.
An application that controls the forward and reverse motion of a motor. The forward-reverse control of a three-phase AC motor is one of the most basic applications for PLC bit logic instructions.
One of the allowed code block types in a STEP 7 PLC program. A function block can be programmed using any allowable PLC programming language.
function block diagram programming
FBD programming. A graphical PLC programming language defined in part 3 of the IEC 61131 standard.”
A type of PLC memory that is available to all code blocks. Global memory includes the input (I) and output (Q) status bits of the process image and bit memory (M).
A standard of the International Electrotechical Commission that provides common approaches and concepts for PLCs. Part three of the standard describes the FBD programming language for PLCs.
input signal module
A Siemens PLC input module. An input signal module converts the signal from an input device to the low voltage DC used by the CPU.
instance data blocks
Data blocks (DBs) that store data for a specific function block.
An operation that changes a logic 1 to a logic 0 or vice versa.
An instruction that changes a 1 to a 0 and a 0 to a 1. An invert instruction is represented by a small circle adjacent to another FBD instruction.
Ladder logic or ladder diagram programming. A graphical programming language that is defined in IEC 61131-3 and derived from the diagrams used in electromechanical control circuits, though it has expanded to include more advanced capabilities.
A PLC program whose instructions are contained in one main program block, called organization block 1, or OB1. Linear programs are executed with each PLC scan.
L. A type of PLC memory that temporarily holds information but does not store it. Local memory is allocated to code blocks when they are executed.
negate assign instruction
An FBD instruction that sets the status bit specified by the operand to 1 when the result of logic operation (RLO) to the instruction is 0, and resets the status bit to 0 when the RLO to the instruction is 1. The negate assign instruction is the FBD equivalent of the LAD inverted output coil instruction.
A part of a PLC instruction that identifies a memory location associated with the instruction.
A Boolean logic function for which the result is 1 when one or more of the inputs to the function are 1.
output signal module
A Siemens PLC output module. An output signal module controls an output device in response to the signal provided from the CPU.
A level of current that exceeds the recommended level for a device or circuit, but is less than the level of a short circuit.
A device that disconnects a motor from its power circuit when the overload relay senses and overload for a specified time.
A symbolic identifier used in a PLC program to associate an instruction with a CPU memory area.
A type of circuit that carries power to electrical loads.
The area of CPU memory where input and output status information is stored.
reset set flip-flop
An instruction with reset and set inputs that determine the state of the instruction output. The set input is dominant over the reset input.”
result of logic operation
RLO. The solution to a configuration of instructions. The RLO at any point in a network affects the operation of instructions that come after that point in the network.
One complete cycle of a PLC's cyclical operation that includes checking inputs, executing its programs, updating the status of its outputs, and performing various other required processes.
set reset flip-flop
An instruction with set and reset inputs that determine the state of the instruction output. The reset input is dominant over the set input.
Software used for the configuration, programming, testing, and diagnosis of Siemens SIMATIC S7 PLCs.
A PLC program with instructions divided into multiple program blocks. Program blocks in a structured program can be executed with each PLC scan or on a conditional basis.
three-phase AC motor
A type of electric motor that runs on alternating current. Three-phase AC motors are the most common type of industrial motor.
Siemens Totally Integrated Automation Portal. Software used for designing, commissioning, operating, maintaining, and upgrading automation systems.
A table that shows all the possible true and false combinations for a logic function or configuration and the corresponding state of the output for each combination.
16 consecutive binary bits.
Exclusive OR. A Boolean logic function for which the result is 1 when an odd number of the inputs to the function are 1.