Control method and device for two-place selection, equipment and medium

By using the PLC and the mutually exclusive logic control machine and the central control switch to close in the two-site control system of the belt conveyor, the problem of mutual influence in the operation in the prior art is solved, and independent operation and efficient production are achieved.

CN119575868APending Publication Date: 2025-03-07PANZHIHUA GANGCHENG GROUP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411730100.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the existing two-site control methods of belt conveyors, the machine side operation and central control operation affect each other, which is prone to equipment failure and requires a lot of manpower expenditure, which affects the production progress.

Method used

By closing the control machine and the central control switch, the corresponding input signal is turned on and sent to the input PLC as an input condition to trigger the set command. The mutually exclusive logic is used to ensure the mutual exclusion and restriction relationship between the output signals and avoid signal conflicts.

Benefits of technology

The independence between machine-side and central control operations is achieved, the equipment failure time is reduced, labor intensity is reduced, and production efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119575868A_ABST
    Figure CN119575868A_ABST
Patent Text Reader

Abstract

The invention provides a control method for selecting two places, which comprises the following steps of: controlling a machine-side switch to be closed, switching on a first input signal, and sending the first input signal as an input condition for triggering a setting instruction to an input PLC (Programmable Logic Controller); after receiving the first input signal, the input PLC sets a first output signal to be in a high-level state, and the output PLC sets a second output signal to be in a low-level state through mutual exclusion logic; the central control switch is controlled to be closed, a second input signal is connected, and the second input signal serves as an input condition for triggering a setting instruction and is sent to the input PLC; and after the input PLC receives the second input signal, the second output signal is set to be in a high level state, and the output PLC sets the first output signal to be in a low level state through mutual exclusion logic, so that the problems that the belt conveyor is prone to equipment failure and needs more manpower expenditure due to mutual influence of local operation and central control operation are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electrical automation technology, and in particular to a control method, device, equipment and medium for two-location selection. Background Art

[0002] In metallurgical enterprises, many equipments have two or more operation locations to realize better operation of the equipments. In two-location control, the two commonly used operation locations are divided into central control and local control. In order to explain this method more intuitively, the two-location control method of belt conveyor material device is used to illustrate.

[0003] In the two-location control of the belt conveyor, first there is a selection switch next to the machine to select between local and centralized locations. When it is necessary to operate the belt conveyor next to the machine, turn the switch to the "local" position, and you can operate the belt locally. When it is necessary to operate the belt in the central control room, the selection switch next to the machine must be turned to the "centralized" position, so that you can operate the belt in the central control room. The two operating locations are unique, and the belt cannot be operated in two locations at the same time. Only one location can be operated effectively at any time.

[0004] like Figure 1 As shown in the figure, it is a structural diagram of the selection of the control location realized by the selection switch beside the machine. This control method will have some disadvantages. First, if someone does not select the conversion switch to centralized after operating beside the machine, the central control room cannot operate the belt at this time. This requires someone to go to the site to re-select, which is very time-consuming and affects the production progress, and it is also tiring for the staff to run back and forth. Secondly, if there is a problem with the selection switch, the belt cannot be operated, and it is not easy for the operator to find the problem, which also affects production.

[0005] Therefore, a control method for two-location selection is needed to ensure that the machine-side operation and central control operation of the belt conveyor are not affected by each other, thereby reducing equipment failure time and labor intensity. Summary of the invention

[0006] In order to overcome the problems existing in the related art, the present disclosure provides a control method, device, equipment and medium for two-location selection to solve the technical problems in the related art that the machine-side operation and central control operation of the belt conveyor affect each other, equipment failure is prone to occur, and more manpower expenditure is required.

[0007] One or more embodiments of this specification provide a control method for two-location selection, comprising the following steps:

[0008] The switch beside the control machine is closed, the first input signal is connected, and the first input signal is sent to the input PLC as the input condition for triggering the setting instruction;

[0009] After receiving the first input signal, the input PLC sets the first output signal to a high level state, and the output PLC sets the second output signal to a low level state through mutually exclusive logic;

[0010] Control the central control switch to close, connect the second input signal, and send the second input signal to the input PLC as the input condition for triggering the setting instruction;

[0011] After receiving the second input signal, the input PLC sets the second output signal to a high level state, and the output PLC sets the first output signal to a low level state through mutually exclusive logic.

[0012] Preferably, the method further includes the following steps: controlling the state of the signal light according to the level states of the first output signal and the second output signal of the output PLC.

[0013] Preferably, the input interface of the input PLC is connected to the first input port and the second input port respectively;

[0014] The output PLC is connected to the first output port and the second output port respectively;

[0015] The first output port and the second output port are connected to the machine side signal light and the central control signal light respectively.

[0016] Preferably, the method further comprises the following steps:

[0017] The input PLC is powered by the first common terminal, and the output PLC is powered by the second common terminal.

[0018] One or more embodiments of the present specification provide a control device for two-location selection, including a first setting module, a first output module, a second setting module, and a second output module;

[0019] The first setting module is used to control the closing of the machine-side switch, connect the first input signal, and send the first input signal to the input PLC as an input condition for triggering the setting instruction;

[0020] The first output module is used for setting the first output signal to a high level state after the input PLC receives the first input signal, and the output PLC sets the second output signal to a low level state through mutually exclusive logic;

[0021] The second setting module is used to control the central control switch to close, connect the second input signal, and send the second input signal to the input PLC as an input condition for triggering the setting instruction;

[0022] The second output module is used to set the second output signal to a high level state after the input PLC receives the second input signal, and the output PLC sets the first output signal to a low level state through mutually exclusive logic.

[0023] Preferably, it also includes a signal light control module, which is used to control the state of the signal light according to the level states of the first output signal and the second output signal of the output PLC.

[0024] Preferably, the input interface of the input PLC is connected to the first input port and the second input port respectively;

[0025] The output PLC is connected to the first output port and the second output port respectively;

[0026] The first output port and the second output port are connected to the machine side signal light and the central control signal light respectively.

[0027] Preferably, it also includes a power supply module, which is used to provide power to the input PLC through the first common terminal and provide power to the output PLC through the second common terminal.

[0028] One or more embodiments of the present specification provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method for two-location selection as described above when executing the computer program.

[0029] One or more embodiments of the present specification provide a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the steps of the control method for two-location selection are implemented.

[0030] The present disclosure provides a control method, device, equipment and medium for two-location selection, which has the advantages that by controlling the machine-side switch to be closed and the first input signal to be turned on, the first input signal is sent to the input PLC as the input condition for triggering the setting instruction, a reliable signal transmission link from the machine-side switch to the input PLC is realized, and the setting instruction of the PLC can be accurately triggered. The machine-side switch, as a front-end component for manual operation, closely cooperates with the PLC responsible for automatic control through the signal transmission mechanism, so that the various parts related to the setting instruction in the system can work in a coordinated manner, ensuring the continuity and stability of the operation of the entire system; after receiving the first input signal, the input PLC sets the first output signal to a high level state, and the output PLC sets the second output signal to a low level state through mutually exclusive logic. After receiving the first input signal, the input PLC can accurately set the first output signal to a high level state, thereby realizing precise control of the level of a specific output signal, and the output PLC sets the second output signal to a low level state through mutually exclusive logic. The use of this mutually exclusive logic ensures that when the first output signal is at a high level, the second output signal is at a low level, thereby realizing the mutual exclusion and mutual restriction relationship between the two output signals, helping to avoid signal conflicts, ensuring that the equipment or processes controlled by different signals in the system will not malfunction due to signal confusion, and maintaining the logical coordination of the system operation; controlling the central control switch to close, connecting the second input signal, and sending the second input signal to the input PLC as the input condition for triggering the set instruction, connecting the second input signal by controlling the central control switch to close, and accurately transmitting it to the input PLC as the input condition for triggering the set instruction, this process successfully builds a central control switch. A reliable signal transmission path is provided to the input PLC. After the second input signal is sent to the input PLC as the input condition for triggering the set instruction, the PLC can accurately trigger the set instruction according to this signal; after the input PLC receives the second input signal, the second output signal is set to a high level state, and the output PLC sets the first output signal to a low level state through mutually exclusive logic. By setting the second output signal to a high level state by the input PLC and setting the first output signal to a low level state based on the mutually exclusive logic by the output PLC, different functional modules in the system can be driven in an orderly manner, thereby reasonably arranging the operating timing of different functional modules of the system and improving the overall operating efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0032] Figure 1 The structural diagram for the selection of the control location is realized by the selection switch beside the machine;

[0033] Figure 2 A flow chart of a control method for two-location selection provided for one or more embodiments of this specification;

[0034] Figure 3 A schematic diagram of a control method for two-location selection provided for one or more embodiments of this specification;

[0035] Figure 4 A schematic diagram of the working process of a PLC program provided for one or more embodiments of this specification;

[0036] Figure 5 A schematic diagram of the structure of a control device for two-location selection provided in one or more embodiments of this specification;

[0037] Figure 6 A schematic diagram of the structure of a computer device provided for one or more embodiments of this specification. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the protection scope of the present invention.

[0039] The present invention is described in detail below in conjunction with specific implementation methods and the accompanying drawings.

[0040] Method Embodiment

[0041] According to an embodiment of the present invention, a control method for selecting two locations is provided, such as Figure 2 FIG. 1 is a flow chart of a control method for selecting two locations provided in this embodiment. The control method for selecting two locations according to an embodiment of the present invention includes the following steps:

[0042] S210, control the machine-side switch SB1 to be closed, associate the machine-side switch SB1 with the input point I0.0 in the program, connect the first input signal, and send the first input signal to the input PLC as an input condition for triggering the setting instruction.

[0043] S220. After receiving the first input signal, the input PLC sets the first output signal of the first output point Q0.0 to a high level state. When the machine-side switch SB1 is pressed to trigger the machine-side operation selection, the second output signal of the output point Q0.1 is reset. The output PLC sets the second output signal to a low level state through mutually exclusive logic.

[0044] S230, control the central control switch SB2 to close. The central control switch SB2 corresponds to the input point I0.1. The action of pressing the SB2 switch causes the input signal of the corresponding input point I0.1 in the program to become connected, that is, the second input signal is connected, and the second input signal is sent to the input PLC as the input condition for triggering the set instruction.

[0045] S240. After receiving the second input signal, the input PLC sets the second output signal to a high level state. According to the logic set by the program, the output point Q0.0 is reset to return it to its initial invalid state, that is, it outputs a low level. The output PLC sets the first output signal to a low level state through mutually exclusive logic.

[0046] The method further includes S250, providing power to the input PLC through the first common terminal L1+, and providing power to the output PLC through the second common terminal L2-.

[0047] like Figure 3 As shown, it is a schematic diagram of a control method for two-location selection provided by this embodiment.

[0048] The method provided in this embodiment realizes a reliable signal transmission link from the machine-side switch to the input PLC by controlling the machine-side switch to be closed, connecting the first input signal, and sending the first input signal as the input condition for triggering the setting instruction, so as to accurately trigger the setting instruction of the PLC. The machine-side switch, as a front-end component for manual operation, closely cooperates with the PLC responsible for automatic control through the signal transmission mechanism, so that the various parts related to the setting instruction in the system can work in a coordinated manner, ensuring the continuity and stability of the operation of the entire system; after receiving the first input signal, the input PLC sets the first output signal to a high level state, and the output PLC sets the second output signal to a low level state through mutually exclusive logic. After receiving the first input signal, the input PLC can accurately set the first output signal to a high level state, thereby realizing precise control of the level of a specific output signal, and the output PLC sets the second output signal to a low level state through mutually exclusive logic. The use of this mutually exclusive logic ensures that when the first output signal is at a high level, the second output signal is at a low level, thereby realizing the mutual exclusion and mutual restriction relationship between the two output signals, helping to avoid signal conflicts, ensuring that the equipment or processes controlled by different signals in the system will not malfunction due to signal confusion, and maintaining the logical coordination of the system operation; controlling the central control switch to close, connecting the second input signal, and sending the second input signal to the input PLC as the input condition for triggering the set instruction, connecting the second input signal by controlling the central control switch to close, and accurately transmitting it to the input PLC as the input condition for triggering the set instruction, this process successfully builds a central control switch. A reliable signal transmission path is provided to the input PLC. After the second input signal is sent to the input PLC as the input condition for triggering the set instruction, the PLC can accurately trigger the set instruction according to this signal; after the input PLC receives the second input signal, the second output signal is set to a high level state, and the output PLC sets the first output signal to a low level state through mutually exclusive logic. By setting the second output signal to a high level state by the input PLC and setting the first output signal to a low level state based on the mutually exclusive logic by the output PLC, different functional modules in the system can be driven in an orderly manner, thereby reasonably arranging the operating timing of different functional modules of the system and improving the overall operating efficiency of the system.

[0049] In one embodiment, the following steps are also included:

[0050] The state of the signal light is controlled according to the level states of the first output signal and the second output signal of the output PLC.

[0051] Wherein, the input interface of the input PLC is connected to the first input port and the second input port respectively.

[0052] The output PLC is connected to the first output port and the second output port respectively.

