A portable PLC experiment box

By designing a portable PLC experimental box, the problem that the existing technology cannot simulate and train PLC systems in the office or laboratory is solved, and it provides a portable, stable and fully functional experimental environment suitable for testing and gas pipeline automation systems and Training.

CN115019580BActive Publication Date: 2024-12-24PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210635557.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-06
Publication Date
2024-12-24
Estimated Expiration
2042-06-06

AI Technical Summary

Technical Problem

The existing technology cannot conveniently simulate, simulate, troubleshoot and train the PLC system of the oil and gas pipeline automation system in offices or laboratories, resulting in limited work efficiency.

Method used

A portable PLC experimental box was designed, including a box, PLC host module area and experimental simulation area, with a built-in discrete experimental area, simulated experimental area, communication experimental area and network experimental area, equipped with metal push button switches, metal indicator lights, Temperature controller, conversion switch and industrial Ethernet switches support input and output tests and data interactions of PLC products.

Benefits of technology

It realizes the portability of the PLC system, can simulate, troubleshoot and train at any location, improves work efficiency, and provides a stable and portable experimental environment suitable for automated system testing and training services in the oil and gas pipeline industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115019580B_ABST
    Figure CN115019580B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of PLC experiment technology, and in particular to a portable PLC experiment box, comprising a box body, and an integrated panel provided with a PLC host module area and an experiment simulation area, wherein the integrated panel is arranged in the box body; a PLC device slot for connecting a PLC product to be experimented is arranged in the PLC host module area; the PLC host module area comprises a discrete quantity experiment area, wherein a plurality of metal button switches and a plurality of metal indicator lights are arranged in the discrete quantity experiment area, so as to perform digital quantity input and output tests on the PLC product to be experimented; the PLC device slot, each metal button switch and each metal indicator light are also embedded on the front wall of the box body, and the box body has strong portability, and can perform simulation, emulation, troubleshooting, fault analysis and training on a PLC-based automation system anytime and anywhere.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of PLC experiments, and in particular to a portable PLC experiment box. Background Art

[0002] With the continuous development of oil and gas pipeline automation, PLC is being widely used in the automation control of oil and gas stations. In order to study the control logic of oil and gas pipeline automation systems, technicians can only conduct experiments and training on PLC systems on existing fixed integrated cabinets, and cannot test and simulate in offices, laboratories and other places, which affects work efficiency.

[0003] Therefore, a portable PLC experimental device is needed to facilitate simulation, simulation, troubleshooting, fault analysis and training of PLC-based automation systems anytime and anywhere. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a portable PLC experiment box in view of the deficiencies in the prior art.

[0005] The technical solution of a portable PLC experiment box of the present invention is as follows:

[0006] It comprises a box body and an integrated panel provided with a PLC host module area and an experimental simulation area, wherein the integrated panel is arranged in the box body;

[0007] The PLC host module area is provided with a PLC device slot for connecting the PLC product to be tested;

[0008] The experimental simulation area includes a discrete quantity experimental area, in which a plurality of metal button switches and a plurality of metal indicator lights are arranged to perform discrete quantity input and output tests on the PLC product to be tested;

[0009] The PLC device slot, each metal button switch, and each metal indicator light are embedded on the front wall of the box.

[0010] The beneficial effects of a portable PLC experiment box of the present invention are as follows:

[0011] It is highly portable and can simulate, simulate, troubleshoot, analyze faults and provide training for PLC-based automation systems anytime and anywhere.

[0012] Based on the above solution, the portable PLC experiment box of the present invention can also be improved as follows.

[0013] Furthermore, the discrete quantity experimental area is also provided with a buzzer.

[0014] Furthermore, the number of the metal push button switches is 8, and the number of the metal indicator lights is 8.

[0015] Furthermore, the experimental simulation area also includes an analog quantity experimental area, in which a temperature controller and a conversion switch are provided to perform analog quantity input and output tests on the PLC product to be tested. The temperature controller and the conversion switch are also embedded on the front wall of the box.

[0016] Furthermore, at least one pair of test holes is provided in the simulation experiment area, and the at least one pair of test holes is also embedded in the front wall of the box body to perform a loop experiment.

[0017] Furthermore, two pairs of test holes are provided in the simulation experiment area.

[0018] Furthermore, the number of temperature controllers is 2, and the number of conversion switches is 2.

[0019] Furthermore, the experimental simulation area also includes a communication experimental area, and a reserved slot for holding a MODBUS communication module is provided in the communication experimental area, and the reserved slot is also embedded in the front wall of the box.

[0020] Furthermore, the experimental simulation area also includes a network experimental area, and the network experimental area is provided with an industrial Ethernet switch, and the operation panel of the industrial Ethernet switch is located on the front wall embedded in the box.

[0021] Furthermore, the box body is made of aluminum alloy. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram of the structure of a portable PLC experiment box according to an embodiment of the present invention;

[0023] Figure 2 for Figure 1 Includes partial enlarged views of metal indicator lights and metal push button switches;

[0024] Figure 3 for Figure 1 A partial enlarged view of the temperature controller in FIG.

[0025] Figure 4 A side view of an integrated panel of a portable PLC experiment box of the present invention;

[0026] Figure 5 A portable PLC experiment box of the present invention adopts a discrete quantity input wiring diagram of the Rockwell PLC wiring method;

[0027] Figure 6A discrete quantity output wiring diagram of a portable PLC experiment box of the present invention adopting the wiring mode of Rockwell PLC;

[0028] Figure 7 A portable PLC experiment box of the present invention adopts an analog quantity input wiring diagram of the Rockwell PLC wiring method;

[0029] Figure 8 The present invention is a portable PLC experiment box adopting the analog output wiring diagram of the Rockwell PLC wiring method;

[0030] Fig. 9 One of the wiring diagrams for the first transfer switch;

[0031] Fig.10 This is the second wiring diagram of the first conversion switch;

[0032] Fig.11 This is one of the wiring diagrams for the second transfer switch;

[0033] Fig.12 This is the second wiring diagram of the second transfer switch;

[0034] Fig.13 It is one of the control logic diagrams of a portable PLC experiment box of the present invention;

[0035] Fig.14 This is the second control logic diagram of a portable PLC experiment box of the present invention;

[0036] Fig.15 This is the third control logic diagram of a portable PLC experiment box of the present invention. DETAILED DESCRIPTION

[0037] like Figures 1 to 4 As shown, a portable PLC experiment box according to an embodiment of the present invention comprises a box body and an integrated panel provided with a PLC host module area and an experiment simulation area, wherein the integrated panel is arranged in the box body.

[0038] The PLC host module area is provided with a PLC device slot 12 for connecting the PLC product to be tested, wherein the PLC device slot 12 can be set according to the size of different PLC products to be tested, and the PLC device slot 12 is specifically used to place the PLC rack, power module, CPU module, and I / O module of the PLC product to be tested.

[0039] The PLC device slot 12, the metal button switch 4, and the metal indicator light 3 are embedded on the front wall of the box.

[0040] The integrated panel can be fixed in the box by means of quick-release screws 1 on the integrated panel.

[0041] The experimental simulation area includes a discrete quantity experimental area, in which a plurality of metal button switches 4 and a plurality of metal indicator lights 3 are provided to perform digital quantity input and output tests on the PLC product to be tested, that is, the input status is fed back to the discrete quantity input module of the PLC product to be tested through the metal button switch 4, and the indication is transmitted to the metal indicator light 3 through the PLC discrete quantity output module of the PLC product to be tested.

[0042] The PLC device slot 12, each metal button switch 4, and each metal indicator light 3 are embedded on the front wall of the box.

[0043] The box body is surrounded by 6 walls, which specifically include an upper wall, a lower wall, a left wall, a right wall, a front wall and a rear wall. The wall used to embed the PLC device slot 12, each metal button switch 4 and each metal indicator light 3 is the front wall.

[0044] The number of the metal button switches 4 and the number of the metal indicator lights 3 can be set according to actual conditions. For example, the number of the metal button switches 4 is 8, and the number of the metal indicator lights 3 is 8. Figure 2 As shown; for example, the number of the metal button switches 4 is 10, and the number of the metal indicator lights 3 is 10.

[0045] Optionally, in the above technical solution, the discrete quantity experimental area is further provided with a buzzer 10. The number of buzzers 10 can be set according to actual conditions. The buzzer 10 can be used to simulate the test and experiment of equipment such as sound and light alarms.

[0046] Optionally, in the above technical solution, the experimental simulation area also includes an analog quantity experimental area, and the analog quantity experimental area is provided with a temperature controller 7 and a conversion switch 5 to perform analog quantity input and output tests on the PLC product to be tested, and the temperature controller 7 and the conversion switch 5 are embedded on the front wall of the box.

[0047] Among them, the temperature controller 7 can have a 4-20mA analog input channel and an analog output channel, that is, the temperature controller 7 feeds back a 4-20mA signal to the PLC analog input module through the analog input channel for analog input and output testing. Among them, the conversion switch 5 can be used to switch to any input channel of the PLC analog input module of the PLC product to be tested, and to switch to any output channel of the analog output module. The PLC analog input module includes multiple input channels, such as 6 or 8, and the analog output module includes multiple output channels, such as 6 or 8.

