Flowchart: Sequential, Conditional, Repetition

 Three Types of Flowchart: Sequential, Conditional, and Repetition

My name is Jovert Lance Carrido, studying at Jose Rizal University, 1st year college of Bachelor of Information Technology. This blog will help you to know the Three types of flowchart.

Sequential

Sequential (SFC) is a series of scripts that are defined in a single location, and then called in sequential order. Additional elements in the chart can determine where the flow of the chart will lead. Charts can loop around indefinitely, or execute a set number of times before ending.

SFCs are used to execute logic in ways that are more convenient to structure than with Python scripts or PLC programming alone. Because of their inherently visual depiction, they help to illuminate logic to users, and facilitate intuitive development and refinement. Charts can be monitored as they run visually, making troubleshooting easier than with scripting alone.
               

How Do Sequential Function Charts Work?

SFCs are built in the Designer, and executed on the Gateway, so they run independently of any Clients. They make use of both Python and Ignition's Expression language, so any number of tasks are possible from a single chart. A single SFC in Ignition can be called multiple times. Parameters can also be passed into a chart as it starts, so multiple instances can work on separate tasks individually.

Resources:
https://docs.inductiveautomation.com/display/DOC79/Sequential+Function+Charts
https://slidetodoc.com/cs-240-computer-programming-1-flowcharts-1-2/

Conditional

Conditional Flowchart also known as "Branched Flowchart". Conditional flowchart is a decision shape represented as a Diamond. It is always used in a process flow to ask a question. This shape is quite unique with two arrows coming out of it. It is usually answerable by Yes (True) or No (False). 

Sometimes, Conditional flowchart cannot solve the problem by Yes or No that's why there's Branched Flowchart which is used in a flowchart when we want to represent the testing of a condition. A particular path is selected based on the result of the test. The condition could be a comparison of positive or negative values. The general form of the flowcharts involved in branching.
As you can see in the picture above is the example of branched flowcharts. If you look closely and compared the two pictures above, the first one is answerable by Yes or No while the second picture is not, because decision is not always answerable by yes or no.
Resources: 
http://www.functionx.com/jquery/Lesson07.htm
https://slidetodoc.com/cs-240-computer-programming-1-flowcharts-1-2/
https://brainly.in/question/17885338

Repetition

Repetition flowchart is also known as "Loop Flowchart". It is a sequence of steps which are repeated a number of times. For a repeating process to end, a decision must be made. The decision is usually called a test.

Programmers use repetition to cycle through values, add sums of numbers, repeat functions, and many other things. The two of the most common types of loops are the while loop and the for loop


As you can see in the picture, if the condition or decision didn't meet the requirements it will repeat from the start until it correctly done.


Resources:
https://web1.muirfield-h.schools.nsw.edu.au/technology/resources/sdd/sd&d/algor/flowcharts.htm#:~:text=A%20Multiway%20Selection%20may%20be,is%20usually%20called%20a%20test.
https://techterms.com/definition/loop
https://problemsolvingwithpython.com/09-Loops/09.04-Flowcharts-Describing-Loops/


I hope my blog helped you. Thank you.












Comments