CN115437315A - Device control method, device, electronic device and storage medium - Google Patents

Device control method, device, electronic device and storage medium Download PDF

Info

Publication number
CN115437315A
CN115437315A CN202210197715.5A CN202210197715A CN115437315A CN 115437315 A CN115437315 A CN 115437315A CN 202210197715 A CN202210197715 A CN 202210197715A CN 115437315 A CN115437315 A CN 115437315A
Authority
CN
China
Prior art keywords
target
station
standard
target station
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210197715.5A
Other languages
Chinese (zh)
Other versions
CN115437315B (en
Inventor
栾兴刚
董银锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing CHJ Automobile Technology Co Ltd
Original Assignee
Beijing CHJ Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing CHJ Automobile Technology Co Ltd filed Critical Beijing CHJ Automobile Technology Co Ltd
Priority to CN202210197715.5A priority Critical patent/CN115437315B/en
Publication of CN115437315A publication Critical patent/CN115437315A/en
Application granted granted Critical
Publication of CN115437315B publication Critical patent/CN115437315B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41845Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by system universality, reconfigurability, modularity
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31094Data exchange between modules, cells, devices, processors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Factory Administration (AREA)

Abstract

The disclosure relates to a device control method, an apparatus, an electronic device, and a storage medium. The method comprises the following steps: determining all candidate stations in a region according to a region selection instruction, wherein the region selection instruction comprises region identifications, and the region identifications correspond to the region one to one; determining a target station according to a target station selection instruction, wherein the target station selection instruction comprises a target station identifier, the target station identifier corresponds to the target station, and the target station is one of all candidate stations; and controlling target equipment corresponding to the target station according to the control instruction of the target station. The method can realize single-station control.

Description

设备控制方法、装置、电子设备和存储介质Device control method, device, electronic device and storage medium

技术领域technical field

本公开涉及自动化技术领域,尤其涉及一种设备控制方法、装置、电子设备和存储介质。The present disclosure relates to the technical field of automation, and in particular to a device control method, device, electronic device and storage medium.

背景技术Background technique

在现代化工业生产线中,通常采用可编程逻辑控制器(Programmable LogicController,PLC)来实现生产线的自动化,常用的PLC有西门子PLC、三菱PLC和欧姆龙PLC和倍福PLC,其中,西门子PLC因其较高的可靠性和较强的适用性应用最为广泛。In modern industrial production lines, programmable logic controllers (Programmable Logic Controller, PLC) are usually used to automate the production line. Commonly used PLCs include Siemens PLC, Mitsubishi PLC, Omron PLC and Beckhoff PLC. Among them, Siemens PLC is because of its high The reliability and strong applicability are the most widely used.

针对无自动化标准的汽车厂或线体供应商汽车生产线,西门子PLC提供SICAR标准来实现汽车生产线的标准化,然而现有的SICAR基于安全区设置的,例如,基于SICAR选择手动模式,整个安全区都在手动模式,无法单独对单个工位手、自动控制,导致无法对单工位进行控制。For the automobile production lines of automobile factories or line suppliers without automation standards, Siemens PLC provides the SICAR standard to realize the standardization of automobile production lines. However, the existing SICAR is based on the safety zone setting. For example, if the manual mode is selected based on SICAR, the entire safety zone is In the manual mode, it is impossible to manually and automatically control a single station, resulting in the inability to control a single station.

发明内容Contents of the invention

本公开提供了一种设备控制方法、装置、电子设备和存储介质,能够实现单工位控制。The disclosure provides a device control method, device, electronic device and storage medium, capable of realizing single-station control.

第一方面,本公开提供了一种设备控制方法,包括:In a first aspect, the present disclosure provides a device control method, including:

根据区域选择指令,确定区域内的所有候选工位,所述区域选择指令中包括区域标识,所述区域标识与所述区域一一对应;Determine all candidate stations in the area according to the area selection instruction, the area selection instruction includes an area identification, and the area identification is in one-to-one correspondence with the area;

根据目标工位选择指令,确定目标工位,所述目标工位选择指令中包括目标工位标识,所述目标工位标识与所述目标工位对应,所述目标工位为所有所述候选工位中的一个;Determine the target station according to the target station selection instruction, the target station selection instruction includes a target station identifier, the target station identifier corresponds to the target station, and the target station is all the candidates one of the workstations;

根据所述目标工位的控制指令,控制所述目标工位对应的目标设备。According to the control instruction of the target station, the target equipment corresponding to the target station is controlled.

可选的,所述根据目标工位选择指令,确定所述目标工位之前,还包括:Optionally, before determining the target station according to the target station selection instruction, it also includes:

显示所有所述候选工位各自对应的触控按键;displaying the respective touch buttons corresponding to all the candidate positions;

响应于对所述目标工位对应的目标触控按键的触发操作,生成所述目标工位选择指令。The target station selection instruction is generated in response to a trigger operation on a target touch key corresponding to the target station.

可选的,所述根据所述目标工位的控制指令,控制所述目标工位对应的目标设备,包括:Optionally, the controlling the target device corresponding to the target station according to the control instruction of the target station includes:

根据所述目标工位的控制指令,显示所述目标工位对应的目标展示画面,所述目标展示画面中包括目标面板,所述目标面板与所述目标设备一一对应;According to the control instruction of the target station, displaying a target display screen corresponding to the target station, the target display screen includes a target panel, and the target panel corresponds to the target device one by one;

响应于所述目标面板的触发操作,控制所述目标设备。The target device is controlled in response to a trigger operation of the target panel.

可选的,所述根据所述目标工位的控制指令,显示所述目标工位对应的目标展示画面之前,还包括:Optionally, before displaying the target display screen corresponding to the target station according to the control instruction of the target station, the method further includes:

建立标准面板库,所述标准面板库中包括多个标准面板;Establishing a standard panel library, the standard panel library includes a plurality of standard panels;

根据所述标准面板库,确定所有所述区域的所有设备各自对应的所述标准面板为所述目标面板;According to the standard panel library, determine that the standard panels corresponding to all the devices in all the areas are the target panels;

根据所有所述设备各自对应的所述目标面板,确定所有工位各自对应的展示画面。According to the target panels corresponding to all the devices, the corresponding display images of all the workstations are determined.

可选的,所述响应于所述目标面板的触发操作,控制所述目标设备之前,还包括:Optionally, before controlling the target device in response to the trigger operation of the target panel, the method further includes:

建立标准程序库,所述标准程序库中包括多个标准程序,所述标准程序用于控制所述设备动作;Establishing a standard program library, the standard program library includes a plurality of standard programs, and the standard programs are used to control the actions of the equipment;

建立所述标准程序与所述标准面板的对应关系,以使所述标准程序基于所述标准面板的触发操作控制所述设备执行相应的动作。A corresponding relationship between the standard program and the standard panel is established, so that the standard program controls the device to perform a corresponding action based on a trigger operation of the standard panel.

可选的,所述根据所有所述设备各自对应的所述目标面板,确定所有所述工位各自对应的展示画面,包括:Optionally, according to the target panels corresponding to all the devices, determining the corresponding display screens of all the workstations includes:

将同一工位中的所有所述设备对应的所述目标面板与主画面模板进行叠加,得到所有所述工位对应的中间展示画面;superimposing the target panels corresponding to all the devices in the same station with the main picture template to obtain intermediate display pictures corresponding to all the stations;

根据所述中间展示画面以及所述中间展示画面中所述目标面板的位置,确定所有所述工位各自对应的展示画面。According to the intermediate display image and the position of the target panel in the intermediate display image, the display images corresponding to all the workstations are determined.

可选的,所述方法还包括:Optionally, the method also includes:

拉取并汇总所有所述候选工位对应的数据流;Pulling and summarizing the data streams corresponding to all the candidate stations;

将区域控制指令通过所述数据流传输至所有所述候选工位对应的所述设备,以同时控制所有所述候选工位对应的所述设备。The area control instruction is transmitted to the devices corresponding to all the candidate stations through the data stream, so as to simultaneously control the devices corresponding to all the candidate stations.

可选的,所述根据区域选择指令,确定区域内的所有候选工位,包括:Optionally, the determining all candidate workstations in the area according to the area selection instruction includes:

根据所有所述区域内的所有工位各自所属的区域和所述区域选择指令中的所述区域标识,确定所有所述工位中与所述区域标识匹配的工位为所述候选工位。According to the areas to which all the workstations in all the areas belong to and the area identifier in the area selection instruction, determine that among all the workstations, a workstation that matches the area identifier is the candidate workstation.

第二方面,本公开提供了一种信息处理装置,包括:In a second aspect, the present disclosure provides an information processing device, including:

确定模块,用于根据区域选择指令,确定区域内的所有候选工位,所述区域选择指令中包括区域标识,所述区域标识与所述区域一一对应;根据目标工位选择指令,确定目标工位,所述目标工位选择指令中包括目标工位标识,所述目标工位标识与所述目标工位对应,所述目标工位为所有所述候选工位中的一个;The determining module is configured to determine all candidate stations in the region according to the region selection instruction, wherein the region selection instruction includes region identifiers, and the region identifiers correspond to the regions one by one; according to the target station selection instruction, determine the target station, the target station selection instruction includes a target station identifier, the target station identifier corresponds to the target station, and the target station is one of all the candidate stations;

控制模块,用于根据所述目标工位的控制指令,控制所述目标工位对应的目标设备。The control module is configured to control the target equipment corresponding to the target station according to the control instruction of the target station.

第三方面,本公开提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现第一方面提供的任一种方法的步骤。In a third aspect, the present disclosure provides an electronic device, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, any one of the methods provided in the first aspect is implemented A step of.

第四方面,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面提供的任一种方法的步骤。In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any method provided in the first aspect are implemented.

本公开提供的技术方案中,通过根据区域选择指令,确定区域内的所有候选工位,区域选择指令中包括区域标识,区域标识与区域一一对应;根据目标工位选择指令,确定目标工位,目标工位选择指令中包括目标工位标识,目标工位标识与目标工位对应,目标工位为所有候选工位中的一个;根据目标工位的控制指令,控制目标工位对应的目标设备,能够针对区域内的目标工位单独进行控制,从而实现单工位控制。In the technical solution provided by the present disclosure, all candidate stations in the region are determined according to the region selection instruction, the region selection instruction includes the region identification, and the region identification corresponds to the region one by one; according to the target station selection instruction, the target station is determined , the target station selection instruction includes the target station identification, the target station identification corresponds to the target station, and the target station is one of all candidate stations; according to the control instruction of the target station, the target corresponding to the target station is controlled The equipment can be controlled separately for the target station in the area, so as to realize single-station control.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.

图1为本公开提供的一种设备控制方法的流程示意图;FIG. 1 is a schematic flowchart of a device control method provided by the present disclosure;

图2为本公开提供的一种显示画面的示意图;FIG. 2 is a schematic diagram of a display screen provided by the present disclosure;

图3为本公开提供的另一种设备控制方法的流程示意图;FIG. 3 is a schematic flowchart of another device control method provided by the present disclosure;

图4为本公开提供的另一种显示画面的示意图;FIG. 4 is a schematic diagram of another display screen provided by the present disclosure;

图5为本公开提供的又一种设备控制方法的流程示意图;FIG. 5 is a schematic flowchart of another device control method provided by the present disclosure;

图6为本公开提供的又一种显示画面的示意图;FIG. 6 is a schematic diagram of another display screen provided by the present disclosure;

图7为本公开提供的又一种设备控制方法的流程示意图;FIG. 7 is a schematic flowchart of another device control method provided by the present disclosure;

图8为本公开提供的又一种设备控制方法的流程示意图;FIG. 8 is a schematic flowchart of another device control method provided by the present disclosure;

图9为本公开提供的又一种设备控制方法的流程示意图;FIG. 9 is a schematic flowchart of another device control method provided by the present disclosure;

图10为本公开提供的一种标准程序的示意图;Fig. 10 is a schematic diagram of a standard procedure provided by the present disclosure;

图11为本公开提供的一种目标面板的示意图;FIG. 11 is a schematic diagram of a target panel provided by the present disclosure;

图12为本公开提供的一种主画面模板的示意图;FIG. 12 is a schematic diagram of a main screen template provided by the present disclosure;

图13为本公开提供的一种中间展示画面的示意图;FIG. 13 is a schematic diagram of an intermediate display screen provided by the present disclosure;

图14为本公开提供的又一种设备控制方法的流程示意图;FIG. 14 is a schematic flowchart of another device control method provided by the present disclosure;

图15为本公开提供的又一种设备控制方法的流程示意图;FIG. 15 is a schematic flowchart of another device control method provided by the present disclosure;

图16为本公开提供的一种设备控制装置的结构示意图;FIG. 16 is a schematic structural diagram of an equipment control device provided by the present disclosure;

图17为本公开提供的一种电子设备的结构示意图。Fig. 17 is a schematic structural diagram of an electronic device provided by the present disclosure.

具体实施方式detailed description

为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.

自动化生产线中可以基于产品的全部生产工艺,将整条生产线划分为多个车间,每个车间对应一个工艺段,此外,基于每个工艺段内的所有工艺工序,将每个车间划分为多个安全区,其中,一个安全区内可以包括多个工位,每个工位可以包括多个工艺设备,且同一工位中的多个工艺设备为同一类型的设备。例如,在汽车生产线中,将汽车的整条生产线划分为焊接车间、冲压车间、涂装车间和总装车间,分别对应焊接工艺段、冲压工艺段、涂装工艺段和总装工艺段,以焊装车间为例,焊装车间可以划分为安全区1、安全区2和安全区3,其中,安全区1包括工位010,安全区2包括工位020、工位030和工位040,安全区3包括工位050、工位060和工位070,其中,工位010包括工艺设备1,工位020包括设备类型相同的工艺设备2和工艺设备2’,工位030包括设备类型相同的工艺设备3和工艺设备3’、工位040包括设备类型相同的工艺设备4和工艺设备4’,工位050包括设备类型相同的工艺设备5和工艺设备5’,工位060包括工艺设备6,工位070包括工艺设备7。In the automated production line, the entire production line can be divided into multiple workshops based on the entire production process of the product, and each workshop corresponds to a process section. In addition, based on all the process procedures in each process section, each workshop can be divided into multiple workshops. A safety zone, wherein a safety zone may include multiple workstations, each workstation may include multiple process equipment, and multiple process equipment in the same workstation are of the same type. For example, in an automobile production line, the entire automobile production line is divided into a welding workshop, a stamping workshop, a painting workshop, and an assembly workshop, corresponding to the welding process section, stamping process section, painting process section, and final assembly process section. Taking the workshop as an example, the welding workshop can be divided into safety area 1, safety area 2 and safety area 3, among which safety area 1 includes station 010, safety area 2 includes station 020, station 030 and station 040, and safety area 3 includes station 050, station 060 and station 070, wherein station 010 includes process equipment 1, station 020 includes process equipment 2 and process equipment 2' of the same equipment type, and station 030 includes process equipment of the same type Equipment 3 and process equipment 3', station 040 include process equipment 4 and process equipment 4' of the same equipment type, station 050 includes process equipment 5 and process equipment 5' of the same equipment type, station 060 includes process equipment 6, Station 070 includes process equipment 7 .

本公开中的区域可以是上述实施例中的安全区,也可以上述实施例中的单个车间,若本公开中的区域为安全区,区域选择指令为一种用于选择安全区的指令,即部分区域的选择指令;若本公开中的区域为单个车间,区域选择指令可以为一种用于选择当前车间的指令,即全区域的选择指令。例如,基于上述实施例,区域选择指令可以为安全区1的选择指令、安全区2的选择指令或安全区3的选择指令,还可以是焊装车间的选择指令,本实施例对此不作具体限制。The area in the present disclosure may be the safety area in the above embodiment, or a single workshop in the above embodiment. If the area in the present disclosure is a safety area, the area selection instruction is an instruction for selecting a safety area, namely A selection instruction for a partial area; if the area in the present disclosure is a single workshop, the area selection instruction may be an instruction for selecting the current workshop, that is, a selection instruction for the entire area. For example, based on the above-mentioned embodiment, the area selection command can be the selection command of the safety zone 1, the selection command of the safety zone 2 or the selection command of the safety zone 3, and can also be the selection command of the welding shop, and this embodiment does not make specific limit.

本公开中,通过根据区域选择指令,确定区域内的所有候选工位,区域选择指令中包括区域标识,区域标识与区域一一对应;根据目标工位选择指令,确定目标工位,目标工位选择指令中包括目标工位标识,目标工位标识与目标工位对应,目标工位为所有候选工位中的一个;根据目标工位的控制指令,控制目标工位对应的目标设备,能够针对区域内的目标工位单独进行控制,从而实现单工位控制。In the present disclosure, all candidate stations in the region are determined according to the region selection instruction, the region selection instruction includes the region identification, and the region identification corresponds to the region one by one; the target station is determined according to the target station selection instruction, and the target station The selection instruction includes the target station identification, the target station identification corresponds to the target station, and the target station is one of all candidate stations; according to the control instruction of the target station, the target device corresponding to the target station is controlled, and can target The target stations in the area are individually controlled, thereby realizing single-station control.

下面以几个具体的实施方式对本方案进行详细描述,如下:The scheme is described in detail below with several specific implementation modes, as follows:

图1为本公开提供的一种设备控制方法的流程示意图,如图1所示,信息处理方法的步骤包括:FIG. 1 is a schematic flowchart of a device control method provided in the present disclosure. As shown in FIG. 1, the steps of the information processing method include:

S101,根据区域选择指令,确定区域内的所有候选工位。S101. Determine all candidate workstations in the area according to the area selection instruction.

所述区域选择指令中包括区域标识,所述区域标识与所述区域一一对应。The region selection instruction includes region identifiers, and the region identifiers are in one-to-one correspondence with the regions.

示例性的,区域选择指令可以为部分区域的选择指令也可以为全区域的选择指令,若区域选择指令为部分区域的选择指令,则候选工位为当前车间内所有工位中的部分工位,若区域选择指令为全区域的选择指令,则候选工位为当前车间内的所有工位。例如,当前车间为汽车产线的焊装车间,基于上述实施例,若区域选择指令为安全区1的选择指令,则候选工位为工位010,若区域选择指令为安全区2的选择指令,则候选工位为工位020、工位030和工位040,若区域选择指令为安全区3的选择指令,则候选工位为工位050、工位060和工位070;若区域选择指令为全区域的选择指令,候选工位为工位010-工位070。Exemplarily, the area selection command can be a selection command for a part of the area or a selection command for the whole area. If the area selection command is a selection command for a part of the area, the candidate stations are some of the stations in the current workshop. , if the area selection command is the selection command of the whole area, then the candidate stations are all the stations in the current workshop. For example, the current workshop is the welding workshop of the automobile production line. Based on the above-mentioned embodiment, if the area selection command is the selection command of safety zone 1, the candidate station is station 010, and if the area selection command is the selection command of safety zone 2 , then the candidate stations are station 020, station 030 and station 040, if the area selection instruction is the selection instruction of safety zone 3, then the candidate stations are station 050, station 060 and station 070; if the area selection The instruction is the selection instruction of the whole area, and the candidate stations are station 010-station 070.

区域选择指令中包括区域标识,区域标识用于表示当前选择的区域,例如,若区域标识为S1,则表示该区域选择指令为安全区1的选择指令,若区域标识为S2,则表示该区域选择指令为安全区2的选择指令,若区域标识为S3,则表示该区域选择指令为安全区3的选择指令,若区域标识为SA,则表示该区域选择指令为当前车间的选择指令。The area selection instruction includes an area identifier, which is used to indicate the currently selected area. For example, if the area identifier is S1, it means that the area selection instruction is a selection instruction for security zone 1; if the area identifier is S2, it means that the area The selection instruction is the selection instruction of safety zone 2. If the area identification is S3, it means that the area selection instruction is the selection instruction of safety area 3. If the area identification is SA, it means that the area selection instruction is the selection instruction of the current workshop.

示例性的,图2为本公开提供的一种显示画面的示意图,如图2所示,选择界面中显示安全区1、安全区2和安全区3的触控按键,图2中并未直接显示当前车间的触控按键,可以将手动触控按键右侧的区域作为当前车间的触控按键区域。也就是说,若用户触发安全区1的触控按键,可以生成安全区1的区域选择指令,且安全区1的区域选择指令中包括区域标识S1;若用户触发安全区2的触控按键,可以生成安全区2的区域选择指令,且安全区2的区域选择指令中包括区域标识S2;用户触发安全区3的触控按键,可以生成安全区3的区域选择指令,且安全区3的区域选择指令中包括区域标识S3;若用户在当前车间的触控按键区域进行触发操作,可以生成当前车间的区域选择指令,且当前车间的区域选择指令中包括区域标识SA。Exemplarily, FIG. 2 is a schematic diagram of a display screen provided by the present disclosure. As shown in FIG. 2 , the touch buttons of security zone 1, security zone 2 and security zone 3 are displayed in the selection interface. Display the touch buttons of the current workshop, and the area on the right side of the manual touch button can be used as the touch button area of the current workshop. That is to say, if the user triggers the touch button of security zone 1, an area selection command of security zone 1 can be generated, and the zone selection command of security zone 1 includes the zone identifier S1; if the user triggers the touch button of security zone 2, The area selection instruction of safety area 2 can be generated, and the area selection instruction of safety area 2 includes the area identification S2; the user triggers the touch button of safety area 3, and the area selection instruction of safety area 3 can be generated, and the area of safety area 3 The selection instruction includes the area identification S3; if the user performs a trigger operation on the touch button area of the current workshop, an area selection instruction of the current workshop can be generated, and the area selection instruction of the current workshop includes the area identification SA.

S102,根据目标工位选择指令,确定目标工位。S102. Determine the target station according to the target station selection instruction.

所述目标工位选择指令中包括目标工位标识,所述目标工位标识与所述目标工位对应,所述目标工位为所有所述候选工位中的一个。The target station selection instruction includes a target station identifier, the target station identifier corresponds to the target station, and the target station is one of all the candidate stations.

用户基于实际需求从所有候选工位中确定一个候选工位作为目标工位,当前车间中的所有工位均对应有一个工位标识,基于目标工位对应的目标工位标识,可以生成目标工位选择指令,基于目标工位选择指令中的目标工位标识,可以确定该目标工位标识对应的候选工位为目标工位。例如,区域选择指令为安全区2的区域选择指令,则候选工位为工位020、工位030和工位040,其中,工位020的工位标识为P020,工位030的工位标识为P030,工位040的工位标识为P040,可以从工位020、工位030和工位040中选择工位020为目标工位,基于目标工位选择指令中的目标工位标识P020,可以确定与目标工位标识P020匹配的工位020为目标工位。Based on the actual needs, the user determines a candidate station as the target station from all the candidate stations. All stations in the current workshop correspond to a station ID. Based on the target station ID corresponding to the target station, the target station can be generated. In the bit selection instruction, based on the target workstation identifier in the target workstation selection instruction, it may be determined that the candidate workstation corresponding to the target workstation identifier is the target workstation. For example, if the area selection instruction is the area selection instruction of safety zone 2, then the candidate stations are station 020, station 030 and station 040, wherein the station identification of station 020 is P020, and the station identification of station 030 It is P030, the station ID of station 040 is P040, and station 020 can be selected as the target station from station 020, station 030 and station 040, based on the target station identifier P020 in the target station selection command, It may be determined that the station 020 matching the target station identifier P020 is the target station.

需要说明的是,本公开仅以工位020为目标工位进行示例性说明,在其他实施方式中,目标工位还可以是工位030或工位040,若目标工位为工位030,则目标工位标识可以是P030,若目标工位为工位040,则目标工位标识可以是P040。It should be noted that this disclosure only uses station 020 as the target station for illustration. In other embodiments, the target station can also be station 030 or station 040. If the target station is station 030, Then the target station identifier can be P030, if the target station is station 040, then the target station identifier can be P040.

S103,根据所述目标工位的控制指令,控制所述目标工位对应的目标设备。S103. Control the target equipment corresponding to the target station according to the control instruction of the target station.

示例性的,控制指令可以是将目标工位从自动控制切换至手动控制的控制指令,可以是将目标工位从手动控制切换至自动控制的控制指令;或者,还可以目标工位对应的目标设备进行动作的控制指令,例如,目标工位对应的目标设备进行动作的控制指令可以是控制目标设备的电磁阀打开的指令、控制目标设备的夹具松开的指令等。Exemplarily, the control instruction may be a control instruction for switching the target station from automatic control to manual control, or a control instruction for switching the target station from manual control to automatic control; or, the target station corresponding to The control instruction for the operation of the equipment, for example, the control instruction for the operation of the target equipment corresponding to the target station may be an instruction for controlling the opening of a solenoid valve of the target equipment, an instruction for controlling the loosening of a clamp of the target equipment, and the like.

若控制指令是将目标工位从自动控制切换至手动控制的控制指令,根据目标工位的控制指令,可以将目标工位上的所有目标设备从自动控制切换至手动控制。若控制指令是将目标工位从手动控制切换至自动控制的控制指令,根据目标工位的控制指令,可以将目标工位上的所有目标设备从手动控制切换至自动控制。若控制指令是目标工位对应的目标设备进行动作的控制指令,根据目标工位的控制指令,可以控制目标工位上的所有目标设备进行相应的动作,例如,控制指令为目标工位对应的目标设备打开电磁阀的控制指令,根据目标工位的控制指令,可以控制目标工位上的所有目标设备的电磁阀打开,再例如,控制指令为目标工位对应的目标工位上的夹具松开的控制指令,根据目标工位的控制指令,可以控制目标工位上的所有目标设备的夹具松开。If the control instruction is a control instruction for switching the target station from automatic control to manual control, all target devices on the target station can be switched from automatic control to manual control according to the control instruction of the target station. If the control instruction is to switch the target station from manual control to automatic control, all target equipment on the target station can be switched from manual control to automatic control according to the control instruction of the target station. If the control instruction is the control instruction for the target device corresponding to the target station to act, according to the control instruction of the target station, all the target devices on the target station can be controlled to perform corresponding actions. For example, the control instruction is the target station corresponding to The target device opens the control command of the solenoid valve. According to the control command of the target station, the solenoid valves of all target devices on the target station can be controlled to open. For example, the control command is the clamp loosening on the target station corresponding to the target station. According to the control command of the target station, the clamps of all target devices on the target station can be controlled to be released.

需要说明的是,本实施例仅对目标工位的控制指令进行示例性说明,并不作为对控制指令的限制。It should be noted that this embodiment only exemplifies the control instruction of the target station, and does not serve as a limitation on the control instruction.

本实施例中,通过根据区域选择指令,确定区域内的所有候选工位,区域选择指令中包括区域标识,区域标识与区域一一对应;根据目标工位选择指令,确定目标工位,目标工位选择指令中包括目标工位标识,目标工位标识与目标工位对应,目标工位为所有候选工位中的一个;根据目标工位的控制指令,控制目标工位对应的目标设备,能够针对区域内的目标工位单独进行控制,从而实现单工位控制。In this embodiment, all candidate stations in the region are determined according to the region selection instruction, the region selection instruction includes the region identification, and the region identification corresponds to the region one by one; according to the target station selection instruction, the target station is determined, and the target station The bit selection instruction includes the target station identification, the target station identification corresponds to the target station, and the target station is one of all candidate stations; according to the control instruction of the target station, the target equipment corresponding to the target station can be controlled, which can The target stations in the area are individually controlled to achieve single-station control.

图3为本公开提供的另一种设备控制方法的流程示意图,图3为图1所示实施例的基础上,执行S102之前还包括:Fig. 3 is a schematic flowchart of another device control method provided by the present disclosure. Fig. 3 is based on the embodiment shown in Fig. 1, and before executing S102, it also includes:

S201,显示所有所述候选工位各自对应的触控按键。S201. Display the touch buttons corresponding to all the candidate positions.

示例性的,区域选择指令为安全区2的区域选择指令,候选工位为工位020、工位030和工位040,相应的会在显示屏上显示出工位020对应的触控按键ST020、工位030对应的触控按键ST030和工位040对应的触控按键ST040,如图4所示。Exemplarily, the area selection command is the area selection command of the safety zone 2, and the candidate stations are station 020, station 030 and station 040, and the corresponding touch button ST020 corresponding to station 020 will be displayed on the display screen , the touch button ST030 corresponding to the station 030 and the touch button ST040 corresponding to the station 040, as shown in FIG. 4 .

S202,响应于对所述目标工位对应的目标触控按键的触发操作,生成所述目标工位选择指令。S202. Generate the target station selection instruction in response to a trigger operation on a target touch key corresponding to the target station.

示例性的,若用户想要选择工位020为目标工位,则确定待触发的目标触控按键为触控按键ST020,用户触发目标触控按键,如图4所示,响应于用户对触控按键ST020的触发操作以及触控按键ST020对应的工位标识P020,生成工位020的选择指令,即目标工位选择指令。Exemplarily, if the user wants to select station 020 as the target station, it is determined that the target touch button to be triggered is the touch button ST020, and the user triggers the target touch button, as shown in FIG. The trigger operation of the touch button ST020 and the station identification P020 corresponding to the touch button ST020 generate a selection instruction for the station 020, that is, a target station selection instruction.

本实施例中,通过显示所有候选工位各自对应的触控按键;响应于对目标工位对应的目标触控按键的触发操作,生成目标工位选择指令,便于用户对设备进行目标工位的选择。In this embodiment, by displaying the touch buttons corresponding to all candidate stations; in response to the trigger operation of the target touch button corresponding to the target station, a target station selection instruction is generated, which is convenient for the user to select the target station for the device. choose.

图5为本公开提供的又一种设备控制方法的流程示意图,图5为图1所示实施例的基础上,执行S103时的一种可能的实现方式的具体描述,如下:FIG. 5 is a schematic flowchart of another device control method provided by the present disclosure. FIG. 5 is a specific description of a possible implementation of S103 based on the embodiment shown in FIG. 1 , as follows:

S1031,根据所述目标工位的控制指令,显示所述目标工位对应的目标展示画面。S1031. According to the control instruction of the target station, display a target presentation image corresponding to the target station.

所述目标展示画面中包括目标面板,所述目标面板与所述目标设备一一对应;The target display screen includes a target panel, and the target panel is in one-to-one correspondence with the target device;

示例性的,控制指令为将目标工位从自动控制切换至手动控制的控制指令,用户触发目标工位的控制指令后,根据目标工位的控制指令可以显示目标工位对应的手动控制的目标画面,即显示目标展示画面。目标展示画面中包括目标面板,且目标展示画面中目标面板的数量与目标工位中的目标设备的数量相同,每个目标面板对应一个目标设备,用户可以通过触发目标面板来控制对应的目标设备。Exemplarily, the control instruction is a control instruction for switching the target station from automatic control to manual control. After the user triggers the control instruction of the target station, the manual control target corresponding to the target station can be displayed according to the control instruction of the target station. screen, the target display screen will be displayed. The target display screen includes target panels, and the number of target panels in the target display screen is the same as the number of target devices in the target station. Each target panel corresponds to a target device, and the user can control the corresponding target device by triggering the target panel .

图6为本公开提供的又一种显示画面的示意图,基于上述实施例,目标工位为工位020,根据工位020的从自动控制切换至手动控制的控制指令,显示的目标展示画面如图6所示。工位020中的工艺设备包括设备2和设备2’,目标展示画面中包括两个目标面板,如图6所示,分别为目标面板2和目标面板2’,其中,目标面板2用于控制设备2,目标面板2’用于控制设备2’。FIG. 6 is a schematic diagram of another display screen provided by the present disclosure. Based on the above-mentioned embodiment, the target station is station 020. According to the control instruction of station 020 to switch from automatic control to manual control, the displayed target display screen is as follows: Figure 6 shows. The process equipment in station 020 includes equipment 2 and equipment 2', and the target display screen includes two target panels, as shown in Figure 6, which are target panel 2 and target panel 2' respectively, wherein target panel 2 is used to control Device 2, target panel 2' is used to control device 2'.

S1032,响应于所述目标面板的触发操作,控制所述目标设备。S1032. Control the target device in response to the trigger operation of the target panel.

示例性的,如图6所示,用户可以触发目标面板2或目标面板2’,若用户需要控制设备2,则触发目标面板2,若用户需要控制设备2,则触发目标面板2’。用户触发目标面板2后,响应于对目标面板2的触发操作,控制设备2执行相应的动作,用户触发目标面板2’后,响应于对目标面板2’的触发操作,控制设备2’执行相应的动作。例如,响应于目标面板2中电磁阀打开选项的触发操作,控制设备2的电磁阀打开,响应于目标面板2’中夹具松开选项的触发操作,控制设备1’的夹具松开。Exemplarily, as shown in Figure 6, the user can trigger the target panel 2 or the target panel 2', if the user needs to control the device 2, then trigger the target panel 2, and if the user needs to control the device 2, then trigger the target panel 2'. After the user triggers the target panel 2, the control device 2 performs corresponding actions in response to the trigger operation on the target panel 2; after the user triggers the target panel 2', in response to the trigger operation on the target panel 2', the control device 2' executes Actions. For example, in response to the trigger operation of the solenoid valve open option in the target panel 2, the solenoid valve of the control device 2 is opened, and in response to the trigger operation of the clamp release option in the target panel 2', the clamp of the control device 1' is released.

需要说明的是,本公开仅以电磁阀打开选项的触发操作和具松开选项的触发操作对触发操作进行示例性说明,并不作为对目标面板的触发操作的限制。It should be noted that, the present disclosure only illustrates the triggering operation with the solenoid valve opening option and the triggering operation with the releasing option, and is not intended to be a limitation on the triggering operation of the target panel.

本实施例中,通过根据目标工位的控制指令,显示目标工位对应的目标展示画面,目标展示画面中包括目标面板,目标面板与所述目标设备一一对应;响应于目标面板的触发操作,控制目标设备,便于用户对单个设备进行手动控制。In this embodiment, according to the control instruction of the target station, the target display screen corresponding to the target station is displayed, the target display screen includes the target panel, and the target panel corresponds to the target device one by one; in response to the trigger operation of the target panel , to control the target device, which is convenient for users to manually control a single device.

图7为本公开提供的又一种设备控制方法的流程示意图,图7为图5所示实施例的基础上,执行S1031之前,还包括:Fig. 7 is a schematic flowchart of another device control method provided by the present disclosure. Fig. 7 is based on the embodiment shown in Fig. 5, and before executing S1031, it also includes:

S301,建立标准面板库。S301, establishing a standard panel library.

所述标准面板库中包括多个标准面板。The standard panel library includes multiple standard panels.

示例性的,基于汽车流水线上的所有工艺设备各自的功能,对所有工艺设备进行类型划分。例如,可以将汽车流水线上的所有工艺设备划分为14种类型,分别为安全设备类、报警类、操作盒类、车型传递类、驱动设备类、能源类、人机界面(Human MachineInterface,HMI)类、制造执行系统(Manufacturing Execution System,MES)类、两套PLC之间交互类、生产数据类、读码头类、机器人类、传感器类和阀岛类。Exemplarily, based on the respective functions of all the process equipments on the automobile assembly line, all process equipments are classified into types. For example, all process equipment on the automobile assembly line can be divided into 14 types, namely safety equipment, alarm, operation box, vehicle transmission, drive equipment, energy, Human Machine Interface (HMI) class, manufacturing execution system (Manufacturing Execution System, MES) class, interaction class between two sets of PLCs, production data class, dock reading class, robot class, sensor class and valve island class.

针对每一类型的工艺设备,确定一个标准面板,示例性的,基于上述实施例,可以确定出14个标准面板,分别为安全设备相关的标准面板、报警相关的标准面板、操作盒相关的标准面板、车型传递相关的标准面板、驱动设备相关的标准面板、能源相关的标准面板、HMI相关的标准面板、MES相关的标准面板、两套PLC之间交互相关的标准面板、生产数据相关的标准面板、读码头相关的标准面板、机器人相关的标准面板、传感器相关的标准面板和阀岛相关的标准面板。基于确定的所有类型的工艺设备各自对应的标准面板,建立标准面板库,例如,基于上述实施例,建立的标准面板库中包括14个标准面板。For each type of process equipment, a standard panel is determined. Exemplarily, based on the above embodiment, 14 standard panels can be determined, which are standard panels related to safety equipment, standard panels related to alarms, and standards related to operation boxes. Panels, standard panels related to model transmission, standard panels related to drive equipment, standard panels related to energy, standard panels related to HMI, standard panels related to MES, standard panels related to interaction between two sets of PLCs, standards related to production data Panels, standard panels related to reading docks, standard panels related to robots, standard panels related to sensors and standard panels related to valve islands. Based on the determined standard panels corresponding to all types of process equipment, a standard panel library is established. For example, based on the above embodiment, the established standard panel library includes 14 standard panels.

S302,根据所述标准面板库,确定所有所述区域的所有设备各自对应的所述标准面板为所述目标面板。S302. According to the standard panel library, determine that the standard panels corresponding to all the devices in all the areas are the target panels.

根据当前车间的所有安全区内的所有工艺设备各自对应的类型,从标准面板库中确定出前车间的所有安全区内的所有工艺设备各自对应的标准面板,则确定的各工艺设备对应的标准面板即为各工艺设备对应的目标面板。例如,基于上述实施例中的标准面板库,可以确定出焊装车间内所有安全设备类的工艺设备对应的目标面板为安全设备相关的标准面板,所有报警类的工艺设备对应的目标面板为报警相关的标准面板,所有操作盒类的工艺设备对应的目标面板为操作盒相关的标准面板,所有车型传递类的工艺设备对应的目标面板为车型传递相关的标准面板,所有驱动设备类的工艺设备对应的目标面板为驱动设备相关的标准面板,所有HMI类的工艺设备对应的目标面板为HMI相关的标准面板,所有MES类的工艺设备对应的目标面板为MES相关的标准面板,所有两套PLC之间交互类的工艺设备对应的目标面板为两套PLC之间交互相关的标准面板,所有生产数据类的工艺设备对应的目标面板为生产数据相关的标准面板,所有读码头类的工艺设备对应的目标面板为读码头相关的标准面板,所有机器人类的工艺设备对应的目标面板为机器人相关的标准面板,所有传感器类的工艺设备对应的目标面板为传感器相关的标准面板,所有阀岛类的工艺设备对应的目标面板为阀岛相关的标准面板。According to the corresponding types of all process equipment in all safety areas of the current workshop, determine the standard panels corresponding to all process equipment in all safety areas of the previous workshop from the standard panel library, then determine the standard panels corresponding to each process equipment It is the target panel corresponding to each process equipment. For example, based on the standard panel library in the above embodiment, it can be determined that the target panels corresponding to all safety equipment process equipment in the welding workshop are standard panels related to safety equipment, and the target panels corresponding to all alarm process equipment are alarm Relevant standard panels, the target panels corresponding to all operation box process equipment are the standard panels related to the operation box, the target panels corresponding to all model transfer process equipment are the standard panels related to vehicle model transfer, and all drive equipment process equipment The corresponding target panel is the standard panel related to the drive equipment, the target panel corresponding to all HMI-type process equipment is the HMI-related standard panel, the target panel corresponding to all MES-type process equipment is the MES-related standard panel, all two sets of PLC The target panel corresponding to the interactive process equipment is the standard panel related to the interaction between the two PLCs. The target panel corresponding to all the production data process equipment is the standard panel related to the production data. The target panel of the target panel is the standard panel related to the reading dock, the target panel corresponding to all the robot-type process equipment is the robot-related standard panel, the target panel corresponding to all the sensor-type process equipment is the sensor-related standard panel, and all the valve island-type The target panel corresponding to the process equipment is the standard panel related to the valve island.

S303,根据所有所述设备各自对应的所述目标面板,确定所有工位各自对应的展示画面。S303. According to the target panels corresponding to all the devices, determine the display images corresponding to all the workstations.

基于上述实施例中确定的当前车间的所有工艺设备中各工艺设备对应的目标面板以及各工位对应的工艺设备,确定出各工位对应的目标面板的数量,基于各工位目标面板的数量、各面板的位置,确定各工位对应的展示画面。Based on the target panels corresponding to each process equipment and the process equipment corresponding to each station in all process equipment in the current workshop determined in the above embodiment, determine the number of target panels corresponding to each station, based on the number of target panels at each station , The position of each panel, and determine the display screen corresponding to each station.

例如,工位020包括设备2和设备2’,设备2和设备2’均为MES类的工艺设备,工位020对应的展示画面中包括两个目标面板,分别为目标面板2和目标面板2’,如图6所示,根据目标面板2和目标面板2’各自的位置确定出工位020最终的展示画面。For example, station 020 includes equipment 2 and equipment 2', both of which are MES process equipment, and the display screen corresponding to station 020 includes two target panels, namely target panel 2 and target panel 2 ’, as shown in FIG. 6 , the final display screen of the station 020 is determined according to the respective positions of the target panel 2 and the target panel 2 ′.

本实施例中,通过建立标准面板库,标准面板库中包括多个标准面板;根据标准面板库,确定所有区域的所有设备各自对应的标准面板为目标面板;根据所有设备各自对应的目标面板,确定所有工位各自对应的展示画面,能够基于标准面板库自动生成各工位对应的展示画面,缩短了展示画面的生成时间,从而能够提升展示画面的生成效率。In this embodiment, by establishing a standard panel library, the standard panel library includes a plurality of standard panels; according to the standard panel library, it is determined that the standard panels corresponding to all devices in all areas are target panels; according to the target panels corresponding to all devices, Determining the display screens corresponding to each station can automatically generate the display screens corresponding to each station based on the standard panel library, shortening the generation time of the display screens, thereby improving the generation efficiency of the display screens.

图8为本公开提供的又一种设备控制方法的流程示意图,图8为图7所示实施例的基础上,执行S1032之前,还包括:Fig. 8 is a schematic flowchart of another device control method provided by the present disclosure. Fig. 8 is based on the embodiment shown in Fig. 7, before executing S1032, it also includes:

S304,建立标准程序库。S304, establishing a standard program library.

所述标准程序库中包括多个标准程序,所述标准程序用于控制所述设备动作。The standard program library includes a plurality of standard programs, and the standard programs are used to control the actions of the device.

示例性的,基于上述实施例中确定的14种类型的工艺设备的控制逻辑,确定14种类型分别对应的标准程序,其中标准程序与工艺设备的类型一一对应,基于这14种标准程序可以控制相应类型的工艺设备执行相应的动作。例如,基于上述实施例,确定14个标准程序可以为安全设备相关的标准程序、报警相关的标准程序、操作盒相关的标准程序、车型传递相关的标准程序、驱动设备相关的标准程序、能源相关的标准程序、HMI相关的标准程序、MES相关的标准程序、两套PLC之间交互相关的标准程序、生产数据相关的标准程序、读码头相关的标准程序、机器人相关的标准程序、传感器相关的标准程序和阀岛相关的标准程序。其中,基于安全设备相关的标准程序可以控制安全设备类的工艺设备,基于报警相关的标准程序可以控制报警类的工艺设备,基于操作盒相关的标准程序可以控制操作盒类的工艺设备,基于车型传递相关的标准程序可以控制车型传递类的工艺设备,基于驱动设备相关的标准程序可以控制驱动设备类的工艺设备,基于能源相关的标准程序可以控制能源类的工艺设备,基于HMI相关的标准程序可以控制HMI类的工艺设备,基于MES相关的标准程序可以控制MES类的工艺设备,基于两套PLC之间交互相关的标准程序可以控制两套PLC之间交互类的工艺设备,基于生产数据相关的标准程序可以控制生产数据类的工艺设备,基于读码头相关的标准程序可以控制读码头类的工艺设备,基于机器人相关的标准程序可以控制机器人类的工艺设备,基于传感器相关的标准程序可以控制传感器类的工艺设备,基于阀岛相关的标准程序可以控制阀岛类的工艺设备。Exemplarily, based on the control logic of the 14 types of process equipment determined in the above embodiment, standard procedures corresponding to the 14 types are determined, wherein the standard procedures correspond to the types of process equipment one by one, based on these 14 standard procedures can be Control corresponding types of process equipment to perform corresponding actions. For example, based on the above-mentioned embodiment, the 14 standard procedures determined can be standard procedures related to safety equipment, standard procedures related to alarms, standard procedures related to operation boxes, standard procedures related to vehicle transmission, standard procedures related to drive equipment, energy-related Standard programs related to HMI, standard programs related to MES, standard programs related to the interaction between two sets of PLCs, standard programs related to production data, standard programs related to reading docks, standard programs related to robots, and sensor related Standard programs and standard programs related to valve terminals. Among them, the process equipment of safety equipment can be controlled based on standard procedures related to safety equipment, the process equipment of alarm category can be controlled based on standard procedures related to alarm, the process equipment of operation box can be controlled based on standard procedures related to operation box, Transfer-related standard programs can control vehicle-type transfer-type process equipment, drive-related standard programs can control drive-type process equipment, energy-related standard programs can control energy-related process equipment, and HMI-related standard programs It can control HMI-type process equipment, and can control MES-type process equipment based on MES-related standard programs. The standard program based on the production data can control the process equipment of the production data, the process equipment based on the reading terminal can be controlled based on the standard program related to the reading terminal, the process equipment based on the robot related standard program can be controlled, and the standard program based on the sensor can be controlled The process equipment of the sensor type can control the process equipment of the valve island based on the standard program related to the valve island.

基于确定的所有类型的工艺设备各自对应的标准程序,建立标准程序库,例如,基于上述实施例,建立的标准程序库中包括14个标准程序。Based on the determined standard programs corresponding to all types of process equipment, a standard program library is established. For example, based on the above embodiment, the established standard program library includes 14 standard programs.

S305,建立所述标准程序与所述标准面板的对应关系,以使所述标准程序基于所述标准面板的触发操作控制所述设备执行相应的动作。S305. Establish a correspondence between the standard program and the standard panel, so that the standard program controls the device to perform a corresponding action based on a trigger operation of the standard panel.

建立标准程序库中各标准程序与标转面板库中的标准面板的对应关系,其中标准程序与标准面板一一对应,这里的建立对应关系可以是通过西门子PLC的SIVArc中编写标准面板的SIVArc接口来实现。建立标准程序和标准面板的对应关系后,基于标准面板的触发操作可以触发执行标准程序,标准程序在运行状态下可以控制设备进行相应的动作。Establish the corresponding relationship between each standard program in the standard program library and the standard panel in the standard panel library, where the standard program corresponds to the standard panel one by one, and the establishment of the corresponding relationship here can be through the SIVArc interface of the standard panel written in the SIVArc of Siemens PLC to fulfill. After establishing the corresponding relationship between the standard program and the standard panel, the trigger operation based on the standard panel can trigger the execution of the standard program, and the standard program can control the device to perform corresponding actions in the running state.

本实施例中,通过建立标准程序库,标准程序库中包括多个标准程序,标准程序用于控制设备动作;建立标准程序与标准面板的对应关系,以使标准程序基于标准面板的触发操作控制设备执行相应的动作,能够基于标准程序库中的标准程序实现各工艺设备的控制,无需针对每个工艺设备编写执行程序,能够自动生成各工艺设备的执行程序,缩短了执行程序的编写时间,从而能够提升工艺设备的执行程序的生成效率。In this embodiment, by establishing a standard program library, including a plurality of standard programs in the standard program library, the standard program is used to control the action of the equipment; the corresponding relationship between the standard program and the standard panel is established, so that the standard program is based on the trigger operation control of the standard panel The equipment performs corresponding actions, and can realize the control of each process equipment based on the standard program in the standard program library. It is not necessary to write an execution program for each process equipment, and it can automatically generate the execution program of each process equipment, which shortens the writing time of the execution program. Therefore, the generation efficiency of the execution program of the process equipment can be improved.

图9为本公开提供的又一种设备控制方法的流程示意图,图9为图7所示实施例的基础上,执行S303时的一种可能的实现方式的具体描述,如下:FIG. 9 is a schematic flowchart of another device control method provided by the present disclosure. FIG. 9 is a specific description of a possible implementation of S303 based on the embodiment shown in FIG. 7 , as follows:

S3031,将同一工位中的所有所述设备对应的所述目标面板与主画面模板进行叠加,得到所有所述工位对应的中间展示画面。S3031. Superimpose the target panels corresponding to all the devices in the same station with the main picture template to obtain intermediate display pictures corresponding to all the stations.

示例性的,目标面板为MES相关的标准面板,下面以目标面板为MES过点信息的标准面板为例进行说明。基于PLC与MES之间的过点逻辑可以确定MES过点信息的标准程序,如图10所示,针对如图10所示的MES过点信息的标准程序确定MES过点信息的标准面板,如图11所示。Exemplarily, the target panel is a standard panel related to the MES, and the following description will be made by taking the target panel as an example of the standard panel of MES passing point information. Based on the logic between PLC and MES, the standard procedure of MES passing information can be determined, as shown in Figure 10, for the standard procedure of MES passing information shown in Figure 10, the standard panel of MES passing information can be determined, as shown in Figure 10 Figure 11 shows.

图12为本公开提供的一种主画面模板的示意图,主画面模板可以理解为各工位对应的展示画面中公用的部分,示例性的,如图12所示,主画面模板包括开/关按键、自动模式按键、开始按键、手动按键、当前车间的所有工位的显示区域和目标面板的显示区域(图12中的虚线所示)等,本实施例对此不作具体限制。Figure 12 is a schematic diagram of a main picture template provided by the present disclosure. The main picture template can be understood as the common part of the display picture corresponding to each station. For example, as shown in Figure 12, the main picture template includes on/off Button, automatic mode button, start button, manual button, display area of all stations in the current workshop and display area of the target panel (shown by the dotted line in FIG. 12 ), etc., are not specifically limited in this embodiment.

基于上述实施例,将同工位中的所有工艺设备各自的目标面板显示于主画面模板的目标面板显示区域,实现目标面板与主画面模板的叠加,得到各工位对应的中间展示画面,如图13所示。Based on the above-mentioned embodiment, the respective target panels of all process equipment in the same station are displayed in the target panel display area of the main picture template, so as to realize the superposition of the target panel and the main picture template, and obtain the intermediate display pictures corresponding to each station, as shown in Figure 13 shows.

S3032,根据所述中间展示画面以及所述中间展示画面中所述目标面板的位置,确定所有所述工位各自对应的展示画面。S3032. According to the intermediate display image and the position of the target panel in the intermediate display image, determine the display images corresponding to all the workstations.

示例性的,如图13所示,各中间展示画面的目标面板显示区域显示有相应工位对应的目标面板,其中,目标面板的位置可调节,用户可以通过设置位置信息或者拖拽的方式来调整目标面板的位置,调整目标面对位置后得到的中间展示画面即为工位对应的最终展示画面。Exemplarily, as shown in Figure 13, the target panel display area of each intermediate display screen displays the target panel corresponding to the corresponding station, wherein the position of the target panel can be adjusted, and the user can set the position information or drag and drop Adjust the position of the target panel and adjust the target facing position to get the intermediate display image is the final display image corresponding to the station.

本实施例中,通过将同一工位中的所有设备对应的目标面板与主画面模板进行叠加,得到所有工位对应的中间展示画面;根据中间展示画面以及中间展示画面中目标面板的位置,确定所有工位各自对应的展示画面,可以灵活设置展示画面中目标面板的位置,使得各工位的展示画面具有较高的灵活性。In this embodiment, by superimposing the target panels corresponding to all devices in the same station with the main picture template, the intermediate display images corresponding to all stations are obtained; according to the intermediate display images and the positions of the target panels in the intermediate display images, determine The display screens corresponding to all the stations can flexibly set the position of the target panel in the display screen, so that the display screens of each station have high flexibility.

在上述实施例的基础上,还可以设置各工位对应的中间展示画面中显示目标面板的触发条件,基于触发条件来确定是否展示目标面板,进一步提升展示画面的灵活性。On the basis of the above embodiments, it is also possible to set trigger conditions for displaying the target panel in the intermediate display screen corresponding to each station, and determine whether to display the target panel based on the trigger condition, thereby further improving the flexibility of the display screen.

图14为本公开提供的又一种设备控制方法的流程示意图,图14为图1所示实施例的基础上,还包括:Fig. 14 is a schematic flowchart of another device control method provided by the present disclosure. Fig. 14 is based on the embodiment shown in Fig. 1 and further includes:

S104,拉取并汇总所有所述候选工位对应的数据流。S104. Pulling and summarizing the data streams corresponding to all the candidate workstations.

确定候选工位后,拉取所有候选工位中的所有设备的数据流,并将所有候选工位中的所有设备的数据流进行汇总。例如,基于上述实施例,若候选工位为工位010,拉取并汇总工位010中所有设备的数据流,若候选工位为工位020-工位040,拉取并汇总工位020-工位040中所有设备的数据流,若候选工位为工位050-工位070,拉取并汇总工位050-工位070中所有设备的数据流,若候选工位为工位010-工位070,拉取并汇总工位010-工位070中所有设备的数据流。After the candidate stations are determined, the data streams of all devices in all candidate stations are pulled, and the data streams of all devices in all candidate stations are summarized. For example, based on the above-mentioned embodiment, if the candidate station is station 010, pull and summarize the data streams of all devices in station 010, and if the candidate station is station 020-station 040, pull and summarize -The data flow of all devices in station 040, if the candidate station is station 050-070, pull and summarize the data flow of all devices in station 050-station 070, if the candidate station is station 010 -Station 070, pulling and summarizing the data streams of all devices in stations 010-070.

S105,将区域控制指令通过所述数据流传输至所有所述候选工位对应的所述设备,以同时控制所有所述候选工位对应的所述设备。S105. Transmit an area control instruction to the devices corresponding to all the candidate workstations through the data stream, so as to simultaneously control the devices corresponding to all the candidate workstations.

示例性的,区域控制指令可以是部分区域控制指令,还可以是全区域控制指令,例如,当前车间为汽车产线的焊装车间,焊装车间化分为安全区1、安全区2和安全区3,其中,安全区1包括工位010,安全区2包括工位020、工位030和工位040,安全区3包括工位050、工位060和工位070。若区域控制指令为部分区域控制指令,即区域控制指令可以是安全区1的控制指令、安全区2的控制指令或安全区3的控制指令,若区域控制指令为全区域控制指令,即区域控制指令可以是当前车间的控制指令。Exemplarily, the area control instruction can be a part of the area control instruction, or the whole area control instruction. For example, the current workshop is the welding workshop of the automobile production line, and the welding workshop is divided into safety area 1, safety area 2 and safety area Area 3, where safety area 1 includes station 010, safety area 2 includes station 020, station 030, and station 040, and safety area 3 includes station 050, station 060, and station 070. If the area control command is a part of the area control command, that is, the area control command can be the control command of the safety zone 1, the control command of the safety zone 2 or the control command of the safety zone 3; The instruction may be a control instruction of the current workshop.

示例性的,基于上述实施例,若候选工位为工位010,拉取并汇总工位010中的所有设备的数据流,相应的区域控制指令为安全区1的控制指令,则将安全区1的控制指令通过汇总的数据流发送至工位010中的所有设备,使得基于安全区1的控制指令可以同时控制工位010中的所有设备。若候选工位为工位020-工位040,拉取并汇总工位020-工位040中的所有设备的数据流,相应的区域控制指令为安全区2的控制指令,则将安全区2的控制指令通过汇总的数据流发送至工位020-工位040中的所有设备,使得基于安全区2的控制指令可以同时控制工位020-工位040中的所有设备。若候选工位为工位050-工位070,拉取并汇总工位050-工位070中的所有设备的数据流,相应的区域控制指令为安全区3的控制指令,则将安全区3的控制指令通过汇总的数据流发送至工位050-工位070中的所有设备,使得基于安全区3的控制指令可以同时控制工位050-工位070中的所有设备。若候选工位为工位010-工位070,拉取并汇总工位010-工位070中的所有设备的数据流,相应的区域控制指令为当前车间的控制指令,则将当前车间的控制指令通过汇总的数据流发送至工位010-工位070中的所有设备,使得基于当前车间的控制指令可以同时控制工位010-工位070中的所有设备。Exemplarily, based on the above-mentioned embodiment, if the candidate station is station 010, pull and summarize the data streams of all devices in station 010, and the corresponding area control instruction is the control instruction of security zone 1, then the security zone The control command of 1 is sent to all devices in station 010 through the aggregated data stream, so that the control command based on safety zone 1 can control all devices in station 010 at the same time. If the candidate station is station 020-station 040, pull and summarize the data flow of all devices in station 020-station 040, and the corresponding area control command is the control command of security zone 2, then the security zone 2 The control commands of 1 are sent to all devices in station 020-040 through the aggregated data stream, so that the control commands based on safety zone 2 can control all devices in station 020-040 at the same time. If the candidate station is station 050-station 070, pull and summarize the data stream of all devices in station 050-station 070, and the corresponding area control command is the control command of security zone 3, then the security zone 3 The control instructions of 1 are sent to all devices in station 050-070 through the aggregated data stream, so that the control instructions based on safety zone 3 can control all devices in station 050-070 at the same time. If the candidate station is station 010-station 070, pull and summarize the data flow of all equipment in station 010-station 070, and the corresponding area control command is the control command of the current workshop, then the control command of the current workshop will be Instructions are sent to all devices in station 010-070 through the aggregated data stream, so that all devices in station 010-070 can be controlled simultaneously based on the control instructions of the current workshop.

本实施例中,通过拉取并汇总所有所述候选工位对应的数据流;将区域控制指令通过数据流传输至所有候选工位对应的设备,以同时控制所有候选工位对应的设备,能够同时控制同一区域内的所有工位,从而能够实现对区域内的所有工位的整体控制。In this embodiment, by pulling and summarizing the data streams corresponding to all the candidate stations; transmitting the area control instructions to the devices corresponding to all candidate stations through the data stream, so as to control the devices corresponding to all candidate stations at the same time, it is possible Simultaneously control all workstations in the same area, so that the overall control of all workstations in the area can be realized.

图15为本公开提供的又一种设备控制方法的流程示意图,图15为图1所示实施例的基础上,执行S101时的一种可能的实现方式的具体描述,如下:FIG. 15 is a schematic flowchart of another device control method provided by the present disclosure. FIG. 15 is a specific description of a possible implementation of S101 based on the embodiment shown in FIG. 1 , as follows:

S101’,根据所有所述区域内的所有工位各自所属的区域和所述区域选择指令中的所述区域标识,确定所有所述工位中与所述区域标识匹配的工位为所述候选工位。S101', according to the respective areas to which all the workstations in all the areas belong and the area identifier in the area selection instruction, determine that the workstation among all the workstations that matches the area identifier is the candidate Station.

示例性的,当前车间内的所有工位均对应有一个区域属性,该区域属性用于表示相应的工位所属的安全区,从所有区域属性中确定出与区域选择指令中的区域标识匹配的区域属性,确定匹配的区域属性对应的所有工位即为候选工位。例如,基于上述实施例,工位010的区域属性为安全区1,工位020-工位040的区域属性均为安全区2,工位050-工位070的区域属性均为安全区3。Exemplarily, all workstations in the current workshop correspond to an area attribute, and the area attribute is used to indicate the safety zone to which the corresponding workstation belongs. Area attributes, determine that all the stations corresponding to the matching area attributes are candidate stations. For example, based on the above embodiment, the area attribute of station 010 is safety zone 1, the area attributes of station 020-040 are all safety zone 2, and the area attributes of station 050-070 are all safety zone 3.

若区域选择指令为安全区1的选择指令,与区域标识S1匹配的区域属性为安全区1,则工位010为候选工位;若区域选择指令为安全区2的选择指令,与区域标识S2匹配的区域属性为安全区2,则工位020-工位040为候选工位;若区域选择指令为安全区3的选择指令,与区域标识S3匹配的区域属性为安全区3,则工位050-工位070为候选工位。If the area selection command is a selection command for safe area 1, and the area attribute matching the area identifier S1 is safe area 1, then station 010 is a candidate station; If the matching area attribute is safety zone 2, then station 020-station 040 is a candidate station; if the area selection instruction is the selection instruction for safety area 3, and the area attribute matching the area identifier S3 is safety area 3, then the station 050-station 070 is a candidate station.

本公开还提供一种设备控制装置,图16为本公开提供的一种设备控制装置的结构示意图,如图16所示,设备控制装置包括:The present disclosure also provides an equipment control device. FIG. 16 is a schematic structural diagram of an equipment control device provided in the present disclosure. As shown in FIG. 16 , the equipment control device includes:

确定模块110,用于根据区域选择指令,确定区域内的所有候选工位,所述区域选择指令中包括区域标识,所述区域标识与所述区域一一对应;根据目标工位选择指令,确定目标工位,所述目标工位选择指令中包括目标工位标识,所述目标工位标识与所述目标工位对应,所述目标工位为所有所述候选工位中的一个。The determination module 110 is configured to determine all candidate workstations in the area according to the area selection instruction, the area selection instruction includes an area identifier, and the area identifier corresponds to the area one by one; according to the target workstation selection instruction, determine A target station, the target station selection instruction includes a target station identifier, the target station identifier corresponds to the target station, and the target station is one of all the candidate stations.

控制模块120,用于根据所述目标工位的控制指令,控制所述目标工位对应的目标设备。The control module 120 is configured to control the target equipment corresponding to the target station according to the control instruction of the target station.

可选的,设备控制装置还包括:Optionally, the device control device also includes:

显示模块,用于显示所有所述候选工位各自对应的触控按键。The display module is used to display the touch buttons corresponding to all the candidate positions.

生成模块,用于响应于对所述目标工位对应的目标触控按键的触发操作,生成所述目标工位选择指令。A generating module, configured to generate the target station selection instruction in response to a trigger operation on a target touch key corresponding to the target station.

可选的,控制模块120,进一步用于根据所述目标工位的控制指令,显示所述目标工位对应的目标展示画面,所述目标展示画面中包括目标面板,所述目标面板与所述目标设备一一对应;响应于所述目标面板的触发操作,控制所述目标设备。Optionally, the control module 120 is further configured to display a target display screen corresponding to the target station according to the control instruction of the target station, the target display screen includes a target panel, and the target panel is related to the target station. The target devices are in one-to-one correspondence; the target devices are controlled in response to the trigger operation of the target panel.

可选的,确定模块110,还用于建立标准面板库,所述标准面板库中包括多个标准面板;根据所述标准面板库,确定所有所述区域的所有设备各自对应的所述标准面板为所述目标面板;根据所有所述设备各自对应的所述目标面板,确定所有工位各自对应的展示画面。Optionally, the determination module 110 is also used to establish a standard panel library, which includes a plurality of standard panels; according to the standard panel library, determine the standard panels corresponding to all the devices in all the regions is the target panel; according to the target panels corresponding to all the devices, determine the display screens corresponding to all the workstations.

可选的,确定模块110,还用于建立标准程序库,所述标准程序库中包括多个标准程序,所述标准程序用于控制所述设备动作;建立所述标准程序与所述标准面板的对应关系,以使所述标准程序基于所述标准面板的触发操作控制所述设备执行相应的动作。Optionally, the determination module 110 is also used to establish a standard program library, the standard program library includes a plurality of standard programs, and the standard programs are used to control the actions of the equipment; establish the standard program and the standard panel The corresponding relationship, so that the standard program controls the device to perform corresponding actions based on the trigger operation of the standard panel.

可选的,确定模块110,进一步用于将同一工位中的所有所述设备对应的所述目标面板与主画面模板进行叠加,得到所有所述工位对应的中间展示画面;根据所述中间展示画面以及所述中间展示画面中所述目标面板的位置,确定所有所述工位各自对应的展示画面。Optionally, the determination module 110 is further configured to superimpose the target panels corresponding to all the devices in the same station with the main picture template to obtain the intermediate display images corresponding to all the stations; according to the intermediate The display screen and the position of the target panel in the middle display screen determine the display screens corresponding to all the workstations.

可选的,控制模块120,还用于拉取并汇总所有所述候选工位对应的数据流;将区域控制指令通过所述数据流传输至所有所述候选工位对应的所述设备,以同时控制所有所述候选工位对应的所述设备。Optionally, the control module 120 is further configured to pull and summarize the data streams corresponding to all the candidate stations; Simultaneously control the devices corresponding to all the candidate stations.

可选的,确定模块110,进一步用于根据所有所述区域内的所有工位各自所属的区域和所述区域选择指令中的所述区域标识,确定所有所述工位中与所述区域标识匹配的工位为所述候选工位。Optionally, the determining module 110 is further configured to determine, according to the respective areas to which all the stations in all the areas belong and the area identification in the area selection instruction The matching stations are the candidate stations.

本发明实施例所提供的装置可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The device provided by the embodiment of the present invention can execute the method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

本公开还提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现上述方法实施例的步骤。The present disclosure also provides an electronic device, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the foregoing method embodiments are implemented.

图17为本公开提供的一种电子设备的结构示意图,图17示出了适于用来实现本发明实施例实施方式的示例性电子设备的框图。图17显示的电子设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Fig. 17 is a schematic structural diagram of an electronic device provided by the present disclosure, and Fig. 17 shows a block diagram of an exemplary electronic device suitable for implementing an embodiment of the present invention. The electronic device shown in FIG. 17 is only an example, and should not limit the functions and scope of use of this embodiment of the present invention.

如图17所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器16,系统存储器28,连接不同系统组件(包括系统存储器28和处理器16)的总线18。As shown in FIG. 17, electronic device 12 takes the form of a general-purpose computing device. Components of electronic device 12 may include, but are not limited to: one or more processors 16, system memory 28, bus 18 connecting various system components including system memory 28 and processor 16.

总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. These architectures include, by way of example, but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

电子设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备12访问的介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic device 12 typically includes a variety of computer system readable media. These media can be any media that can be accessed by electronic device 12 and include both volatile and nonvolatile media, removable and non-removable media.

系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(通常称为“硬盘驱动器”)。可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM、DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。系统存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明实施例各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, non-volatile magnetic media (commonly referred to as a "hard drive"). Disk drives for reading and writing removable non-volatile disks such as "floppy disks" and drives for reading and writing removable non-volatile optical disks such as CD-ROM, DVD-ROM, or other optical media may be provided. optical drive. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如系统存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明实施例所描述的实施例中的功能和/或方法。Program/utility 40 may be stored, for example, in system memory 28 as a set (at least one) of program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include the implementation of the network environment. The program module 42 generally executes the functions and/or methods in the embodiments described in the embodiments of the present invention.

处理器16通过运行存储在系统存储器28中的多个程序中的至少一个程序,从而执行各种功能应用以及信息处理,例如实现本发明实施例所提供的方法实施例。The processor 16 executes various functional applications and information processing by running at least one of the multiple programs stored in the system memory 28 , such as implementing the method embodiments provided by the embodiments of the present invention.

本公开还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的步骤。The present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method embodiments are implemented.

可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)域连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or wide area network (WAN) domain, or may be connected to an external computer (such as through an Internet service provider) Internet connection).

本公开还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行实现上述方法实施例的步骤。The present disclosure also provides a computer program product, which, when running on a computer, causes the computer to execute the steps for implementing the above method embodiments.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relative terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these No such actual relationship or order exists between entities or operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific implementation manners of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.一种设备控制方法,其特征在于,包括:1. A device control method, characterized in that, comprising: 根据区域选择指令,确定区域内的所有候选工位,所述区域选择指令中包括区域标识,所述区域标识与所述区域一一对应;Determine all candidate stations in the area according to the area selection instruction, the area selection instruction includes an area identification, and the area identification is in one-to-one correspondence with the area; 根据目标工位选择指令,确定目标工位,所述目标工位选择指令中包括目标工位标识,所述目标工位标识与所述目标工位对应,所述目标工位为所有所述候选工位中的一个;Determine the target station according to the target station selection instruction, the target station selection instruction includes a target station identifier, the target station identifier corresponds to the target station, and the target station is all the candidates one of the workstations; 根据所述目标工位的控制指令,控制所述目标工位对应的目标设备。According to the control instruction of the target station, the target equipment corresponding to the target station is controlled. 2.根据权利要求1所述的方法,其特征在于,所述根据所述目标工位的控制指令,控制所述目标工位对应的目标设备,包括:2. The method according to claim 1, wherein the controlling the target device corresponding to the target station according to the control instruction of the target station comprises: 根据所述目标工位的控制指令,显示所述目标工位对应的目标展示画面,所述目标展示画面中包括目标面板,所述目标面板与所述目标设备一一对应;According to the control instruction of the target station, displaying a target display screen corresponding to the target station, the target display screen includes a target panel, and the target panel corresponds to the target device one by one; 响应于所述目标面板的触发操作,控制所述目标设备。The target device is controlled in response to a trigger operation of the target panel. 3.根据权利要求2所述的方法,其特征在于,所述根据所述目标工位的控制指令,显示所述目标工位对应的目标展示画面之前,还包括:3. The method according to claim 2, wherein, before displaying the target display screen corresponding to the target station according to the control instruction of the target station, further comprising: 建立标准面板库,所述标准面板库中包括多个标准面板;Establishing a standard panel library, the standard panel library includes a plurality of standard panels; 根据所述标准面板库,确定所有所述区域的所有设备各自对应的所述标准面板为所述目标面板;According to the standard panel library, determine that the standard panels corresponding to all the devices in all the areas are the target panels; 根据所有所述设备各自对应的所述目标面板,确定所有工位各自对应的展示画面。According to the target panels corresponding to all the devices, the corresponding display images of all the workstations are determined. 4.根据权利要求3所述的方法,其特征在于,所述响应于所述目标面板的触发操作,控制所述目标设备之前,还包括:4. The method according to claim 3, characterized in that, before controlling the target device in response to the trigger operation of the target panel, further comprising: 建立标准程序库,所述标准程序库中包括多个标准程序,所述标准程序用于控制所述设备动作;Establishing a standard program library, the standard program library includes a plurality of standard programs, and the standard programs are used to control the actions of the equipment; 建立所述标准程序与所述标准面板的对应关系,以使所述标准程序基于所述标准面板的触发操作控制所述设备执行相应的动作。A corresponding relationship between the standard program and the standard panel is established, so that the standard program controls the device to perform a corresponding action based on a trigger operation of the standard panel. 5.根据权利要求3所述的方法,其特征在于,所述根据所有所述设备各自对应的所述目标面板,确定所有所述工位各自对应的展示画面,包括:5. The method according to claim 3, characterized in that, according to the target panels corresponding to all the devices, determining the corresponding display screens of all the workstations includes: 将同一工位中的所有所述设备对应的所述目标面板与主画面模板进行叠加,得到所有所述工位对应的中间展示画面;superimposing the target panels corresponding to all the devices in the same station with the main picture template to obtain intermediate display pictures corresponding to all the stations; 根据所述中间展示画面以及所述中间展示画面中所述目标面板的位置,确定所有所述工位各自对应的展示画面。According to the intermediate display image and the position of the target panel in the intermediate display image, the display images corresponding to all the workstations are determined. 6.根据权利要求1-5任一项所述的方法,其特征在于,还包括:6. The method according to any one of claims 1-5, further comprising: 拉取并汇总所有所述候选工位对应的数据流;Pulling and summarizing the data streams corresponding to all the candidate stations; 将区域控制指令通过所述数据流传输至所有所述候选工位对应的所述设备,以同时控制所有所述候选工位对应的所述设备。The area control instruction is transmitted to the devices corresponding to all the candidate stations through the data stream, so as to simultaneously control the devices corresponding to all the candidate stations. 7.根据权利要求1-5任一项所述的方法,其特征在于,所述根据区域选择指令,确定区域内的所有候选工位,包括:7. The method according to any one of claims 1-5, wherein the determining all candidate stations in the area according to the area selection instruction includes: 根据所有所述区域内的所有工位各自所属的区域和所述区域选择指令中的所述区域标识,确定所有所述工位中与所述区域标识匹配的工位为所述候选工位。According to the areas to which all the workstations in all the areas belong to and the area identifier in the area selection instruction, determine that among all the workstations, a workstation that matches the area identifier is the candidate workstation. 8.一种设备控制装置,其特征在于,包括:8. An equipment control device, characterized in that it comprises: 确定模块,用于根据区域选择指令,确定区域内的所有候选工位,所述区域选择指令中包括区域标识,所述区域标识与所述区域一一对应;根据目标工位选择指令,确定目标工位,所述目标工位选择指令中包括目标工位标识,所述目标工位标识与所述目标工位对应,所述目标工位为所有所述候选工位中的一个;The determining module is configured to determine all candidate stations in the region according to the region selection instruction, wherein the region selection instruction includes region identifiers, and the region identifiers correspond to the regions one by one; according to the target station selection instruction, determine the target station, the target station selection instruction includes a target station identifier, the target station identifier corresponds to the target station, and the target station is one of all the candidate stations; 控制模块,用于根据所述目标工位的控制指令,控制所述目标工位对应的目标设备。The control module is configured to control the target equipment corresponding to the target station according to the control instruction of the target station. 9.一种电子设备,其特征在于,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现权利要求1-7任一项所述的方法的步骤。9. An electronic device, characterized in that it comprises: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the method described in any one of claims 1-7 is implemented. method steps. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-7任一项所述的方法的步骤。10. A computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1-7 are implemented.
CN202210197715.5A 2022-03-02 2022-03-02 Device control method, device, electronic device and storage medium Active CN115437315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210197715.5A CN115437315B (en) 2022-03-02 2022-03-02 Device control method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210197715.5A CN115437315B (en) 2022-03-02 2022-03-02 Device control method, device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN115437315A true CN115437315A (en) 2022-12-06
CN115437315B CN115437315B (en) 2024-11-12

Family

ID=84241226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210197715.5A Active CN115437315B (en) 2022-03-02 2022-03-02 Device control method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115437315B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115870197A (en) * 2022-12-09 2023-03-31 哈尔滨哈飞航空工业有限责任公司 Station helicopter whole machine coating process layout method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104576441A (en) * 2013-10-29 2015-04-29 中国科学院沈阳自动化研究所 LOT multi-rule scheduling method for semiconductor packaging line based on operation area
US20180043532A1 (en) * 2016-08-09 2018-02-15 International Business Machines Corporation Assigning tasks to a robot device for execution
CN110366719A (en) * 2017-02-23 2019-10-22 威邦信息系统有限公司 For controlling, creating and modifying the system of process flow, method and computer program product
CN110404888A (en) * 2019-08-16 2019-11-05 深圳泰德激光科技有限公司 Control method, laser cleaning equipment and the storage medium of laser cleaning equipment
CN111716046A (en) * 2020-06-28 2020-09-29 中国科学院长春光学精密机械与物理研究所 A robot station design method applied to welding line
CN112798600A (en) * 2019-11-14 2021-05-14 深圳百迈技术有限公司 Detection method and system
CN113095640A (en) * 2021-03-29 2021-07-09 联想(北京)有限公司 Parameter determination method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104576441A (en) * 2013-10-29 2015-04-29 中国科学院沈阳自动化研究所 LOT multi-rule scheduling method for semiconductor packaging line based on operation area
US20180043532A1 (en) * 2016-08-09 2018-02-15 International Business Machines Corporation Assigning tasks to a robot device for execution
CN110366719A (en) * 2017-02-23 2019-10-22 威邦信息系统有限公司 For controlling, creating and modifying the system of process flow, method and computer program product
CN110404888A (en) * 2019-08-16 2019-11-05 深圳泰德激光科技有限公司 Control method, laser cleaning equipment and the storage medium of laser cleaning equipment
CN112798600A (en) * 2019-11-14 2021-05-14 深圳百迈技术有限公司 Detection method and system
CN111716046A (en) * 2020-06-28 2020-09-29 中国科学院长春光学精密机械与物理研究所 A robot station design method applied to welding line
CN113095640A (en) * 2021-03-29 2021-07-09 联想(北京)有限公司 Parameter determination method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李银川;刘田茜;: "和利时LM系列PLC在多工位双面轴承加脂加盖机中的应用", 可编程控制器与工厂自动化, no. 08, 15 August 2009 (2009-08-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115870197A (en) * 2022-12-09 2023-03-31 哈尔滨哈飞航空工业有限责任公司 Station helicopter whole machine coating process layout method and device

Also Published As

Publication number Publication date
CN115437315B (en) 2024-11-12

Similar Documents

Publication Publication Date Title
KR101941736B1 (en) Configuration interface for a programmable multimedia controller
CN102637127B (en) Method for controlling mouse modules and electronic device
US20030167096A1 (en) Automatic machine application program development system and computer product
CN107479957A (en) Multi-system application switching method, device, equipment and storage medium
TWI570529B (en) Smart appliance control system
CN105979324A (en) Method and device of intelligent TV for controlling remote controller microphone
CN115437315A (en) Device control method, device, electronic device and storage medium
CN112817718A (en) Dual-system device, application display method thereof and storage medium
CN116438492A (en) Enhancement of human-machine interface (HMI) for controlling robots
CN111360794B (en) Teaching system adaptive to various models of robots and teaching method thereof
CN107438091B (en) Image management and control device, system and method for industrial embedded system
CN107993589A (en) The IP address distribution method of DLP display units, joined screen system and joined screen system
US9214003B2 (en) Method and system for conversion of graphical representations of automation environments
US20110153077A1 (en) Component integration apparatus and method for collaboration of heterogeneous robot
CN115243085B (en) Display device and device interconnection method
CN106799526B (en) The control system and spark-erosion machine tool of spark-erosion machine tool
CN112188155B (en) Emergency monitoring method, system and device for transformer substation and computer equipment
CN116113521A (en) Method and system for robot programming
CN112233208B (en) Robot state processing method, apparatus, computing device and storage medium
CN110069292B (en) Method for realizing third-party application support of power grid regulation and control system
CN114253230A (en) Virtual debugging method, system and device based on industrial configuration software and storage medium thereof
TWM611888U (en) Artificial Intelligence Assisted Reality System
US20140121790A1 (en) Device and method for the gesture control of a screen in a control room
CN104703045B (en) The control method and device of input frame on a kind of intelligent television
CN103595725B (en) A kind of screen cabinet resource control system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant