CN117581197A - Programming support method, programming support program, and programming support system - Google Patents

Programming support method, programming support program, and programming support system Download PDF

Info

Publication number
CN117581197A
CN117581197A CN202280046452.6A CN202280046452A CN117581197A CN 117581197 A CN117581197 A CN 117581197A CN 202280046452 A CN202280046452 A CN 202280046452A CN 117581197 A CN117581197 A CN 117581197A
Authority
CN
China
Prior art keywords
computer
program
programming
data
sharable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202280046452.6A
Other languages
Chinese (zh)
Inventor
加藤圭
藤井慎也
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Publication of CN117581197A publication Critical patent/CN117581197A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

The subject of the present disclosure is to simplify the work required for transferring sharable data. The program assistance method according to the embodiment includes a 1 st step, a 2 nd step, a 3 rd step, and a 4 th step. In step 1, the 1 st computer and the 2 nd computer are set to be in a state capable of communication in a point-to-point manner. In step 2, data that can be shared is made to be selected from among data used in the 1 st program executed by the 1 st computer. In the step 3, the sharable data selected in the step 2 is sent to the step 2 computer. In step 4, the sharable data transmitted in step 3 is fetched into the 2 nd program executed by the 2 nd computer.

Description

Programming support method, programming support program, and programming support system
Technical Field
The present disclosure relates to a program supporting method, a program for program supporting, and a program supporting system. More specifically, the present disclosure relates to a program supporting method for supporting the creation of a program, a program for supporting the program, and a program supporting system.
Background
As a conventional example, an execution control method of the program described in patent document 1 is exemplified. The conventional example described in patent document 1 includes a variable name storage reference unit, a variable name storage area, an address information storage reference unit for variable values, a variable value address storage area, a variable value storage reference unit, and a variable value storage area.
The variable name storage reference unit searches for the specified variable name from the plurality of variable names stored in the variable name storage area. When the variable name storage reference means finds the specified variable name from the variable name storage area, the address information storage reference means refers to the address stored in the variable value address storage area to acquire the address corresponding to the specified variable name. The variable value storage reference means rewrites the content of the variable value storage area indicated by the acquired address to the specified variable value for registration.
However, in some programs, the user can create (declare) an arbitrary variable. In addition, the variables created (declared) in 1 program can be used as variables of other programs.
For example, in 1 program, a variable created (declared) by a user is exported to a CSV (comma separated value ) file, and the exported CSV file is attached to, for example, an email and transmitted.
Then, the user who creates the other program inputs the CSV file attached to the email to the other program. In this way, the variables created in 1 program can be used as variables of another program.
However, in the above-described method, when a plurality of programs are created (programmed) by sharing a part of data (for example, variables), a complicated operation is required.
Prior art literature
Patent literature
Patent document 1: JP-A-05-035476
Disclosure of Invention
The purpose of the present disclosure is to provide a program support method, program for program support, and program support system that can simplify the work required for transferring sharable data.
A program supporting method according to an aspect of the present disclosure is a method for supporting programming using a computer. The program assisting method has a 1 st step, a 2 nd step, a 3 rd step and a 4 th step. In the step 1, the 1 st computer and the 2 nd computer are set to be in a state capable of communicating in a point-to-point manner. In the 2 nd step, sharable data is selected from among data used in the 1 st program executed by the 1 st computer. And in the step 3, sending the sharable data selected in the step 2 to the step 2 computer. And in the step 4, the sharable data sent in the step 3 is fetched in a 2 nd program executed by the 2 nd computer.
A program for assisting programming according to one aspect of the present disclosure assists programming using a computer. The program for assisting programming causes the computer to execute the 1 st process, the 2 nd process, and the 3 rd process. In the 1 st process, the computer is set to a state in which it can communicate in a point-to-point manner. In the 2 nd process, data which can be shared is selected from among data used in a program for programming executed by the computer. In the 3 rd process, the sharable data selected in the 2 nd process is transmitted by the communication of the point-to-point system.
A program for assisting programming according to one aspect of the present disclosure assists programming using a computer. The program for assisting programming causes the computer to execute the 4 th processing and the 5 th processing. In the 4 th process, the computer is set to a state in which it can communicate in a point-to-point manner. In the 5 th process, sharable data transmitted in the point-to-point manner is fetched into a program executed by the computer.
A programming assistance system according to an aspect of the present disclosure includes: a 1 st computer for executing a 1 st program for programming; and a 2 nd computer executing a 2 nd program for programming. The 1 st computer and the 2 nd computer can communicate in a point-to-point manner. The 1 st computer transmits data sharable in the 1 st program and the 2 nd program to the 2 nd computer. The 2 nd computer fetches the sharable data transmitted from the 1 st computer in the 2 nd program.
Drawings
Fig. 1 is a system configuration diagram of a programming assistance system according to an embodiment of the present disclosure.
Fig. 2 is an explanatory diagram of a dialog in the program for programming assistance according to the embodiment of the present disclosure.
Fig. 3 is a sequence diagram for explaining the program supporting method, the program for program supporting, and the operation of the pair in the program supporting system according to the embodiment of the present disclosure.
Fig. 4 is a sequence diagram for explaining the above-described program supporting method, the above-described program for program supporting, and the above-described operation of transferring the global variable in the program supporting system.
Fig. 5 is an explanatory view of a menu screen of the 1 st program executed in the 1 st computer included in the above-described programming support system.
Detailed Description
A program supporting method, a program for supporting programming, and a program supporting system according to embodiments of the present disclosure will be described in detail below with reference to the drawings. The configuration described in the following embodiment is only an example of the present disclosure. The present disclosure is not limited to the following embodiments, and various modifications can be made according to the design and the like as long as the effects of the present disclosure can be achieved.
(1) Summary of the inventionsummary
In the embodiment, the program to be the auxiliary object of programming is an application program for a programmable controller or an application program for a related peripheral device. In the embodiment, the program to be the auxiliary object of programming may be a program used in a computer system other than a programmable controller and a related peripheral device.
The related peripheral device in the embodiment is, for example, a programmable display PD1 (refer to fig. 1). The programmable display PD1 uses a touch panel display as HMI (Human-machine Interfaces, human-machine interface), and is connected to the programmable controller PLC1 to monitor the operation of the device, control the operation of the device, and the like (refer to JIS B3551). The programmable controller PLC1 and the programmable display PD1 are communicably connected via a communication cable L4 conforming to a serial communication standard such as RS232C or RS 485.
The application program for the programmable controller is created (programmed) by executing dedicated programming software (program 1) on a general-purpose personal computer (computer 1, PC 1). The 1 st program supports a plurality of program languages standardized in the standard IEC61131-3 of International electrotechnical Commission (IEC: international Electrotechnical Commission) and the Japanese Industrial Standard JIS B3503. The plurality of program languages supported by the 1 ST program include 2 Text languages of a command List (IL: structured List) and a Structured Text (ST). The plurality of program languages supported by the 1 st program further includes 3 graphics languages of Ladder Diagram (LD: ladder Diagram), function block Diagram (FBD: function Block Diagram), and sequential function Diagram (SFC: sequential Function Chart). The application program created by the 1 st program is downloaded from the 1 st computer PC1 to the programmable controller PLC1 (refer to fig. 1) through the communication cable L2.
The application program for the programmable display is created (programmed) by executing dedicated programming software (program 2) on a general-purpose personal computer (computer 2, PC 2). The 1 st program and the 2 nd program operate on an operating system such as Windows (registered trademark) of microsoft corporation. The application program created by the 2 nd program is downloaded from the 2 nd computer PC2 to the programmable display PD1 via the communication cable L3.
The 1 st computer PC1 and the 2 nd computer PC2 have communication functions conforming to the standards of wired LAN (100 BASE-TX, 10BASE-T, etc.). The 1 st computer PC1 is connected to the 2 nd computer PC2 via a communication cable L1 including a UTP (Unshielded Twisted Pair ) cable. Further, the 1 st computer PC1 is connected to the programmable controller PLC1 via a communication cable L2 including a UTP cable. The 2 nd computer PC2 is connected to the programmable display PD1 via a communication cable L3 including a UTP cable. The 1 st computer PC1, the 2 nd computer PC2, the programmable controller PLC1, and the programmable display PD1 may belong to 1 lan, and may be connected to each other via a network device such as a router or a switching hub so as to perform data communication with each other.
At least the 1 st computer PC1 and the 2 nd computer PC2 can perform 1-to-1 bidirectional communication (point-to-point communication) regardless of whether they are directly connected via the communication cable L1 or connected via a network device.
The program assistance method according to the embodiment includes a 1 st step, a 2 nd step, a 3 rd step, and a 4 th step. In step 1, the 1 st computer PC1 and the 2 nd computer PC2 are set to be in a state capable of communication in a point-to-point manner. In step 2, the (1 st operator) is allowed to select sharable data from among the data used in the 1 st program executed by the 1 st computer PC 1. In step 3, the sharable data selected in step 2 is transmitted to the 2 nd computer PC2. In step 4, in the 2 nd program executed by the 2 nd computer PC2, the sharable data transmitted in step 3 is fetched. The 1 st operator is a person who programs the 1 st computer PC1 using the 1 st program.
Thus, according to the program supporting method of the embodiment, when transferring sharable data from the 1 st computer PC1 to the 2 nd computer PC2, only the job necessary for the 1 st operator is the job of selecting sharable data. Therefore, the program supporting method according to the embodiment can simplify the work required for transferring sharable data, compared with a case where a file containing sharable data is exported and the exported file is attached to an email or the like and transmitted.
The program for programming support according to the embodiment is executed in each of the 1 st computer PC1 and the 2 nd computer PC2.
The program for programming assistance executed by the 1 st computer PC1 causes the 1 st computer PC1 to execute the 1 st process, the 2 nd process, and the 3 rd process. The 1 st process sets the 1 st computer PC1 to a state in which communication is possible in a point-to-point manner (with the 2 nd computer PC 2). The 2 nd process makes (1 st operator) select sharable data from among data used in the program for programming (1 st program) executed by the 1 st computer PCI. The 3 rd process transmits the sharable data selected in the 2 nd process by communication (to the 2 nd computer PC) in a point-to-point manner.
On the other hand, the program for programming assistance executed by the 2 nd computer PC2 causes the 2 nd computer PC2 to execute the 4 th process and the 5 th process. The 4 th process sets the 2 nd computer PC2 to a state in which it can communicate in a point-to-point manner (with the 1 st computer PC 1). The 5 th process fetches sharable data transmitted in a point-to-point manner in a program (2 nd program) executed by the 2 nd computer PC2 (into the 2 nd program).
Thus, according to the program for assisting programming according to the embodiment, when transferring sharable data from the 1 st computer PC1 to the 2 nd computer PC2, the 1 st job performed by the 1 st computer PC1 is only a job for selecting sharable data. On the other hand, in the 2 nd computer PC2, the 2 nd operator (the person who uses the 2 nd program) does not need to perform any work. Therefore, the program for assisting programming according to the embodiment can simplify the work required for transferring sharable data between the sender and the receiver of sharable data.
Further, the programming support system S1 according to the embodiment includes: a 1 st computer PC1 executing a 1 st program for programming; and a 2 nd computer PC2 executing a 2 nd program for programming. The 1 st computer PC1 and the 2 nd computer PC2 can communicate in a point-to-point manner. The 1 st computer PC1 transmits data that can be shared in the 1 st program and the 2 nd program to the 2 nd computer PC2. The 2 nd computer PC2 fetches the sharable data transmitted from the 1 st computer PC1 in the 2 nd program.
Thus, according to the programming support system S1 according to the embodiment, the job required by the 1 st operator in the 1 st computer PCI is only a job for selecting sharable data. In the 2 nd computer PC2, the 2 nd operator does not need to perform any work. Therefore, the programming support system S1 according to the embodiment can lead out a file containing sharable data, and can simplify the work required for transferring sharable data, as compared with a case where the led-out file is attached to an email or the like and transmitted.
(2) Detailed description of the embodiments
(2-1) details of the Programming assistance System according to the embodiment
The programming support system S1 (hereinafter, abbreviated as support system S1) according to the embodiment includes a 1 st computer PC1 and a 2 nd computer PC2 (see fig. 1).
The 1 st computer PC1 is a so-called desktop type personal computer. That is, the 1 st computer PC1 includes: a main body 10 for accommodating CPU (Central Processing Unit), a memory, a motherboard, a hard disk drive, a solid state hard disk drive, a power supply device, and the like in a casing; a display device 11; a keyboard 12; and a mouse 13. Similarly, the 2 nd computer PC2 includes: a main body 20 for accommodating a CPU, a memory, a motherboard, a hard disk drive, a solid state hard disk drive, a power supply device, and the like in a casing; a display device 21; a keyboard 22; and a mouse 23. Further, the 1 st computer PC1 and the 2 nd computer PC2 are loaded with Windows (registered trademark) of microsoft corporation as an OS. The 1 st computer PCI and the 2 nd computer PC2 may be an OS other than Windows (registered trademark), for example, an OS other than Windows (registered trademark) such as MAC OS (registered trademark) manufactured by apple corporation or Linux (registered trademark). At least one of the 1 st computer PC1 and the 2 nd computer PC2 may be a notebook-type personal computer.
The 1 st computer PC1 executes the 1 st program. The 1 st program is programming software for creating (programming) an application program for causing the programmable controller PLC1 to perform various controls.
The 1 st program operates on the OS mounted on the 1 st computer PC 1. Thus, the 1 st program can utilize various GUIs (Graphical User Interface, graphical user interfaces) provided by the OS.
The 1 st operator is a developer of an application program for a programmable controller. The developer of the application program can also be a plurality of names. For example, 1 application may be completed by combining programs created in an appropriate program language for each function or each process by a plurality of developers. In this case, each of the plurality of developers can be "1 st worker".
The 2 nd computer PC2 executes the 2 nd program. The 2 nd program is programming software for creating (programming) an application program for causing the programmable display PD1 to display various screens, accept various inputs, and the like.
The 2 nd program operates on the OS mounted on the 2 nd computer PC2. Therefore, the 2 nd program can use various GUIs provided by the OS, similarly to the 1 st program.
The 2 nd operator is a screen designer who designs an application program for a programmable display.
The data that can be shared between program 1 and program 2 is a Global Variable (GV). Global variables are assigned, for example, to the input address and the output address of the programmable controller PLC 1. In the 1 st and 2 nd programs, if the input address and the output address of the programmable controller PLC1 are programmed with fixed addresses, for example, the programmable controller must change the input address and the output address when the model is changed. In contrast, when global variables are assigned to input addresses and output addresses, appropriate input addresses and output addresses are automatically assigned to global variables in the application program for the programmable controller after model change. That is, by sharing the global variable in the 1 st program and the 2 nd program, the burden required for the creation (programming) of each of the 1 st program and the 2 nd program can be reduced. The data that can be shared between the 1 st program and the 2 nd program is not limited to global variables.
Details of the program for assisting programming according to the embodiment (2-2)
The program for programming support according to the embodiment (hereinafter referred to as a support program) is installed in each of the 1 st computer PC1 and the 2 nd computer PC2. The auxiliary program is a resident program (also referred to as a resident application). In addition, auxiliary programs may also be provided via electrical communication lines. Alternatively, the auxiliary program may be provided by being recorded on a non-transitory recording medium such as a memory card, an optical disk, or a hard disk drive readable by a computer system.
The menu list of the auxiliary program contains a menu (process) of "pair". When "pairing" is selected from the menu list, the auxiliary program displays a dialog box DB1 for pairing on the screen (screen of the display device 11, 21) (see fig. 2).
The paired dialog box DB1 includes a 1 st table T1, a 2 nd table T2, and a plurality of command buttons CB1 to CB4.
Table 1T 1 has a space indicating the state of the current pairing, a space indicating the name of the pairing partner computer, and a space indicating the IP address assigned to the pairing partner computer. The character string of either one of "end of knot" and "end of knot (in cut)" is displayed in the space indicating the state of the end of knot.
Table 2T 2 has a space indicating the name of the computer of the opposite party (request source) of the request pair and a space indicating the IP address of the computer assigned to the request source.
2 command buttons CB1 and CB2 are arranged side by side in the left-right direction below the 1 st table T1. The command button CB1 on the left side is a command button for starting the pairing process. The command button CB2 on the right side is a command button for executing processing of releasing the pairing with the paired computer.
The 2 command buttons CB3 and CB4 are arranged side by side in the left-right direction below the table T2 of fig. 2. The command button CB3 on the left side is a command button for executing processing for permitting pairing with respect to a request for pairing. The command button CB4 on the right is a process command button for executing a request for a pairing and rejecting the pairing.
Next, a program assist method based on the assist program will be described with reference to fig. 2 to 5. Fig. 3 and 4 are sequence diagrams for explaining the program assist method. Fig. 5 is an example of the menu screen M1 of the 1 st program.
In fig. 3 and 4, the "1 st shared folder" is created in the hard disk drive or solid state hard disk drive of the 1 st computer PC 1. The "1 st shared folder" is a folder that can be accessed (read/write) not only from the 1 st computer PC1 but also from the 2 nd computer PC2. Similarly, the "2 nd shared folder" is created in the hard disk drive or solid state hard disk drive of the 2 nd computer PC2. The "2 nd shared folder" is a folder that can be accessed (read/write) not only from the 2 nd computer PC2 but also from the 1 st computer PC 1.
First, the 1 st operator who performs the program operation using the 1 st program executes the auxiliary program to perform the operation of starting the pairing (refer to [01] of fig. 3). Then, the subsidiary program transmits a transmission frame of the pairing request including the computer name and the IP address of the 1 st computer PC1 to the IP address of the 2 nd computer PC2 (refer to [02] of fig. 3).
The subsidiary program of the 2 nd computer PC2 receives the transmission frame of the request. The auxiliary program displays the computer name and the IP address contained in the transmission frame on the 2 nd table T2 of the dialog DB1, thereby confirming whether the link pair is available or not for the 2 nd operator (see [03] of fig. 2 and 3). The 2 nd operator presses the command button CB3 disposed below the 2 nd table T2 of the dialog DB1 by operating the mouse 23 to give permission to the auxiliary program (see [04] of fig. 3). The subsidiary program transmits a transmission frame containing the message of the pair license to the IP address of the 1 st computer PC1 (refer to [05] of fig. 3).
When the auxiliary program of the 1 st computer PC1 receives the transmission frame of the pairing permission, the auxiliary program causes the space indicating the state of the pairing in the 1 st table T1 of the dialog DB1 to display a character string of "pairing completed" (refer to fig. 2). The 1 st operator can confirm that the pairing between the 1 st computer PCI and the 2 nd computer PC2 is completed by looking at the character string (the "paired character string" see [06] of fig. 3).
The 1 st operator creates an application program using the 1 st program. The 1 st operator may share the Global Variable (GV) declared in the application with the application created by the 2 nd operator. In this case, the 1 st operator selects a global variable to be shared on the menu screen M1 of the 1 st program (see [07] of fig. 4 and fig. 5). Specifically, the 1 st operator aligns the mouse pointer to the display portion of the variable name (for example, "GV 1") of the global variable displayed on the menu screen M1, and clicks the right button on the mouse 13 to display the context menu CM1 (see fig. 5). Further, when the 1 st operator aligns the mouse pointer with the "send to" item in the context menu CM1, information of the transmission destination of the selected global variable is displayed. The information of the transmission destination includes a computer name "PC2" associated with the 1 st computer PC1 and the 2 nd computer PC2, and a name "item a" of the application program being created in the 2 nd program sharing the global variable (see fig. 5). Then, when the 1 st operator operates the mouse 13 (clicks the left button) to determine the selection and destination of the global variable, the 1 st program writes a file (for example, a file in CSV format) containing the selected global variable into the 1 st shared folder (see [08] of fig. 4).
The auxiliary program reads in a file written in the 1 st shared folder (hereinafter referred to as global variable file GV) (refer to [09] of fig. 4), and forwards the read-in global variable file GV to the 2 nd computer PC2 of the pair (refer to [10] of fig. 4). In the 2 nd computer PC2, the global variable file GV transferred from the 1 st computer PC1 is written into the 2 nd shared folder by the auxiliary program operating in the 2 nd computer PC2 (refer to [11] of fig. 4). Further, the auxiliary program causes the 2 nd operator to confirm the addition of the global variable file GV by the 2 nd program (see [12] of fig. 4). When the 2 nd operator permits addition (see [13] of fig. 4), the 2 nd program reads the global variable file GV from the 2 nd shared folder, and adds the global variable included in the read global variable file GV to the application program created in the 2 nd program (see [14] of fig. 4). The 2 nd program notifies the auxiliary program of the 2 nd computer PC2 of the completion of the reading of the global variable (refer to [15] of fig. 4). Thus, program 2 can share global variables with program 1. When the auxiliary program receives a notification of completion of reading of the global variable from the 2 nd program, the auxiliary program of the 1 st computer PC1 notifies the auxiliary program of the completion of transfer of the global variable file GV (see [16] of fig. 4).
The auxiliary program of the 1 st computer PC1 forwards the notification of the end of forwarding of the global variable file GV received from the auxiliary program of the 2 nd computer PC2 to the 1 st program (refer to [17] of fig. 4). When the 1 st program receives a notification of the completion of forwarding from the auxiliary program, the 1 st program causes the menu screen M1 to display a message for notifying the 1 st operator of the completion of forwarding of the global variable (see [18] of fig. 4).
The program support method by the support program is implemented as described above.
Here, it is assumed that a file server (storage server) exists in the network to which the 1 st computer PC1 and the 2 nd computer PC2 belong. At this time, it is considered that the global variable file GV is transferred from the 1 st computer PC1 to the 2 nd computer PC2 via the file server.
However, in the case of forwarding the global variable file GV via the file server, the 1 st operator needs to perform a plurality of operations from the selection of the global variable file GV to the writing to the file server. Similarly, the 2 nd operator needs to perform a plurality of operations until the desired global variable file GV is selected from the global variable file GV stored in the file server and downloaded to the 2 nd computer PC2. That is, in the method of transferring the global variable file GV via the file server, it is very difficult to simplify the work required for transferring sharable data (global variable file GV).
On the other hand, according to the program supporting method, the supporting program, and the program supporting system S1 according to the embodiment, the 1 st computer PC1 and the 2 nd computer PC2 directly transfer data in a point-to-point manner. Therefore, the program support method, the program support program, and the program support system S1 according to the embodiment can simplify the work required for transferring sharable data (global variable file GV). Further, since the 1 st computer PC1 and the 2 nd computer PC2 directly transfer data in a point-to-point manner, there is an advantage that it is easy to maintain the matching of shared data (global variable).
However, in the embodiment, both the 1 st program executed by the 1 st computer PC1 and the 2 nd program executed by the 2 nd computer PC2 may be program software for creating an application program of the programmable controller. Alternatively, both the 1 st program executed by the 1 st computer PC1 and the 2 nd program executed by the 2 nd computer PC2 may be program software for creating an application program for a programmable display.
In the program supporting method, the supporting program, and the program supporting system S1 according to the embodiment, sharable data is transferred from the 1 st shared folder of the 1 st computer PC1 to the 2 nd shared folder of the 2 nd computer PC2. Therefore, the program supporting method, the supporting program, and the program supporting system S1 according to the embodiment can suppress occurrence of a defect that data which is not sharable is erroneously overwritten with data which is sharable, compared with a case where sharable data is transferred between folders which are not shared.
(3) Summary
A programming support method according to embodiment 1 of the present disclosure is a method for supporting programming using a computer. The program assistance method according to the 1 st aspect includes a 1 st step, a 2 nd step, a 3 rd step, and a 4 th step. In step 1, the 1 st computer (PC 1) and the 2 nd computer (PC 2) are set to be in a state capable of communication in a point-to-point manner. In step 2, data which can be shared is made to be selected from among data used in the 1 st program executed in the 1 st computer (PC 1). In step 3, the sharable data selected in step 2 is transmitted to the 2 nd computer (PC 2). In step 4, the sharable data transmitted in step 3 is fetched into the 2 nd program executed by the 2 nd computer (PC 2).
In the programming support method according to aspect 1, when transferring sharable data from the 1 st computer (PC 1) to the 2 nd computer (PC 2), only the job required by the 1 st operator is a job for selecting sharable data. Therefore, the programming support method according to claim 1 can simplify the work required for transferring sharable data, as compared with a case where a file containing sharable data is exported and the exported file is attached to an email or the like and transmitted.
The programming assistance method according to claim 2 of the present disclosure can be realized by combining with claim 1. In the programming assistance method according to claim 2, in step 2, the selected sharable data is preferably stored in the 1 st shared folder of the 1 st computer. Preferably, in step 3, the sharable data is transferred from the 1 st shared folder to the 2 nd shared folder of the 2 nd computer.
The programming support method according to claim 2 can suppress occurrence of a defect that data that is not sharable is erroneously overwritten with data that is sharable, as compared with a case where sharable data is transferred between folders that are not shared.
The programming assistance method according to claim 3 of the present disclosure can be realized by combining with claim 1 or claim 2. In the programming support method according to claim 3, the sharable data is preferably variable data used in each of the 1 st program and the 2 nd program.
The program supporting method according to claim 3 can improve the workability of the programming operation as compared with the case where the variables are individually declared in the 1 st program and the 2 nd program by sharing the data of the variables used in the 1 st program and the 2 nd program.
A program for assisting programming according to the 4 th aspect of the present disclosure is a program for assisting programming using a computer. The program for assisting programming according to the 4 th aspect causes a computer (1 st computer PC 1) to execute 1 st, 2 nd and 3 rd processes. The 1 st process sets the computer to a state in which it can communicate in a point-to-point manner. The 2 nd process makes it possible to select sharable data from among data used in a program for programming executed by a computer. The 3 rd process transmits the sharable data selected in the 2 nd process by communication in a point-to-point manner.
The program for assisting programming according to claim 4 can simplify the operations required for transferring sharable data.
A program for assisting programming according to claim 5 of the present disclosure can be realized by combining with claim 4. In the program for assisting programming according to claim 5, in the processing 2, the selected sharable data is preferably stored in the 1 st shared folder of the computer. In the program for assisting programming according to claim 5, in the 3 rd process, the sharable data is preferably transferred from the 1 st shared folder to the 2 nd shared folder of the computer of the destination.
The program for supporting programming according to claim 5 can suppress occurrence of a defect that data that is not sharable is erroneously overwritten with data that is sharable, as compared with a case where sharable data is transferred between folders that are not shared.
A program for assisting programming according to claim 6 of the present disclosure is a program for assisting programming using a computer. The program for assisting programming according to the 6 th aspect causes a computer (2 nd computer PC 2) to execute the 4 th and 5 th processes. In the 4 th process, the computer is set to a state in which it can communicate in a point-to-point manner. In the 5 th process, data which can be shared by point-to-point transmission is fetched into a program executed by a computer.
The program for assisting programming according to claim 6 can simplify the operations required for transferring sharable data.
A program for assisting programming according to claim 7 of the present disclosure can be realized by combining with claim 6. In the program for assisting programming according to claim 7, in the 5 th process, sharable data transferred to the 2 nd shared folder of the computer is preferably fetched.
The program for supporting programming according to claim 7 can suppress occurrence of a defect that data that is not sharable is erroneously overwritten with data that is sharable, as compared with a case where sharable data is transferred between folders that are not shared.
The program for assisting programming according to claim 8 of the present disclosure can be realized by a combination with any of claims 4 to 7. In the program for assisting programming according to the 8 th aspect, the sharable data is preferably data of variables used in the program for programming executed by the computer.
The program for assisting programming according to the 8 th aspect can improve the workability of the programming operation as compared with the case where the variables are individually declared in the 1 st and 2 nd programs by sharing the data of the variables used in the 1 st and 2 nd programs.
A programming support system (S1) according to claim 9 of the present disclosure includes: a 1 st computer (PC 1) for executing a 1 st program for programming; and a 2 nd computer (PC 2) for executing the 2 nd program for programming. The 1 st computer (PC 1) and the 2 nd computer (PC 2) can communicate in a point-to-point manner. The 1 st computer (PC 1) transmits data that can be shared between the 1 st program and the 2 nd program to the 2 nd computer (PC 2). The 2 nd computer (PC 2) takes in sharable data transmitted from the 1 st computer (PC 1) in the 2 nd program.
In the programming support system (S1) according to aspect 9, when transferring sharable data from the 1 st computer (PC 1) to the 2 nd computer (PC 2), the only necessary job performed by the 1 st operator is to select sharable data. Therefore, the programming support system (S1) according to claim 9 can simplify the work required for transferring sharable data, as compared with a case where a file containing sharable data is exported and the exported file is attached to an email or the like and transmitted.
The programming support system (S1) according to claim 10 of the present disclosure can be realized by combining with claim 9. In the programming support system (S1) according to claim 10, it is preferable that the 1 st computer (PC 1) and the 2 nd computer (PC 2) each have a shared folder that can be read from and written to each other. The programming support system (S1) according to claim 10 preferably transfers sharable data stored in the shared folder of the 1 st computer (PC 1) to the shared folder of the 2 nd computer (PC 2).
The programming support system (S1) according to claim 10 can suppress occurrence of a defect that data that is not sharable is erroneously overwritten with data that is sharable, as compared with a case where sharable data is transferred between folders that are not shared.
The programming support system (S1) according to claim 11 of the present disclosure can be realized by a combination with claim 9 or 10. In the programming support system (S1) according to claim 11, the sharable data is preferably variable data used in each of the 1 st program and the 2 nd program.
The program support system (S1) according to claim 11 can improve the workability of the programming operation as compared with the case where the variables are individually declared in the 1 st program and the 2 nd program by sharing the data of the variables used in the 1 st program and the 2 nd program.
Symbol description
S1 programming assistance system
PC1 st computer
PC2 computer 2.

Claims (11)

1. A program assisting method assists programming using a computer,
the programming assistance method has:
step 1, setting the 1 st computer and the 2 nd computer to be in a state capable of communicating in a point-to-point mode;
a step 2 of causing sharable data to be selected from among data used in a 1 st program executed by the 1 st computer;
step 3, the sharable data selected in the step 2 is sent to the step 2 computer; and
and 4, fetching the sharable data sent in the 3 rd step in a 2 nd program executed by the 2 nd computer.
2. The programming assistance method of claim 1, wherein,
in the step 2, the selected sharable data is stored in a 1 st shared folder of the 1 st computer,
in the 3 rd step, forwarding the sharable data from the 1 st shared folder to the 2 nd shared folder of the 2 nd computer.
3. The programming aid method according to claim 1 or 2, wherein,
the sharable data is data of variables used in each of the 1 st program and the 2 nd program.
4. A program for assisting programming by a computer,
the program for assisting programming causes the computer to execute:
1 st processing, setting the computer to a state capable of communicating in a point-to-point manner;
processing of selecting sharable data from among data used in a program for programming executed by the computer; and
and 3, transmitting the sharable data selected in the 2 nd step through the communication of the point-to-point mode.
5. The program for assisting in programming according to claim 4, wherein,
in the 2 nd process, storing the selected sharable data in a 1 st shared folder of the computer,
in the 3 rd process, the sharable data is transferred from the 1 st shared folder to the 2 nd shared folder of the computer of the transmission destination.
6. A program for assisting programming by a computer,
the program for assisting programming causes the computer to execute:
a 4 th process of setting the computer to a state in which it can communicate in a point-to-point manner; and
and 5, fetching sharable data sent in the point-to-point mode in a program executed by the computer.
7. The program for assisting in programming according to claim 6, wherein,
in the 5 th process, the sharable data transferred to the 2 nd shared folder of the computer is fetched.
8. The program for assisting programming according to any one of claims 4 to 7, wherein,
the sharable data is data of variables used in a program for programming executed by the computer.
9. A programming assistance system having:
a 1 st computer for executing a 1 st program for programming; and
a 2 nd computer for executing the 2 nd program for programming,
the 1 st computer and the 2 nd computer can communicate in a point-to-point manner,
the 1 st computer transmits data sharable in the 1 st program and the 2 nd program to the 2 nd computer,
the 2 nd computer fetches the sharable data transmitted from the 1 st computer in the 2 nd program.
10. The programming assistance system of claim 9, wherein,
the 1 st computer and the 2 nd computer are respectively provided with shared folders which can be mutually read and written,
forwarding the sharable data stored in the shared folder of the 1 st computer to the shared folder of the 2 nd computer.
11. The programming aid system of claim 9 or 10, wherein,
the sharable data is data of variables used in each of the 1 st program and the 2 nd program.
CN202280046452.6A 2021-07-14 2022-05-10 Programming support method, programming support program, and programming support system Pending CN117581197A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2021-116654 2021-07-14
JP2021116654A JP2023012900A (en) 2021-07-14 2021-07-14 Programming support method, program for programming support, and programming support system
PCT/JP2022/019820 WO2023286431A1 (en) 2021-07-14 2022-05-10 Method for assisting programming, program for assisting programming, and programming assistance system

Publications (1)

Publication Number Publication Date
CN117581197A true CN117581197A (en) 2024-02-20

Family

ID=84919305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202280046452.6A Pending CN117581197A (en) 2021-07-14 2022-05-10 Programming support method, programming support program, and programming support system

Country Status (3)

Country Link
JP (1) JP2023012900A (en)
CN (1) CN117581197A (en)
WO (1) WO2023286431A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002244705A (en) * 2001-02-19 2002-08-30 Digital Electronics Corp Data transfer system and data transfer program for editor device
JP2009146229A (en) * 2007-12-14 2009-07-02 Fuji Electric Systems Co Ltd Programmable controller system
JP2009157533A (en) * 2007-12-25 2009-07-16 Fuji Electric Systems Co Ltd Programmable controller system
JP6969460B2 (en) * 2018-03-15 2021-11-24 オムロン株式会社 Program development support system, program development support method and program development support program

Also Published As

Publication number Publication date
WO2023286431A1 (en) 2023-01-19
JP2023012900A (en) 2023-01-26

Similar Documents

Publication Publication Date Title
JP3364207B2 (en) Control system, display device, data transmission method, and recording medium on which the program is recorded
EP1906275B1 (en) Natively retaining project documentation in a controller
JP4302146B2 (en) Program creation support device
JP2008282363A (en) Programmable controller, program creation support device, computer program and programmable logic controller (plc) system
US10628143B2 (en) Program development assist system, program development assist method, and non-transitory computer readable recording medium
JP2009146229A (en) Programmable controller system
JP2014137621A (en) Method, apparatus and program for supporting designing of user program of safety controller
JP4426492B2 (en) Programmable terminal system
JP2009157533A (en) Programmable controller system
JP2006330867A (en) Management system of program change history, program editing device applied to the system, and program
JP3456692B2 (en) Data processing device
JP5808922B2 (en) Air conditioner control interface device, air conditioner and air conditioner control system
CN117581197A (en) Programming support method, programming support program, and programming support system
JP2006190202A (en) Data processor, set data generator, and their program and recording medium
JP4490379B2 (en) Node management apparatus, node management method, and program
JP2006317990A (en) Programmable logic controller, and communication system
JP6484015B2 (en) Programmable logic controller and control method thereof
JP4455400B2 (en) Drawing editor device, display device for control, program thereof and recording medium
US11360462B2 (en) Support device and support program
JP4387288B2 (en) Display device for control, editor device, program, and recording medium
JP2010218042A (en) Program development support device for plc
JPWO2014091623A1 (en) Programmable controller system, its programmable display, support device, program
JP2003150208A (en) Display device for control, its program and recording medium
JP3497423B2 (en) Display device for control, control system, and recording medium on which program is recorded
JP2005251014A (en) Control system, control monitor program, recording medium recorded with program therefor, editor device, editor program, and recording medium recorded with program therefor

Legal Events

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