Question: LAB 2 : Creating a parking lot using ladder logic. Goal of the experiment: To test your TwinCAT knowledge to see if you can build

LAB 2: Creating a parking lot using ladder logic.
Goal of the experiment: To test your TwinCAT knowledge to see if you can build a parking lot system.
Experiment:
Using TwinCAT Ladder logic create a parking lot system, this system must have the following qualities:
Sensors that detect a car has arrived or left.
A maximum capacity of 5
LEDs to indicate if the lot is full or empty.
Rise Trigger
Up and Down Counter
EXPLANATION:
For this experiment you will create a new TwinCAT project and in said project you will create a new PLC
project. In this PLC project you will create your ladder logic program file, create the variables and the
logic blocks.
In your declarations section you will need to create variables for the in and out sensors, Initialization
Maximum capacity, space available, red LED, green LED, and Reset. These variables will be declared as
BOOLS or Integers depending on their function. You will also need declare variables for the Rise Trigger
and the Count Up and Down boxes you will use in the experiment.
For this experiment you will need to create your logic blocks using the Insert Box, Insert Empty Box, and
Insert Empty Box with EN/ENO. Each of these blocks will be given its own network rung. These boxes
are:
Riser Trigger
Count Up and Down
GT
NE
You will know if your project was successful once you are able to change the car in or out sensor and you
see the number of available spaces go up or down. Also, when there is at least one spot open in the lot
one of your LEDS should be on and when the lot is full the other LED should turn on

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!