SlideShare a Scribd company logo
EEC3420 Industrial Control 
Department of Electrical Engineering 
│ Lecture 5 │ 
Flow-chart based process control 
design 
© Vocational Training Council, Hong Kong. Week 1
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
2 
Learning Objectives 
 To design control process based on flow-chart technique
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
3 
Flow-chart 
• in flowchart, blocks are connected using 
arrows to indicate the sequence of the steps 
• different blocks imply different types of 
program actions 
• programs always need a start block, but PLC 
programs rarely stop so the stop block is 
rarely used 
• other important blocks include operations and 
decisions
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
4 
Flowchart 
• flowchart is ideal for a 
process that has 
sequential process 
steps 
• steps will be 
executed in a simple 
order that may 
change as the result 
of some simple 
decisions
EEE3420 Industrial Control 
A simple flowchart with automatical 
entering to the first step 
• ARROW paths are 
represented by T1:500 and 
T2:501 
• PROCESS boxes are 
represented by F1:1000 and 
F2:1001 
• arrow paths are implemented 
by means of the “Transition 
Logic” ladder 
• process boxes are realized by 
the “Function Logic” ladder. 
© Vocational Training Council, Hong Kong. Week 
5
EEE3420 Industrial Control 
A simple flowchart with automatical 
entering to the first step (without KEEP function) 
• ARROW paths are 
represented by T1:500 and 
T2:501 
• PROCESS boxes are 
represented by F1:1000 and 
F2:1001 
• arrow paths are implemented 
by means of the “Transition 
Logic” ladder 
• process boxes are realized by 
the “Function Logic” ladder. 
© Vocational Training Council, Hong Kong. Week 
6
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
7 
The DECISION box 
• there are two output 
transitions in a decision box 
• each output transition is 
accompanied by a Boolean 
condition 
• When the input 01 is 0, the 
output 1000 will be off and 
1001 on, and when the input 
01 is 1, the output 1000 will 
be on and 1001 off
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
8 
Representation of a sequential 
process by flowchart 
• a sequential process of a 
Tank Filler for controlling 
a large water tank 
• when start button is 
pushed the tank will start 
to fill, and the flow out will 
be stopped when full, or 
the stop button is pushed 
the outlet will open up, and 
the flow in will be stopped
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
9 
Representation of a sequential 
process by flowchart 
• execution starts at the top 
• first operation is to open 
the outlet valve and close 
the inlet valve 
• next, a single decision 
block is used to wait for a 
button to be pushed
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
10 
Representation of a sequential 
process by flowchart 
• when the button is pushed 
the yes branch is followed, 
the inlet valve is opened, 
and the outlet valve is 
closed 
• the flow chart goes into a 
loop that uses two decision 
blocks to wait until the tank 
is full, or the stop button is 
pushed
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
11 
Representation of a sequential 
process by flowchart 
• if either case occurs the 
inlet valve is closed and the 
outlet valve is opened 
• system then goes back to 
wait for the start button to 
be pushed again 
• when the controller is on 
the program should always 
be running, so only a start 
block is needed
EEE3420 Industrial Control 
Representation of a sequential 
process by flowchart 
The general method for constructing flowcharts is: 
1. Understand the process. 
2. Determine the major actions, these are drawn as 
© Vocational Training Council, Hong Kong. Week 
12 
blocks. 
3. Determine the sequences of operations, these are 
drawn with arrows. 
4. When the sequence may change use decision 
blocks for branching.
EEE3420 Industrial Control 
Representation of a sequential 
process by flowchart 
Two basic techniques that can be used: 
• the first presented uses blocks of 
ladder logic code 
• the second uses normal ladder 
logic 
© Vocational Training Council, Hong Kong. Week 
13
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
• name each block in 
the flowchart as 
shown 
• each of the 
numbered steps will 
then be converted to 
ladder logic 
© Vocational Training Council, Hong Kong. Week 
14
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
• each block in the 
flowchart will be 
converted to a block 
of ladder logic 
• to do this we will use 
the Interlock relay 
(or the MCR relay) 
© Vocational Training Council, Hong Kong. Week 
15
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
If the first ILock line is 
true then the ladder 
logic on the following 
lines will be scanned 
as normal to the 
subsequent ILoff line 
© Vocational Training Council, Hong Kong. Week 
16
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
• if the first line is 
false the lines to 
the subsequent 
ILoff block will all 
be forced off 
• if a normal output 
is used inside an 
ILock block, it may 
be forced off 
© Vocational Training Council, Hong Kong. Week 
17
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
The first part of the ladder logic required will reset the logic 
to an initial condition as shown 
© Vocational Training Council, Hong Kong. Week 
18
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
This logic turns on the outlet valve and turns off the inlet valve 
It then turns off operation F1, and turns on the next operation 
F2 
© Vocational Training Council, Hong Kong. Week 
19
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
The ladder logic for operation F2 shown is simple, and when 
the start button is pushed, it will turn off F2 and turn on F3 
© Vocational Training Council, Hong Kong. Week 
20
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
The ladder logic for operation F3 shown opens the inlet 
valve and moves to operation F4 
© Vocational Training Council, Hong Kong. Week 
21
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
The ladder logic for operation F4 shown turns off F4, and 
if the tank is full it turns on F6, otherwise F5 is turned on 
© Vocational Training Council, Hong Kong. Week 
22
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
The ladder logic for operation F5 shown is very similar 
© Vocational Training Council, Hong Kong. Week 
23
EEE3420 Industrial Control 
Implementation of flowchart using 
block logic 
The ladder logic for operation F6 shown turns the outlet valve 
on and turns off the inlet valve. It then ends operation F6 and 
returns to operation F2 
© Vocational Training Council, Hong Kong. Week 
24
EEE3420 Industrial Control 
Implementation of flowchart using 
sequence bits 
In general there is a preference for methods that do 
not use Ilock (or MCR) statements or latches 
The flowchart used in the previous example can be 
implemented without these instructions using the 
following method 
© Vocational Training Council, Hong Kong. Week 
25
EEE3420 Industrial Control 
Implementation of flowchart using 
sequence bits 
• each of the blocks in 
the flowchart are 
labeled 
• the connecting arrows 
(transitions) in the 
diagram are also 
labeled 
© Vocational Training Council, Hong Kong. Week 
26
EEE3420 Industrial Control 
Implementation of flowchart using 
sequence bits 
• The first section of 
ladder logic shown 
indicates the transition 
logic 
• This presents when 
the transitions 
between functions 
should occur 
© Vocational Training Council, Hong Kong. Week 
27
EEE3420 Industrial Control 
Implementation of flowchart using 
sequence bits 
• The logic shown will 
keep a function on, or 
switch to the next 
function 
• F1 will be turned on by 
T1 and once function 
F1 is on it will keep 
itself on, unless T2 
occurs shutting it off 
© Vocational Training Council, Hong Kong. Week 
28
EEE3420 Industrial Control 
Implementation of flowchart using 
sequence bits 
This shows the 
output functions of 
the water tank 
system, from the 
flowchart it can be 
seen that the outlet 
valve is open in 
function blocks F1, 
F2 and F6 
© Vocational Training Council, Hong Kong. Week 
29
EEE3420 Industrial Control 
High Level Process Representation 
using Flowchart 
With the aid of high level instructions in PLCs, the 
flowchart may now be used to present a process at a 
relatively high level perspective 
© Vocational Training Council, Hong Kong. Week 
30
EEE3420 Industrial Control 
Cart control system 
The following example shows a flowchart 
representation of a control process of cart movement 
and how to implement the process using the high 
level instructions offered by the Mitsubishi FX PLC 
© Vocational Training Council, Hong Kong. Week 
31
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
32 
Cart control system 
The limit switches LS1 to LS8 detect the position of 
the cart and the push buttons SB1 to SB8 are the call 
buttons to initiate the calling of the cart. 
Upon receiving the cart call signal, the control system 
determines whether the call is coming from the high 
position or from the lower position and then sends 
corresponding signal to drive the cart to the 
destination position
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
33 
Cart control system 
During the movement of the cart, no further call signal 
will be handled, and when the cart arrives the 
destination, the cart will stay there for 30s and after 
that the system resumes its cart call service
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
34 
Cart control system 
Based on the process specification, 
the flowchart shown below is 
constructed
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
35 
Cart control system 
IO and flags assignment table 
Limit switch inputs Push button inputs Others 
X000 LS1 X010 SB1 Y000 motor brake 
X001 LS2 X011 SB2 Y001 motor forward 
X002 LS3 X012 SB3 Y002 motor reverse 
X003 LS4 X013 SB4 Y003 call in-service light 
X004 LS5 X014 SB5 D100 cart stop position 
X005 LS6 X015 SB6 D110 cart call position 
X006 LS7 X016 SB7 M101 cart call inhibit 
X007 LS8 X017 SB8 M102 system started 
X021 system start button 
X022 system stop button 
M000 intermediate relay 
M001 intermediate relay 
M002 intermediate relay
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
36 
Cart control system 
When first start, reset the content of 
D100 & D110 to 0. The MOVP 
instruction will only be executed 
when there is a rising edge present
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
37 
Cart control system 
The content of D100 is 
filled with the stop 
position of the cart
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
38 
Cart control system 
The Cart Call Inhibit coil 
is used to control an 
output indicator light 
Y003 to show that the 
cart call is in service. 
The content of D110 is 
filled with the position of 
cart call
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
39 
Cart control system 
The CMP instruction is used to 
determine whether the cart call is 
coming from a higher position or 
from a lower position. When the 
value of D110 (cart call position) 
is less than that of D100 (cart 
stop position) , then M000 will be 
energized and in turn switches 
Y002 (motor reverse) on
EEE3420 Industrial Control 
© Vocational Training Council, Hong Kong. Week 
40 
Summary 
 Flowcharts are suited to processes with single flow 