[0048] Among them, the number of temperature controllers 7 and conversion switches 5 can be set according to actual conditions. For example, the number of temperature controllers 7 is 2 and the number of conversion switches 5 is 2; for example, the number of temperature controllers 7 is 3 and the number of conversion switches 5 is 3.

[0049] Optionally, in the above technical solution, at least one pair of test holes 6 is provided in the analog quantity experimental area, and the at least one pair of test holes 6 is also embedded in the front wall of the box to perform a loop experiment. Specifically: the ammeter is set to the mA position, and the positive and negative poles of the test leads are connected to the test holes 6 to directly measure the current value of the loop.

[0050] The number of pairs of the test holes 6 can be set according to actual conditions, such as setting 2 pairs, 3 pairs of test holes 6 or 4 pairs of test holes 6.

[0051] Optionally, in the above technical solution, the experimental simulation area also includes a communication experimental area, and a reserved slot 11 for connecting a MODBUS communication module is provided in the communication experimental area, and the reserved slot 11 is also embedded in the front wall of the box.

[0052] Among them, the MODBUS communication module matches the PLC product to be tested. After installing the MODBUS communication module, other third-party devices such as flow meters, frequency converters or compressors can be connected through the MODBUS communication module to perform third-party communication data acquisition tests.

[0053] Optionally, in the above technical solution, the experimental simulation area also includes a network experimental area, and the network experimental area is provided with an industrial Ethernet switch, through which the PLC product to be tested can exchange data with other devices. The operation panel of the industrial Ethernet switch is located on the front wall embedded in the box.

[0054] The experimental simulation area also includes a network experimental area, and the network experimental area is provided with an industrial Ethernet switch. The operation panel of the industrial Ethernet switch is located on the front wall embedded in the box.

[0055] Among them, the PLC product to be tested can exchange data with other devices such as servers or workstations through industrial Ethernet switches.

[0056] Optionally, in the above technical solution, the material of the box body is metal such as aluminum alloy, stainless steel, etc., and the material of the box body can also be engineering plastic or nylon, etc.

[0057] The portable PLC experiment box is highly portable and can be used to simulate, simulate, troubleshoot, analyze and train PLC-based automation systems anytime and anywhere.

[0058] The portable PLC experiment box of the present invention is described in the following complete embodiment, including a box body and an integrated panel, wherein the integrated panel is arranged in the box body, the integrated panel adopts an integrated integrated design, and further includes a hidden handle 2, a power plug 8, and a power switch 9, and a PLC host module area and an experimental simulation area are arranged on the integrated panel;

[0059] The PLC host module area and the experimental simulation area include: a discrete quantity experimental area consisting of 8 metal button switches 4, 8 metal indicator lights 3, and 1 buzzer 10; an analog quantity experimental area consisting of 2 temperature controllers 7 and 2 conversion switches 5; a communication experimental area consisting of a MODBUS communication module; and a network experimental area consisting of an industrial Ethernet switch. The simulation experimental area is also provided with two pairs of test holes 6 for loop testing.

[0060] The two temperature controllers 7 are respectively marked as a first temperature controller 7 and a second temperature controller 7, and the two conversion switches 5 are respectively marked as a first conversion switch 5 and a second conversion switch 5;

[0061] Among them, the PLC device slot 12 is used to place the PLC product to be tested; the discrete quantity experimental area composed of 8 metal button switches 4, 8 metal indicator lights 3, and a buzzer 10 can be used for digital quantity input and output testing; the analog quantity experimental area composed of two temperature controllers 7, two conversion switches 5, and two pairs of test holes 6 can be used for analog quantity input and output testing and loop testing; the reserved slot 11 can be used to place the MODBUS communication module to form a communication experimental area according to actual test requirements. The present invention uses the temperature controller 7 and the channel matrix connection method, and cooperates with the conversion switch 5 to facilitate the switching and degree of the analog quantity channel. Only by turning the knobs of the output and input channels, the setting, output and current value of the current can be intuitively read, which is convenient for simulating the control logic in various scenarios. The present invention adopts a mode in which the input channel and the output channel can be selected, and can simulate the single-channel PID adjustment when used in conjunction with the temperature controller 7.

[0062] The reserved slot 11 is used to hold the MODBUS communication module, and can also be used to hold the industrial Ethernet switch. That is, the reserved slot 11 is customized according to the size of the MODBUS communication module and the industrial Ethernet switch. In order to reduce the size of the portable PLC experimental box of the present invention, a reserved slot 11 can be set for the MODBUS communication module and the industrial Ethernet switch to be exchanged. In another embodiment, a reserved slot 11 can be set for the MODBUS communication module and the industrial Ethernet switch respectively.

