Basics to electrical components help for PLCs and uCs

Click For Summary

Discussion Overview

The discussion revolves around the differences and applications of Programmable Logic Controllers (PLCs) and microcontrollers (uCs), particularly in the context of robotics and automation tools. Participants explore the characteristics, advantages, and use cases of each component, as well as resources for learning about electrical programming systems.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants note that PLCs are designed for industrial environments and can withstand high electrical noise, making them suitable for harsh conditions.
  • Others suggest that microcontrollers are better for complex tasks and operations that PLCs may struggle with.
  • A participant shares personal experience with PLCs, highlighting their ease of programming and maintenance, especially for those familiar with relay circuits.
  • Another participant mentions that PLCs can be seen as a complete system, while microcontrollers are just chips requiring additional components for functionality.
  • Some participants seek clarification on real-world applications of microcontrollers compared to PLCs, indicating a desire for more examples.
  • There is a discussion about the distinction between microprocessors and microcontrollers, with some participants explaining that microcontrollers are self-contained while microprocessors require additional components.
  • A participant provides an example of a car engine's fuel injection system as a suitable application for a microcontroller.

Areas of Agreement / Disagreement

Participants express varying views on the advantages and applications of PLCs versus microcontrollers. While some agree on the general characteristics of each, there is no consensus on specific use cases or superiority of one over the other.

Contextual Notes

Participants mention various resources for learning about electrical components, but there are no specific limitations or unresolved mathematical steps noted in the discussion.

Who May Find This Useful

This discussion may be useful for students and hobbyists interested in robotics, automation, and electrical programming systems, as well as those looking to understand the practical applications of PLCs and microcontrollers.

yoloswag
Messages
6
Reaction score
0
I'm a non-electrical engineering student however want to gain knowledge and experience with different electrical programming systems. I'm confused however as to all the different components and their differences. For example, why/when would you choose a PLC over an Arduino board or do these two even compare? I'm primarily interested in things that will help in the construction of robots, automation tools, etc. so like how certain sensors work, circuitboards, etc. Any help is greatly appreciated, thanks!
 
Engineering news on Phys.org
PLCs are industrially hardened to be able to withstand high amounts of electrical noise. They're preferred for industrial settings and other harsh locations.
 
You'll learn by doing. Search for hobby sites like discovercircuits.com, sparkfun.com, amasci, tinaja, there are plenty around. Read up and build something.
 
I recently discovered the Make Magazine electronics books. I think its pretty much what you are looking for. They give a lot of information without going into an engineering level of detail along with a bit of humor, historical footnotes, color photos, and equipment recommendations. Its very much geared toward a practical level of knowledge.
 
I used to program PLCs to control the operation of riderless cranes used to store and retrieve pallets in warehouses. There are several advantages in addition to those already mentioned in such applications. First, the program is entered in as ladder logic, a representation of electrical diagram that electricians are already familiar with. This means it doesn't take a programmer to maintain the code, an electrician can do it. Second, with the PLC I used, the conduction path through the circuit lights up, that is to say the symbols change to bold font so that it is easy to follow exactly what is happening with the program as it is running.

On these cranes there was a second computer programmed in assembler that did functions the PLC couldn't do such as translating commands from the mainfram to to PLC, maintaining lists of prohibited locations and so on. I spent perhaps a fifth the time working on and correcting my code than the other programmer did on his, and it wasn't because I was a better programmer. It's just a lot easier to program a PLC than it is a microcontroller.

The advantages of a PLC over a uC are:
Designed for harsh environments
Ease of programming - if you understand relay circuits you can program PLCs
Ease of maintenance and troubleshooting

The advantages of a uC over a PLC are:
Ability to perform much more complex tasks
Able to do functions a PLC does with difficulty or not at all
 
Last edited:
Great feedback, thanks for the replies. So my understanding is that PLCs are good for industrial control of certain processes while microcontrollers are used for more complex, in-depth operations. Is this correct? What are some more real-world examples of where a uC would be used in place of a PLC?
 
yoloswag said:
Great feedback, thanks for the replies. So my understanding is that PLCs are good for industrial control of certain processes while microcontrollers are used for more complex, in-depth operations. Is this correct? What are some more real-world examples of where a uC would be used in place of a PLC?

a PLC is more of an application of microcontrollers. Its more of a complete system, with a power supply and an operating system and an easier to use interface, whereas a microcontroller is just a chip.
 
So what other kinds of uC's are there like CPU's? Is a GPU considered a microprocessor?
 
CPUs and GPU's are microprocessors, but not microcontrollers.

A microcontroller sort of a general purpose self-contained computer. It has its own program memory, RAM, and input/output. Microprocessors have to get that functionality from other parts of the computer.

To get a better idea of what to use them for, think of a car engine's fuel injection and ignition system. You'd have a table of data that would tell you how long to pulse the injectors at a certain throttle and certain RPM, and you'd have a optimal time to fire the spark plugs. It might also need some ability to change timings as the engine ages. But once you programmed it once, you'd probably never need to program it again. And certainly the average driver wouldn't need to program it. It doesn't need a operating system, or anything more than a tiny amount of memory and storage. Thus, it is a perfect application for a uC.
 
Last edited:

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
42K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 5 ·
Replies
5
Views
3K