Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone assist me in creating a PLC program that satisfies the following? It has me stuck so please include rung comments . Thanks Third

Can someone assist me in creating a PLC program that satisfies the following?

It has me stuck so please include rung comments. Thanks

image text in transcribed

Third Floor Sensors Lights S1 Enter Lot S2 Up 2nd floor S3 Up 3rd Floor S4 Dn 2nd Floor S5 Dn 1st Floor S6 Exit Lot S3 S4 O Lot Open Lot Closed Lot Full (all levels) 1st Floor Full 2nd Floor Full 3rd Floor Full Second Floor Exit Lot Enter Lot S5 S2 (0.!.. S1 First Floor S6 Here is the problem The problem is about a garage of three levels, each able to hold Thirty cars in them. Ten per floor. We use the NO Limit Switch icons to be our sensors. When a car passes over the sensor the switch shuts while the car is above it. Then click the switch to close the contacts momentarily. See that there are six sensors (Sensorl - Sensor), Sensorl, a vehicle has entered on the first floor, Sensor2 shows a vehicle traveled up from the First floor to the Second floor, Sensor3 shows a vehicle traveled from the Second floor to the Third floor. Sensor 4 shows a vehicle traveled down from the Third floor to the Second floor, Sensor 5 shows a car went down from the 2nd floor to the 1st floor, and S6 shows a car exited the garage from the first floor. The problem has two manual inputs, security have a key (Input 1) which closes the garage w/a red light (garage is closed), green light (garage is open). Both of these lights can't be on at the same time. A closed garage with cars already inside can exit but none are allowed to enter. A toggle switch will be used to try and simulate this, if the toggle switch is closed then the lot is closed, and when the toggle is open the lot is also open. There is also a key switch (Input 2) which will reset ALL counts (floors and total) to zero (because eventually some false sensor reading will occur, and the system will be out of sync). This will be represented by a Normally Open momentary pushbutton. Activating the Normally Open Pushbutton will clear all counters to zero. Here is a simple I/O map you can use to assign your addresses Address Address Input Description Close Lot Toggle Sensor 1 NOLS Sensor 2 NOLS Sensor 3 NOLS Sensor 4 NOLS Sensor 5 NOLS Sensor 6 NOLS Reset all counts NOPB I:1/00 I:1/01 I:1/02 I:1/03 I:1/04 I:1/05 I:1/06 I:1/07 Output Description Lot Full (30) Red 1st Level Full (10) Yellow 2nd Level Full (10) Yellow 3rd Level Full (=10) Yellow Lot Closed (Red) Lot Open (Green) 02:700 02./01 02:/02 02./03 02:/04 02:/05 Can you devise a program of up and down counters to keep a running tally for all of this, and operate the outputs correctly? Every time a vehicle travels over a sensor (which is every time we click to close a Normally Open Limit switch on the LogixPro input board and release it to open it back up) that car's change of position registers in the program so that we know how many cars are in the garage, and how many are on each floor. Please use interactive counters. No other methods. Remember that a sensor input can be used multiple times on several rungs. It is virtual, not real. So, the same contact can be placed on multiple rungs to make one counter increase and another decrease. You do not have to create intricate check systems to determine if the laws of nature are being violated, if the total on level 3 goes up by one then the total on level 2 goes down by one, and so forth. Although, it is possible for cars to be on a floor that is already full (either passing through from level to another, or people who just won't follow instructions and are driving around a level they were already told is full just in case the light is wrong). So, we can have more than 10 cars on a level and more than 30 in the garage at one time Third Floor Sensors Lights S1 Enter Lot S2 Up 2nd floor S3 Up 3rd Floor S4 Dn 2nd Floor S5 Dn 1st Floor S6 Exit Lot S3 S4 O Lot Open Lot Closed Lot Full (all levels) 1st Floor Full 2nd Floor Full 3rd Floor Full Second Floor Exit Lot Enter Lot S5 S2 (0.!.. S1 First Floor S6 Here is the problem The problem is about a garage of three levels, each able to hold Thirty cars in them. Ten per floor. We use the NO Limit Switch icons to be our sensors. When a car passes over the sensor the switch shuts while the car is above it. Then click the switch to close the contacts momentarily. See that there are six sensors (Sensorl - Sensor), Sensorl, a vehicle has entered on the first floor, Sensor2 shows a vehicle traveled up from the First floor to the Second floor, Sensor3 shows a vehicle traveled from the Second floor to the Third floor. Sensor 4 shows a vehicle traveled down from the Third floor to the Second floor, Sensor 5 shows a car went down from the 2nd floor to the 1st floor, and S6 shows a car exited the garage from the first floor. The problem has two manual inputs, security have a key (Input 1) which closes the garage w/a red light (garage is closed), green light (garage is open). Both of these lights can't be on at the same time. A closed garage with cars already inside can exit but none are allowed to enter. A toggle switch will be used to try and simulate this, if the toggle switch is closed then the lot is closed, and when the toggle is open the lot is also open. There is also a key switch (Input 2) which will reset ALL counts (floors and total) to zero (because eventually some false sensor reading will occur, and the system will be out of sync). This will be represented by a Normally Open momentary pushbutton. Activating the Normally Open Pushbutton will clear all counters to zero. Here is a simple I/O map you can use to assign your addresses Address Address Input Description Close Lot Toggle Sensor 1 NOLS Sensor 2 NOLS Sensor 3 NOLS Sensor 4 NOLS Sensor 5 NOLS Sensor 6 NOLS Reset all counts NOPB I:1/00 I:1/01 I:1/02 I:1/03 I:1/04 I:1/05 I:1/06 I:1/07 Output Description Lot Full (30) Red 1st Level Full (10) Yellow 2nd Level Full (10) Yellow 3rd Level Full (=10) Yellow Lot Closed (Red) Lot Open (Green) 02:700 02./01 02:/02 02./03 02:/04 02:/05 Can you devise a program of up and down counters to keep a running tally for all of this, and operate the outputs correctly? Every time a vehicle travels over a sensor (which is every time we click to close a Normally Open Limit switch on the LogixPro input board and release it to open it back up) that car's change of position registers in the program so that we know how many cars are in the garage, and how many are on each floor. Please use interactive counters. No other methods. Remember that a sensor input can be used multiple times on several rungs. It is virtual, not real. So, the same contact can be placed on multiple rungs to make one counter increase and another decrease. You do not have to create intricate check systems to determine if the laws of nature are being violated, if the total on level 3 goes up by one then the total on level 2 goes down by one, and so forth. Although, it is possible for cars to be on a floor that is already full (either passing through from level to another, or people who just won't follow instructions and are driving around a level they were already told is full just in case the light is wrong). So, we can have more than 10 cars on a level and more than 30 in the garage at one time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions