Professional Documents
Culture Documents
AEI602
AEI602
ANDHRA PRADESH
Name : K.Sambaiah
Designation : H.A.E.I.E.S
Branch : A.E.I.E
Institute : GMRP, KARIMNAGAR.
Semester : VI
Subject : Industrial Electronics, PLC and SCADA
Subject code : AEI-602
Topic : PLC Programming
Duration : 100 min.
Sub topic : Control system flow charts
Teaching aids : ppts,Diagrams
AEI602.51 TO 52 1
OBJECTIVES
AEI602.51 TO 52 2
Programming Language
AEI602.51 TO 52 3
ALGORITHM
AEI602.51 TO 52 4
ALGORITHM…
» Inputs
» Outputs
AEI602.51 TO 52 5
ALGORITHM…
• Definitions
• Finiteness
• Effectiveness
AEI602.51 TO 52 6
ALGORITHM…
• They are explained as:
AEI602.51 TO 52 7
ALGORITHM…
AEI602.51 TO 52 8
Problem Solving
AEI602.51 TO 52 9
Problem Solving…
AEI602.51 TO 52 10
System Analysis and Design
1. Requirement analysis
AEI602.51 TO 52 11
System Analysis and Design…
2. Design of problem
3. Coding of problem
4. Testing
AEI602.51 TO 52 12
Difference between Algorithm and Flow
Chart
AEI602.51 TO 52 13
Difference between Algorithm and Flow
Chart…
• Thus an algorithm is a finite step by step of well-defined
instructions for solving a particular step and the calculate
of an algorithm is exposed by using a flow chart.
AEI602.51 TO 52 14
An Algorithm To Find The Largest Of Given
Three Numbers
• Step 1: start
• Step 2: read x,y,z
• Step 3: if x>y and x>z then write x
• Step 4: if y>z and y>x then write y
• Step 5: if z>x and z>y then write z
• Step 6: end
AEI602.51 TO 52 15
Symbols Used in Flow Charts
AEI602.51 TO 52 16
Using Flow Charts find the largest of three
distinct numbers x, y, z.
start
read the
v aluesof
x,y,z
Yes
No
is
x >y
Yes Yes
is is
x > z No x > z No
stop
AEI602.51 TO 52 17
Using Flow Charts find the Summing of N
given numbers
start
read N
p ut S = 0
Initialization
a nd I = 1
read A
LOOPING
S = S + A
Computation
Modification I = I + 1
is No
Testing
I > N
Yes
w rite S
stop
AEI602.51 TO 52 18
QUIZ
a) Inputs
b) Outputs
c) Definitions
d) Finiteness
Ans) all
AEI602.51 TO 52 19
Frequently Asked Questions
1. Give the different steps involved in problem solving?
AEI602.51 TO 52 20
Frequently Asked Questions…
AEI602.51 TO 52 21