IAN MANFORD
Guest
I
I have started a PLC course aand I am having some problems getting into it, eg; An assignment I was given the other day has me a bit bemused, and I am looking for some guidance on how to tackle it.
I am not looking for an "easy fix" for this as I wish to progress onto the next level on my own. The assignment is :-
Car parking program.
An office building has a private car park. When a car approaches the ENTRANCE barrier it only allows entry if there are spaces availiable, otherwis it remains closed.
On leaving the car park the EXIT barrier increases the number of availiable spaces by one.
If a car tries to leave the car park via the ENTRANCE the barrier will not raise. Similary if a car tries to enter using the EXIT the barrier will not raise. The barriers , when raised, are timed to allow the car to pas under safely.
The maximum number of spaces is 6.
There is : an entance barrier.
an exit barrier.
an entrance sensor.
an exit sensor.
I have a general idea of how to do this useing, timers, UP/DOWN counters and COMPARITORS.
Any help would be welcome as I am falling behind with my studies
Thank you.
IAN A MANFORD.
I am not looking for an "easy fix" for this as I wish to progress onto the next level on my own. The assignment is :-
Car parking program.
An office building has a private car park. When a car approaches the ENTRANCE barrier it only allows entry if there are spaces availiable, otherwis it remains closed.
On leaving the car park the EXIT barrier increases the number of availiable spaces by one.
If a car tries to leave the car park via the ENTRANCE the barrier will not raise. Similary if a car tries to enter using the EXIT the barrier will not raise. The barriers , when raised, are timed to allow the car to pas under safely.
The maximum number of spaces is 6.
There is : an entance barrier.
an exit barrier.
an entrance sensor.
an exit sensor.
I have a general idea of how to do this useing, timers, UP/DOWN counters and COMPARITORS.
Any help would be welcome as I am falling behind with my studies
Thank you.
IAN A MANFORD.