Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Issues In Database Management A Refernce For The Thinking Practitioner

Authors: Fabian Pascal

1st Edition

0201485559, 978-0201485554

More Books

Students also viewed these Databases questions

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago