Best Controller for Measuring Lever Positions and Activating Solenoid: PLC or Arduino?

Question:

Hello everyone, I come from a programming background but have yet to work with a PLC before. I have a straightforward automation project in mind, but I am unsure about the best controller to use - whether a PLC or an ARDUINO. The project involves measuring the positions of 3 levers, each with a travel distance of about 30mm. Based on the lever positions and travel speed, I need to activate a solenoid. It is essential for the component to be analog so that we can accurately determine the lever positions. Additionally, there will be a dial or knob that will serve as an input to adjust the sensitivity of the solenoid activation. The custom program that I plan to write will continuously monitor the lever positions and the dial input in order to activate the solenoid when necessary. My question is, would a simple and affordable PLC be the most suitable tool for this project? What are the key components needed for this setup? Is it possible to outsource the construction and programming of this device? Your advice and suggestions would be greatly appreciated. Thank you in advance.

Top Replies

If you are looking to install a system in an industrial setting, consider options like Logo, S7-1200, or a Click instead of Arduino.

The Siemens Logo controller offers a user-friendly solution for automation tasks, supporting up to 4 analog inputs without the need for extra components. To set up, all you need is an enclosure and a 24v DC power supply for the sensors to operate smoothly.

Arduino is a versatile tool for hobbyists and makers, but may not be suitable for industrial applications due to its lack of industrial hardening.

If you are seeking specific features such as programming in PLC languages like LAD, FB, ST, or GRAPH, live program monitoring, online changes without downtime, built-in diagnostics, industrial-grade durability, and long-term hardware and software availability, then a Programmable Logic Controller (PLC) is what you need. PLCs offer reliable hardware and software, with extensive support and a track record of over 15 years in the industry.

JesperMP suggested that if you are in need of specific requirements such as online monitoring, online changes without shutdown, and built-in diagnostics, then a Programmable Logic Controller (PLC) would be the ideal solution. A PLC allows programming in various languages like LAD, FB, ST, and GRAPH, ensuring reliability and industrial hardening for use in industrial applications. It offers both hardware and software reliability, with long-term availability and proper support. One recommended option is Beckhoff, which provides a PC-based solution with Windows, BSD, or Linux OS options. Beckhoff offers free engineering software and the runtime can be renewed every 7 days for testing and debugging. Feel free to message for more information on this solution.

Given the complexity of your project, either a PLC or an Arduino could be a feasible solution. If you need a robust system that is capable of handling industrial-grade tasks, or if your application needs to be scalable in the future, a PLC could be your best bet due to its proven dependability and ease of integration with other industrial systems. However, remember that PLCs are generally more expensive and may require a certain level of programming skills. On the other hand, an Arduino is a cheaper option and allows for a high level of freedom and flexibility, but might be limited when it comes to heavy-duty or long-term endurance. You would need an analog-to-digital converter to interpret the analog values from the levers. A servo motor could be used to control the solenoid based on the input from the levers and the dial. If you're skilled in programming, then the task of writing the program will certainly not be insurmountable. As for outsourcing, yes, it's certainly possible to hire a third-party developer for assistance, but you should take into account the costs and the potential difficulty in troubleshooting remotely. Be sure to consider your project's timeline, budget, specific requirements, and your own comfort level with programming when making your decision.

Given your programming background and the requirement for continuous monitoring and control, I would suggest going with an Arduino might be more suitable for your project. An Arduino Uno with an analog multiplexer would handle the analog inputs you need. As for the solenoid, controlling it is pretty straightforward with an Arduino - just keep in mind, if your solenoid needs a lot of power, you may need to use a MOSFET or a relay to drive it. Also, Arduino has a robust online community, handy for when running into bumps or needing advice. Outsourcing the construction and programming is a possibility, but given your programming skills, you might enjoy and benefit from tackling it yourself. It offers an excellent opportunity to broaden your knowledge and experience while keeping costs down. However, if you're looking at more complex, industrial-scale projects in the future, it would be good to get a basic understanding of PLCs as they're more robust, can handle more I/Os, and are generally more accepted in industrial applications. Good luck with your project!

Hi there! Sounds like an interesting project. An affordable PLC (Programmable Logic Controller) should be able to handle it nicely given its capability to perform continuous monitoring and the built-in analog input and output features. Key components would vary on the PLC model you choose but consider modules for analog input (for your levers and dial), an output module for the solenoid, power supply, and any communication modules if needed. However, if you're more comfortable programming with an ARDUINO, it can also handle the task given the right sensors and shields. Just remember that durability and the environment where it'll be used could play a factor to your decision. As for outsourcing the construction and programming, there are various firms that specialize in it. Be clear on your specifications and requirements though, to ensure you're getting what is needed for your project. Good luck!

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. What are the main considerations when choosing between a PLC and an Arduino for a project involving measuring lever positions and activating a solenoid?

Answer: Answer: The choice between a PLC and an Arduino depends on factors such as complexity of the project, required precision, scalability, ease of programming, and budget.

FAQ: 2. What are the advantages of using a PLC over an Arduino for this automation project?

Answer: Answer: PLCs are designed for industrial automation applications, offer better reliability, have built-in analog input capabilities for precise measurements, and are well-suited for real-time control tasks.

FAQ: 3. What components are essential for setting up a system to measure lever positions and activate a solenoid using a PLC or Arduino?

Answer: Answer: Essential components may include sensors to measure lever positions, a solenoid for actuation, necessary wiring, and the controller (PLC or Arduino) itself along with any required interface modules.

FAQ: 4. Is it possible to outsource the construction and programming of a device for this automation project?

Answer: Answer: Yes, it is possible to outsource the construction and programming of the device to professionals or companies specializing in industrial automation or electronic prototyping.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’