You are on page 1of 7

University Of Dohuk Year 2019-2020

College Of Engineering Fourth year Class/S2


ECE Department Mechatronic Lab
EXPERMINT # 2

Single Button
&
Light Control
References:
1- PROGRAMMABLE CONTROLLERS THEORY AND IMPLEMENTATION
BY: L. A. Bryan, E. A. Bryan
2- Programmable Logic Controllers By: W. Bolton
3- FBs –Series Programmable Controller User's Manual-1 FATEK

I-Objective:-
After completion this experiment, you should be able to:
1- Control PLC output indicator using ROTL and BYMV instructions.
2- Control PLC output indicators using T-ROT instruction.

II-Theory:

Both conventional and PLC ladder diagrams operate in scanning principle. The main differences
between the two systems is that the appearance of the symbols for conventional ladder diagram are
closer to the real devices, while for PLC system, symbols are simplified for computer display. There are
two types of logic system available for ladder diagram logic, namely combinational logic and sequential
logic.

Exercise2-1: Single- Button One-Load Control


In this exercise, the student will use many PLC instructions to perform different functions as will
describe later. Single Button could be used to control one load as shown in Fig#2.1A below. The ladder
diagram of single button one load control is shown in Fig#2.1B.

Fig#2.1A Timing diagram of single button one load control

Fig#2.1B
Exercise2-2: Single- Button Multi- Load Control
This part of exercise use input switch X0 to energize four loads Y0-Y3 one by one. The PLC instructions
used in this exercise are the MOV, ROTL, ADDITION, CMP, and NBMV. The Ladder program is
shown in Fig# 2.2

Fig 2.2 Ladder Program of Exercise 2-2

Exercise2-3: Light Control


This exercise will control the output Y0-Y7 to perform the light sequence is shown in
Fig# 2.3. The lights of each sequence will stay 1 sec. This project uses a advanced PLC100
instructions ROTL and BYMV (Details of these instruction is at the end of the experiment
sheet.

Fig 2.3 Light sequence of Exercise 2-3


III-Procedure:
1- Start WinProloader software.
2- Create a new project by selecting File>> New project. Exercise2-1
3- Download the ladder program as shown in project 1, Single Button, into a PLC, then RUN it
then observe and record Y0 as X0 is changing.
4- Create a new project by selecting File>> New project. Exercise2-2
5- Develop the ladder program in Fig#2.2 to run the 6 loads Y2-Y7
6- Develop the ladder program to perform the light sequence as shown in Fig#2.3,
7- Download the developed program in step 6 into a PLC, then RUN it then observe and record
Y0 –Y7.

IV-Discussion

1- Develop a ladder program to execute the light control shown in Fig#2.3B using T-
ROT instruction

3-Use T-ROT instructions (Table Rotate) to design a ladder program to perform the light
sequence as shown below

You might also like