[0063] Furthermore, the Rockwell PLC wiring method is used to connect the PLC product to be tested to the components on the integrated panel in the portable PLC test box of the present invention, such as Figures 5 to 12 As shown, it can be used to carry out oil and gas pipeline automation system simulation, system testing, technical training and other work. The wiring method is as follows:

[0064] 1) Metal button switch: The positive electrode of the first metal button switch 13 is connected to the first terminal 31 of the discrete quantity input module of the PLC product to be tested through a signal line; the positive electrode of the second metal button switch 14 is connected to the second terminal 32 of the discrete quantity input module of the PLC product to be tested through a signal line; the positive electrode of the third metal button switch 15 is connected to the third terminal 33 of the discrete quantity input module of the PLC product to be tested through a signal line; the positive electrode of the fourth metal button switch 16 is connected to the fourth terminal 34 of the discrete quantity input module of the PLC product to be tested through a signal line; the positive electrode of the fifth metal button switch 17 is connected to the fifth terminal 35 of the discrete quantity input module of the PLC product to be tested through a signal line; the positive electrode of the sixth metal button switch 18 is connected to the third terminal 36 of the discrete quantity input module of the PLC product to be tested through a signal line The sixth terminal 36 of the discrete quantity input module of the PLC product to be tested; the positive pole of the seventh metal button switch 19 is connected to the seventh terminal 37 of the discrete quantity input module of the PLC product to be tested through a signal line; the positive pole of the eighth metal button switch 20 is connected to the eighth terminal 38 of the discrete quantity input module of the PLC product to be tested through a signal line; the negative pole of the first metal button switch 13, the negative pole of the second metal button switch 14, the negative pole of the third metal button switch 15, the negative pole of the fourth metal button switch 16, the negative pole of the fifth metal button switch 17, the negative pole of the sixth metal button switch 18, the negative pole of the seventh metal button switch 19, and the negative pole of the eighth metal button switch 20 are all connected to the ninth terminal 39 of the discrete quantity input module of the PLC product to be tested;

[0065] 2) Metal indicator lights: The positive electrode of the first metal indicator light 21 is connected to the first terminal 41 of the discrete output module of the PLC product to be tested through a signal line; the positive electrode of the second metal indicator light 22 is connected to the third terminal 43 of the discrete output module of the PLC product to be tested through a signal line; the positive electrode of the third metal indicator light 23 is connected to the fifth terminal 45 of the discrete output module of the PLC product to be tested through a signal line; the positive electrode of the fourth metal indicator light 24 is connected to the seventh terminal 47 of the discrete output module of the PLC product to be tested through a signal line; the positive electrode of the fifth metal indicator light 25 is connected to the ninth terminal 49 of the discrete output module of the PLC product to be tested through a signal line; the positive electrode of the sixth metal indicator light 26 is connected to the eleventh terminal 51 of the discrete output module of the PLC product to be tested through a signal line; the positive electrode of the seventh metal indicator light 27 is connected to the thirteenth terminal 53 of the discrete output module of the PLC product to be tested through a signal line; the positive electrode of the eighth metal indicator light 28 is connected to the fifteenth terminal 55 of the discrete output module of the PLC product to be tested through a signal line. 5 connection; the cathode of the first metal indicator light 21 is connected to the second terminal 42 of the discrete output module of the PLC product to be tested through a signal line; the anode of the second metal indicator light 22 is connected to the fourth terminal 44 of the discrete output module of the PLC product to be tested through a signal line; the cathode of the third metal indicator light 23 is connected to the sixth terminal 46 of the discrete output module of the PLC product to be tested through a signal line; the cathode of the fourth metal indicator light 24 is connected to the eighth terminal 48 of the discrete output module of the PLC product to be tested through a signal line; the cathode of the fifth metal indicator light 25 is connected to the tenth terminal 50 of the discrete output module of the PLC product to be tested through a signal line; the cathode of the sixth metal indicator light 26 is connected to the twelfth terminal 52 of the discrete output module of the PLC product to be tested through a signal line; the cathode of the seventh metal indicator light 27 is connected to the fourteenth terminal 54 of the discrete output module of the PLC product to be tested through a signal line; the cathode of the eighth metal indicator light 28 is connected to the sixteenth terminal 56 of the discrete output module of the PLC product to be tested through a signal line.

[0066] 3) Buzzer: The positive pole of the buzzer is connected to the first terminal 41 of the discrete output module of the PLC product to be tested through a signal line; the negative pole of the buzzer is connected to the second terminal 42 of the discrete output module of the PLC product to be tested through a signal line.

[0067] 4) Input display screen 29 and first conversion switch of the temperature controller:

