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

  Application development and programming

application development and programming languagesprogramming languages have evolved since the first generation

  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

  Assignment 1nbspdescription this first assignment will

assignment 1nbspdescription this first assignment will allow you to become more comfortable with threads and the basic

  Questiona illustrate how components listed below should be

questiona illustrate how components listed below should be registered in a program-i jbutton ii jcombobox b

  Write a bashbin program to perform a search of an employee

write a bashbin program to perform a search of an employee list. the file emplist has the format given in the table

  Questiona distinguish between following object-oriented

questiona distinguish between following object-oriented concepts using suitable examples-i no-argument constructor

  Hypertext markup languagethe basics of hypertext markup

hypertext markup languagethe basics of hypertext markup language and world wide web. first you will learn about

  You will build a recursive-descent parser for the right

you will build a recursive-descent parser for the right recursive version of the classic expression grammar found in

  Task design and implement 2 projects for the falling

task design and implement 2 projects for the falling letters game using c and windows presentation foundation wpf

  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

  Q1 list the attendees who all work for the adventure team

q1 list the attendees who all work for the adventure team and either attended a convention in united kingdom or

  Scripting language programmingnbspassignment

scripting language programmingnbspassignment nbsp-nbspperlnbspgeneral requirements ? your coding style should conform

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