of execution 
 Flowcharts are suited to processes with clear 
sequence of operation 
 Flowchart may be implemented by using block logic 
 Flowchart may also be implemented using 
sequence bits 
 Flowchart can be used to represent process from a 
high level perspective and the details of the 
process is implemented by the high level 
instructions of the PLC
EEE3420 Industrial Control 
Flow-chart based process control design 
© Vocational Training Council, Hong Kong. Week 
41 
End of Lecture 5 
 Revision 
TRiLOGI PLC simulator operation manual 
Mitsubishi FX series programming manual

More Related Content

PPT
Eee3420 lecture06 rev2011
PPT
Eee3420 lecture04 rev2011
PPT
Eee3420 lecture01 rev2011
PPT
Eee3420 lecture03 rev2011
PPT
Eee3420 lecture02 rev2011
PPT
Eee3420 lecture07 rev2011
PPT
Eee3420 lecture08 rev2011
PDF
Project&Site Experience
Eee3420 lecture06 rev2011
Eee3420 lecture04 rev2011
Eee3420 lecture01 rev2011
Eee3420 lecture03 rev2011
Eee3420 lecture02 rev2011
Eee3420 lecture07 rev2011
Eee3420 lecture08 rev2011
Project&Site Experience

What's hot (10)

PDF
3361107.pdf
PPTX
Programmable Logic Controls training day 1
PPT
PROGRAMMABLE LOGIC CONTROLLERS
PPTX
PLC programming example - Paint Spray
PPTX
Programmable Logic Controls training day 2
PDF
Inception Institute of Industrial Training Brochure 2014 by APRM
PDF
Industrial Control Systems - PLC
PPT
PPTX
Arrow Devices MIPI MPHY Verification IP Solution
PDF
ITS_Repair & Refurbishment of GE SPEEDTRONIC Mark V and ABB INFI 90 Power Mod...
3361107.pdf
Programmable Logic Controls training day 1
PROGRAMMABLE LOGIC CONTROLLERS
PLC programming example - Paint Spray
Programmable Logic Controls training day 2
Inception Institute of Industrial Training Brochure 2014 by APRM
Industrial Control Systems - PLC
Arrow Devices MIPI MPHY Verification IP Solution
ITS_Repair & Refurbishment of GE SPEEDTRONIC Mark V and ABB INFI 90 Power Mod...
Ad

