Control system car park system

  • Thread starter everdomdom
  • Start date
  • #1

Homework Statement


A car park has 5 parking slots. When the fifth car enter the car park, a red light notification will turn on indicate the car park is full.
When the car park cars decrease from 5 to 4, the red light is distinguished.



Homework Equations





The Attempt at a Solution


I set the counter to 5, but it's not working.
The lamp will only turn on when there is the sixth car entered.
Help guys!! Please refer to the attached picture
 

Attachments

  • Untitled.png
    Untitled.png
    19.7 KB · Views: 391

Answers and Replies

  • #2
berkeman
Mentor
59,491
9,623

Homework Statement


A car park has 5 parking slots. When the fifth car enter the car park, a red light notification will turn on indicate the car park is full.
When the car park cars decrease from 5 to 4, the red light is distinguished.



Homework Equations





The Attempt at a Solution


I set the counter to 5, but it's not working.
The lamp will only turn on when there is the sixth car entered.
Help guys!! Please refer to the attached picture

Welcome to the PF.

What kind of programming language/simulator is that? I don't know if others are familiar with it, but I'm having trouble deciphering what is going on...
 
  • #3
This is my control system assignment.
I'm using Omron CX-Programmer
Do you understand my questions?
Thanks for the reply ya:)
 
Last edited by a moderator:

Related Threads on Control system car park system

  • Last Post
Replies
1
Views
13K
  • Last Post
Replies
13
Views
731
  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
14
Views
2K
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
1
Views
1K
Replies
0
Views
3K
Replies
3
Views
1K
  • Last Post
Replies
3
Views
337
Top