Steps to run and debug plc

Publisher:nu23Latest update time:2024-06-20 Source: elecfansKeywords:plc Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Many electrical novices are not sure how to start debugging after designing electrical control cabinets and PLC programs. Or some people have caused problems such as PLC burnout due to inappropriate debugging methods. So how should the designed electrical system be debugged? You can follow the following seven steps.


1. Check the circuit according to the drawing (without power supply)

Generally, the drawings of PLC systems include drawings inside the cabinet and drawings outside the cabinet. Drawings inside the cabinet refer to the wiring diagram inside the cabinet; drawings outside the cabinet refer to the wiring diagram of all the connections to the electrical cabinet. What needs to be checked in this part are:

1. Whether the drawing design is reasonable, including the capacity of various components, etc.

2. Check whether the components are connected strictly according to the drawings.

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

1. Make sure there is no short circuit in the circuit.

2. Make sure strong and weak electricity are not mixed together

Because the PLC power supply is 24V, once 220V is connected to the PLC due to wiring errors, it is easy to burn the PLC or expansion module.

2. Check the PLC external circuit, which is commonly known as "dotting"

After the power supply is confirmed, power is supplied to test the input and output points, which is commonly known as "dotting". The IO points need to be tested one by one, including the operation button, emergency stop button, operation indicator light, cylinder and its limit switch, etc. The specific method is that one person operates the button on the site, and the other person monitors the input and output signals in the PLC; for large systems, a test table should be established, that is, mark it after the test. If there is a wiring error during the construction process, it needs to be dealt with immediately.

In this step, it should be noted that after backing up the program, the program in the PLC needs to be cleared or disabled to avoid equipment movement due to testing.

3. Check the mechanical structure and test the motor load

This step needs to check whether the mechanical structure is tight, etc., whether the motor load is properly protected to avoid accidents caused by unexpected events. After the inspection, it is necessary to manually test the operation of the equipment. For example, for forward and reverse motors, it is necessary to test whether the circuit is intact and conduct a live test run. For inverters, set corresponding parameters and perform motor optimization, static identification or dynamic identification, etc.

It should be noted here that for some special loads, such as vertical loads that move up and down, they need to be carried out by professionals to avoid testing accidents due to improper control.

4. Debugging manual mode/semi-automatic mode and related logical relationships

After testing the IO points and the load side, the next step is debugging in manual mode. The manual mode here can also be called semi-automatic mode. It does not mean directly pressing the solenoid valve or contactor by hand, but driving the device through buttons or HMI buttons, which corresponds to the automatic state.

Manual mode testing can decompose the automatic mode according to human will, which is convenient for testing procedures.

The most important thing in this link is to test the safety functions, that is, to test whether the safety functions such as emergency stop and safety light curtain play the corresponding role when the equipment is running.

5. Debug the automatic mode according to the production process

After completing the semi-automatic debugging, you can further debug the automatic work. This link is the most important. It is necessary to test various interlocks according to the production process, including logical interlocks, safety interlocks, etc., and test several working cycles to ensure that the system can work continuously and correctly.

6. Testing of special processes

In addition to logic control, the PLC system also has many expanded functions, such as PID control. When these logic debugging is basically completed, you can start debugging analog and pulse control.

The most important thing is to select the appropriate control parameters. Generally speaking, this process is relatively long. You need to be patient and make multiple choices of parameters, and then choose the best one. For some PLCs, its PID parameters can be obtained through self-tuning. But this self-tuning process also takes a considerable amount of time to complete.

7. Complete all the above steps

The entire debugging is basically completed, and the next step is pre-production. Pre-production is a work test before production. During this stage, some special tests can be carried out in conjunction with production, such as whether the production rhythm is met, whether the safety function can still work under load, etc. Generally, the project can be handed over after a certain period of continuous production.

Newbies especially need to pay attention to the power supply. I remember when I was debugging my first project many years ago, the construction unit connected the 220V contacts and 24V contacts of the large belt pull-cord switch incorrectly (the belt pull-cord switch is a safety device with two sets of contacts, one set for 220V to disconnect the control loop, and the other set for 24V to enter the PLC). This caused a digital input template to burn out. Later, I learned my lesson and made sure to distinguish between 220V and 24V when debugging, and there has been no problem since then.


Keywords:plc Reference address:Steps to run and debug plc

Previous article:A brief discussion on the definition and application of PLC and DCS
Next article:About PLC maintenance and repair methods and techniques

Recommended ReadingLatest update time:2024-11-16 09:47

Flow accumulation function program based on S7-1200PLC
When using s7-1200PLC to write a program, if the project needs to use the flow accumulation function, but this PLC does not have a built-in flow accumulation function block. At this time, our configuration engineers need to write a program with flow accumulation function by themselves, or encapsulate the program int
[Embedded]
Flow accumulation function program based on S7-1200PLC
PLC system power supply installation & wiring tips sharing
1. Pay attention to power supply installation There are two types of power supplies for PLC systems: external power supply and internal power supply. The external power supply is used to drive the PLC output device (load) and provide input signals. It is also called the user power supply. The externa
[Embedded]
PLC system power supply installation & wiring tips sharing
Practical skills! Siemens PLC programming skills
OB1: Main program; OB100: Initialization program (no need to call the main program); OB35: 100ms (modifiable) interrupt (no need to call the main program), can call the PID module; OB80, OB82, OB85, OB86, OB87, OB121, OB122: Fault diagnosis module (no need to call the main program, no need to program); FC1: System m
[Embedded]
PLC control system principle and classification
The internal working mode of PLC is generally a cyclic scanning working mode. In some large and medium-sized PLCs, an interrupt working mode is added. After the user completes the debugging of the user program, the program is written into the PLC memory through the programmer. At the same time, the input signal of t
[Embedded]
Tutorial explanation of the internal structure and basic structure of a PLC
  PLC tutorial has become a hot word in Baidu recently because a good PLC tutorial is often hard to find. For this reason, the editor has specially established a series of PLC tutorial articles to try to reduce the difficulty of searching for PLC tutorials. In this PLC tutorial, the editor will introduce what PLC is,
[Embedded]
Tutorial explanation of the internal structure and basic structure of a PLC
How to implement ModbusTCP communication between Siemens 1200PLC?
1200 exchanges data with other devices through communication. Siemens 1200PLC can communicate with Siemens series PLCs, such as S7-300/S7-1200/S7-1500, etc., using ModbusTCP, S7, Profinet and other communication protocols Siemens 1200PLC supports the connection of 1 device (PG), Siemens 1200PLC supports co
[robot]
The world's first HD-PLC communication chip compliant with the IEEE1901-2020 standard has begun shipping samples
Socionext Inc. (hereinafter referred to as "Socionext"), a leading company in SoC design and application technology, announced that samples of the HD-PLC communication chip "SC1320A" based on the IEEE1901-2020 standard will begin shipping in June, and mass production is scheduled to begin in the third quarter of 2022.
[Network Communication]
The world's first HD-PLC communication chip compliant with the IEEE1901-2020 standard has begun shipping samples
Keil5 click Debug Setting to make the software crash solution
Today I downloaded someone else's Dome project from the Internet, compiled it locally, and when I was about to choose the debugger, I found that the IDE crashed.  Reinstalling the software and recompiling it did not solve the problem. After a while, I found a solution and shared it with you. Find the .UVOPTX file wit
[Microcontroller]
Latest Embedded Articles
Change More Related Popular Components
Guess you like

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号