[0068] The positive pole of the input display screen 29 of the temperature controller is connected to the first terminal 74, the third terminal 76, the fifth terminal 78, the seventh terminal 80, the ninth terminal 82 and the eleventh terminal 84 of the first conversion switch through a signal line; the negative pole of the input display screen 29 of the temperature controller is connected to the third terminal 58, the fourth terminal 59, the seventh terminal 62, the eighth terminal 63, the eleventh terminal 66 and the twelfth terminal 67 of the analog input module of the PLC product to be tested through a signal line; the second terminal 75, the fourth terminal 77, the sixth terminal 79, the eighth terminal 81, the tenth terminal 83 and the twelfth terminal 85 of the first conversion switch are respectively connected to the first terminal 56, the second terminal 57, the fifth terminal 60, the sixth terminal 61, the ninth terminal 64 and the tenth terminal 65 of the analog input module of the PLC product to be tested.

[0069] 5) Output display screen 30 and second switch of temperature controller:

[0070] The positive pole of the output display screen 30 of the temperature controller is connected to the first terminal 86, the third terminal 88, the fifth terminal 90 and the seventh terminal 92 of the second conversion switch through a signal line; the negative pole of the output display screen 30 of the temperature controller is connected to the first terminal 68, the third terminal 70, the fourth terminal 71 and the sixth terminal 73 of the analog output module of the PLC product to be tested through a signal line; the second terminal 87 and the fourth terminal 89 of the second conversion switch are connected to the second terminal 69 of the analog output module of the PLC product to be tested through a signal line; the sixth terminal 91 and the eighth terminal 93 of the second conversion switch are connected to the fifth terminal 72 of the analog output module of the PLC product to be tested through a signal line.

[0071] In another embodiment, a portable PLC test box structure includes a box body, a top cover, and an integrated panel. The box is designed with quick-release screws 1, and the box is split-type and can be used as a demonstration machine. The integrated panel can be pulled out of the box body to facilitate display of the internal structure.

[0072] The box body and upper cover are made of aluminum alloy, which are small in size and light in weight; a sponge partition is attached to the inside of the box body, which can well fix the experimental device inside the box body and improve shock resistance; two buckles and a handle are arranged on one side of the box body, which is convenient for fixing and carrying.

[0073] Among them, the model of the metal indicator light 3 is 12B2, the model of the metal push button switch 4 is LB6-12Z, the model of the conversion switch 5 is LW26-20 / 4, and the model of the temperature controller 7 is XMTA-8000.

[0074] A portable PLC experiment box according to an embodiment of the present invention has the following functions:

[0075] 1) When the metal button switch is pressed, the closing signal generated is returned to the CPU module of the PLC product to be tested through the discrete input module. It can be used to simulate equipment with discrete input signals in oil and gas pipelines, such as pressure switches, flow switches, liquid level switches, ball indicators, ESD buttons, etc. It can also simulate the status input of various single equipment, such as the open and closed positions, local / remote control, fault, opening, closing, low oil pressure alarm of ordinary electric valves / electro-hydraulic linkage valves / regulating valves, and the operation, stop, fault, and ESD status of oil pumps / sewage oil pumps / pressure relief and re-injection pumps / transfer pumps / heating furnaces / compressors.

[0076] 2) When the PLC product to be tested has a discrete output signal, the metal indicator light is lit through the discrete output module, which can be used to simulate the output signals of various single equipment in the oil and gas pipeline, such as the opening and closing commands of the valve, and the start and stop of the oil pump and other equipment.

[0077] 3) The temperature controller can be used to simulate devices with analog input / output signals in oil and gas pipelines, such as pressure transmitters, temperature transmitters, vibration transmitters, level meters, flow meters, density meters, etc. It can also simulate the analog input / output of various single devices, such as valve position feedback and valve position setting of control valves, speed feedback and speed setting of frequency converters.

[0078] 4) Through the mutual cooperation between the various components in the experimental box, complex logic function tests and simulations can be completed, such as ordinary electric valve control, oil pump start and stop control, oil pump switching, protection logic verification, etc.

[0079] 5) Users can use multimeters and other measuring equipment to participate in experimental operations, which has a strong sense of presence and is visually intuitive, highlighting the intuitiveness and convenience of experimental operations. The experimental device is not a simple simulation demonstration and verification experiment, but a real program design experiment with motion state feedback signals and logical functions, which is close to engineering reality.

[0080] The portable PLC experiment box of the present invention is further described by "simulating the logic of stopping all pumps when the outlet pressure of three pump units is too high":