Viewers also liked (20)

PPT
Eee3420 lecture01 rev2011
PPTX
Lecture 7 modelling-of__real_world_systems
PPTX
Lecture 12 time_domain_analysis_of_control_systems
PPTX
Lecture 13 14-time_domain_analysis_of_1st_order_systems
PPTX
Lecture 6 modelling-of_electrical__electronic_systems
PPTX
Vfd sharad
PPT
Diwan Annexure Starter panels Presentation Rev-1 Dt16-11-2014
PDF
Learn Automation from professionals
PPTX
Lecture 8-9 block-diagram_representation_of_control_systems
PPTX
A study on PLC basic
PPT
Eee3420 lecture07 rev2011
PDF
Lập trình plc delta
PPTX
Lecture 2 transfer-function
PPTX
Varaible frequency drive
PPT
Eee3420 lecture02 rev2011
PPT
Eee3420 lecture08 rev2011
PPTX
Chapter 4 time domain analysis
PPT
Time response
PDF
Solution of skill Assessment Control Systems Engineering By Norman S.Nise 6t...
PPTX
Laplace Transformation & Its Application
Eee3420 lecture01 rev2011
Lecture 7 modelling-of__real_world_systems
Lecture 12 time_domain_analysis_of_control_systems
Lecture 13 14-time_domain_analysis_of_1st_order_systems
Lecture 6 modelling-of_electrical__electronic_systems
Vfd sharad
Diwan Annexure Starter panels Presentation Rev-1 Dt16-11-2014
Learn Automation from professionals
Lecture 8-9 block-diagram_representation_of_control_systems
A study on PLC basic
Eee3420 lecture07 rev2011
Lập trình plc delta
Lecture 2 transfer-function
Varaible frequency drive
Eee3420 lecture02 rev2011
Eee3420 lecture08 rev2011
Chapter 4 time domain analysis
Time response
Solution of skill Assessment Control Systems Engineering By Norman S.Nise 6t...
Laplace Transformation & Its Application
Ad

