Jump to content

Recommended Posts

Posted (edited)

Greeting. I'm new to PLC and have just signed up for a training course (Omron) to help expand some new skill sets in the career of electronics.

I've been reading up on the basics of PLCs and how to program them. I'm already stumped on coming up with a logic to program the simple scenario below.

I want to come up with a program to control a parking lot availbility.

- There are three parking lot, each with a sensor

- When the parking lot are full, a RED output bulb illuminate.

- When the parking lot is empty, a GREEN output bulb illuminate.

-When there is at least two parking lot are empty, an ORANGE output lights illuminate.

 

Can someone please show me the correct ladder logic to programming the above scenario?

Edited by NEWKid77

Posted (edited)

It will be better if you post some ladder that you've made for it here.
Anyway ladder diagrams are just logic gates basically... Simplest logic would be as follows :

Say for a set of Lot 1,2,3
(1 AND 2 AND 3), OUT RED

(NOT 1 AND NOT 2 AND NOT 3), OUT GREEN

(1 AND NOT 2 AND NOT 3), OR (NOT 1 AND 2 AND NOT 3), OR (NOT 1 AND NOT 2 AND 3), OUT ORANGE

Now, just translate those AND, OR, NOT, OUT into the Ladder Symbols

Edited by innoaloe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...