Commissioning work is to check whether the PLC control system can meet the control requirements of the key work, is an objective and comprehensive evaluation of system performance. The system must be put into use before the whole system function of strict debugging, until it meets the requirements and by the relevant user representatives, supervision and design and other signatures to confirm the delivery of use. Debugging personnel should have received specialized training in the system, the composition of the control system, hardware and software are more familiar with the use and operation.
Debugging personnel in the debugging problems found, should contact the relevant designers in a timely manner, in the designers agree to modify, modify the need to make a detailed record of the modified software to be backed up. And the debugging of the modified part of the document to do a good job of organizing and archiving. Debugging content mainly includes input and output functions, control logic functions, communication functions, processor performance testing, etc..

1,Input and output circuit debugging
(1) analog input (AI) loop debugging. To carefully check the I0 module address allocation; check the circuit power supply (internal power supply or external power supply) is consistent with the field instrumentation; with a signal generator on the field side of each channel to join the signal, usually take 0, 50% or 100% of the three points to check. Alarm, interlocking value of the AI circuit, but also in the alarm interlocking values (such as high, low and interlocking points and accuracy) to check to confirm the correctness of the alarm, interlocking status.
(2) analog output (AO) loop debugging. According to the requirements of the loop control, manual output (i.e., set directly in the control system) approach to check the actuator (such as valve openings, etc.), usually also take 0, 50 % or 100 % of the three points to check; at the same time, through the closed-loop control, to check whether the output meets the relevant requirements. For AO circuits with alarms and interlocking values, the alarm and interlocking values (e.g., high alarm, low alarm, interlocking points, and accuracy) are also checked to confirm the correctness of the alarm and interlocking status.
(3) Switching input (DI) circuit debugging. In the corresponding field terminal short or disconnect, check the switching input module corresponding to the channel address of the light-emitting diode changes, while checking the channel on and off changes.
(4) Switching output (DO) loop debugging. The output point can be checked by the forced function provided by the PLC system. By forcing, check the change of the light-emitting diode of the corresponding channel address of the switching output module, and check the change of the channel's on and off at the same time.
2. Circuit debugging precautions
(1) For the switching input and output circuits, pay attention to the principle of consistency to maintain the state, usually using the principle of positive logic, that is, when the input and output are energized, for the "ON" state, the data value is "1"; on the contrary, when the input and output are de-energized, for the "OFF" state, the data value is "0". "OFF" state, the data value is '0'. In this way, easy to understand and maintain.
(2) The switching input and output modules with large loads should be isolated from the field through relays, i.e., the field contact should not be directly connected to the input and output modules as far as possible.
(3) When using the forced function provided by the PLC, it should be noted that after the test is completed, the state should be restored; at the same time, there should not be too many points of forced operation, so as not to damage the module.
3,Control logic function debugging
Control logic function debugging needs to be completed together with the design, process representatives and project management personnel. To apply the test function of the processor to set the input conditions, according to the processor logic to check whether the output state changes are correct, in order to confirm the system's control logic function. For all interlocking circuits, simulate the interlocking process conditions, carefully check the correctness of the interlocking action, and make debugging records and countersigning confirmation.
Inspection is the process of acceptance of the designed control program software, which is the most complicated, technically demanding and difficult task in the commissioning process. Especially in the application of patented technology, special software, etc., it is more important to carefully check the correctness of its control, there should be a certain operating margin, while ensuring the normal operation of the process operation and the safety, reliability and flexibility of the system.
4. Processor Performance Test
Processor performance testing should be performed in accordance with the system specification to ensure that the system functions as described in the specification and is stable and reliable, including checking system communications, battery backup, and other special modules. Redundancy tests must be performed on systems with redundant configurations. This is a comprehensive check of the redundant design components, including power redundancy, processor redundancy, I0 redundancy, and communication redundancy.
(1) Power redundancy. Cut off one of the power supply, the system should be able to continue normal operation, the system is not disturbed; be cut off from the power supply can be restored to normal after adding power.
(2) Processor redundancy. Cut off the power supply of the main processor or switch the operation switch of the main processor, the hot standby processor should be able to become the main processor automatically, and the system should be able to operate normally without any disturbance; the processor that has been disconnected should be able to return to normal and be in standby state after power is added to the processor.
(3) I0 redundancy. Select mutually redundant inputs and outputs with corresponding addresses, apply the same input signal to the input module, and connect the output module to the status indication instrument. Turn on/off (or hot-swap, if allowed) the redundant input modules and output modules separately, and check whether their status can be maintained.
(4) Communication redundancy. By cutting off the power supply of one of the communication modules or disconnecting a network, check whether the system can communicate and operate normally; after reset, the status of the corresponding module should automatically return to normal.
Redundancy test, according to the design requirements, all the modules with redundant design are checked for redundancy. In addition, the check of system functions including system self-test, file search, file compilation and down load, maintenance information, backup and other functions. For more complex PLC systems, the system function check also includes logic diagram configuration, loop configuration and special I 0 functions.