[0081] Control logic such as Fig.13 As shown in the figure, when the outlet pressure of the three pumps in the simulated oil transfer station is greater than 5MPa, a high pressure alarm is generated; when the outlet pressure is greater than 5.5MPa, a high pressure alarm is generated, and the three running pump units are stopped at the same time after a delay of 5s, and the inverter speed is reduced to 0. Then:

[0082] First, download the following code in the CPU module of the PLC product to be tested: Fig.13The program corresponding to the logic shown, pressing the first metal button switch 13, the second metal button switch 14, and the third metal button switch 14 respectively represent the start commands of the three pump units, and the first metal indicator light 21, the second metal indicator light 22, and the third metal indicator light 23 respectively represent the operating status of the three pumps.

[0083] Use the input signal of any temperature controller as the outlet pressure, the preset value is 4MPa; the output signal is used as the inverter speed, the preset value is 1800 rpm. When the outlet pressure is manually increased to more than 5MPa, the fourth metal indicator light 24 lights up, indicating a high outlet pressure alarm signal; continue to increase the outlet pressure to more than 5.5MPa, the fifth metal indicator light 25 lights up, indicating a high alarm outlet pressure high alarm. After 5s, the first metal indicator light 21, the second metal indicator light 22, and the third metal indicator light 23 go out at the same time, indicating that the three oil pumps have stopped running, and the output signal of the temperature controller slowly drops to 0, indicating that the inverter speed has dropped to 0. This realizes the logic test of simulating the three pump units' outlet pressure being too high and stopping the pumps completely.

[0084] The portable PLC experiment box of the present invention is further described with "ordinary electric valve control":

[0085] First, download the following code into the CPU module of the PLC product to be tested: Fig.14 and Fig.15 The program corresponding to the logic described above satisfies the valve opening condition when: the valve is in remote control state, there is no fault, no deviation alarm, no irrelevant command, and it is not fully open; the valve closing condition satisfies the valve in remote control state, there is no fault, no deviation alarm, no opening command, and it is not fully closed. The first metal button switch 13 (press and the light turns on for remote control, press and the light turns off for local control), the second metal button switch 14 (press and the light turns on for fault, press and the light turns off for no fault), the third metal button switch 15 (press and the light turns on for full opening, press and the light turns off for not fully opening), the fourth metal button switch 16 (press and the light turns on for full closing, press and the light turns off for not fully closing), the fifth metal button switch 17 (press for valve opening command), the sixth metal button switch 18 (press for valve closing command), the seventh metal button switch 19 (press for reset command), the first metal indicator light 21 (light on for valve-related command, light off for unrelated valve command), the second metal indicator light 22 (light on for valve-related command, light off for unrelated valve command), the third metal indicator light 23 (light on for deviation alarm, light off for no deviation alarm), the fourth metal indicator light 24 (light on for successful valve opening), the fifth metal indicator light 25 (light on for successful valve closing), the output indication of the output display screen 30 of the temperature controller represents the valve opening and valve closing travel time (set to 10 seconds).

[0086] Download the ordinary electric valve control program into the controller.

[0087] The valve opening simulation operation is as follows:

[0088] Operation 1: Press the first metal button switch 13 and the fourth metal button switch 16. At this time, the first metal button switch 13 is on (remote control), the second metal button switch 14 is off (no fault), the fourth metal button switch 16 is on (fully open), the first metal indicator light 21 is off (irrelevant valve command), and the third metal indicator light 23 is off (no deviation alarm). The valve meets the valve opening conditions.

[0089] Operation 2: Press the fifth metal button switch 17 (valve opening command). If the fourth metal button switch 16 is not pressed within 2 seconds to turn off the light, the third metal indicator light 23 will light up (deviation alarm).

[0090] Operation 3: Press the seventh metal button switch 19 (reset command), and all metal button switches and metal indicator lights will go out.

[0091] Repeat operation 1 to make the valve meet the valve opening condition.

[0092] Operation 4: Press the fifth metal button switch 17 (valve opening command), and within 2 seconds, press the third metal button switch 16 to turn off the light, and the output display screen 30 of the temperature controller outputs an indication (travel time) to start timing.

[0093] The output indication 30 increases from 0s. Before the third metal button switch 15 is pressed to light up, the third metal indicator light 23 lights up (deviation alarm).

[0094] Perform operation 3 → operation 1 → operation 4 again, and press the third metal button switch 15 within 10 seconds to light it up, then the fourth metal indicator light 24 will light up (valve opening is successful).

[0095] The valve closing simulation operation is as follows:

[0096] Operation 1: Press the first metal button switch 13 and the third metal button switch 15. At this time, the first metal button switch 13 is on (remote control), the second metal button switch 14 is off (no fault), the third metal button switch 15 is on (fully closed), the first metal indicator light 21 is off (no valve opening command), and the third metal indicator light 23 is off (no deviation alarm). The valve meets the valve closing condition.

