Basic principles of PLC control system design

Feb 17, 2025 Leave a message

Plc has been widely used in various fields of industrial control. Due to the diversity of PLC applications, with the continuous enhancement of PLC's own functions, PLC application systems are becoming more and more complex, and the requirements for PLC application system designers are getting higher and higher.


1, the basic principles of PLC control system design


① To maximize the control requirements to meet the controlled object.

② to ensure high reliability and safety of the control system.

③ Under the premise of meeting the above conditions, try to make the control system simple, economical, practical and easy to maintain.

④ When selecting PLC, consider the margin required for production and process improvement.


2. Basic contents of programmable controller control system design


① Select the appropriate user input devices, output devices and output devices driven by the control object.

② Allocate inputs and outputs, design electrical wiring diagrams, and consider safety measures.

③ Select the programmable controller suitable for the system.

④ Design the program.

⑤ Debugging program, one is simulation debugging and the other is online debugging.

⑥ Design the control cabinet and prepare technical documents, specifications, electrical diagrams, and electrical component schedules for system delivery.

⑦ Acceptance and delivery.


3. Programmable controller control system design general steps


1) analysis of the controlled object - process engineering, the working characteristics and functions of the controlled object; output of two analyses; the formation of a complete functional expression diagram and control flow chart; determine the PLC control scheme.

 

2) System hardware configuration

PLC model selection - according to the needs of the control system to choose reasonably, the function covers the use of the requirements, to avoid the big marathon, to consider the brand, price, service and other factors.

Input and output points - the number of input and output points is an important indicator of PLC. Choose a reasonable input and output points can not only meet the requirements of the control system, but also reduce the cost of the system.PLC's input and output points and types should be based on the state of the controlled object switching, analog and other input and output devices to determine. Considering the future adjustment and development, you can set aside an appropriate reserve (generally around 20%).

 

3) Software design

Software design includes the design of the system initialization program, main program, subroutine, interrupt program, fault contingency measures and auxiliary programs. Generally speaking, the small switch control system has only the main program.

First of all, according to the overall requirements and specifics of the control system, determine the basic structure of the user program and draw the program flow chart or the sequential function diagram of the switch control system. They are the main basis for programming and should be as accurate and detailed as possible.

Ladder diagrams for simple systems can be designed by empirical methods, and complex systems are generally designed by sequential control design methods. After drawing the sequential function diagram of the system, a ladder program is designed based on it. Some programming software can be programmed directly in the language of sequential function diagram.

 

4) Simulation Debugging

After the user program design is completed, usually first simulation debugging. Some PLC manufacturers provide simulation software running on the computer, instead of PLC hardware debugging user programs, such as Siemens S7-PLCSIM simulation software and Mitsubishi SW3D5C-GPPW-C LLT-C simulation software. In the simulation process, according to the requirements of the system function, force to turn on or off some input components, or rewrite the data in some components, in order to monitor whether the system function can be realized correctly.

If PLC hardware is available, small switches and buttons can be used to simulate the actual input signals of the PLC, which can be used, for example, to issue operation commands, such as the on/off of limit switch contacts. Through the LED corresponding to each output bit on the output module, observe whether the output signal is lagging and meets the design requirements.

 

5) Hardware debugging and system debugging

After installing the control panel on site, contact the external input components and actuators. Similar to the debugging in the control panel, first check whether the input signals outside the control panel can be correctly sent to the inputs of the PLC, and whether the output signals of the PLC can correctly operate the actuators outside the control panel. After the above debugging is completed, put the PLC in RUN state, run the user program and check whether the control system can meet the requirements.

During the debugging process, possible hardware problems of the system and problems in the ladder diagram design will be exposed. When problems are found, they are solved on the spot until they fully meet the requirements. According to the requirements of the system acceptance procedures, the entire system item by item acceptance after delivery.

 

6) Organize technical documents.

According to the final results of the debugging, sort out the complete technical documents, provided to the user, to facilitate the maintenance and improvement of the system in the future. Technical documentation should include: external wiring diagrams and other electrical drawings of the programmable logic controller, programmable logic controller programming elements list, including timers and counters, set values, annotated programs and the necessary general text description.

 

Send Inquiry

whatsapp

Phone

E-mail

Inquiry