Explain PLC programming for the Automated Guided Vehicle (AGV) in the manufacturing plant. Here we are discussing some part of the working in AGV as an example program in PLC.
Here we are using the ultrasonic sensor concept for object detection in the way of AGV. The automated guided vehicle work as line follower robot. If there is an object in front of the AGV it will stop running.
For this, we will use the ultrasonic sensor for object detection. When the object is detected, the ultrasonic sensor will give the command to the PLC.
The ultrasonic sensor generates the sound on some frequency which travels through air and if objects in its path it will bounce from the object and back to sensor. From the equation, we can count the distance.
For example – We can calculate the distance as per the equation.
Consider here sound wave takes 294micro second for traveling (total time is taken from the sensor to object and object to the sensor). So here we can calculate the distance.
Time = Distance/speed
Distance = Time*Speed = 294 microsecond * 0.034 cm/microsecond = 9.999cm
Speed of the light = 340 m/s
Register A:- Measured echo or traveling time.
Q1:- AGV motor output
DIV mathematics instruction is used for unit conversion. Time speed is converted from m/s to cm/microseconds.
Multiplication instruction is used to calculate the distance of the object.
For example, we have taken a 10cm safe distance. If the detected distance is less than 10cm, Object may near to AGV so it needs to be stopped.
Note:- Above application may be different from the actual application. This example is only for explanation and educational purposes only.
If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.
You can also follow us on Facebook and Twitter to receive daily updates.
Read Next:
Learn the example of flip-flop PLC program for lamps application using the ladder logic to…
In this article, you will learn the STAR DELTA programming using PLC controller to start…
Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…
Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…
This article explains how to blink lights in ladder logic with a detailed explanation video…
In this article, a simple example will teach you the conversion from Boolean algebra to…