Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following document outlines the required prelab activities, main lab task, and file submission required for this remote assignment. Prelab Before you can begin the

The following document outlines the required prelab activities, main lab task, and file submission
required for this remote assignment.
Prelab
Before you can begin the main lab task, you must:
1. Sign in to PLC Fiddle, navigate to code school, and complete
a. Intro to Counters Lesson 0-7
Lab Task
You are to make a program that manages the floor full indicators of a parking garage. The parking
garage has three floors, and a capacity of 5 cars per floor. We are designing a program for use during
large events, so there is no exit sensor used. Cars will enter and park in the first available space, until
capacity is reached. After the event, an operator will release all the guests and the counts reset to zero
for all floors. You will need to create the following tags:
Entrance Boolean sensor that momentarily goes ON when a car enters the garage.
Release The garage operator releases all cars, resetting the floor capacity counts.
Floor 1 Full Boolean indicator.
Floor 2 Full Boolean indicator.
Garage Full Boolean indicator.
F1Count Cars on floor 1 counter.
F2Count Cars on floor 3 counter.
F3Count Cars on floor 3 counter.
Your submission will be graded by cycling the Entrance tag. After 5 ON/OFF cycles, Floor 1 Full should
turn ON. After 5 more cycles, Floor 2 Full should turn ON. Finally, after 5 more, Garage Full should turn
ON. The reset tag will then be cycled, and all three indicators should turn back off.
You need to accomplish this task with counters only, not other numeric operators that we havent
discussed yet.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

Describe the types of power that effective leaders employ

Answered: 1 week ago

Question

Describe how leadership styles should be adapted to the situation

Answered: 1 week ago