Professional Documents
Culture Documents
Sequential Control
Systems
1
Electrical Engineering Department, College of Engineering, Qassim University, Buraidah,
Saudi Arabia, Microprocessor Laboratory (EE354)
LAB #6
Sequential Control Systems
6.0 Objective
The objective of this lab is to practice shift, rotate and logic instructions and use of them to
control hardware operations.
In this lab, we will do the following:
• Write programs using shift, rotate and logic instructions.
• Write programs for software based PPI port testing.
• Write programs using logic instructions.
• Comparison between software based and hardware based logic operations.
6.2 Background
In sequential control systems individual steps are processed in a predetermined order,
progression from one sequence step to the next being dependent on defined conditions being
satisfied. Such a system may be time-dependent, in which the step transition conditions are
functions of time only; on external-event dependent, where the conditions are functions of input
signals or combinations of these conditions. A sequential control system is described in Figure
6.1 along with some control targets.
2
Electrical Engineering Department, College of Engineering, Qassim University, Buraidah,
Saudi Arabia, Microprocessor Laboratory (EE354)
Sequential systems are commonly found in industrial automation. . In this way it is possible to
automate many actions and tasks. Dangerous and simple tasks what were performed by people
are now done by machines, and employees can focus on safer operations. Machines do not get
tired like people. When people have a break, products are still produced using a series of planned
activities, even in conditions that are harmful to people.
6.3 Procedure
1) Write an assembly language program that uses the first two bits of PORT A of PPI-P1 to select
the various control options in accordance to the Table 6.1. For the rest of the combinations of
PORT A of PPI-P1 all devices should remain OFF. Use PPI-P1 to interface with
LED/SWITCH unit and PPI-P2 to interface with application board.