MCT-334 INDUSTRIAL AUTOMATION
• Function Block Diagram
• Instruction List
FUNCTION BLOCK DIAGRAM
• Graphic programming language
• Elements of FBD are graphically
Elements of represented functions and
FBD function blocks
• They are interconnected by signal
flow lines
Elements of FBD
• Direction of signal flow in a
network is from left to right
• In case of several networks,
processing will be in sequence
from Top to Bottom
Evaluation of
Networks • Processing sequence within
program organization unit may be
influenced using elements
(includes conditional &
unconditional jump) for execution
control
• Conditional or
Unconditional Jump ?
Evaluation of Networks
• Conditional jump, represented via
Double arrow, will be executed if
jump condition is met
• If a jump is to be executed to a
network, the corresponding
Evaluation of
network must be prefixed with a
Networks symbolic name, the jump flag,
ending with colon
• The jump flag must be identified in
accordance with the rules for
symbolic names
• It should be noted while doing
programming in FBD that no Loop
structures are permissible within
Loop networks
Structures
• Structures of this type may be
realized through the additional use
of a Feedback path
Loop Structures
Design Logic Circuit for Dual Axis Solar Tracker using FBD
Case Study
For Function Block Diagram
Logic State 4 LDR Inputs DC Motor 1 DC Motor 2
S1 S2 S3 S4 CW CCW CW CCW
0 0 0 0 0 0 0 0 0
1 0 0 0 1 1 0 1 0
2 0 0 1 0 0 0 1 0
3 0 0 1 1 1 0 1 0
4 0 1 0 0 1 0 0 1
5 0 1 0 1 No action needed
6 0 1 1 0 0 1 1 0
7 0 1 1 1 0 0 1 0
8 1 0 0 0 0 0 0 1
9 1 0 0 1 0 1 0 1
10 1 0 1 0 No action needed
11 1 0 1 1 1 0 1 0
12 1 1 0 0 1 0 0 1
13 1 1 0 1 0 0 0 1
14 1 1 1 0 1 0 0 1
15 1 1 1 1 No action needed
Case Study
For Function Block Diagram
Case Study
For Function Block Diagram
INSTRUCTION LIST
• IL is a textual programming
language
• Its instructions most closely
resemble the commands in PLC
Instructions
• Control program formulated in IL
consist of series of instructions
provided that each instruction
must begin with a new line
Instructions
• Result register or
Accumulator
• N - negates an input or
output
• ( - nests an operation and
puts it on a stack to be
pulled off by ’)’
• C - forces a check for the
currently evaluated results
at the top of the stack
Operators
• Operators are not
linked with priorities
• Operations are
processed in sequence,
in which they entered
• Different sequence can
be achieved by using
brackets as shown:
Operators
• In IL, use of functions and function
Functions blocks is unlimited
and Function • Functions for control tasks are
Blocks realized via the operands specified
in table previously discussed
Functions and Function Blocks
Functions and Function Blocks
Example Case Study
Instruction List
CLASS WORK
Instruction List
Thank You