Cooperation system, cooperation method, cooperation program, and cooperation assistance program
The cooperation system between PLCs and PCs in Factory Automation sites addresses the limitations of PLCs by enabling dynamic control of both controlled devices and information processing operations, enhancing functional flexibility and compatibility across manufacturers.
Patent Information
- Application Number
- PCT/JP2023/046302
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-17
- Filing Date
- 2023-12-25
- Publication Date
- 2024-09-26
AI Technical Summary
In Factory Automation (FA) sites, Programmable Logic Controllers (PLCs) face limitations in realizing complex functions like image processing, requiring dedicated units for each function, which are costly and manufacturer-specific, restricting the degree of freedom in selecting functional capabilities for manufacturing devices.
A cooperation system that links PLCs with personal computers (PCs) via a communication network, enabling the PLC to control both controlled devices and information processing operations through shared device values and instruction values, allowing dynamic changes and integration of UI functions on touch panel terminals.
Enhances the degree of freedom in selecting functions for manufacturing devices by enabling complex operations, such as image processing, without the need for multiple dedicated units, and allows compatibility across different PLC manufacturers.
Smart Images

Figure JP2023046302_26092024_PF_FP
Abstract
Description
Collaboration system, collaboration method, collaboration program, and collaboration support program
[0001] The present invention relates to a linkage system, a linkage method, a linkage program, and a linkage assist program.
[0002] In factory automation (FA), a programmable logic controller (PLC) is a controller that controls the operation of controlled devices such as conveying equipment and inspection equipment provided in industrial manufacturing equipment (i.e., the operation of the manufacturing equipment). The PLC controls the operation of various controlled devices based on input signals from input devices (e.g., sensors) connected to the PLC by executing control programs (e.g., ladder programs) created by the user.
[0003] However, complex functions such as image processing cannot be realized by a PLC alone. In this case, a dedicated unit (dedicated controller) is selected and expanded for each unit according to the functions required by the user (see, for example, Patent Document 1). In the technology disclosed in Patent Document 1, the PLC realizes the image processing function by controlling the operation of the dedicated unit by turning on / off a trigger. In this way, when multiple functions that cannot be realized by a PLC alone are required in the operation process of a manufacturing device, a dedicated unit is required for each function.
[0004] Japanese Patent Application Laid-Open No. 2021-189481
[0005] Because PLC specifications vary by manufacturer, users of manufacturing equipment may specify the manufacturer of the PLC used in their manufacturing equipment. However, because the functions supported by dedicated units vary by manufacturer, it is difficult to achieve the functions required by users unless a dedicated unit compatible with multiple manufacturers exists. Furthermore, if multiple functions are packaged in a dedicated unit, an expensive dedicated unit is required to achieve some of the functions. As such, in manufacturing equipment in which the operation of controlled devices is controlled by a PLC, selectable functions are limited, limiting the degree of freedom of selection.
[0006] An object of the present invention is to improve the degree of freedom in selecting functions that can be realized in manufacturing equipment whose operation is controlled by a PLC.
[0007] a PLC memory unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, wherein the plurality of first device values include one or more first instruction values that cause the first operation to be executed, and the plurality of second device values include one or more second instruction values that cause the second operation to be executed; and the information processing device includes a device value acquisition unit that acquires the second device values stored in the PLC memory unit at a predetermined time interval; a determination unit that determines whether the second instruction value included in the acquired second device value has been changed after the second device value has been acquired; and an operation control unit that, when the second instruction value has been changed, controls the second operation of the second operations that corresponds to the changed second instruction value.
[0008] a PLC memory unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, wherein the plurality of first device values include one or more first instruction values for executing the first operation, and the plurality of second device values include one or more second instruction values for executing the second operation, and the method includes: a device value acquisition step of acquiring, at a predetermined time interval, the second device values including the second instruction values stored in the PLC memory unit; an instruction value determination step of determining, after the second device values are acquired, whether the second instruction value included in the acquired second device values has been changed; and, when the second instruction value has been changed, an operation control step of controlling the second operation of the second operation corresponding to the changed second instruction value.
[0009] In one embodiment of the present invention, a collaboration program is connected via a communication network to a PLC that controls a first operation of a controlled device provided in a manufacturing apparatus, and is executed by an information processing device that interfaces with the PLC, wherein the PLC has a PLC memory unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, and the plurality of second device values include one or more second instruction values that cause the second operation to be executed, and the information processing device has a processor, and causes the processor to execute an acquisition process that acquires the second device values stored in the PLC memory unit at a predetermined time interval, an instruction value determination process that determines whether the second instruction value included in the acquired second device value has been changed after the second device value has been acquired, and a second operation control process that, when the second instruction value has been changed, controls the second operation of the second operations that corresponds to the changed second instruction value.
[0010] In one embodiment of the present invention, a collaboration auxiliary program controls a first operation of a controlled device provided in a manufacturing apparatus, and is executed by a PLC connected to an information processing device via a communication network line and linked to the information processing device. The PLC includes a PLC control unit that controls the first operation, and a PLC memory unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device. The plurality of first device values include one or more first instruction values that cause the first operation to be performed, and the plurality of second device values include one or more second instruction values that cause the second operation to be performed. The collaboration auxiliary program causes the PLC control unit to execute a second instruction value change process that changes the second instruction value corresponding to the second operation in order to cause the information processing device to perform the second operation, and a first instruction value change process that changes the first instruction value corresponding to the instruction based on an instruction from the information processing device that executed the second operation.
[0011] According to the present invention, the degree of freedom in selecting functions that can be realized in a manufacturing device whose operation is controlled by a PLC is improved.
[0012] 9 is a functional block diagram showing an embodiment of a linkage system according to the present invention. It is a functional block diagram of a PLC included in the linkage system of FIG. 1. It is a schematic diagram showing an example of an overview of a PLC storage unit included in the PLC of FIG. 2. It is a schematic diagram showing a specific example of information stored in the PLC storage unit of FIG. 3. It is a functional block diagram of a touch panel terminal included in the linkage system of FIG. 1. It is a schematic diagram showing an example of information stored in a TP storage unit included in the touch panel terminal of FIG. 5. It is a schematic diagram showing an example of information displayed on a TP display operation unit included in the touch panel terminal of FIG. 5. It is a functional block diagram showing an embodiment of an information processing device included in the linkage system of FIG. 1. It is a schematic diagram showing an example of information stored in a PC storage unit included in the information processing device of FIG. 8. It is a schematic diagram showing an example of other information stored in the PC storage unit of FIG. It is a schematic diagram showing an overview of the relationship between each element in the linkage system of FIG. 1. It is a flowchart showing an example of the operation of the information processing device of FIG. 8. It is a sequence diagram showing an example of the operation between each element in the linkage system of FIG. 1.
[0013] Embodiments of a linkage system according to the present invention (hereinafter referred to as "the system"), a linkage method according to the present invention (hereinafter referred to as "the method"), a linkage program according to the present invention (hereinafter referred to as "the linkage program"), and a linkage auxiliary program according to the present invention (hereinafter referred to as "the auxiliary program") will be described below. In the following description, reference will be made to the drawings as appropriate. In the drawings, the same members and elements are designated by the same reference numerals, and duplicate descriptions will be omitted.
[0014] The present invention relates to a manufacturing device equipped with a programmable logic controller (PLC) and a personal computer (PC), and links the PLC with the PLC to achieve functions that cannot be achieved by the PLC and the controlled device alone. Furthermore, the present invention integrates a user interface (UI) function into a touch panel terminal equipped in the manufacturing device, and connects the PLC to the touch panel terminal, thereby enabling the PC to execute operations via the PLC and change parameter values of the PC by operating the touch panel terminal. The PC is an example of an information processing device.
[0015] Coordination System Configuration of Coordination System FIG. 1 is a functional block diagram showing an embodiment of this system.
[0016] The system 1 links a PLC 3 provided in the manufacturing apparatus 2 with an information processing device 6, thereby realizing various functions required by the manufacturing apparatus 2 via the information processing device 6. The system 1 also aggregates UI functions in a touch panel terminal 5 provided in the manufacturing apparatus 2 and connects the PLC 3 with the touch panel terminal 5, thereby enabling the operation of the information processing device 6 via the PLC 3 by operating the touch panel terminal 5 and changing parameter values used in the operation of the information processing device 6. The system 1 includes the manufacturing apparatus 2, the information processing device 6, and multiple external devices 7a, 7b, etc. In the following description, when the external devices 7a, 7b, etc. are not particularly distinguished from one another, the external devices 7a, 7b, etc. are collectively referred to as the external device 7.
[0017] The manufacturing apparatus 2 is, for example, industrial manufacturing equipment used to manufacture goods at a factory automation (FA) site. The manufacturing apparatus 2 includes a PLC 3, a plurality of controlled devices 4a, 4b, and a touch panel terminal 5. In the following description, when the controlled devices 4a, 4b, and so on are not particularly distinguished from one another, the controlled devices 4a, 4b, and so on will be collectively referred to as the controlled devices 4.
[0018] 2 is a functional block diagram of the PLC 3. For ease of explanation, the manufacturing device 2, controlled device 4, touch panel terminal 5, information processing device 6, and external device 7 are also shown in dashed lines in the figure.
[0019] The PLC 3 controls the operations of the controlled device 4 and the information processing device 6 based on a control program (e.g., a ladder program). The PLC 3 is, for example, a known PLC. The PLC 3 includes a PLC communication unit 31, a PLC storage unit 32, and a PLC control unit 33.
[0020] In the present invention, the control program executed in the PLC 3 may be any control program executed in a general PLC, and is not limited to a ladder program.
[0021] The PLC communication unit 31 communicates with an input device (not shown; the same applies below), the controlled device 4, the touch panel terminal 5, and the information processing device 6, for example, via a communication network line (e.g., a LAN (Local Area Network) cable, signal line, etc.). The "input device" refers to a device attached to the manufacturing apparatus 2, connected to the PLC communication unit 31, and inputting a signal to the PLC 3 (e.g., an infrared sensor, pressure sensor, photoelectric sensor, temperature sensor, or other sensor that detects the operation of the controlled device 4). The PLC communication unit 31 includes a first PLC communication unit 311 connected to the touch panel terminal 5 and the information processing device 6, and a second PLC communication unit 312 connected to the input device and the controlled device 4. The first PLC communication unit 311 is a known communication interface, for example, including a LAN connector. The second PLC communication unit 312 is a known I / O terminal, for example.
[0022] The PLC storage unit 32 stores information (for example, a control program and various device values) necessary for the operation of the PLC 3. The PLC storage unit 32 is, for example, an information storage medium such as a flash memory.
[0023] In the present invention, the control program may be stored in a ROM (Read Only Memory) 33c, which will be described later.
[0024] The "device value" is information related to the operation of devices (e.g., input devices and controlled devices 4) and apparatuses (e.g., information processing device 6) connected to the PLC 3. The device value includes a plurality of first device values and a plurality of second device values.
[0025] The "first device value" is information used to control the operation of the controlled device 4. The first device value includes a plurality of first parameter values and a plurality of first instruction values. The first device value is stored, for example, in each address in the first device area "D1" described below. The operation of the controlled device 4 is an example of the first operation in the present invention.
[0026] The "first parameter value" is, for example, information indicating the value of a parameter used to control the operation of the controlled device 4 (for example, the current / voltage supplied to the controlled device 4, the rotational speed of the actuator, the travel distance of the transported object (workpiece), the light intensity of the light source, etc.).
[0027] The "first instruction value" is information indicating a value that functions as a so-called flag (e.g., an execution flag, a branch flag, a completion flag, etc.) for the operation of the controlled device 4 (e.g., "1" or "0" corresponding to the on / off of the execution flag, or "0" to "n (n is an integer equal to or greater than 1)" corresponding to the branch flag). That is, the first instruction value includes information indicating a value that causes the operation of the controlled device 4 to be executed (e.g., the on / off of the execution flag, a value corresponding to the operation to be executed after branching, etc.). The operation of the controlled device 4 also includes an operation that stops the controlled device 4 in operation. Here, if the "operation to be executed" is an operation on lighting, for example, "1" is a value corresponding to the maximum light intensity, "2" is a value corresponding to the intermediate light intensity, "3" is a value corresponding to the minimum light intensity, and "0" is a value corresponding to the light intensity "0 (off)". As such, in this embodiment, the controlled device 4 can execute multiple different operations, and each of the first instruction values corresponds to a respective operation of the uncontrolled device 4.
[0028] The "second device values" are information used to control the operation of the information processing device 6. The second device values include a plurality of second parameter values and a plurality of second instruction values. The second device values are stored, for example, in each address in a second device area "D2" described later.
[0029] The "second parameter value" is information indicating the value of a parameter (e.g., a parameter for image processing, a parameter for determination processing, etc.) used to control the operation of the information processing device 6 (and the external device 7) (e.g., the operation of an operation program described below). The operation of the information processing device 6 is an example of the second operation in the present invention.
[0030] The "operation of the information processing device 6" includes not only an operation performed by the hardware included in the information processing device 6 as a result of the information processing device 6 executing an operation program, but also an operation performed by the external device 7 as a result of the information processing device 6 executing an operation program (e.g., an operation of causing a camera to capture an image, an operation of causing a microphone to collect external sound, an operation of displaying an image on a PC display unit 64, which will be described later, etc.). That is, the operation of the information processing device 6 includes not only an operation performed by the information processing device 6, but also an operation that the information processing device 6 causes the external device 7 to perform as part of the operation of the information processing device 6. That is, the second operation in the present invention may also include an operation of the external device 7. Here, an example of the former is, for example, an operation in which the information processing device 6 performs information processing (e.g., image processing) to obtain one piece of information from another piece of information by calculation. An example of the latter is, for example, an operation to obtain some information by controlling the operation of the external device 7 (e.g., an operation to obtain an image using an imaging device). Therefore, the second parameter value may include information indicating the value of a parameter used to control the operation of the external device 7 (e.g., an imaging processing parameter such as the camera's angle of view and resolution). In this way, in the present invention, the information used to control the operations of the information processing device 6 and the external device 7 can be the second parameter value. The operations of the information processing device 6 and the external device 7 also include operations to stop the information processing device 6 and the external device 7 that are currently operating.
[0031] The "second instruction value" is information indicating a value (e.g., "1" or "0" corresponding to the on / off state of an execution flag, or "0" to "n (n is an integer equal to or greater than 1)" corresponding to a branch flag) that functions as a so-called flag (e.g., an execution flag, a branch flag, a completion flag, etc.) for the information processing device 6. That is, the second instruction value includes information indicating a value that causes the information processing device 6 to execute an operation (e.g., a value corresponding to the on / off state of an execution flag, or an operation to be executed after branching, etc.), in other words, information indicating a value that causes the information processing device 6 to execute an operation program. Here, if the "operation to be executed" is an operation corresponding to a screen display, for example, "1" is a value corresponding to displaying a raw image, "2" is a value corresponding to displaying a setting screen, and "3" is a value corresponding to displaying an autonomous driving screen. As such, in this embodiment, the information processing device 6 is capable of executing a plurality of different operations, and the second instruction value corresponds to each of the operations (operation programs described below) of the information processing device 6.
[0032] In the present invention, the device values are not limited to the first device values and the second device values. That is, for example, the device values may include information indicating the respective states of the input device, the controlled device 4, and the information processing device 6 (e.g., whether or not there is operation, whether or not there is an abnormality, etc.), values input from the input device and the controlled device 4 (e.g., measured values, coordinates of the current position, etc.), and a first device value group and a second device value group corresponding to each operating condition of the information processing device 6 (e.g., work size, etc.). The "first device value group" is, for example, a set of first parameter values corresponding to each of a plurality of work sizes. The "second device value group" is, for example, a set of second parameter values corresponding to each of a plurality of work sizes.
[0033] 3 is a schematic diagram showing an example of an overview of the information stored in the PLC storage unit 32. For ease of explanation, other elements related to the information stored in the PLC storage unit 32 are also shown by dashed lines in the same figure.
[0034] In the figure, the largest dashed box indicates an area in the memory constituting the PLC storage unit 32. "D1" indicates the area where the first device value is stored (first device value area), "D2" indicates the area where the second device value is stored (second device area), and "D3" indicates the area where other values (e.g., a second device value group) are stored (third device area). As described below, the PLC control unit 33 changes the device values stored in the PLC storage unit 32 based on a control program. The touch panel terminal 5 acquires parameter values in the first device value area and the second device value area and instructs the user to change these values as necessary. The information processing device 6 acquires device values in the second device value area and instructs the user to change flag values (first instruction value, second instruction value) as necessary.
[0035] In the present invention, the information stored in the PLC memory unit 32 need only be stored in a manner that allows the method described below to be executed, and does not need to be stored in a clearly partitioned large area as shown in Figure 3.
[0036] 4 is a schematic diagram showing a specific example of information stored in the PLC storage unit 32. "Address information" is address-specific location information assigned to each address in the PLC storage unit 32. The diagram shows that the address information and device values are associated with each other and stored in the PLC storage unit 32. The PLC control unit 33 (see FIG. 2), for example, can read out the device values associated with the address information and stored in the PLC storage unit 32 by referring to the PLC storage unit 32 using the address information.
[0037] The figure shows, for example, that the device value (first parameter value) corresponding to address information "A01" is "X01", the device value (first instruction value) corresponding to address information "A10" is "Y10", the device value (second parameter value) corresponding to address information "A21" is "X21", and the device value (second instruction value) corresponding to address information "A24" is "Y24".
[0038] The drawing primarily referred to in this description is FIG. 2 . Thus, in the present invention, the PLC storage unit 32 stores, in addition to the first device values stored in conventional PLCs, second device values used to control the operation of the information processing device 6 (and external device 7). As a result, as will be described later, the PLC 3 can execute (control) the operation of the information processing device 6 (and external device 7) and obtain the results simply by changing the second instruction value. Furthermore, the PLC control 33 can dynamically change the parameters of the information processing device 6 and external device 7 by changing some or all of the second device values based on the control program.
[0039] The PLC control unit 33 controls the overall operation of the PLC 3 based on a control program, and also controls the operations of the controlled device 4 and the information processing device 6 (and the external device 7). The PLC control unit 33 is configured, for example, with a CPU (Central Processing Unit) 33a, a RAM (Random Access Memory) 33b that functions as a work area for the CPU 33a, and a ROM 33c that stores various information and programs. The PLC control unit 33 includes a PLC change unit 331.
[0040] A control program runs in the PLC control unit 33, and cooperates with the hardware resources of the PLC 3 to contribute to the realization of each operation, including the present method, which will be described later. That is, for example, when a processor (CPU 33a) included in the PLC control unit 33 executes the control program, the control program causes the processor to function as a PLC change unit 331 and assists in the linkage (cooperation) between the controlled device 4 and the information processing device 6, thereby causing the processor to execute part of the processing of the present method. That is, the present auxiliary program is incorporated into the control program, and the control program also functions as the auxiliary program.
[0041] The PLC changing unit 331 changes the first device value or the second device value based on external information (e.g., instructions from the touch panel terminal 5 and the information processing device 6, the results of the operation of the controlled device 4, the results of the operation of the information processing device 6, etc.) and the operation of the control program. The specific operation of the PLC changing unit 331 will be described later.
[0042] Configuration of the Controlled Device The controlled device 4 is a device (e.g., a servo motor, a light source, a solenoid valve, etc.) that is attached to the manufacturing apparatus 2 and whose operation is controlled by the PLC 3 (PLC control unit 33). The operation of the controlled device 4 is controlled by the PLC control unit 33 based on the first parameter value and the first instruction value.
[0043] 5 is a functional block diagram of the touch panel terminal 5. For ease of explanation, the manufacturing device 2, the PLC 3, the touch panel terminal 5, the information processing device 6, and the external device 7 are also shown in dashed lines in the figure.
[0044] The touch panel terminal 5 displays an operation screen P (see FIG. 7 ; the same applies below) for the PLC 3, the controlled device 4, and the information processing device 6, and also accepts operations by the user of the system 1. The touch panel terminal 5 is, for example, a touch panel PC having a display function, an operation (input) function, and an information processing function. The touch panel terminal 5 includes a TP communication unit 51, a TP storage unit 52, a TP control unit 53, and a TP display / operation unit 54.
[0045] The TP communication unit 51 communicates with the information processing device 6 via, for example, a communication network line (for example, a LAN cable). The TP communication unit 51 is, for example, a communication interface including a LAN connector.
[0046] The TP storage unit 52 stores information (e.g., device values acquired from the PLC storage unit 32) necessary for the operation of the touch panel terminal 5. The TP storage unit 52 is, for example, an information storage medium such as a hard disk drive (HDD), a solid state drive (SSD), a RAM, or a flash memory.
[0047] FIG. 6 is a schematic diagram showing an example of information stored in the TP storage unit 52. An "item ID" is item-specific identification information assigned to each parameter corresponding to each device value. "PLC address information" is location information specific to the address at which each device value is stored in the PLC storage unit 32. This diagram shows that the item ID, PLC address information, and device value are associated and stored in the TP storage unit 52. The TP control unit 53 (see FIG. 4 ) can read out the device value and PLC address information associated with the item ID and stored in the TP storage unit 52, for example, by referring to the TP storage unit 52 using the item ID.
[0048] This figure shows that, for example, the PLC address information corresponding to the item ID "B01" is "A01" and the device value (first parameter value) is "X01."
[0049] 5 is the drawing that is primarily referred to in this description. The TP control unit 53 controls the overall operation of the touch panel terminal 5. The TP control unit 53 is configured, for example, with a CPU 53a, a RAM 53b that functions as a work area for the CPU 53a, and a ROM 53c that stores various information and programs. The TP control unit 53 includes a TP acquisition unit 531, a TP change instruction unit 532, and a TP display control unit 533.
[0050] The TP acquisition unit 531 acquires the device values (first parameter value and second parameter value) stored in the PLC storage unit 32. The specific operation of the TP acquisition unit 531 will be described later.
[0051] The TP change instruction unit 532 instructs changes to the device values stored in the PLC storage unit 32 and the TP storage unit 52, based on a user operation on the device values displayed on the TP display operation unit 54. The specific operation of the TP change instruction unit 532 will be described later.
[0052] The TP display control unit 533 displays the operation screen P on the TP display operation unit 54 in accordance with a preset display mode. The specific operation of the TP display control unit 533 will be described later.
[0053] The TP display operation unit 54 displays the operation screen P to the user and accepts operations from the user. The TP display operation unit 54 is, for example, a known touch panel. The TP display operation unit 54 is an example of the TP display unit of the present invention.
[0054] 7 is a schematic diagram showing an example of information displayed on the TP display operation unit 54. The figure shows that two execution operation areas P1 and one change operation area P2 are displayed on the operation screen P. The figure shows that the execution operation area P1 displays an icon "Perform Action A," which is operated to execute Action A, and an icon "Perform Action B," which is operated to execute Action B. The figure also shows that the change operation area P2 displays a device value (e.g., a second parameter value) used in Action A.
[0055] The drawings primarily referred to in this description are FIGS. 2 , 5 , and 7 . For example, when a user operates the “Execute Action A” icon on the operation screen P, the TP change instruction unit 532 instructs the PLC 3 (PLC change unit 331) to change the corresponding first instruction value or second instruction value based on the operation in the execution operation area P1. That is, for example, the TP change instruction unit 532 generates a signal instructing the PLC 3 to change the first instruction value or the second instruction value and transmits the signal to the PLC 3. As a result, the operation of the controlled device 4 or the information processing device 6 is executed. Furthermore, for example, when a user operates to change the second parameter value displayed in the change operation area P2, the TP change instruction unit 532 instructs the PLC 3 (PLC change unit 331) to change the corresponding second parameter value based on the operation. That is, for example, the TP change instruction unit 532 generates a signal instructing the PLC 3 to change the second parameter value and transmits the signal to the PLC 3. As a result, the second parameter value stored in the PLC storage unit 32 is changed.
[0056] The "operation screen P" is a screen that accepts user operations on the TP display operation unit 54. The operation screen P includes, for example, an execution operation area P1 and a change operation area P2.
[0057] The "execution operation area P1" is an area where icons (e.g., operation buttons) that are operated by the user to start the operation of the controlled device 4 and the information processing device 6 are displayed. Each execution operation area P1 is assigned a first instruction value and / or a second instruction value that is changed in response to the user's operation. Therefore, when the user operates the execution operation area P1, the TP change instruction unit 532 can instruct the PLC 3 to change the second instruction value that corresponds to the operation.
[0058] The "change operation area P2" is an area that displays device values (first parameter value, second parameter value) to the user and accepts user operations to allow the user to change the device values. Each device value displayed in the change operation area P2 is assigned a first parameter or a second parameter that is changed in response to the user's operation. Therefore, when the user changes the device value displayed in the change operation area P2, the TP change instruction unit 532 can instruct the PLC 3 to change the device value corresponding to the change.
[0059] Note that, in the present invention, the information displayed on the TP display operation unit 54 is not limited to the example shown in FIG. 7 . That is, for example, the TP display operation unit 54 may display only one execution operation area P1 on one operation screen P, or may display three or more execution operation areas P1. In the latter case, the second device value acquired by the TP acquisition unit 531 may include multiple second instruction values that change in response to user operations for each execution operation area P1. Furthermore, for example, the TP display operation unit 54 may display multiple tabs on one operation screen P and display change operation areas P2 for the controlled device 4, information processing device 6, or external device 7 assigned to each tab.
[0060] 8 is a functional block diagram showing an embodiment of the information processing device 6. For ease of explanation, the manufacturing device 2, the PLC 3, the controlled device 4, the touch panel terminal 5, and the external device 7 are also shown by dashed lines in the figure.
[0061] The information processing device 6 executes predetermined operations by linking with the PLC 3 and the external device 7. The information processing device 6 is, for example, an industrial PC that can execute various information processes by running general-purpose programming code. The information processing device 6 includes a PC communication unit 61, a PC storage unit 62, a PC control unit 63, a PC display unit 64, and a PC operation unit 65.
[0062] The PC communication unit 61 communicates with the PLC 3 and the external device 7 via, for example, a communication network line (e.g., a LAN cable, a USB cable, etc.). The PC communication unit 61 is, for example, a known communication interface including a LAN connector and a USB connector. The information processing device 6 is connected to the PLC 3 via the communication network line.
[0063] In the present invention, the PC communication unit 61 may communicate with other computers via other communication network lines, such as the Internet, a mobile communication network, a LAN, a WAN (Wide Area Network), Wi-Fi (registered trademark), or Bluetooth (registered trademark).
[0064] The PC storage unit 62 stores information necessary for the operation of the information processing device 6 (such as the second device value, the present linkage program, various operation programs, the first correspondence information C1, the second correspondence information C2, etc.). The PC storage unit 62 is an information storage medium such as an HDD, an SSD, a RAM, or a flash memory. The PC storage unit 62 is an example of a storage unit in the present invention.
[0065] An "operation program" is a program corresponding to an operation executed by the information processing device 6. The operation program includes a self-operation program that controls the operation (information processing) of the information processing device 6 itself, such as an image processing program that causes the information processing device 6 to execute image processing, and an external operation program that controls the operation of an external device 7 connected to the information processing device 6, such as an instruction program that causes the information processing device 6 to instruct the operation of the external device 7. The PC storage unit 62 stores an operation program corresponding to each of a plurality of operations. The information processing device 6 (PC control unit 63) executes the operation program, thereby performing the operation corresponding to the operation program.
[0066] The "first correspondence information C1" is information indicating the correspondence between each operation of the controlled device 4 and each instruction content from the PC operation instruction unit 634 described later.
[0067] The "content of instruction" includes information indicating the address where a device value to be changed to cause the PLC 3 to operate the controlled device 4 is stored (i.e., PLC address information), and information indicating the device value. Here, the "information indicating the address" includes not only the PLC address information where a first instruction value corresponding to the operation of the controlled device 4 is stored, but also the PLC address information where a device value (e.g., a second device value) to be changed to change the first instruction value is stored. The "device value to be changed to change the first instruction value" is, for example, a device value that triggers the PLC change unit 331 to change the first instruction value. That is, for example, when the second instruction value that triggers the change is changed, the PLC change unit 331 changes the first instruction value based on the changed second instruction value.
[0068] In the present invention, the content of the instruction may include a second parameter value for restoring an abnormal second parameter value to a normal value and information indicating an address where the second parameter value is stored. In this case, even if the second parameter value includes an abnormal value, the information processing device 6 can determine whether the second parameter value is normal or abnormal and return (write) the normal value to the PLC 3. In other words, the information processing device 6 can impose its own unique parameter value restriction independently of the control program of the PLC 3. In this case, the PLC 3 does not need to restrict the parameter value.
[0069] The "second correspondence information C2" is information indicating the correspondence between each second instruction value and each operation program.
[0070] FIG. 9 is a schematic diagram showing an example of information (first correspondence information C1) stored in the PC storage unit 62. The "action ID" is identification information unique to each first action that is set for each first action. This diagram shows that the action ID, PLC address information, and device value are associated with each other and stored in the PC storage unit 62. The PC action instruction unit 634, which will be described later, can read out an address and device value for executing an action corresponding to an instruction from among a plurality of actions (first actions) by, for example, referring to the first correspondence information C1 using the action ID.
[0071] This figure shows that, for example, the PLC address information corresponding to the operation ID "OP1" is "A99" and the device value (for example, the second instruction value) is "1."
[0072] FIG. 10 is a schematic diagram showing an example of another information (second correspondence information C2) stored in the PC storage unit 62. The "second instruction value" is a device value (e.g., a flag value of "1") that triggers execution of a corresponding operation program in the information processing device 6. The "operation program ID" is identification information unique to each operation program. The figure shows that PLC address information, the second instruction value, and the processing program ID are associated with each other and stored in the PC storage unit 62. The PC control unit 63 can select and execute an operation program corresponding to the second instruction value from among multiple operation programs by referring to the second correspondence information C2 using, for example, the PLC address information and the second instruction value corresponding to the PLC address information.
[0073] This figure shows that when the second instruction value corresponding to the PLC address information "A24" is "Y24", for example, the operation program to be selected is "P01".
[0074] The drawing primarily referred to in this description is FIG. 8 . The PC control unit 63 controls the overall operation of the information processing device 6 and executes the linkage program to perform part of the processing of the method. The PC control unit 63 is configured, for example, with a CPU 63a, a RAM 63b that functions as a work area for the CPU 63a, and a ROM 63c that stores various information and programs. The CPU 63a is an example of a processor in the present invention. The PC control unit 63 includes a PC acquisition unit 631, a PC determination unit 632, a PC operation control unit 633, and a PC operation instruction unit 634.
[0075] The present linking program runs in the PC control unit 63, and the linking program cooperates with the hardware resources of the information processing device 6 to realize part of the processing of the present method, which will be described later. That is, for example, when the processor (CPU 63a) included in the PC control unit 63 executes the linking program, the linking program causes the processor to function as a PC acquisition unit 631, a PC determination unit 632, a PC operation control unit 633, and a PC operation instruction unit 634, and to execute part of the processing of the present method.
[0076] The PC acquisition unit 631 acquires second device values including second instruction values stored in the PLC storage unit 32 at predetermined time intervals (for example, at regular intervals such as every tens of milliseconds). The PC acquisition unit 631 is an example of an acquisition unit according to the present invention. Specific operations of the PC acquisition unit 631 will be described later.
[0077] The PC determination unit 632 determines whether the second instruction value included in the acquired second device value has been changed after the PC acquisition unit 631 acquires the second device value. The PC determination unit 632 is an example of a determination unit in the present invention. Specific operations of the PC determination unit 632 will be described later.
[0078] After the PC acquisition unit 631 acquires the two device values, the PC operation control unit 633 controls the operation corresponding to the second instruction value based on the second instruction value included in the second device value (i.e., executes an operation program). The PC operation control unit 633 is an example of the operation control unit of the present invention. The specific operation of the PC operation control unit 633 will be described later.
[0079] The PC operation instructing unit 634 instructs the PLC 3 to execute an operation (first operation) of the controlled device 4 based on the results of the operations of the information processing device 6 and / or the external device 7. The PC operation instructing unit 634 is an example of an operation instructing unit in the present invention. Specific operations of the PC operation instructing unit 634 will be described later.
[0080] The PC display unit 64 displays predetermined information (e.g., a captured image) to the user based on the operation executed by the PC operation control unit 633. The PC display unit 64 is, for example, a monitor device such as a liquid crystal display. The PC display unit 64 is disposed, for example, in a position in the manufacturing apparatus 2 that is visible to the user.
[0081] The PC operation unit 65 accepts user operations on the information processing device 6. The PC operation unit 65 is, for example, an information input device such as a keyboard or a mouse.
[0082] In the present invention, the PC display unit 64 and the PC operation unit 65 may be configured as a touch panel.
[0083] In the present invention, the first correspondence information C1 and the second correspondence information C2 may be stored in the ROM 63c. In this case, the ROM 63c also functions as a storage unit in the present invention.
[0084] Furthermore, in the present invention, the link program may be stored in the ROM 63c.
[0085] Configuration of External Device The external device 7 is a device (e.g., a digital camera capable of capturing moving and still images, a microphone capable of collecting sound, etc.) that is connected to the information processing device 6 and whose operation is controlled by the information processing device 6 when the information processing device 6 executes an operation program. The external device 7 is connected to the information processing device 6 via, for example, a communication cable (e.g., a USB (Universal Serial Bus) cable). The operation of the external device 7 is controlled by the information processing device 6 (operation program). In this embodiment, the operation of the external device 7 is executed as part of the operation of the information processing device 6. The external device 7 generates external information as necessary and transmits the generated external information to the information processing device 6. The external device 7 is attached to, for example, the manufacturing apparatus 2.
[0086] "External information" is information generated by the external device 7. For example, if the external device 7 is a sensor, the external information is information indicating the detection results of the sensor. The external information includes not only information indicating physical quantities but also information acquired by an image sensor, such as a captured image.
[0087] Operation of the Linked System Next, the operation of the present system 1 will be described below. In the following description, reference will be made to Figures 1 to 10 as appropriate.
[0088] FIG. 11 is a schematic diagram showing an overview of the relationships between the elements (manufacturing device 2, PLC 3, controlled device 4, touch panel terminal 5, information processing device 6, and external device 7) that make up this system 1.
[0089] In the operation of the present system 1, the reference information is the device values stored in the PLC 3 (PLC storage unit 32). The PLC 3 repeatedly scans the control program (i.e., executes the control program) and changes a first instruction value, thereby causing the controlled device 4 corresponding to the first device value to perform an operation corresponding to the first device value, thereby controlling the operation of the controlled device 4. Similarly, the PLC 3 changes a second instruction value to cause the information processing device 6 to perform an operation corresponding to the second device value, thereby controlling the operation of the information processing device 6. The PLC 3 also changes the device values stored in the PLC storage unit 32 based on instructions from the information processing device 6. The controlled device 4 operates based on signals from the PLC 3. The end of the operation of the controlled device 4 is notified to the PLC 3 by the controlled device 4 or an input device (sensor) corresponding to the controlled device 4. The touch panel terminal 5 acquires the device values from the PLC 3 at predetermined times (e.g., when the operation screen P is updated or at predetermined time intervals) and displays the acquired device values to the user. Furthermore, the touch panel terminal 5 instructs the PLC 3 to change the device values stored therein or to execute various operations based on user operations. The information processing device 6 acquires the device values from the PLC 3 at predetermined time intervals and executes an operation (operation program) corresponding to the second device value based on the change in the second instruction value. At this time, the information processing device 6 controls the operation of the external device 7 as needed. The external device 7 transmits the results of the operation and / or external information to the information processing device 6 as needed. After the operation is completed, the information processing device 6 transmits the results of the operation to the PLC 3 as needed. At this time, the information processing device 6 instructs the PLC storage unit 32 to change the device values stored therein as needed.
[0090] PLC Operation During operation of the system 1, the PLC control unit 33 repeatedly scans the control program and evaluates each device value stored in the PLC storage unit 32. When a first instruction value among the device values is changed, the PLC control unit 33 scans the program corresponding to the first instruction value and operates the controlled device 4 according to the program. That is, for example, the PLC control unit 33 transmits a signal to the controlled device 4 corresponding to the changed first instruction value, instructing the controlled device 4 to perform an operation, thereby operating the controlled device 4. In this way, the PLC control unit 33 controls the operation of the controlled device 4 based on the first instruction value. The first instruction value is changed by the PLC change unit 331 based on, for example, execution of the control program, a signal from an input device (e.g., a sensor), a notification from the controlled device 4, or a change instruction from the touch panel terminal 5 or the information processing device 6. On the other hand, when a second instruction value among the device values is changed, the changed second instruction value is acquired by the information processing device 6, and the information processing device 6 executes the operation corresponding to the second instruction value. At this time, the PLC control unit 33 continues to repeatedly scan the control program. The second instruction value is changed by the PLC change unit 331, for example, based on the execution of the control program or an instruction from the touch panel terminal 5. When the PLC change unit 331 receives an operation result from the information processing device 6, it changes the first instruction value and / or the second instruction value based on the result.
[0091] In this configuration, the PLC storage unit 32 stores not only the first device value of the controlled device 4 but also the second device values of the information processing device 6 and the external device 7. Therefore, the first and second device values can be changed by the PLC control unit 33 (PLC change unit 331). Furthermore, the first and second device values can be dynamically changed to corresponding first and second device value sets for each operating condition (e.g., work size) in response to changes in the operating conditions. As a result, the information processing device 6 can be operated as a read-only device (a device that executes an operating program). Furthermore, the PLC storage unit 32 stores second instruction values that cause the information processing device 6 to operate. Therefore, the PLC 3 can execute (control) the operations of the information processing device 6 (and the external device 7) simply by changing the second instruction values using the control program. In this way, when the PLC control unit 33 executes the control program (the auxiliary program), the PLC 3 functions as the brain of the controlled device 4, the information processing device 6, and the external device 7, realizing their respective interlocking.
[0092] Operation of Controlled Device During operation of the present system 1, the controlled device 4 does not operate independently, but operates based on signals from the PLC 3. The operation of the controlled device 4 (first operation) includes, for example, turning on / off the lights, switching the lights, transporting the workpiece, suctioning / releasing the workpiece, turning on / off the air release, etc. Completion of the operation of the controlled device 4 is notified to the PLC control unit 33 by a notification signal from the controlled device 4 or a detection signal from an input device (e.g., a sensor) corresponding to the controlled device 4.
[0093] Operation of Touch Panel Terminal During operation of the system 1, the TP acquisition unit 531 acquires (reads) each device value stored in the PLC storage unit 32 at a predetermined timing. Next, the TP display control unit 533 causes the TP display operation unit 54 to display the operation screen P. When the user operates the operation screen P displayed on the TP display operation unit 54, the TP control unit 53 identifies the operation content. If the operation content is an instruction to change the operation screen P, the TP display control unit 533 causes the TP display operation unit 54 to display the operation screen P corresponding to the user's operation. If the operation content is an operation to change a device value in the change operation area P2, the TP change instruction unit 532 changes the device value corresponding to the operation among the device values stored in the TP storage unit 52, and generates a signal instructing the change of the device values corresponding to the operation (first parameter value, second parameter value), and transmits the generated signal to the PLC control unit 33. The device values (first parameter value, second parameter value) are changed by the PLC change unit 331 based on the signal and are used in the subsequent operation (first operation, second operation). When the operation content is an instruction to execute an operation in the execution operation area P1, the TP change instruction unit 532 generates a signal instructing to change the device values (first instruction value, second instruction value) corresponding to the operation content and transmits the generated signal to the PLC control unit 33. The device values (first instruction value, second instruction value) are changed by the PLC change unit 331, and then the operation (first operation, second operation) of the controlled device 4 or the information processing device 6 (and the external device 7) is executed.
[0094] In the present invention, the TP display control unit 533 may update and display each device value constantly acquired by the TP acquisition unit 531 on the TP operation display unit, and the TP storage unit 52 may store each device value only temporarily (until updated). In this case, the TP change instruction unit 532 may generate a signal without changing the device value stored in the TP storage unit 52.
[0095] In this configuration, the touch panel terminal 5 acquires each device value at a predetermined timing and displays the device value in the change operation area P2 as needed, thereby accepting a user's operation to change the device value. These device values include not only the first parameter value of the controlled device 4 but also the second parameter values of the information processing device 6 and the external device 7. Therefore, the user can change the second parameter value by operating the TP display operation unit 54 without operating the PC operation unit 65. Similarly, the user can change the first parameter value of the controlled device 4 by operating the TP display operation unit 54. Therefore, the user can change the first parameter by operating the TP display operation unit 54 without operating a dedicated input device for the controlled device 4. Furthermore, the touch panel terminal 5 displays the execution operation area P1 on the TP display operation unit 54, thereby accepting a user's instruction to execute operations on the manufacturing apparatus 2, the controlled device 4, the information processing device 6, and the external device 7. Therefore, the user can instruct the manufacturing apparatus 2, the controlled device 4, the information processing device 6, and the external device 7 to execute an operation simply by selecting the execution operation area P1 displayed on the TP display operation unit 54. In this way, in the present system 1, the UI functions for changing the parameter values of the manufacturing apparatus 2, the controlled device 4, the information processing device 6, and the external device 7 and for instructing the execution of an operation are consolidated in the touch panel terminal 5 (TP display operation unit 54).
[0096] Operation of External Device During operation of the present system 1, the external device 7 does not operate independently, but is linked to the operation of the information processing device 6. The operating conditions and setting values of the external device 7 are stored as second parameter values in the PLC storage unit 32 and the PC storage unit 62. The external device 7 transmits information generated in the course of its operation to the information processing device 6.
[0097] Operation of Information Processing Device Next, the operation of the information processing device 6 (part of the present method) will be described below.
[0098] FIG. 12 is a flowchart showing an example of the operation of the information processing device 6.
[0099] During operation of the system 1, the PC acquisition unit 631 acquires (reads) the second device values stored in the PLC storage unit 32 at predetermined time intervals (S1: device value acquisition step / processing). The acquired second device values are stored (overwritten) in the PC storage unit 62. At this time, if the second parameter values have been changed before and after storage, the change in the second parameter values is also reflected in the information processing device 6.
[0100] Next, the PC determination unit 632 determines whether or not the second instruction value included in the acquired second device value has been changed (S2: instruction value determination step / process).
[0101] If the second indication value has not been changed ("N" in S2), the operation of the information processing device 6 returns to step S1.
[0102] On the other hand, if the second instruction value has been changed ("Y" in S2), the PC operation control unit 633 selects an operation program based on the second instruction value (S3: operation program selection step / process). Specifically, for example, the PC operation control unit 633 uses the second instruction value and the PLC address information corresponding to the second instruction value to refer to the second correspondence information C2 stored in the PC storage unit 62 and identify the operation program ID corresponding to the second instruction value. Next, the PC operation control unit 633 selects the operation program corresponding to the identified operation program ID. In other words, the PC operation control unit 633 selects the operation program corresponding to the second instruction value from among the multiple operation programs based on the second instruction value included in the acquired second device value and the second correspondence information C2.
[0103] Next, the PC operation control unit 633 controls the operation of the information processing device 6 by executing the selected operation program (S4: operation control step / processing). At this time, the information processing device 6 operates based on the operation program selected from among the multiple operation programs. In other words, the PC operation control unit 633 controls the operation of the information processing device 6 that corresponds to the selected operation program. At this time, the information processing device 6 operates based on the second parameter value stored in the PC storage unit 62.
[0104] Next, the PC determination unit 632 determines whether or not the currently executed operation program requires an instruction to the external device 7 to execute an operation (S5: operation instruction determination step / process).
[0105] When it is necessary to instruct the external device 7 to perform an operation ("Y" in S5), the PC operation control unit 633 controls the operation of the external device 7 (S6: external device operation control step / process). Specifically, for example, the PC operation control unit 633 generates a control signal instructing the operation of the external device 7 and transmits the generated control signal to the external device 7. In this way, the PC operation control unit 633 controls the operation of the external device 7 through the operation of the operation program. In other words, the PC operation control unit 633 controls the operation of the external device 7 as part of the operation of the information processing device 6 (i.e., the second operation). In other words, the second operation includes the operation of the external device 7. At this time, the external device 7 operates based on the second parameter value stored in the PC storage unit 62 (acquired by the PC acquisition unit 631). The second parameter is acquired by the external device 7, for example, via a control signal. When information generated during the operation is available, the external device 7 transmits the information to the information processing device 6.
[0106] On the other hand, when it is not necessary to instruct the external device 7 to execute an operation ("N" in S5), the operation of the information processing device 6 proceeds to processing S7, which will be described later.
[0107] Next, the PC determination unit 632 determines whether or not an instruction to execute an operation of the controlled device 4 is necessary as a result of the operation of the information processing device 6 (S7). That is, for example, the PC determination unit 632 determines whether or not an instruction to execute an operation of the controlled device 4 is necessary in the operation program.
[0108] When an instruction to execute an operation on the controlled device 4 is necessary ("Y" in S7), the PC operation instruction unit 634 instructs the PLC 3 to execute the operation of the controlled device 4 (S8: operation instruction step / process). In this embodiment, the PC operation instruction unit 634 does not directly instruct the PLC 3 to change the first instruction value, but rather instructs the PLC 3 to change the second instruction value, and the change in the second instruction value triggers the PLC change unit 331 (control program) to change the first instruction value. That is, the PC operation instruction unit 634 indirectly instructs the PLC 3 to change the first instruction value. Specifically, for example, the PC operation instruction unit 634 references the first correspondence information C1 using an operation ID corresponding to the operation of the controlled device 4 to acquire PLC address information in which the second instruction value to be changed to change the first instruction value is stored, and the second instruction value. Next, the PC operation instruction unit 634 generates a signal instructing the PLC 3 to change the second instruction value based on the acquired PLC address information and second instruction value, and transmits the generated signal to the PLC control unit 33. The PLC change unit 331 changes the corresponding second instruction value based on the signal. Next, the PLC change unit 331 (control program) executes the operation of the controlled device 4 corresponding to the first instruction value based on the changed second instruction value. As a result, the PLC control unit 33 controls the operation of the controlled device 4 corresponding to the changed first instruction value. In this way, by the PC operation instruction unit 634 indirectly instructing the change of the first instruction value, this method can include processing required for safety, such as processing to release an interlock, between the processing to instruct the execution of the operation of the controlled device 4 and the processing to execute the operation of the controlled device 4.
[0109] In the present invention, the PC operation instruction unit 634 may directly instruct a change in the first instruction value. That is, for example, the PC operation control unit 633 may generate a signal instructing a change in the first instruction value corresponding to the controlled device 4 and transmit the generated signal to the PLC control unit 33. In this case, the first correspondence information C1 stores PLC address information in which the first instruction value corresponding to the operation of the controlled device 4 is stored.
[0110] On the other hand, when an instruction to execute the operation of the controlled device 4 is not required ("N" in S7), the operation of the information processing device 6 proceeds to processing S9, which will be described later.
[0111] Next, the PC operation control unit 633 determines whether the operation program has ended (S9).
[0112] When the operation program ends ("Y" in S9), the PC control unit 63 transmits the result of the operation to the PLC control unit 33 (S10). Specifically, for example, the PC control unit 63 generates a signal including the result of the operation and transmits the generated signal to the PLC control unit 33. The signal includes an instruction to change a device value corresponding to the end of the operation (e.g., an instruction to restore the second device value determined to have been changed in process S2), and, if necessary, a device value indicating the result of the operation (e.g., a value indicating some determination result, an instruction to execute an operation of the controlled device 4, etc.).
[0113] On the other hand, if the operation program has not ended ("N" at S9), the operation of the information processing device 6 returns to step S5.
[0114] In this way, the information processing device 6 acquires the second instruction value stored in the PLC storage unit 32 at predetermined time intervals, selects and executes an operation program corresponding to the changed second instruction value, and transmits the result to the PLC 3. The information processing device 6 also controls the operation of the external device 7 corresponding to the operation program and receives the result. In this configuration, the PLC 3 can control the operation of the information processing device 6 and the external device 7, similar to the controlled device 4, simply by changing the device value (second instruction value) using the control program. As a result, the PLC 3 can perform complex operations and information processing (e.g., image processing, switching between multiple image processing modes, performing multiple different determination processes, detecting and reporting abnormalities, sending emails, etc.) that cannot be performed by the PLC 3 and the controlled device 4, through the operation of the information processing device 6 and the external device 7. In other words, in this system 1, the PLC 3 can realize functions that can be performed by the information processing device 6, which is a PC, by changing the second instruction value.
[0115] Furthermore, the information processing device 6 acquires the second device values stored in the PLC storage unit 32 at predetermined time intervals, and changes the second device values stored in the PLC storage unit 32 as needed. With this configuration, it is no longer necessary to separate the data register memory area of the PLC storage unit 32 into a write area and a read area, and both areas can be shared.
[0116] Furthermore, by including information input from an input device connected to PLC 3 in the information (second device value) acquired by information processing device 6, information processing device 6 can acquire this information at predetermined time intervals, generate graphs of manufacturing data, etc., and display the generated graphs on PC display unit 64.
[0117] Furthermore, the information processing device 6 is connected to the PLC 3 via a PC communication unit 61, which is a known communication interface. Therefore, the information processing device 6 can be easily connected to PLCs made by different manufacturers. Therefore, by connecting the information processing device 6 to any manufacturing device equipped with a PLC, various functions can be easily added.
[0118] Furthermore, in the operation of the operation program, the information processing device 6 can control the operation of the controlled device 4 by transmitting a control signal indicating a change in the first instruction value to the PLC 3. As a result, the information processing device 6 can execute more complex operations in cooperation with the controlled device 4 and the external device 7.
[0119] Furthermore, the specifications of the PC constituting the information processing device 6 can be freely selected depending on the number of functions to be realized by the information processing device 6 and the magnitude of the processing load in each process.
[0120] In this way, by connecting the information processing device 6 to the PLC 3 and storing the second device values required for the operation of the information processing device 6 in the PLC storage unit 32, the degree of freedom in selecting functions that can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is improved. Furthermore, by connecting the external device 7 to the information processing device 6 and storing the second device values required for the operation of the external device 7 in the PLC storage unit 32, the operation of the external device 7 is executed as part of the operation of the information processing device 6, and the degree of freedom in selecting functions that can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is further improved.
[0121] In the present invention, the operation of the information processing device 6 is not limited to the flow shown in FIG.
[0122] ●Operation between each element constituting this system Next, an example of the operation between each element constituting this system 1 (manufacturing equipment 2, PLC 3, controlled equipment 4, touch panel terminal 5, information processing device 6, and external equipment 7) (i.e., this method) is described below.
[0123] In the following description, the controlled device 4a is a servo controller for a servo motor, and the controlled device 4b is a light source. The external devices 7a and 7b are imaging devices that capture images of the manufacturing device 2 or related items (described later) and generate captured images. An example of a flow in which the PLC 3, the controlled devices 4a and 4b, the information processing device 6, and the external devices 7a and 7b work together as a result of the user operating the execution operation area P1 displayed on the TP display operation unit 54 will be described below.
[0124] The "related items" are items related to the manufacturing apparatus 2. The related items include, for example, the components that make up the manufacturing apparatus 2, the workpieces handled by the manufacturing apparatus 2, and the controlled devices 4.
[0125] FIG. 13 is a sequence diagram showing an example of the operation between the elements in the system 1.
[0126] As described above, during operation of the system 1, the PC acquisition unit 631 of the information processing device 6 acquires the second device value stored in the PLC storage unit 32 at predetermined time intervals (S601: device value acquisition step / process). At this time, the PC determination unit 632 determines whether the second instruction value has changed each time the second device value is acquired (S602: instruction value determination step / process). If the second instruction value has changed, the PC operation control unit 633 selects and executes an operation program based on the changed second instruction value (S603: operation execution step / process). As a result, the information processing device 6 operates based on the operation program. In this example, the operation program sequentially includes instructions for the operation of the external device 7a, the operation of the controlled device 4b, the operation of the external device 7b, and the execution of image processing.
[0127] When a user operates the execution operation area P1 displayed on the operation screen P of the TP display operation unit 54, the TP control unit 53 identifies the operation content corresponding to the operated execution operation area P1 (in this example, an instruction to operate the controlled device 4a) (S501). Next, the TP change instruction unit 532 sends a signal to the PLC 3 instructing it to change the device value (first instruction value) corresponding to the operation content (S502).
[0128] The PLC change unit 331 changes the first instruction value to be changed based on the received signal (content of instruction) (S301: first instruction value change step / processing). Next, the PLC control unit 33 transmits a signal instructing the controlled device 4a corresponding to the changed first instruction value to execute an operation based on the changed first instruction value and the control program (S302), thereby causing the controlled device 4a to execute the operation.
[0129] The controlled device 4a operates based on the received signal (S401: for example, moving a stage). When the operation of the controlled device 4a is completed, the controlled device 4a or an input device (for example, a photoelectric sensor) that detects the operation of the controlled device 4a transmits a signal indicating the completion of the operation to the PLC 3 (S402).
[0130] The PLC change unit 331 changes the second instruction value stored in the PLC storage unit 32 based on the received signal (S303: second instruction value change step / process). The change in the second instruction value in S303 is based on the operation on the TP operation display unit 54 in S501. In other words, in this example, the operation on the TP operation display unit 54 in S501 includes an indirect instruction to change the second instruction value, and the PLC change unit 331 changes the second instruction value based on the operation on the TP operation display unit 54 in S501. Next, the second device value including the changed second instruction value is acquired by the PC acquisition unit 631 at a predetermined timing (S604: device value acquisition step / process). Next, the PC determination unit 632 determines that the second instruction value has been changed (S605: instruction value determination step / process), and the PC operation control unit 633 executes the operation program based on the changed second instruction value (S606: execution operation step / process). As a result, the information processing device 6 operates based on the operation program. In this example, the operation program includes instructions for operation (image capture) to the external devices 7a and 7b.
[0131] The PC operation control unit 633 transmits a signal to the external device 7a instructing the external device 7a to execute an operation (S607). The external device 7a captures an image of a subject (e.g., a workpiece) based on the received signal (S701), and transmits the captured image to the information processing device 6 (S702).
[0132] When the information processing device 6 receives the captured image, the PC operation instruction unit 634 identifies the operation to be instructed to the controlled device 4b based on the operation program, and transmits a signal to the PLC 3 instructing the controlled device 4b to change the second device value based on the first correspondence information C1 (S608: device value change instruction step / process). In other words, the PC operation instruction unit 634 instructs the PLC 3 to execute the operation of the controlled device 4 based on the results of the operations of the information processing device 6 and the external device 7a. The captured image is stored in the PC storage unit 62. At this time, the information processing device 6 waits until a device value indicating completion of the operation of the controlled device 4b is acquired.
[0133] The information processing device 6 may wait until a predetermined time has elapsed instead of acquiring a device value indicating the completion of the operation.
[0134] The PLC change unit 331 changes the second instruction value to be changed based on the received signal, and changes the first instruction value based on the change in the second instruction value (S304: first instruction value change step / processing). Next, the PLC control unit 33 transmits a signal instructing the controlled device 4b corresponding to the changed first instruction value to execute an operation (S305).
[0135] The controlled device 4b operates based on the received signal (S403: for example, turning on a light). When the operation of the controlled device 4b is completed, the controlled device 4b or an input device (for example, a photoelectric sensor) that detects the operation of the controlled device 4b transmits a signal indicating the end of the operation to the PLC 3 (S404).
[0136] Based on the received signal, the PLC control unit 33 changes the device value (second instruction value) indicating the end of the operation of the controlled device 4b (S306: second instruction value change step / process). The second device value, including the changed device value, is then acquired by the PC acquisition unit 631 at a predetermined timing (S608: device value acquisition step / process). The PC determination unit 632 then determines that the second instruction value has been changed (S610: instruction value determination step / process), and the PC operation control unit 633 transmits a signal to the external device 7b instructing the external device 7b to execute the operation of the external device 7b based on the changed second instruction value (S611: operation execution step / process). The external device 7b then captures an image of the subject (e.g., a workpiece) based on the control signal (S703) and transmits the captured image to the information processing device 6 (S704).
[0137] When the information processing device 6 receives the captured images, the PC operation control unit 633 executes information processing (e.g., image processing) using the two captured images (i.e., external information) based on the operation program (S612: operation execution step / processing). At this time, the device values (second device values) stored in the PLC storage unit 32 are reflected in some or all of the various parameter values (e.g., binarization threshold, perspective projection transformation matrix, etc.) used in the information processing. The operation program then ends. Next, the PC operation instruction unit 634 transmits a signal to the PLC 3 notifying the end of the operation (S613).
[0138] The PLC change unit 331 changes the device value indicating the end of the series of operations based on the received signal (S307). The changed device value is acquired by the TP acquisition unit 531 at a predetermined timing (S503), and the TP display control unit 533 displays the end of the operations on the operation screen P (S504).
[0139] It should be noted that, in the present invention, the operation of the present system 1 is not limited to the operation shown in Fig. 13 . That is, for example, in the present system 1, only the touch panel terminal 5, the PLC 3, and the information processing device 6 may be linked together (for example, sending emails, taking screenshots, etc.). Also, for example, in the present system 1, only the touch panel terminal 5, the PLC 3, the information processing device 6, and the external device 7 may be linked together (for example, taking captured images, switching displayed images, etc.). Also, for example, in the present system 1, the information processing device 6 may not indirectly instruct a change in the first indicated value during or at the end of an operation.
[0140] In the present invention, the information processing device 6 (PC control unit 63) may execute one operation program and then execute another operation program.
[0141] Furthermore, in the present invention, the information processing device 6 may terminate the operation program before step S608 and may also transmit a signal notifying the termination in step S608 to the PLC 3. Then, after acquiring the second instruction value changed in step S609, the PC operation control unit 633 may select an operation program based on the second instruction value and execute the selected operation program.
[0142] Summary According to the embodiment described above, the system 1 includes a PLC 3, a controlled device 4, and an information processing device 6. The PLC 3 includes a PLC control unit 33 and a PLC storage unit 32. The PLC storage unit 32 stores a plurality of first device values used to control the operation of the controlled device 4 and a plurality of second device values used to control the operation of the information processing device 6. The information processing device 6 includes a PC acquisition unit 631, a PC determination unit 632, and a PC operation control unit 633. The PC acquisition unit 631 acquires the second device values stored in the PLC storage unit 32 at predetermined time intervals. After acquiring the second device values, the PC determination unit 632 determines whether the second instruction value included in the acquired second device values has changed. After acquiring the second device values, the PC operation control unit 633 controls, among the operations of the information processing device 6, an operation (second operation) corresponding to the second instruction value included in the acquired second device values. According to this configuration, the information processing device 6 can automatically recognize a change in the second instruction value stored in the PLC storage unit 32 and automatically execute an operation (second operation) corresponding to the second instruction value. As a result, in the present system 1, any function that can be realized by the information processing device 6 can be realized by control of the PLC 3 and can be added to the manufacturing apparatus 2. In other words, the degree of freedom in selecting functions that can be realized by the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is improved.
[0143] Furthermore, according to the embodiment described above, the information processing device 6 includes a PC operation instruction unit 634 that instructs the PLC 3 to execute an operation of the controlled device 4 based on the result of the operation of the information processing device 6. The PLC change unit 331 changes the first instruction value corresponding to the operation of the controlled device 4 based on the instruction from the PC operation instruction unit 634. With this configuration, the information processing device 6 can execute all operations (operations of the controlled device 4) that can be executed by the PLC 3 in conjunction with its own operation. In other words, the present system 1 can execute more complex operations by interlocking the controlled device 4 and the information processing device 6. As a result, the options for functions that can be implemented by the information processing device 6 are increased. Therefore, the degree of freedom in selecting functions that can be implemented in the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is further improved.
[0144] Furthermore, according to the embodiment described above, the information processing device 6 can execute a plurality of different operations. Each of the plurality of second instruction values corresponds to a respective one of the plurality of operations of the information processing device 6. The PLC control unit 33 changes the second instruction value stored in the PLC storage unit 32 based on the operation corresponding to the first instruction value. With this configuration, the present system 1 can execute even more complex operations by interlocking the information processing device 6 and the controlled device 4. As a result, the options for functions that can be implemented by the information processing device 6 are further increased. Therefore, the degree of freedom in selecting functions that can be implemented by the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is further improved.
[0145] Furthermore, according to the embodiment described above, the multiple first device values include multiple first instruction values, and each of the first instruction values corresponds to a respective operation of the controlled device 4. The information processing device 6 includes a PC storage unit 62. The PC storage unit 62 stores first correspondence information C1 indicating the correspondence between each operation of the controlled device 4 and each instruction content. The PC operation instruction unit 634 instructs the PLC 3 to execute an operation of the controlled device 4 based on the result of the operation of the information processing device 6 and the first correspondence information C1. According to this configuration, the information processing device 6 can select and execute an operation of the controlled device 4 simply by storing the first correspondence information.
[0146] Furthermore, according to the embodiment described above, the multiple second device values include multiple second instruction values, each corresponding to a respective operation of the information processing device 6 (and the external device 7). The PC storage unit 62 stores operation programs corresponding to each of the multiple operations and second correspondence information C2 indicating the correspondence between each of the second instruction values and each of the operation programs. The PC operation control unit 633 selects an operation program corresponding to the second instruction value from among the multiple operation programs based on the changed second instruction value and the second correspondence information C2, and executes the selected operation program to control the operation of the information processing device 6. According to this configuration, the information processing device 6 can select and execute multiple operation programs in accordance with each of the multiple second instruction values. In this case, by storing an operation program corresponding to a desired function in the PC storage unit 62, the function can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3.
[0147] Furthermore, according to the embodiment described above, the system 1 includes an external device 7 connected to the information processing device 6. The PC operation control unit 633 controls the operation of the external device 7 as an operation (second operation) corresponding to the second instruction value. With this configuration, the information processing device 6 can execute more complex operations using the external device 7. Furthermore, by controlling the operation of the external device 7 corresponding to a desired function, the same function can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3.
[0148] Furthermore, according to the embodiment described above, the PC operation control unit 633 executes an operation such as image processing as an operation corresponding to the second instruction value using external information (e.g., a captured image) acquired from the external device 7 (e.g., an imaging device). This configuration further improves the degree of freedom in the functions that can be realized in the information processing device 6. Therefore, the degree of freedom in selecting the functions that can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3 further improves.
[0149] Furthermore, according to the embodiment described above, the plurality of second device values include parameter values used in the operation of the external device 7. According to this configuration, the parameter values used in the operation of the external device 7 can be changed by the control program of the PLC 3.
[0150] Furthermore, according to the embodiment described above, the system 1 includes a touch panel terminal 5 connected to the PLC 3 and configured to accept user operations. The touch panel terminal 5 includes a TP acquisition unit 531, a TP display / operation unit 54, and a TP change instruction unit 532. The TP acquisition unit 531 acquires second device values stored in the PLC storage unit 32 at predetermined times. The TP display / operation unit 54 displays the acquired second device values. The TP change instruction unit 532 instructs a change to the second device values stored in the PLC storage unit 32 based on a user operation on the second device values displayed on the TP display / operation unit 54. The PLC change unit 331 changes the second device values corresponding to the instruction based on the instruction from the TP change instruction unit 532. With this configuration, the user can check the parameter values of the information processing device 6 and the external device 7 by displaying the second device values on the TP display / operation unit 54, and can easily change the parameter values by changing the second device values. In this way, the user can dynamically change the parameter values of the information processing device 6 and the external device 7 by operating the TP display operation unit 54 of the touch panel terminal 5 without operating the PC operation unit 65 of the information processing device 6.
[0151] Furthermore, according to the embodiment described above, the TP display / operation unit 54 displays the execution operation area P1 that is operated by the user to start the operation of the information processing device 6. The TP change instruction unit 532 instructs the PLC storage unit 32 to change the second instruction value stored therein, based on the user's operation on the execution operation area P1 displayed on the TP display / operation unit 54. The PLC change unit 331 changes the second instruction value corresponding to the instruction from the TP change instruction unit 532. With this configuration, the user can instruct the information processing device 6 and the external device 7 to execute an operation simply by selecting the execution operation area P1 displayed on the operation screen P of the TP display / operation unit 54. In this way, in the present system 1, the UIs for changing the parameter values of the information processing device 6 and the external device 7 and for instructing the operations are integrated into the touch panel terminal 5 (TP display / operation unit 54).
[0152] Furthermore, according to the embodiment described above, the information processing device 6 is configured by a PC including a CPU 63a that functions as a PC acquisition unit 631, a PC determination unit 632, and a PC operation control unit 633. With this configuration, the specifications of the PC that constitutes the information processing device 6 can be freely selected depending on the number of functions to be realized by the information processing device 6 and the magnitude of the processing load in each process.
[0153] Furthermore, according to the embodiment described above, the method executed by the system 1 includes a device value acquisition step, an instruction value determination step, and an operation control step. With this configuration, the information processing device 6 in the system 1 can automatically recognize a change in the second instruction value stored in the PLC storage unit 32 and automatically execute an operation (second operation) corresponding to the second instruction value. As a result, in the system 1, any function that can be realized by the information processing device 6 can be realized by control of the PLC 3 and can be added to the manufacturing apparatus 2. In other words, the degree of freedom in selecting functions that can be realized by the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is improved.
[0154] Furthermore, according to the embodiment described above, the cooperation program executed by the information processing device 6 causes the CPU 63a to execute a device value acquisition process, an instruction value determination process, and an operation control process. With this configuration, in the present system 1, the information processing device 6 can automatically recognize a change in the second instruction value stored in the PLC storage unit 32 and automatically execute an operation (second operation) corresponding to the second instruction value. As a result, in the present system 1, any function that can be realized by the information processing device 6 can be realized by control of the PLC 3 and can be added to the manufacturing apparatus 2. In other words, the degree of freedom in selecting functions that can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is improved.
[0155] Furthermore, according to the embodiment described above, the auxiliary program executed by the PLC 3 causes the PLC control unit 33 to execute the second instruction value change process and the first instruction value change process. With this configuration, in the system 1, the controlled device 4 and the information processing device 6 can be linked via the PLC 3. As a result, in the system 1, any function that can be realized by the information processing device 6 can be realized by control of the PLC 3 and can be added to the manufacturing apparatus 2. In other words, the degree of freedom in selecting functions that can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is improved.
[0156] Other Embodiments In the present invention, the system 1 does not necessarily have to include the touch panel terminal 5. In this case, a separate input device is required for inputting device values (for example, the PC operation unit 65 for second device values), but any function that can be realized by the information processing device 6 can be realized in the control of the PLC 3.
[0157] Furthermore, in the present invention, the system 1 does not need to include the external device 7. Even in this case, any function that can be realized by the information processing device 6 can be realized under the control of the PLC 3 and can be added to the manufacturing device 2.
[0158] Furthermore, in the present invention, the number of external devices 7 included in the present system 1 is not limited to a plurality of devices, and may be "1".
[0159] Furthermore, in the present invention, the number of PLCs 3 included in the manufacturing apparatus 2 is not limited to "1". That is, for example, the manufacturing apparatus 2 may include a plurality of PLCs 3. In this case, the manufacturers of the PLCs 3 may be the same or different.
[0160] Furthermore, in the present invention, the number of controlled devices 4 included in the manufacturing apparatus 2 is not limited to a plurality of devices, and may be "1."
[0161] Furthermore, in the present invention, the controlled device 4 may be any device whose operation can be controlled by a general PLC, and is not limited to the description of this embodiment.
[0162] Furthermore, in the present invention, the external device 7 is not limited to a digital camera as long as it is connected to a PC and can be controlled by an operating program running on the PC. That is, for example, the external device 7 may be a sensor that acquires sensor information related to the manufacturing apparatus 2 or an item related to the manufacturing apparatus 2 (e.g., a robot arm, a workpiece, etc.).
[0163] Furthermore, in the present invention, the touch panel terminal 5 is not limited to a touch panel PC as long as it includes a touch panel and a processor that functions as at least the TP acquisition unit 531 and the TP change instruction unit 532.
[0164] Furthermore, in the present invention, the PC control unit 63 only needs to function as at least the PC acquisition unit 631, the PC determination unit 632, and the PC operation control unit 633, and does not necessarily need to function as the PC operation instruction unit 634. That is, for example, the PC control unit 63 may transmit only the operation result to the PLC 3 without changing the first instruction value. Even in this configuration, the operation of the information processing device 6 is controlled by the PLC 3, and the degree of freedom in selecting functions that can be realized in the manufacturing apparatus 2 whose operation is controlled by the PLC 3 is improved.
[0165] Furthermore, in the present invention, the system 1 may include a plurality of information processing devices 6 .
[0166] Furthermore, in the present invention, the collaboration program and the collaboration auxiliary program may be stored in an installable file format or an executable file format on a non-temporary storage medium (e.g., a CD (Compact Disk), a DVD (Digital Versatile Disc), a USB (Universal Serial Bus) memory, etc.), and may be provided to the PLC 3 and the information processing device 6 via a device that can acquire (read) these programs.
[0167] Embodiments of the Present Invention Next, embodiments of the present invention that can be understood from the above-described embodiments will be described below, using the terms and symbols used in the embodiments.
[0168] A first embodiment of the present invention includes a controlled device (e.g., controlled device 4) provided in a manufacturing device (e.g., manufacturing device 2), a PLC (e.g., PLC 3) that controls a first operation of the controlled device, and an information processing device (e.g., information processing device 6) that is connected to the PLC via a communication network line and works in conjunction with the PLC, wherein the PLC includes a PLC control unit (e.g., PLC control unit 33) that controls the first operation, and a PLC memory unit (e.g., PLC memory unit 32) that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, and the plurality of first device values are used to execute the first operation. The information processing device includes a device value acquisition unit (e.g., PC acquisition unit 631) that acquires the second device values stored in the PLC storage unit at predetermined time intervals, a determination unit (e.g., PC determination unit 632) that determines whether the second instruction value included in the acquired second device value has been changed after the second device value is acquired, and an operation control unit (e.g., PC operation control unit 633) that controls the second operation corresponding to the changed second instruction value when the second instruction value is changed. This configuration improves the flexibility of selection of functions that can be implemented in a manufacturing apparatus whose operation is controlled by a PLC.
[0169] A second embodiment of the present invention is a linkage system in which the information processing device in the first embodiment includes an operation instruction unit (e.g., PC operation instruction unit 634) that instructs the PLC to execute the first operation of the controlled device based on the result of the second operation, and the PLC control unit changes the first instruction value corresponding to the first operation stored in the PLC memory unit based on an instruction from the operation instruction unit. With this configuration, the information processing device and the controlled device work together, allowing the system to execute more complex operations. As a result, the number of options for functions that can be realized in the system is increased.
[0170] A third aspect of the present invention is a collaboration system according to the second aspect, wherein the information processing device is capable of executing a plurality of different second operations, the plurality of second device values include a plurality of second instruction values, each of the plurality of second instruction values corresponding to a respective one of the plurality of second operations, and the PLC control unit changes one of the plurality of second instruction values stored in the PLC storage unit based on a result of the first operation corresponding to the instruction. With this configuration, the number of options for functions that can be realized in this system is further increased.
[0171] A fourth embodiment of the present invention is a linkage system according to the second embodiment, wherein the controlled device is capable of executing a plurality of different first operations, the plurality of first device values include a plurality of first instruction values, each of which corresponds to a respective one of the first operations, the information processing device includes a storage unit (e.g., a PC storage unit 62) that stores first correspondence information (e.g., first correspondence information C1) indicating a correspondence between each of the first operations and each of the instruction contents, and the operation instruction unit instructs the PLC to execute the first operation of the controlled device based on the result of the second operation and the first correspondence information. With this configuration, the controlled device links with the information processing device, further increasing the options for functions that can be realized in this system.
[0172] A fifth aspect of the present invention is a collaboration system in which, in the first aspect, the information processing device is capable of executing a plurality of different second operations, the plurality of second device values include a plurality of second instruction values, each of which corresponds to a respective one of the second operations, the information processing device includes a storage unit that stores operation programs corresponding to each of the second operations and second correspondence information (e.g., second correspondence information C2) indicating a correspondence between each of the second instruction values and each of the operation programs, and the operation control unit selects the operation program corresponding to the second instruction value from among the plurality of operation programs based on the changed second instruction value and the second correspondence information, and executes the selected operation program to control the second operation. According to this configuration, the information processing device can select and execute a plurality of operation programs in accordance with each of the second instruction values.
[0173] A sixth embodiment of the present invention is a linkage system in which the first embodiment includes an external device (e.g., external device 7) different from the controlled device, and the operation control unit controls the operation of the external device as the second operation. According to this configuration, by controlling the operation of the external device corresponding to a desired function, a desired function can be realized in a manufacturing apparatus whose operation is controlled by a PLC.
[0174] A seventh aspect of the present invention is a linkage system according to the first aspect, further comprising an external device different from the controlled device, and the operation control unit executes the second operation using external information acquired from the external device. With this configuration, the degree of freedom in selecting functions that can be realized in the information processing device is further improved.
[0175] An eighth aspect of the present invention is the linkage system of the sixth or seventh aspect, wherein the plurality of second device values include parameter values used in the operation of the external device. According to this configuration, the parameter values used in the operation of the external device can be changed by a control program of the PLC.
[0176] A ninth aspect of the present invention is a collaboration system according to any one of the first to eighth aspects, further comprising a touch panel terminal (e.g., touch panel terminal 5) connected to the PLC and configured to accept user operations, the touch panel terminal including: a TP acquisition unit (e.g., TP acquisition unit 531) that acquires the second device value stored in the PLC storage unit; a TP display unit (e.g., TP display / operation unit 54) that displays the acquired second device value; and a TP change instruction unit (e.g., TP change instruction unit 532) that instructs a change to the second device value stored in the PLC storage unit based on the user's operation on the second device value displayed on the TP display unit, wherein the PLC control unit changes the second device value stored in the PLC storage unit corresponding to the instruction based on an instruction from the TP change instruction unit. With this configuration, a user can change parameter values of the information processing device and external devices by operating the TP display / operation unit of the touch panel terminal without operating the information processing device.
[0177] A tenth aspect of the present invention is a linkage system in which, in the ninth aspect, the TP display unit displays an operation area (e.g., an execution operation area P1, a change operation area P2) that the user operates to change the second instruction value, the TP change instruction unit instructs the user to change the second instruction value stored in the PLC memory unit based on the user's operation on the operation area displayed on the TP display unit, and the PLC control unit changes the second instruction value stored in the PLC memory unit corresponding to the instruction based on the instruction from the TP change instruction unit. According to this configuration, UIs for parameter value change operations and operation instructions for the information processing device and external devices are integrated into a touch panel terminal.
[0178] An eleventh aspect of the present invention is a linkage system in which the information processing device in the first aspect is configured by a computer including a processor (e.g., a CPU 63 a) that functions as the device value acquisition unit, the determination unit, and the operation control unit. According to this configuration, the specifications of the PC that configures the information processing device can be freely selected.
[0179] A twelfth embodiment of the present invention is a coordination method executed by a coordination system including a controlled device provided in a manufacturing apparatus, a PLC that controls a first operation of the controlled device, and an information processing device that is connected to the PLC via a communication network line and works in conjunction with the PLC, wherein the PLC includes a PLC control unit that controls the first operation, and a PLC storage unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, wherein the plurality of first device values include one or more first instruction values that cause the first operation to be executed, and the plurality of second device values are The method includes a device value acquisition step (e.g., device value acquisition step: S1) of acquiring, at predetermined time intervals, second device values including one or more second instruction values for executing the second operation and stored in the PLC storage unit, an instruction value determination step (e.g., instruction value determination step: S2) of determining whether the second instruction value included in the acquired second device value has been changed after the second device value is acquired, and an operation control step (e.g., operation control step: S4) of controlling, when the second instruction value is changed, the second operation corresponding to the changed second instruction value. This configuration improves the degree of freedom in selecting functions that can be implemented in a manufacturing apparatus whose operation is controlled by a PLC.
[0180] A thirteenth embodiment of the present invention is a linkage program (for example, this program) that is connected via a communication network line to a PLC that controls a first operation of a controlled device provided in a manufacturing apparatus and is executed by an information processing device that links with the PLC, and the PLC is provided with a PLC storage unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, and the plurality of second device values include one or more second instruction values that cause the second operation to be executed, and the information processing device is provided with a processor (for example, a CPU 63 a program for causing the processor to execute an acquisition process (e.g., a device value acquisition step: S1) of acquiring the second device value stored in the PLC storage unit at predetermined time intervals, an instruction value determination process (e.g., an instruction value determination step: S2) of determining whether the second instruction value included in the acquired second device value has been changed after the second device value has been acquired, and an operation control process (e.g., an operation control step: S4) of controlling, when the second instruction value is changed, the second operation corresponding to the changed second instruction value. This configuration improves the degree of freedom in selecting functions that can be implemented in a manufacturing apparatus whose operation is controlled by a PLC.
[0181] A fourteenth aspect of the present invention is an auxiliary program (for example, this auxiliary program) that controls a first operation of a controlled device provided in a manufacturing apparatus, and is connected to an information processing device via a communication network line and executed by a PLC interlocking with the information processing device, wherein the PLC includes a PLC control unit that controls the first operation, and a PLC storage unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, and the plurality of first device values are used to execute the first operation. The auxiliary program includes one or more first instruction values, and the plurality of second device values include one or more second instruction values for executing the second operation, and causes the PLC control unit to execute a second instruction value change process (e.g., a second instruction value change step: S303) for changing the second instruction value corresponding to the second operation in order to cause the information processing device to execute the second operation, and a first instruction value change process (e.g., first instruction value change steps: S301, S304) for changing the first instruction value corresponding to an instruction from the information processing device that executed the second operation. This configuration improves the degree of freedom in selecting functions that can be realized in a manufacturing device whose operation is controlled by a PLC.
[0182] REFERENCE SIGNS LIST 1 Linkage system 2 Manufacturing equipment 3 PLC 32 PLC storage unit 33 PLC control unit 4 Controlled device 5 Touch panel terminal 531 TP acquisition unit 532 TP change instruction unit 54 TP display operation unit (TP display unit) 6 Information processing device 62 PC storage unit (storage unit) 631 PC acquisition unit (device value acquisition unit) 632 PC determination unit (determination unit) 633 PC operation control unit (operation control unit) 634 PC operation instruction unit (operation instruction unit) C1 First correspondence relationship information C2 Second correspondence relationship information P1 Execution operation area (operation area)
Claims
1. A linkage system comprising: a controlled device provided in a manufacturing apparatus; a PLC controlling a first operation of the controlled device; and an information processing device connected to the PLC via a communication network line and interlocking with the PLC, wherein the PLC comprises: a PLC control unit controlling the first operation; and a PLC memory unit storing a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, wherein the plurality of first device values include one or more first instruction values for executing the first operation, and the plurality of second device values include one or more second instruction values for executing the second operation, and the information processing device comprises: a device value acquisition unit acquiring the second device values stored in the PLC memory unit at a predetermined time interval; a determination unit determining whether the second instruction value included in the acquired second device value has been changed after the second device value has been acquired; and an operation control unit controlling, when the second instruction value is changed, the second operation of the second operations corresponding to the changed second instruction value.
2. The coordination system described in claim 1, wherein the information processing device is provided with an operation instruction unit that instructs the PLC to execute the first operation of the controlled device based on the result of the second operation, and the PLC control unit changes the first instruction value corresponding to the first operation stored in the PLC memory unit based on an instruction from the operation instruction unit.
3. The collaborative system described in claim 2, wherein the information processing device is capable of executing a plurality of different second operations, the plurality of second device values include a plurality of second instruction values, each of the plurality of second instruction values corresponding to a respective one of the plurality of second operations, and the PLC control unit changes one of the plurality of second instruction values stored in the PLC memory unit based on a result of the first operation corresponding to the instruction.
4. The coordination system described in claim 2, wherein the controlled device is capable of executing a plurality of different first operations, the plurality of first device values include a plurality of first instruction values, each of the first instruction values corresponding to a respective one of the first operations, the information processing device comprises a memory unit that stores first correspondence information indicating a correspondence between each of the first operations and each of the contents of the instructions, and the operation instruction unit instructs the PLC to execute the first operation of the controlled device based on a result of the second operation and the first correspondence information.
5. The collaboration system of claim 1, wherein the information processing device is capable of executing a plurality of different second operations, the plurality of second device values include a plurality of second instruction values, each of the second instruction values corresponding to a respective one of the second operations, the information processing device comprises a memory unit that stores: an operation program corresponding to each of the second operations; and second correspondence information indicating a correspondence between each of the second instruction values and each of the operation programs, and the operation control unit selects the operation program corresponding to the second instruction value from among the plurality of operation programs based on the changed second instruction value and the second correspondence information, and controls the second operation by executing the selected operation program.
6. The linkage system according to claim 1, further comprising an external device connected to the information processing device, wherein the operation control unit controls an operation of the external device as the second operation.
7. The collaboration system according to claim 1, further comprising an external device connected to the information processing device, wherein the operation control unit executes the second operation using external information acquired from the external device.
8. The linkage system according to claim 6 or 7, wherein the plurality of second device values include parameter values used in the operation of the external device.
9. The coordination system according to claim 1, further comprising a touch panel terminal connected to the PLC and accepting user operation, the touch panel terminal comprising: a TP acquisition unit that acquires the second device value stored in the PLC memory unit; a TP display unit that displays the acquired second device value; and a TP change instruction unit that instructs a change to the second device value stored in the PLC memory unit based on the user's operation on the second device value displayed on the TP display unit, and the PLC control unit changes the second device value stored in the PLC memory unit that corresponds to the instruction based on an instruction from the TP change instruction unit.
10. The coordination system described in claim 9, wherein the TP display unit displays an operation area that is operated by the user to change the second instruction value, the TP change instruction unit instructs a change to the second instruction value stored in the PLC memory unit based on the user's operation on the operation area displayed on the TP display unit, and the PLC control unit changes the second instruction value corresponding to the instruction that is stored in the PLC memory unit based on an instruction from the TP change instruction unit.
11. The linkage system according to claim 1, wherein the information processing device is configured by a computer having a processor that functions as the device value acquisition unit, the determination unit, and the operation control unit.
12. A coordination method executed by a coordination system including a controlled device provided in a manufacturing apparatus, a PLC that controls a first operation of the controlled device, and an information processing device connected to the PLC via a communication network line and linked with the PLC, wherein the PLC includes: a PLC control unit that controls the first operation; and a PLC memory unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, wherein the plurality of first device values include one or more first instruction values for executing the first operation, and the plurality of second device values include one or more second instruction values for executing the second operation, the method including the step of acquiring the second device values including the second instruction values stored in the PLC memory unit at a predetermined time interval; an instruction value determination step that determines whether or not the second instruction value included in the acquired second device value has been changed after the second device value has been acquired; and an operation control step that controls the second operation of the second operation corresponding to the changed second instruction value when the second instruction value has been changed. Including, how to collaborate.
13. A linkage program executed by an information processing device linked to a PLC that controls a first operation of a controlled device provided in a manufacturing apparatus via a communication network line, wherein the PLC has a PLC memory unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, and the plurality of second device values include one or more second instruction values for executing the second operation, and the information processing device has a processor, and causes the processor to execute: a device value acquisition process that acquires the second device values stored in the PLC memory unit at a predetermined time interval; an instruction value determination process that determines whether the second instruction value included in the acquired second device value has been changed after the second device value has been acquired; and an operation control process that, when the second instruction value has been changed, controls the second operation of the second operations that corresponds to the changed second instruction value.
14. A coordination assistance program executed by a PLC that controls a first operation of a controlled device provided in a manufacturing apparatus, and is connected to an information processing device via a communication network line and works in conjunction with the information processing device, wherein the PLC comprises: a PLC control unit that controls the first operation; and a PLC memory unit that stores a plurality of first device values used to control the first operation and a plurality of second device values used to control a second operation of the information processing device, wherein the plurality of first device values include one or more first instruction values for causing the information processing device to perform the first operation, and the plurality of second device values include one or more second instruction values for causing the information processing device to perform the second operation, and the coordination assistance program causes the PLC control unit to perform a second instruction value change process that changes the second instruction value corresponding to the second operation in order to cause the information processing device to perform the second operation, and a first instruction value change process that changes the first instruction value corresponding to the instruction based on an instruction from the information processing device that has performed the second operation.
Citation Information
Patent Citations
Display control system, display unit, program for making computer function as display unit and recording medium
JP2005084727A
Setting support apparatus and computer program
JP2009295056A
Programmable logic controller
JP2021189481A
Control apparatus
WO2020208791A1