Similar to Eee3420 lecture05 rev2011 (20)

PPT
Eee3420 lecture05 rev2011
PPT
Eee3420 lecture06 rev2011
PPT
Eee3420 lecture03 rev2011
PDF
PLC: Principios básicos del controlador lógico programable mediante el softwa...
PDF
Basic PLC Ladder Programming
PPT
Eee3420 lecture04 rev2011
DOCX
ECET 402 Entire Course NEW
DOCX
Parking Control System using PLC
PPTX
PLC Basics Last editionstandard EGY.pptx
PDF
IRJET- Automation of Heat Treatment Process line using PLC
PDF
IRJET- Interlooping Process of Diode Continuity Clamping Voltage Checking Mac...
PDF
IRJET-E-Blood Bank Application using Cloud Computing
PPTX
ECESLU Microprocessors Lecture 3
PDF
Basics of plc_programming1
DOCX
PLC 4.docx
PDF
PLC Programming
PDF
IRJET- PLC based Washing Machine
PDF
IRJET- PLC based Bottle Filling with Automatic Volume Detection
PPTX
PLC in Automation
PPTX
Topic 2 Digital Technique : Logic circuit
Eee3420 lecture05 rev2011
Eee3420 lecture06 rev2011
Eee3420 lecture03 rev2011
PLC: Principios básicos del controlador lógico programable mediante el softwa...
Basic PLC Ladder Programming
Eee3420 lecture04 rev2011
ECET 402 Entire Course NEW
Parking Control System using PLC
PLC Basics Last editionstandard EGY.pptx
IRJET- Automation of Heat Treatment Process line using PLC
IRJET- Interlooping Process of Diode Continuity Clamping Voltage Checking Mac...
IRJET-E-Blood Bank Application using Cloud Computing
ECESLU Microprocessors Lecture 3
Basics of plc_programming1
PLC 4.docx
PLC Programming
IRJET- PLC based Washing Machine
IRJET- PLC based Bottle Filling with Automatic Volume Detection
PLC in Automation
Topic 2 Digital Technique : Logic circuit

More from benson215 (19)

