PLC Programming, Electrical Engineering

Assignment Help:
FIG. 2 Car Park Simulation

Consider the above diagram, FIGURE 2, of the car park. The object of this
assignment is to write a program to operate the barriers to allow the cars in and
out.
As you can see there is a box in which there are two condition lights for when
the car park is Full, and when there are Spaces.
The entrance to the car park is on the left hand side. When a car drives into the
car park there is a sensor that detects the car and this should cause the barrier to
be opened to allow the car in.
On the right hand side is the exit. When a car leaves the car park it will activate
a sensor inside the park to open the exit barrier.

Both the entry and exit barriers will need to be in the Up position long enough
to allow the cars to enter or leave the car park. The inputs and outputs are listed
as follows:
IP0 = Entry Sensor
OP0 = Entry Barrier
IP1 = Exit Sensor
OP1 = Exit Barrier
OP2 = Full Light
OP3 = Spaces Light

When writing the program it is necessary to observe the following conditions.
When the car park is not full the Spaces light should be ‘ON’. When the car
park is full the Full light should be ‘ON’. As a car enters or leaves the car park
the entry and exit barriers have to be held in the Up position long enough to
allow the cars to pass under the barriers.
When the program is complete and the car park graphic is displayed in
Simulation mode the program is operated by pointing at the car and clicking the
mouse button. You will see directional pointers left and right so point at and
click the direction you wish the car to travel. When you wish a car to leave the
car park point at the one you wish to leave the park and click. You should
explain the operation of the program, using the documentation facility.

Related Discussions:- PLC Programming

Computer architecture, outline what three features you would add (choose th...

outline what three features you would add (choose the three that you feel would be most advantageous) to the 16 bit version of the processor in order to enhance its power.

Calculate power delivered to the network, Calculate power delivered to the ...

Calculate power delivered to the network: 1. A wave is traveling from left to right, emerging from Z g =50 with a peak amplitude of V p =5V. The 1-port network [S] has in=0.5-

Show advantage of digital control system over analog system, Q. Show Advant...

Q. Show Advantage of digital control system over analog system? Sampled data and digital control offer several advantages over analog systems: • More compact and lightweight

Assumption of capital asset pricing models, Q. Assumption of capital asset ...

Q. Assumption of capital asset pricing models? 1) Investor; s objective is to maximize the utility of terminal wealth: investor aims at maximizing the utility of hi9s wealth r

Supernode, how does creating a supernode helps solve the problems?

how does creating a supernode helps solve the problems?

Explain how memory paging is used for memory addressing, Explain how memory...

Explain how memory paging is used for memory addressing. The memory paging mechanism placed inside the 80386 and above permits any physical memory location to be assigned to se

How many wavelengths long is the line, Q. A transmission line with a dielec...

Q. A transmission line with a dielectric (εr = 3.5) is 100 m long. At a frequency of 10 GHz, how many wavelengths long is the line?

compute the cavity , Consider the optical cavity shown below. (...

Consider the optical cavity shown below. (a) Compute the photon lifetime. (b) Compute the cavity Q (assume that the wavelength region of interest is 500nm). (c) Su

Determine the location and the value of the point charge, Q The electric ?e...

Q The electric ?eld intensity due to a point charge in free space is given to be (-¯ ax -¯ ay +¯ az)/√ 12V/mat (0,0,1) and 6 ¯ az at (2,2,0) Determine the location and the value

Write Your Message!

Captcha
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