Newbie PLC project debugging

Aug 14, 2024 Leave a message

Many electrical novice in the electrical control cabinet and PLC program after the design process, not clear how debugging should start? Or some people because of inappropriate debugging methods lead to PLC burn and other issues, then the design of the electrical system should be how to debug? Can be in accordance with the following seven steps.

 

Check the circuits according to the drawings (without power supply)

 

General PLC system drawings contain cabinet drawings and cabinet drawings outside the two parts; cabinet drawings refer to the wiring diagram inside the cabinet; outside the cabinet drawings are all connected out of the wiring diagram of the electrical cabinet. This part needs to check


1. Whether the design of the drawings is reasonable, including the capacity of various components and so on.
2. According to the drawings to check whether the components are connected strictly in accordance with the drawings.


In this process, the most important thing to pay attention to is to check the power supply

 

1. Make sure the circuit is not short-circuited.
2. Ensure that the strong and weak power is not mixed together


Because the PLC power supply is 24V, once the wiring error leads to 220V into the PLC, it is easy to burn the PLC or expansion module.


Check the PLC external circuit


Power supply confirmation is completed after the power supply, test input and output points, which is commonly known as "hit the point", test! 0 points need to be tested one by one, including the operation of the button, the emergency stop button, the operation of the light and the cylinder and its limit switches, etc., the specific method is a person in the field side of the operation of buttons, etc., and the other in the PLC to monitor the input and output signals; for large-scale systems should be established to test tables, that is, after testing and marking. For large systems should establish a test table, that is, after the test is well labeled. If found in the construction process there are wiring errors need to be dealt with immediately.


This step should be noted is the need to back up the program after clearing the PLC inside the program or disable the program to avoid the test leads to the action of the equipment.

 

Check the mechanical structure and test the motor load


This step needs to check whether the mechanical structure is fastened and so on, whether the motor loads are well protected to avoid accidents caused by accidents, after the inspection is completed, you need to manually go to test the operation of the equipment, such as forward and reverse motors, you need to test whether the line is intact and test drive with power, inverter class to set up the appropriate parameters and optimize the motor, static recognition or dynamic identification, and so on.


Here it should be noted that for some special loads, such as vertical class up and down moving loads need to be carried out by professionals, so as not to cause test accidents due to improper control!


debugging manual mode/semi-automatic mode and related logical relationships


10 points and the load side are tested, the next step is to carry out the manual mode debugging. Here the manual mode can also be called semi-automatic mode, not directly by hand to press the solenoid valve or contactor, etc., but rather refers to the button or HMI buttons to drive the device, which corresponds to the automatic state.


Manual mode testing can break down the automatic mode as a person would like it to be, making it easier to test the program.

 

The most important part of this link is to test the safety function, that is, in the operating state of the equipment to test the emergency stop, safety grating and so on whether the safety function plays a corresponding role.


according to the production process debugging automatic mode


In the completion of semi-automatic debugging, can be further debugging automatic work. This link is the most important, according to the production process need to test a variety of chain, including logic chain, safety chain, etc., and to test more than a few work cycles to ensure that the system can work correctly and continuously.


the test of the special process


PLC system in addition to logic control, there are many expanded out of the function, such as PID control, etc., when the logic of these debugging is basically complete, you can start debugging analog, pulse in the amount of control.


The main thing is to select the appropriate control parameters. Generally speaking, this process is relatively long. To be patient, the parameters should also make a variety of choices, and then select the most favorable. Some PLC, its PID parameters can be obtained through self-tuning. But this self-tuning process, it also takes quite some time to complete.

 

complete all the above steps


The whole debugging is basically completed, then came to the pre-production steps, pre-production is the work of pre-production testing, in this stage can be with the production of some special tests, such as production of wives whether to meet, with the load of the safety features can also play a role, etc., generally after a certain period of continuous production can be handed over.


Novice especially need to pay attention to the power supply, I remember many years ago when I debugged the first project, because the construction unit will be a large belt rope switch 220V contacts and 24V contacts connected to the wrong (belt rope switch for the safety device, two sets of contacts, one set of 220V disconnect the control circuit, the other set of 24V into the PLC), resulting in the burning of a digital input templates, and later on the long memory of it. Then I learned a lesson, and then debugging time must be clear 220V and 24V, and never had a problem.

Send Inquiry

whatsapp

Phone

E-mail

Inquiry