PDF
Chapter 5 - DC-AC Conversion.pdf
PDF
Chapter 0 - Introduction.pdf
PDF
Chapter 1 - PWM DC-DC Converter.pdf
PDF
Chapter 2 - Isolated DC-DC Converter.pdf
PDF
Chapter 3 - Resonant-mode DC-DC Converter.pdf
PDF
Chapter 6 - Modelling and Control of Converters.pdf
PDF
Chapter 4 - AC-DC Conversion.pdf
PDF
Chapter 7 - EMI.pdf
DOC
3. ac drive (misc.)
DOC
2. ac drive (common inverter drive)
PDF
1. revision on 3 phase conventional inverter
DOC
2. dc drive
PDF
1. revision on 3 phase controlled rectifier
PDF
2. motor drive dynamic
DOC
5. two phase servo motor
DOC
4. linear motor basics
PDF
2. brushless dc motors
PDF
1. servo basic
DOC
3. relutance and hysteresis motor
Chapter 5 - DC-AC Conversion.pdf
Chapter 0 - Introduction.pdf
Chapter 1 - PWM DC-DC Converter.pdf
Chapter 2 - Isolated DC-DC Converter.pdf
Chapter 3 - Resonant-mode DC-DC Converter.pdf
Chapter 6 - Modelling and Control of Converters.pdf
Chapter 4 - AC-DC Conversion.pdf
Chapter 7 - EMI.pdf
3. ac drive (misc.)
2. ac drive (common inverter drive)
1. revision on 3 phase conventional inverter
2. dc drive
1. revision on 3 phase controlled rectifier
2. motor drive dynamic
5. two phase servo motor
4. linear motor basics
2. brushless dc motors
1. servo basic
3. relutance and hysteresis motor

Recently uploaded (20)

PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Well-logging-methods_new................
PPT
Project quality management in manufacturing
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
composite construction of structures.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
DOCX
573137875-Attendance-Management-System-original
PPTX
additive manufacturing of ss316l using mig welding
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Foundation to blockchain - A guide to Blockchain Tech
Well-logging-methods_new................
Project quality management in manufacturing
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
composite construction of structures.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Internet of Things (IOT) - A guide to understanding
573137875-Attendance-Management-System-original
additive manufacturing of ss316l using mig welding
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Automation-in-Manufacturing-Chapter-Introduction.pdf
OOP with Java - Java Introduction (Basics)
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Safety Seminar civil to be ensured for safe working.
Fundamentals of safety and accident prevention -final (1).pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026

