You are on page 1of 5

Sketch

4 floor (0, 1, 2, 3) elevator project with structural blocks.


1-When someone calls the elevator from any floor it goes to this floor.
2-After cabin comes to the floor cabin is here led will be activated and gives a warning.
3-If the door is open, cabin doesnt move anywhere before the door is closed.
4-After the first start and reset, cabin goes to the 3rd floor in every situation and it will wait in 3rd
second. If the energy went out and come again (reset situation) cabin will go to 3rd floor too.
5-When the signal comes from one of the Up Limit or Down Limit sensors, motor will stop and
system will keep from passing the limit sensors.
6-After the door open in a floor Lighting will open and it will close after 3 seconds.
7-After we take the signal from border sensor (Top_Limit or Bottom_Limit), display will be show
the number of current floor.
8-When someone calls the cabin to the any of the floors, if the door is closed cabin timer will
be activated for 1 sn and after the timer it will move.
9-After the cabin timer finished, cabin will move to the objective floor. If the aimed floor is up, it will
move to the up (Cabin_Up Q1.1), it the aimed floor is down, it will move to the down (Cabin_Down
Q1.0)
Before the movement, door will be locked automatically.
10-After the cabin came to the aimed floor, door will be opened and motor will be closed.
11-After we pushed the `Stop button` system will be closed completely.
12-If the door is open, cabin wont go anywhere for call ups from floors.
13-After call up from one of the floors, if the door is closed it will wait for 1 sn and it will
move after this time up.
14-During the movement of the cabin door will be locked automatically and it will open
after the cabin stopped.
15-After the door is opened Lighting will be activated automatically and after time period
if there isnt any movement in the system it will closed the lighting automatically. But if
there is a movement to the any of the floors, after the cabin reached the floor lighting will
be closed after the time period.
16-If the elevator cant catch the cabin sensor (Up and Down sensors), motor will be
stopped. System cant be activated before we push the Start button again.

Tag Table
Cabin_at_Floor Byte

%MB101

Cabin_goto_Floor
Byte
elevator (Cabin go to floor)

False

True

True

%MB100

Present Cabin Floor (Cabin at floor)

False

True

True

Aimed floor for

Start_Button

Bool

%I0.0 False

True

True

Start Button

Stop_Button

Bool

%I0.1 False

True

True

Stop Button

Floor0_Call

Bool

%I0.2

False

True

True

0. Floor call and cabin button

Floor1_Call

Bool

%I0.3

False

True

True

1. Floor call and cabin button

Floor2_Call

Bool

%I0.4

False

True

True

2. Floor call and cabin button

Floor3_Call

Bool

%I0.5 False

True

True

3. Floor call and cabin button

Door_Control Bool %I0.6 False


door is closed or opened.

True

True

Key of the door. It controls the

Bottom_Limit Bool

True

Top_Limit
Floor0_Limit

Bool
Bool

%I0.7 False
%I1.0

False

True

True

%I1.1 False True

Cabin down limit sensor

True

True

Cabin up limit sensor

0. Floor border key/sensor

Floor1_Limit

Bool

%I1.2 False

True

True

1. Floor border key/sensor

Floor2_Limit

Bool

%I1.3 False

True

True

2. Floor border key/sensor

Floor3_Limit

Bool

%I1.4 False

True

True

3. Floor border key/sensor

System_On_Off Bool

%M0.0 False

True

True

System On/Off internal contact

%M0.3 False

True

True

First_Preparation
start of the system

Bool

On_Floor
Bool
floor this variable will SET

%M0.7 False

True

True

When cabin come to the aimed

Lift_Ready_Bit Bool %M10.0


the preparation of the elevator subprogram.

False

True

True

Internal contact for

Lift_Ready
Bool %M10.1
False
preparation of the elevator subprogram finished.

True

True

It will SET after

Floor0_Bit
Floor_0 subprogram.

Bool

Contact for the first

%M12.0

False

True

True

Internal contact for

Floor0_Ok
Bool %M12.1
Floor_0 subprogram finished.

False

True

True

It will SET after

Floor1_Bit

Bool

%M14.0

False

True

True

same as 0.

Floor1_Ok

Bool

%M14.1

False

True

True

same as 0.

Floor2_Bit

Bool

%M16.0

False

True

True

same as 0.

Floor2_Ok

Bool

%M16.1

False

True

True

same as 0.

Floor3_Bit

Bool

%M18.0

False

True

True

same as 0.

Floor3_Ok

Bool

%M18.1

False

True

True

same as 0.

False

True

True

Initial_constants
Bool %M31.7
preparing the startup/initial constants.
Data_A Bool

%Q0.0 False

True

True

Internal contact for

7 segment display driver 7447 A input

Data_B Bool

%Q0.1 False

Floor0_Led

Bool

%Q0.2 False

True

True

0. Floor call and cabin led

Floor1_Led

Bool

%Q0.3 False

True

True

1. Floor call and cabin led

Floor2_Led

Bool

%Q0.4 False

True

True

2. Floor call and cabin led

Floor3_Led

Bool

Door_Closed Bool
cabin door security

True

%Q0.5 False
%Q0.6 False

LightingBool
output

%Q0.7 False

Cabin_Down
Cabin_Up

True

True
True

7 segment display driver 7447 B input

True
True

2. Floor call and cabin led


open/close output for elevator

True

True

Cabin internal lighting open/close

Bool

%Q1.0 False

True

True

Elevator cabin motor down output

Bool

%Q1.1 False

True

True

Elevator cabin motor up output

You might also like