1, the software of single board computer needs to be developed at the bottom, the control program is generally written in assembly or C code, and the program needs to be written in special code-level programming software and download line. Generally speaking, except for programmers, it cannot be modified on-site and remotely. Its advantage is relatively low cost, but its disadvantage is that it requires developers at PCB circuit level and embedded code level, and its development cycle is long.
2.PLC You can be regarded as a single-board computer running the program execution system, and its system can be regarded as a simplified operating system optimized for the industrial control industry. Its bottom layer has written the driver program according to each functional module, and solidified it in PLC. For the programming of PLC, it is through the programming software that follows IEC6 1 13 1 specification, and edited with graphic programming languages such as ladder diagram and instruction code. It is difficult to learn and develop, and electrical engineers with field experience can get started programming after certain training, with short development cycle and high success rate. It is also very convenient to add or delete functions during the development process.
Therefore, in industry, for non-standard equipment that needs rapid development, PLC is generally used to realize control. For long-term mass production equipment, PLC is used in the early stage of rapid development. After the function and action are stable, according to the output and other factors, half of them will be replaced by single-board computer control.