Eee3420 lecture05 rev2011

  • 1. EEC3420 Industrial Control Department of Electrical Engineering │ Lecture 5 │ Flow-chart based process control design © Vocational Training Council, Hong Kong. Week 1
  • 2. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 2 Learning Objectives  To design control process based on flow-chart technique
  • 3. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 3 Flow-chart • in flowchart, blocks are connected using arrows to indicate the sequence of the steps • different blocks imply different types of program actions • programs always need a start block, but PLC programs rarely stop so the stop block is rarely used • other important blocks include operations and decisions
  • 4. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 4 Flowchart • flowchart is ideal for a process that has sequential process steps • steps will be executed in a simple order that may change as the result of some simple decisions
  • 5. EEE3420 Industrial Control A simple flowchart with automatical entering to the first step • ARROW paths are represented by T1:500 and T2:501 • PROCESS boxes are represented by F1:1000 and F2:1001 • arrow paths are implemented by means of the “Transition Logic” ladder • process boxes are realized by the “Function Logic” ladder. © Vocational Training Council, Hong Kong. Week 5
  • 6. EEE3420 Industrial Control A simple flowchart with automatical entering to the first step (without KEEP function) • ARROW paths are represented by T1:500 and T2:501 • PROCESS boxes are represented by F1:1000 and F2:1001 • arrow paths are implemented by means of the “Transition Logic” ladder • process boxes are realized by the “Function Logic” ladder. © Vocational Training Council, Hong Kong. Week 6
  • 7. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 7 The DECISION box • there are two output transitions in a decision box • each output transition is accompanied by a Boolean condition • When the input 01 is 0, the output 1000 will be off and 1001 on, and when the input 01 is 1, the output 1000 will be on and 1001 off
  • 8. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 8 Representation of a sequential process by flowchart • a sequential process of a Tank Filler for controlling a large water tank • when start button is pushed the tank will start to fill, and the flow out will be stopped when full, or the stop button is pushed the outlet will open up, and the flow in will be stopped
  • 9. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 9 Representation of a sequential process by flowchart • execution starts at the top • first operation is to open the outlet valve and close the inlet valve • next, a single decision block is used to wait for a button to be pushed
  • 10. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 10 Representation of a sequential process by flowchart • when the button is pushed the yes branch is followed, the inlet valve is opened, and the outlet valve is closed • the flow chart goes into a loop that uses two decision blocks to wait until the tank is full, or the stop button is pushed
  • 11. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 11 Representation of a sequential process by flowchart • if either case occurs the inlet valve is closed and the outlet valve is opened • system then goes back to wait for the start button to be pushed again • when the controller is on the program should always be running, so only a start block is needed
  • 12. EEE3420 Industrial Control Representation of a sequential process by flowchart The general method for constructing flowcharts is: 1. Understand the process. 2. Determine the major actions, these are drawn as © Vocational Training Council, Hong Kong. Week 12 blocks. 3. Determine the sequences of operations, these are drawn with arrows. 4. When the sequence may change use decision blocks for branching.
  • 13. EEE3420 Industrial Control Representation of a sequential process by flowchart Two basic techniques that can be used: • the first presented uses blocks of ladder logic code • the second uses normal ladder logic © Vocational Training Council, Hong Kong. Week 13
  • 14. EEE3420 Industrial Control Implementation of flowchart using block logic • name each block in the flowchart as shown • each of the numbered steps will then be converted to ladder logic © Vocational Training Council, Hong Kong. Week 14
  • 15. EEE3420 Industrial Control Implementation of flowchart using block logic • each block in the flowchart will be converted to a block of ladder logic • to do this we will use the Interlock relay (or the MCR relay) © Vocational Training Council, Hong Kong. Week 15
  • 16. EEE3420 Industrial Control Implementation of flowchart using block logic If the first ILock line is true then the ladder logic on the following lines will be scanned as normal to the subsequent ILoff line © Vocational Training Council, Hong Kong. Week 16
  • 17. EEE3420 Industrial Control Implementation of flowchart using block logic • if the first line is false the lines to the subsequent ILoff block will all be forced off • if a normal output is used inside an ILock block, it may be forced off © Vocational Training Council, Hong Kong. Week 17
  • 18. EEE3420 Industrial Control Implementation of flowchart using block logic The first part of the ladder logic required will reset the logic to an initial condition as shown © Vocational Training Council, Hong Kong. Week 18
  • 19. EEE3420 Industrial Control Implementation of flowchart using block logic This logic turns on the outlet valve and turns off the inlet valve It then turns off operation F1, and turns on the next operation F2 © Vocational Training Council, Hong Kong. Week 19
  • 20. EEE3420 Industrial Control Implementation of flowchart using block logic The ladder logic for operation F2 shown is simple, and when the start button is pushed, it will turn off F2 and turn on F3 © Vocational Training Council, Hong Kong. Week 20
  • 21. EEE3420 Industrial Control Implementation of flowchart using block logic The ladder logic for operation F3 shown opens the inlet valve and moves to operation F4 © Vocational Training Council, Hong Kong. Week 21
  • 22. EEE3420 Industrial Control Implementation of flowchart using block logic The ladder logic for operation F4 shown turns off F4, and if the tank is full it turns on F6, otherwise F5 is turned on © Vocational Training Council, Hong Kong. Week 22
  • 23. EEE3420 Industrial Control Implementation of flowchart using block logic The ladder logic for operation F5 shown is very similar © Vocational Training Council, Hong Kong. Week 23
  • 24. EEE3420 Industrial Control Implementation of flowchart using block logic The ladder logic for operation F6 shown turns the outlet valve on and turns off the inlet valve. It then ends operation F6 and returns to operation F2 © Vocational Training Council, Hong Kong. Week 24
  • 25. EEE3420 Industrial Control Implementation of flowchart using sequence bits In general there is a preference for methods that do not use Ilock (or MCR) statements or latches The flowchart used in the previous example can be implemented without these instructions using the following method © Vocational Training Council, Hong Kong. Week 25
  • 26. EEE3420 Industrial Control Implementation of flowchart using sequence bits • each of the blocks in the flowchart are labeled • the connecting arrows (transitions) in the diagram are also labeled © Vocational Training Council, Hong Kong. Week 26
  • 27. EEE3420 Industrial Control Implementation of flowchart using sequence bits • The first section of ladder logic shown indicates the transition logic • This presents when the transitions between functions should occur © Vocational Training Council, Hong Kong. Week 27
  • 28. EEE3420 Industrial Control Implementation of flowchart using sequence bits • The logic shown will keep a function on, or switch to the next function • F1 will be turned on by T1 and once function F1 is on it will keep itself on, unless T2 occurs shutting it off © Vocational Training Council, Hong Kong. Week 28
  • 29. EEE3420 Industrial Control Implementation of flowchart using sequence bits This shows the output functions of the water tank system, from the flowchart it can be seen that the outlet valve is open in function blocks F1, F2 and F6 © Vocational Training Council, Hong Kong. Week 29
  • 30. EEE3420 Industrial Control High Level Process Representation using Flowchart With the aid of high level instructions in PLCs, the flowchart may now be used to present a process at a relatively high level perspective © Vocational Training Council, Hong Kong. Week 30
  • 31. EEE3420 Industrial Control Cart control system The following example shows a flowchart representation of a control process of cart movement and how to implement the process using the high level instructions offered by the Mitsubishi FX PLC © Vocational Training Council, Hong Kong. Week 31
  • 32. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 32 Cart control system The limit switches LS1 to LS8 detect the position of the cart and the push buttons SB1 to SB8 are the call buttons to initiate the calling of the cart. Upon receiving the cart call signal, the control system determines whether the call is coming from the high position or from the lower position and then sends corresponding signal to drive the cart to the destination position
  • 33. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 33 Cart control system During the movement of the cart, no further call signal will be handled, and when the cart arrives the destination, the cart will stay there for 30s and after that the system resumes its cart call service
  • 34. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 34 Cart control system Based on the process specification, the flowchart shown below is constructed
  • 35. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 35 Cart control system IO and flags assignment table Limit switch inputs Push button inputs Others X000 LS1 X010 SB1 Y000 motor brake X001 LS2 X011 SB2 Y001 motor forward X002 LS3 X012 SB3 Y002 motor reverse X003 LS4 X013 SB4 Y003 call in-service light X004 LS5 X014 SB5 D100 cart stop position X005 LS6 X015 SB6 D110 cart call position X006 LS7 X016 SB7 M101 cart call inhibit X007 LS8 X017 SB8 M102 system started X021 system start button X022 system stop button M000 intermediate relay M001 intermediate relay M002 intermediate relay
  • 36. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 36 Cart control system When first start, reset the content of D100 & D110 to 0. The MOVP instruction will only be executed when there is a rising edge present
  • 37. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 37 Cart control system The content of D100 is filled with the stop position of the cart
  • 38. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 38 Cart control system The Cart Call Inhibit coil is used to control an output indicator light Y003 to show that the cart call is in service. The content of D110 is filled with the position of cart call
  • 39. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 39 Cart control system The CMP instruction is used to determine whether the cart call is coming from a higher position or from a lower position. When the value of D110 (cart call position) is less than that of D100 (cart stop position) , then M000 will be energized and in turn switches Y002 (motor reverse) on
  • 40. EEE3420 Industrial Control © Vocational Training Council, Hong Kong. Week 40 Summary  Flowcharts are suited to processes with single flow of execution  Flowcharts are suited to processes with clear sequence of operation  Flowchart may be implemented by using block logic  Flowchart may also be implemented using sequence bits  Flowchart can be used to represent process from a high level perspective and the details of the process is implemented by the high level instructions of the PLC
  • 41. EEE3420 Industrial Control Flow-chart based process control design © Vocational Training Council, Hong Kong. Week 41 End of Lecture 5  Revision TRiLOGI PLC simulator operation manual Mitsubishi FX series programming manual