[0053] The first output port and the second output port are connected to the machine side signal light and the central control signal light respectively.

[0054] In the method provided in this embodiment, Figure 4 As shown, the working process diagram of the PLC program provided in this embodiment. When Q0.0 outputs a high level, the HL1 signal light connected to Q0.0 receives this high level signal, so that the HL1 light is on, indicating that the machine-side operation location has been selected. Q0.1 is reset and outputs a low level. Because Q0.1 outputs a low level, the HL2 signal light connected to Q0.1 does not receive a valid level signal (such as a high level) to light it up, so the HL2 signal light remains off. This also further confirms from the side that the machine-side operation mode is currently selected, rather than the central control operation mode (because the HL2 light will be on in the central control operation mode).

[0055] When the output of Q0.0 changes to a low level, the HL1 signal light, which was originally lit due to the high level output of Q0.0, turns off because it receives a low level signal, indicating that the machine-side operation mode has been canceled (because the HL1 light is on during machine-side operation). At this time, Q0.1 is set and outputs a high level. After Q0.1 outputs a high level, the HL2 signal light connected to Q0.1 receives this high level signal, so that the HL2 light turns on, indicating that the central control operation location has been selected.

[0056] The method provided in this embodiment is to press the two illuminated switches SB1 (machine side operation) and SB2 (central control operation) respectively according to the above instructions. It can change the relevant input signals (I0.0, I0.1) and thus affect the state of the output signals (Q0.0, Q0.1) according to the logic set in the program, so as to realize switching back and forth between the machine side operation location and the central control operation location, and intuitively display the currently selected operation location through the on and off status of the corresponding signal lights (HL1, HL2).

[0057] Device Embodiment

[0058] According to an embodiment of the present invention, a control device for selecting two locations is provided, such as Figure 5 As shown, it is a structural schematic diagram of the control for two-location selection provided in this embodiment. The control device for two-location selection according to the embodiment of the present invention includes a first setting module 51, a first output module 52, a second setting module 53 and a second output module 54.

[0059] The first setting module 51 is used to control the closing of the machine-side switch, connect the first input signal, and send the first input signal to the input PLC as an input condition for triggering the setting instruction.

[0060] The first output module 52 is used to set the first output signal to a high level state after the input PLC receives the first input signal, and the output PLC sets the second output signal to a low level state through mutually exclusive logic.

[0061] The second setting module 53 is used to control the central control switch to close, connect the second input signal, and send the second input signal to the input PLC as an input condition for triggering the setting instruction.

[0062] The second output module 54 is used to set the second output signal to a high level state after the input PLC receives the second input signal, and the output PLC sets the first output signal to a low level state through mutually exclusive logic.

[0063] It also includes a power supply module 55, which is used to provide power to the input PLC through the first common terminal and to provide power to the output PLC through the second common terminal.

[0064] The device provided in this embodiment controls the closing of the machine-side switch through the first setting module 51, connects the first input signal, and sends the first input signal to the input PLC as the input condition for triggering the setting instruction, thereby realizing a reliable signal transmission link from the machine-side switch to the input PLC, and can accurately trigger the setting instruction of the PLC. The machine-side switch, as a front-end component for manual operation, closely cooperates with the PLC responsible for automatic control through the signal transmission mechanism, so that the various parts related to the setting instruction in the system can work in a coordinated manner, ensuring the continuity and stability of the operation of the entire system; after the first output module 52 receives the first input signal through the input PLC, the first output signal is set to a high level state, and the output PLC sets the second output signal to a low level state through mutually exclusive logic. After receiving the first input signal, the input PLC can accurately set the first output signal to a high level state, thereby realizing precise control of the level of a specific output signal, and the output PLC sets the second output signal to a low level state through mutually exclusive logic. The use of this mutually exclusive logic ensures that when the first output signal is at a high level, the second output signal is at a low level, thereby realizing the mutual exclusion and mutual restriction relationship between the two output signals, helping to avoid signal conflicts, ensuring that the equipment or processes controlled by different signals in the system will not malfunction due to signal confusion, and maintaining the logical coordination of the system operation; the second setting module 53 controls the central control switch to close, connects the second input signal, and sends the second input signal to the input PLC as the input condition for triggering the setting instruction, and connects the second input signal by controlling the central control switch to close, and accurately transmits it to the input PLC as the input condition for triggering the setting instruction. This process successfully builds a bridge from the central control switch to the input PLC. The reliable signal transmission path of the input PLC, after the second input signal is sent to the input PLC as the input condition for triggering the set instruction, can enable the PLC to accurately trigger the set instruction based on this signal; after the second output module 54 receives the second input signal through the input PLC, the second output signal is set to a high level state, and the output PLC sets the first output signal to a low level state through mutually exclusive logic. By setting the second output signal to a high level state by the input PLC and setting the first output signal to a low level state based on the mutually exclusive logic, the different functional modules in the system can be driven in an orderly manner, thereby reasonably arranging the operating timing of different functional modules of the system and improving the overall operating efficiency of the system.

[0065] In one embodiment, a signal light control module is further included, which is used to control the state of the signal light according to the level states of the first output signal and the second output signal of the output PLC.

[0066] The input interface of the input PLC is connected to the first input port and the second input port respectively.

[0067] The output PLC is connected to the first output port and the second output port respectively.

[0068] The first output port and the second output port are connected to the machine side signal light and the central control signal light respectively.

[0069] The device provided in this embodiment can realize switching back and forth between the machine-side operation location and the central control operation location by pressing the two illuminated switches SB1 (machine-side operation) and SB2 (central control operation) respectively according to the above instructions, by changing the relevant input signals (I0.0, I0.1) and thereby affecting the states of the output signals (Q0.0, Q0.1) according to the logic set in the program, and intuitively displaying the currently selected operation location through the on and off states of the corresponding signal lights (HL1, HL2).

[0070] The embodiment of the present invention is an apparatus embodiment corresponding to the above-mentioned method embodiment. The specific operations of the processing steps of each module can be understood by referring to the description of the method embodiment, which will not be repeated here.

[0071] like Figure 6 As shown, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the control for selecting two locations in the above-mentioned embodiment, or, when executed by a processor, implements the control for selecting two locations in the above-mentioned embodiment.

[0072] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0073] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and the contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.

Claims

1. A control method for two-location selection, characterized in that: The following steps are involved: The switch beside the control machine is closed, the first input signal is connected, and the first input signal is sent to the input PLC as the input condition for triggering the setting instruction; After receiving the first input signal, the input PLC sets the first output signal to a high level state, and the output PLC sets the second output signal to a low level state through mutually exclusive logic; Control the central control switch to close, connect the second input signal, and send the second input signal to the input PLC as the input condition for triggering the setting instruction; After receiving the second input signal, the input PLC sets the second output signal to a high level state, and the output PLC sets the first output signal to a low level state through mutually exclusive logic.

2. The control method according to claim 1, characterized in that: The following steps are also included: The state of the signal light is controlled according to the level states of the first output signal and the second output signal of the output PLC.

3. The control method according to claim 2, characterized in that: The input interface of the input PLC is connected to the first input port and the second input port respectively; The output PLC is connected to the first output port and the second output port respectively; The first output port and the second output port are connected to the machine side signal light and the central control signal light respectively.

4. The control method according to claim 1, characterized in that: The following steps are also included: The input PLC is powered by the first common terminal, and the output PLC is powered by the second common terminal.

5. A control device for selecting two locations, characterized in that: It includes a first setting module, a first output module, a second setting module and a second output module; The first setting module is used to control the closing of the machine-side switch, connect the first input signal, and send the first input signal to the input PLC as an input condition for triggering the setting instruction; The first output module is used for setting the first output signal to a high level state after the input PLC receives the first input signal, and the output PLC sets the second output signal to a low level state through mutually exclusive logic; The second setting module is used to control the central control switch to close, connect the second input signal, and send the second input signal to the input PLC as an input condition for triggering the setting instruction; The second output module is used to set the second output signal to a high level state after the input PLC receives the second input signal, and the output PLC sets the first output signal to a low level state through mutually exclusive logic.

6. The control device according to claim 5, characterized in that It also includes a signal light control module, which is used to control the state of the signal light according to the level states of the first output signal and the second output signal of the output PLC.

7. The control device according to claim 6, characterized in that The input interface of the input PLC is connected to the first input port and the second input port respectively; The output PLC is connected to the first output port and the second output port respectively; The first output port and the second output port are connected to the machine side signal light and the central control signal light respectively.

8. The control device according to claim 5, characterized in that: It also includes a power supply module, which is used to provide power to the input PLC through the first common terminal and to provide power to the output PLC through the second common terminal.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the control method for two-location selection according to any one of claims 1 to 4 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the control method for two-location selection according to any one of claims 1 to 4 are implemented.