Microcontroller is better or plc is better

In short, PLC is simpler and easier to use than microcontroller. Microcontrollers are more knowledgeable and complex, but they are also widely used. Firstly, microcontroller is a chip and cannot be used independently. And PLC is a general-purpose controller composed of microcontrollers that can be used directly. Using a microcontroller for control requires auxiliary circuits, such as crystal, reset, power supply, input and output circuits. In addition to programming, but also to do their own circuit boards, expertise is not convenient to use. Second, the programming of the two is different. Microcontroller programming requires assembly language or C language, the difficulty will be greater. The system program is solidified in the PLC, only need to use the appropriate programming language, easy to learn, so programming is relatively simple. Third, PLC is a general-purpose controller based on microcontroller, so in terms of price, PLC is much more expensive than microcontroller. Instrumentation, household appliances and other fixed functions, a large number of products are suitable for microcontrollers, while those functionally different industrial control is suitable for PLC.