[0097] Operation 2: Press the sixth metal button switch 18 (valve closing command). If the third metal button switch 15 is not pressed within 2 seconds to turn off the light, the third metal indicator light 23 will light up (deviation alarm).

[0098] Operation 3: Press the seventh metal button switch 19 (reset command), and all metal button switches and metal indicator lights will go out.

[0099] Repeat operation 1 to make the valve meet the closing condition.

[0100] Operation 4: Press the sixth metal button switch 18 (valve closing command), and within 2 seconds, press the third metal button switch 15 to turn off the light. The output display screen 30 of the temperature controller outputs indication 30 (travel time) to start timing.

[0101] The output indication 22 increases from 0s. Before the output indication 22 increases to 10s, if the third metal button switch 16 is not pressed to light up, the third metal indicator light 23 will light up (deviation alarm).

[0102] Perform operation 3 → operation 1 → operation 4 again, press the third metal button switch 16 within 10 seconds to make it light up, and the fifth metal indicator light 25 lights up (valve closing is successful).

[0103] At present, the PLC used in the oil and gas pipeline automation system is mainly integrated in a fixed cabinet. If you want to conduct experimental tests on the PLC system, you can only assemble it in a temporary manner, which is extremely inconvenient. In the process of implementing the present disclosure, the inventors have found at least the following problems:

[0104] In the related art, the PLC system used for the experiment is mostly integrated on the cabinet, which limits the test location and occupies space. At the same time, the temporarily assembled PLC system has poor stability, which is not conducive to the smooth progress of the experiment.

[0105] Therefore, a portable PLC test box structure is needed. The experimental test work can be completed by only installing the PLC system hardware in this test box. It is easy to move and can carry out testing work at any location.

[0106] The portable PLC experiment box of the present application can make the PLC experimental device highly integrated, have good stability, and be easy to carry, so it is more conducive to carrying out PLC-related experimental tests. Compared with the fixed cabinet structure, the portable PLC experiment box of the present invention has the advantages of small size and easy to carry; compared with the temporarily assembled PLC experimental equipment, it has the characteristics of stable structure and not easy to shake, and can better protect the PLC equipment; it can be widely promoted and applied in the oil and gas pipeline industry, which is convenient for various companies to carry out automation system testing and training business.

[0107] Moreover, a portable PLC experiment box of the present invention includes a box body and an integrated panel, which can be integrated into the PLC products currently used in the oil and gas pipeline industry according to the product size, making it a portable PLC experiment box that is easy to carry and has complete testing functions.

[0108] In the present invention, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0109] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0110] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A portable PLC experiment box, characterized in that: It comprises a box body and an integrated panel provided with a PLC host module area and an experimental simulation area, wherein the integrated panel is arranged in the box body; The PLC host module area is provided with a PLC device slot for connecting the PLC product to be tested; The experimental simulation area includes a discrete quantity experimental area, in which a plurality of metal button switches and a plurality of metal indicator lights are arranged to perform discrete quantity input and output tests on the PLC product to be tested; The PLC device slot, each metal button switch, and each metal indicator light are embedded on the front wall of the box; The discrete quantity experimental area is also provided with a buzzer; The number of metal push button switches is 8, and the number of metal indicator lights is 8; The experimental simulation area also includes an analog quantity experimental area, in which a temperature controller and a conversion switch are provided to perform analog quantity input and output tests on the PLC product to be tested, and the temperature controller and the conversion switch are also embedded on the front wall of the box; At least one pair of test holes is also provided in the simulation experiment area, and the at least one pair of test holes is also embedded in the front wall of the box body to perform a loop experiment; The experimental simulation area also includes a communication experimental area, in which a reserved slot for holding a MODBUS communication module is provided, and the reserved slot is also embedded on the front wall of the box; The experimental simulation area also includes a network experimental area, and the network experimental area is provided with an industrial Ethernet switch, and the operation panel of the industrial Ethernet switch is located on the front wall embedded in the box; The logic of simulating the three pump units' outlet pressure being too high and stopping the pumps completely is as follows: when the outlet pressure is greater than 5MPa during the operation of the three pumps in the simulated oil transfer station, a high pressure alarm is generated; when the outlet pressure is greater than 5.5MPa, a high pressure alarm is generated, and the three running pump units are stopped at the same time with a delay of 5s, and the inverter speed is reduced to 0. When the control logic is to simulate the logic of stopping the pumps completely due to the outlet pressure being too high for the three pump units, first download the program corresponding to the control logic in the CPU module of the PLC product to be tested, and press the first metal button switch, the second metal button switch, and the third metal button switch respectively, which represent the start commands of the three pump units respectively, and the first metal indicator light, the second metal indicator light, and the third metal indicator light represent the operating status of the three pumps respectively; use the input signal of any temperature controller as the outlet pressure, and the preset value is 4MPa; the output signal is used as the inverter speed, and the preset value is 1800 rpm; When the outlet pressure is manually increased to more than 5MPa, the fourth metal indicator light will light up, indicating a high outlet pressure alarm signal; if the outlet pressure continues to increase to more than 5.5MPa, the fifth metal indicator light will light up, indicating a high alarm outlet pressure high alarm. After 5s, the first metal indicator light, the second metal indicator light, and the third metal indicator light will go out at the same time, indicating that the three oil pumps have stopped running, and the output signal of the temperature controller will slowly drop to 0, indicating that the inverter speed has dropped to 0, thereby simulating the logic test of the three pump units with excessively high outlet pressure and full pump stop; When the control logic is the electric valve control logic, first download the program corresponding to the electric valve control logic in the CPU module of the PLC product to be tested, where the valve opening conditions are: the valve is in the remote control state, there is no fault, no deviation alarm, no irrelevant command, and it is not fully open; the valve closing conditions are: the valve is in the remote control state, there is no fault, no deviation alarm, no opening command, and it is not fully closed. For the first metal button switch, the light turns on when it is remote control and the light turns off when it is local. For the second metal button switch, the light turns on when it is pressed for a fault and the light turns off when it is pressed for no fault. For the third metal button switch, the light turns on when it is fully open and the light turns off when it is not fully open. For the fourth metal button switch, the light turns on when it is fully closed when it is pressed. The fifth metal button switch is pressed and the light goes out for valve opening command. The sixth metal button switch is pressed for valve closing command. The seventh metal button switch is pressed for reset command. The first metal indicator light is on for valve-related command and off for unrelated valve command. The second metal indicator light is on for valve-related command and off for unrelated valve command. The third metal indicator light is on for deviation alarm and off for no deviation alarm. The fourth metal indicator light is on for successful valve opening. The fifth metal indicator light is on for successful valve closing. The output indication of the output display of the temperature controller represents the valve opening and closing travel time, which is set to 10 seconds. The electric valve control program is downloaded to the controller. The valve opening simulation operation is as follows: Operation 1: Press the first metal button switch and the fourth metal button switch. At this time, the first metal button switch is on, the second metal button switch is off, the fourth metal button switch is on, the first metal indicator light is off, and the third metal indicator light is off. The valve meets the valve opening conditions. Operation 2: Press the fifth metal button switch. If the fourth metal button switch is not pressed within 2 seconds to turn off the light, the third metal indicator light will turn on. Operation 3: Press the seventh metal button switch, and all metal button switches and metal indicator lights will go out; Repeat operation 1 to make the valve meet the valve opening condition; Operation 4: Press the fifth metal button switch, and within 2 seconds, press the third metal button switch to turn off the light. The output display of the temperature controller will indicate the start of timing. The output indication 30 increases from 0s. Before it increases to 10s, if the third metal button switch is not pressed to light up, the third metal indicator light will light up. Perform operation 3 → operation 1 → operation 4 again. Press the third metal button switch within 10 seconds to make it light up, and then the fourth metal indicator light will light up. The valve closing simulation operation is as follows: Operation 1: Press the first metal button switch and the third metal button switch. At this time, the first metal button switch is on, the second metal button switch is off, the third metal button switch is on, the first metal indicator light is off, and the third metal indicator light is off. The valve meets the valve closing condition. Operation 2: Press the sixth metal button switch. If the third metal button switch is not pressed within 2 seconds to turn off the light, the third metal indicator light will turn on. Operation 3: Press the seventh metal button switch, and all metal button switches and metal indicator lights will go out; Repeat operation 1 to make the valve meet the valve closing condition; Operation 4: Press the sixth metal button switch, and within 2 seconds, press the third metal button switch to turn off the light. The output display of the temperature controller will start timing. The output indication increases from 0s. Before it increases to 10s, if the third metal button switch is not pressed to light up, the third metal indicator light will light up. Perform operation 3 → operation 1 → operation 4 again. Within 10 seconds, press the third metal button switch to make it light up, and the fifth metal indicator light will light up.

2. A portable PLC experiment box according to claim 1, characterized in that: Two pairs of test holes are arranged in the simulation quantity experimental area.

3. A portable PLC experiment box according to claim 1, characterized in that: The number of temperature controllers is 2, and the number of conversion switches is 2.

4. A portable PLC experiment box according to claim 1, characterized in that: The material of the box body is aluminum alloy.