In recent years, with the development of society, PLCprogrammablecontrollers have been widely used in industrial production, while the technical staff of the use of its requirements are also increasing year by year, so the normal and stable operation of the system requirements are also increasingly high.
The reliability of the PLC product itself can be guaranteed, but in the application of some incorrect operation will cause a certain impact.
Today, I have organized some PLC daily application of practical skills, I hope to help you in the daily use of PLC.
Grounding issues
PLC system grounding requirements are more stringent, it is best to have a separate dedicated grounding system, but also pay attention to other equipment related to the PLC should also be reliably grounded.
Multiple circuit grounding points, when connected together, can generate unexpected currents that can lead to logic errors or damage circuits.
The reason for generating different ground potentials is usually due to the fact that the grounding points are separated too far in the physical area. When devices that are far apart are connected together by communication cables or sensors, the current between the cable wires and the ground flows through the entire circuit, and the load currents of large devices, even at short distances, can create variations between them and the ground potential, or generate unpredictable currents directly through electromagnetic action. Current.
Between incorrectly grounded power sources, circuits can generate destructive currents that can damage equipment.
PLC systems are generally grounded at one point. In order to improve the ability to resist common-mode interference, for analog signals can be used to shield the floating ground technology, that is, the shield of the signal cable a point of ground, the signal loop floating, and the earth's insulation resistance should not be less than 50MΩ.
Interference handling
The environment of the industrial site is relatively harsh, and there are many high and low frequency interference These interferences are generally introduced into the PLC through the cable connected to the field equipment
In addition to grounding measures, in the cable design selection and laying construction, should pay attention to take some anti-interference measures
(1) analog signals are small signals, very susceptible to external interference, should be used double shielded cable
(2) high-speed pulse signals (such as pulse sensors, counting digital disk, etc.) should be selected shielded cable, both to prevent external interference, but also to prevent high-speed pulse signals on the low-level signal interference
(3) PLC communication cable between the higher frequency, should generally use the cable provided by the manufacturer, in the case of the requirements are not high, you can choose a twisted-pair cable with shielding
(4) analog signal lines, DC signal lines and AC signal lines can not be routed in the same trough
(5) control cabinet introduced into the lead shielded cable must be grounded, should not be connected directly to the equipment through the terminals
(6) AC signals, DC signals and analog signals can not share a cable, power cable should be laid separately from the signal cable
(7) in the field maintenance, to solve the interference methods are: the interference of the line using shielded cables, re-laying; in the program to add anti-interference filtering code
Eliminatecapacitancebetween wiresto avoid false operation
There is capacitance between the wires of the cable, and qualified cables can limit this capacitance within a certain range.
Even if the qualified cable, when the cable length exceeds a certain length, the capacitance between the wires will exceed the required value, when the cable is used for PLC inputs, the capacitance between the wires may cause the PLC's faulty operation, there will be a lot of incomprehensible phenomena.
These phenomena are mainly manifested as: wiring is correct, but the PLC but no input; PLC should have no input, but should not have but have, that is, PLC inputs interfere with each other. To solve this problem, it should be done:
(1) Use cables whose cores are twisted together;
(2) Try to shorten the length of the cable used;
(3) Use separate cables for inputs that interfere with each other;
(4) Use shielded cables.
Selection of output modules
The output module is divided into transistor, bi-directional thyristor and contact type:
(1) transistor type switching speed is the fastest (generally 0.2ms), but the load capacity is minimal, about 0.2 ~ 0.3A, 24VDC, suitable for fast switching, signal contact equipment, generally with frequency conversion, DC devices and other signal connections, should pay attention to the transistor leakage current on the load.
(2) Thyristor type has the advantages of no contact, AC load characteristics, load capacity is not large.
(3) Relay output has the characteristics of AC and DC loads, and the load capacity is large. Conventional control is generally the first choice of relay contact type output, the disadvantage is that the switching speed is slow, generally about 10ms, not suitable for high-frequency switching applications.
Inverterovervoltageand overcurrent handling
(1) reduce the given motor deceleration operation, the motor into the regenerative power generation braking state, the motor back to the frequency converter energy is also higher, these energies are stored in the filter capacitor, so that the capacitor on the voltage rises, and soon reach the DC overvoltage protection of the rectifier and make the frequency converter tripped.
Treatment: take measures to increase the braking resistance outside the frequency converter, the resistor will be fed back to the motor DC side of the regenerative energy consumption.
(2) Inverter with multiple small motors, when one of the small motors overcurrent fault, the inverter will overcurrent fault alarm, resulting in inverter gate, which leads to other normal small motors also stop working.
Treatment: add 1:1 isolation transformer on the output side of the frequency converter, when one or several small motors have overcurrent faults, the fault current DC impact transformer, rather than the impact of the frequency converter, thus preventing the frequency converter from dropping out. After the experiment, the work is good, and then did not occur before the normal motor also shut down the fault.
Marking inputs and outputs for easy maintenance
PLC controls a complex system, what can be seen is the top and bottom of the two rows of staggered input and output relay terminals, corresponding lights and PLC number, like a piece of integrated circuit with dozens of feet. Anyone who does not look at the schematic diagram to overhaul the faulty equipment, will be at a loss, find the fault will be particularly slow. In view of this situation, we draw a form based on the electrical schematic, posted on the console or control cabinet of the equipment, labeled with each PLC input and output terminal number and its corresponding electrical symbols, Chinese name, that is, similar to the functional description of the integrated circuit pins.
With this input and output forms, for the understanding of the operation process or familiar with the equipment ladder diagram of the electrician can be launched overhaul.
But for those who are not familiar with the operation process, will not look at the ladder diagram of the electrician, it is necessary to draw another form: PLC input and output logic function table. The table actually describes the majority of the operating process of the input loop (trigger element, associated components) and the output loop (actuator) logical correspondence.
Practice shows that: if you can skillfully use the input and output correspondence table and input and output logic function table, overhaul electrical faults, without drawings, but also can be easily.
Inferring faults through program logic
Now often used in industry, a wide range of PLC, for low-end PLC, ladder instructions are similar, for the middle and high-end machine, such as S7-300, many programs are compiled using the language table.
Practical ladder diagrams must be annotated with Chinese symbols, otherwise it is difficult to read, look at the ladder diagram before if you can probably understand the equipment process or operation process, it looks easier.
If the electrical fault analysis, generally the application of the inverse method or the inverse method, that is, according to the input and output correspondence table, from the point of failure to find the corresponding PLC output relay, start the inverse check to meet the logical relationship between its action.
Experience has shown that the fault can be basically eliminated when a problem is found, because there are not many points of failure where two and more faults occur in the equipment at the same time.
PLC own fault judgment
In general, the PLC is extremely reliable equipment, the failure rate is very low, PLC, CPU and other hardware damage or software operation error probability is almost zero, PLC input points, such as not due to strong electrical intrusion, almost no damage, PLC output relay open point, if not peripheral load short-circuiting or irrational design, the load current exceeds the rated range, the life of the contact is also very long.
Therefore, we find electrical failure points, focus on the peripheral electrical components of the PLC, do not always suspect that the PLC hardware or program has a problem, it is very important to quickly repair the faulty equipment, rapid recovery of production.
Therefore, the author talks about the PLC control loop of electrical troubleshooting, the focus is not on the PLC itself, but the PLC control loop of peripheral electrical components.




