Figure shows the graphic simulation of the elevatorthe

Assignment Help Application Programming
Reference no: EM13375164

FIGURE shows the graphic simulation of the Elevator.

1627_Write a program to operate the barriers.png

The object of this assignment is to write a program that will drive the Elevator from one floor to the other.
The list of inputs and outputs are as follows.
IP0 External Elevator call button OP0 Elevator motor UP
IP1 Elevator on level 2 sensor OP1 Elevator motor DOWN
IP2 Elevator on level 1 sensor OP2 Elevator door motor OPEN
IP3 Internal Elevator button OP3 Elevator door motor CLOSE
IP4 Door obstruction sensor OP4 Alarm
IP5 Lift door closed sensor
IP6 Lift stuck alarm button

The operation of the elevator is as follows: Assuming that the elevator is at level 1, (IP2 energised), there are two options;

1. The elevator could be called from level 2 by the external call button IP0 being pressed. The elevator doors should then close via OP3, once closed IP5 (doors closed sensor) should energise. At this point the elevator should start to move up via OP0 (elevator motor UP). Once the elevator reaches level 2, IP1 would energise and this should stop the elevator motor. After a short pause the elevator doors should open via OP2.

2. The elevator could also be operated from level 1 via the internal button IP3. The elevator doors would then close (OP3) energising IP5 (doors closed sensor). The elevator should then move up to level 2 via OP0. Once level 2 sensor IP1 energises, the elevator doors can then open via OP2.

Note: When the elevator is on level 2 it will be necessary to drive the elevator down to level 1 using OP1 (elevator motor DOWN).

Other facilities: (a) Alarm: Should the elevator get stuck between floors or the doors not open, then by pressing IP6 the alarm OP4
should operate.

(b) Door Obstruction: If the doors are obstructed the elevator motors OP0 and OP1 should be disabled. You can test this by clicking on the box and obstructing the doors.

When writing the program use the inputs and outputs as listed, use any flags, timers, and counters as required. As usual use the comments facilities to document your program.

Reference no: EM13375164

Questions Cloud

Can you advise ben as to his legal position does a contract : can you advise ben as to his legal position? does a contract exist?ben and carl went for a surf on saturday and decided
Q1 find three positive numbers whose sum is 54 and whose : q1 find three positive numbers whose sum is 54 and whose product is as large as possibleq2 let fx y x2 3y - 3xy and r
Two people are going to share surfing business they : two people are going to share surfing business. they decided to start internet-based business selling surf wear. they
Figure shows the graphics simulation of the drinks : figure shows the graphics simulation of the drinks machine.the list of inputs and outputs is as followsip0 coin slot
Figure shows the graphic simulation of the elevatorthe : figure shows the graphic simulation of the elevator.the object of this assignment is to write a program that will drive
Consider the above diagram figure of the car park the : consider the above diagram figure of the car park. the object of this assignment is to write a program to operate the
In industry plant conditions are monitored and if there are : in industry plant conditions are monitored and if there are problems it is necessary to have some way of indicating
1 design and draw a ladder diagram circuit suitable for a : 1. design and draw a ladder diagram circuit suitable for a plc which will fulfil the following control requirementa
Review this case which deals with public employment and : review this case which deals with public employment and constitutional rights to be free of unreasonable search and

Reviews

Write a Review

Application Programming Questions & Answers

  In this project you will create an application to run in

in this project you will create an application to run in the amazon ec2 service and you will also create a client that

  Imagine that your company has decided to expand to the web

imagine that your company has decided to expand to the web. you want to reuse some data entry code that has been

  1 here is a short program it prints out the value of a

1. here is a short program. it prints out the value of a variable x. ernie and bert disagree about what will be printed

  If the user wants to read the input from a file then the

if the user wants to read the input from a file then the output will also go into a different file. if the user wants

  Question 1we are given the following knowledge base of

question 1we are given the following knowledge base of travel informationnbspbycaraucklandhamilton.

  Basic requirementsscreen one has three edittext views and

basic requirementsscreen one has three edittext views and one button.the edittext views allow you to enter a students

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  Design a program that models the worms behavior in the

design a program that models the worms behavior in the subsequent scenarioa worm is moving toward an apple. each time

  Problem build a class for a type called fractionnbspthis

problem build a class for a type called fraction.nbspthis class is used to show a ration of two integers.nbsp include

  Part - 1 object-oriented designwrite a program that allows

part - 1 object-oriented designwrite a program that allows an instructor to keep a grade book. each students has scores

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd