In modern industrial production equipment, there are a large number of digital and analog control devices, such as motor start and stop, solenoid valve opening and closing, product counting, temperature, pressure, flow rate setting and control, etc., the industrial field of these automatic control problems, programmable logic controller ( PLC ) has become one of the most effective tools to solve.
PLC control system design should pay attention to the following points.
First, the programmable logic controller (PLC) and programmer purchase
PLC products on the market at present, in addition to domestic brands, foreign brands are: Japan OMRON, MITSUBISHI, FUJI, IDEC, HITACHI, Panasonic, Germany's Siemens, South Korea's LG, etc., how to buy PLC products?
1. system
First of all, you should determine the system with PLC stand-alone control or PLC to form a network, which calculates the number of input and output (I / O) points, and in the purchase of PLC should be in the actual number of points on the basis of a 10% margin.
2. Determine the type of load
According to the PLC output with the load is DC or AC type, is a large current or small current, as well as PLC output point action frequency, etc., so as to determine the output relay output or transistor output, or thyristor output. It is important to choose different output methods for different loads to ensure stable operation of the system.
3. Execution speed
Storage capacity and the speed of execution of instructions is an important indicator of PLC selection, generally the larger the storage capacity, the faster the PLC price is higher, although the products of foreign manufacturers are largely the same, but there are some differences.
4. "COM" point selection
Different PLC products, the number of "COM" points is not the same, some a "COM" point with 8 output points, some with 4 output points, but also with 1 or 2 output points. When the type of load is large and the current is large, a "COM" point with 1-2 output points should be used; when the type of load is small and the number of loads is large, a "COM" point with 4-8 output points should be used.
5. Reasonable selection of PLC products
Because the manufacturers of different development software, system compatibility is also the focus of the purchase, has not yet found fully compatible products, should be based on the system reasonable selection of PLC products.
6. Programmer selection
PLC programming can be done in three ways:
One is to use a general hand-held programmer, which can only be programmed with the statements in the statement table specified by the manufacturer. Positively in the way easy to field debugging and small size and low cost, but its efficiency is low to adapt to the type of machine type is less, more suitable for small system capacity, less use of the system.
Second, the graphic programmer programming, this way using graphic programming, convenient and intuitive, general electrical personnel can be applied to short-term comfortable, but the programmer price is higher.
Third, with IBM and its compatible personal computer + PLC software package programming, this way is the most efficient way, is also one of the most commonly used, but most software packages are expensive.
7. Try to use the products of large companies
Because its product quality is guaranteed, and good technical support, generally better after-sales service, in favor of future product expansion and software and hardware upgrades.
Second, the design of input and output circuits
1. Power supply circuit
PLC power supply is generally AC85-240V (also DC24V), to adapt to a wide range of power supply, but in order to anti-interference, should be installed power purification components (such as power filters, 1:1 isolation transformers, etc.)
2.PLC on the use of DC24V power supply
PLC products of various companies generally have DC24V power supply, but the power supply capacity is small, for tens of milliamps to hundreds of milliamps, with its load should pay attention to the capacity, and at the same time do a good job to prevent short-circuit measures (because of the power supply overload or short circuit will affect the operation of the PLC).
3. External DC24V power supply
If the input circuit has DC24V power supply proximity switches, photoelectric switches, etc., and the PLC on the DC24V power supply capacity is not enough, to provide DC24V power supply from the outside; but the power supply "a" end and the PLC's DC24V power supply should not be connected to the "a" as well as the "COM" end, otherwise it will affect the operation of the PLC.
4. Input sensitivity
Each manufacturer of PLC input voltage and current have regulations, when the input current of the input element is greater than the maximum input current of the PLC or leakage current, there will be false action, reduce sensitivity. Therefore, it is necessary to apply weak current input and take protective measures against leakage current, and select PLCs with leakage-type inputs.
5. Handling of inductive loads
Inductive loads in the input and output terminals, the load should be connected in parallel at both ends of an impact suppressor or diode, the cathode of the diode and the voltage (10) connected to the pole side.
6. External interlocking and grounding
Use PLC to control the motor forward and reverse, such as positive and negative action, in order to avoid accidents and mechanical damage caused by the abnormal action of the PC, should be composed of an external interlocking circuit.
Grounding: The GR terminal is the earth ground terminal. The third grounding method (grounding resistance of 100Ω or less) is used with a special grounding wire ( wire with a cross-sectional area of 2mm2 or more) that prevents inductive electricity.
LG is the neutral terminal of the noise filter. If false operation occurs due to loud noise or to prevent electric shock, short LG to GR and use the third grounding method. The length of the grounding wire should be 20m or less.
Sharing the grounding wire with other equipment or connecting it to the metal structure of the building can be counterproductive and have a bad effect.
7. PLC external drive circuit
For the PLC output can not directly drive the load, must be used externally to drive the circuit, you can use a solid-state relay or thyristor circuit drive, at the same time should be used to protect the circuit and surge absorption circuit.
In addition, the PLC input and output wiring also has certain requirements, please refer to the company's instruction manual.
Third, the choice of expansion modules
For small systems, such as 80 points or less, generally do not need to expand the system; when the system is larger, it is necessary to expand. Products of different companies, the total number of points on the system and the number of expansion modules are limited, when the expansion still can not meet the needs of the network structure can be used.
At the same time, some manufacturers' products do not support the individual instructions of the expansion module, so be careful when programming the software. When using temperature and other analog modules, each manufacturer also has some provisions, please refer to the relevant technical manual.
Fourth, PLC network design
When the network design with PLC, the difficulty is much greater than the PLC stand-alone control, first of all, you should choose to use their own more familiar models, its basic instructions and functional instructions have a more in-depth understanding of the instruction execution speed and user program storage capacity should also be carefully understood. Otherwise, it will not be able to adapt to real-time requirements, resulting in system collapse.
In addition to the communication interface, communication protocols, data transfer speed should also be considered.
Finally, the PLC manufacturers to seek network design and software support and detailed technical information, as for the choice of several workstations, according to the size of the system.
Fifth, software development
In the preparation of software, you should first familiarize yourself with the selected PLC product specifications, to be familiar with the programming. If the graphic programmer or software package programming, it can be directly programmed, if programmed with a handheld programmer, you should first draw a ladder diagram, and then programming, so that you can reduce the error, the speed is fast, programmed into the completion of the first runaway, to be normal after each action, and then in the equipment debugging.




