Sequence program display device and computer-readable storage medium
By corresponding the variable names of the IEC standard and the symbolic names of the electronic circuit notation in the sequence program display device, and replacing the variable names with the symbolic names, the problem that the symbol name naming rules in the ladder program follow the electrical circuit notation is solved, and a standardized program is realized Development environment and visual legibility.
Patent Information
- Application Number
- CN202280089789.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-31
- Publication Date
- 2024-08-30
AI Technical Summary
In ladder programs, it is difficult to realize a program development environment according to the IEC standard while maintaining user operability, especially the correspondence between symbol names that follow electronic circuit notation and variable names of the IEC standard, and in text-based languages There are grammatical compatibility issues with symbols such as + and *.
A sequential program display device is designed, which includes a name storage unit, a program acquisition unit, and a name replacement unit. The variable name is replaced with a symbol name corresponding to the variable name of the IEC standard and the symbol name of the electronic circuit notation, so that it can be used when displaying the program. Symbol names improve users' familiarity and visual recognition of electronic circuit notation.
It achieves a standard-based program development environment while maintaining user operability, improves program compatibility and visual recognition, and is suitable for existing electronic circuit notation users and users who follow IEC standards.
Smart Images

Figure CN118575138A
Abstract
Description
Technical Field
[0001] The invention relates to a sequential program display device and a computer-readable storage medium. Background Art
[0002] PLC (Programmable Logic Controller) is a control device for manufacturing equipment, etc. It receives signals from input devices, processes them according to the program, and controls the output devices connected to the PLC.
[0003] PLC performs sequential control. Sequential control refers to a control method that advances each stage of control in a predetermined order or process. The program of PLC is called a sequential program.
[0004] There are several languages for sequential programs. Representative languages include ladder language, structured text (ST) language, function block diagram (FBD) language, sequential function chart (SFC) language, etc. In addition, even for the same ladder language, the standard may differ depending on the vendor.
[0005] In the creation of a ladder program, a diagram simulating a circuit using relay contacts and coils is displayed, and symbols of virtual devices are arranged at each contact and coil. The characters displayed in the information of the input symbol represent the input device itself or the address of the signal input from the input device. The device annotation corresponding to the input device may also be displayed below the symbol of the input device (for example, Patent Document 1).
[0006] Prior art literature
[0007] Patent Literature
[0008] Patent Document 1: Japanese Patent Application Publication No. 2020-134986 Summary of the invention
[0009] Problems to be solved by the invention
[0010] In ladder programs, you can label virtual device symbols with symbol names. The naming rules of ladder program symbol names follow the notation of electrical circuits.
[0011] However, currently, the IEC standard (IEC61131-3) is being followed to unify variable names. Symbol names that follow the notation of electronic circuits are sometimes not in accordance with the IEC standard. In addition, in the text-based language ST language, symbols such as "+" and "*" have the meaning of text, so sometimes it is impossible to use symbol names that follow the notation of electronic circuits grammatically.
[0012] If variable names that conform to the IEC standard are used, program compatibility will be improved. However, there are users who are familiar with the conventional notation of electrical circuits, and there are also users who wish to continue programming using the notation created in the past.
[0013] In the field of sequential programming, a development environment for creating a program in accordance with a standard while maintaining operability for users is desired.
[0014] Means for solving problems
[0015] A sequential program display device as one method of the present invention comprises: a name storage unit, which stores the correspondence between variable names following a first notation and symbol names following a second notation; a program acquisition unit, which acquires a sequential program described with variable names following the first notation; a name replacement unit, which replaces the variable names included in the sequential program with symbol names; and a program display unit, which displays the sequential program using the symbol names.
[0016] A storage medium as one method of the present invention stores computer-readable commands, wherein the commands store the correspondence between variable names following a first notation and symbol names following a second notation, and are executed by one or more processors to obtain a sequential program described with variable names following the first notation, replace the variable names included in the sequential program with symbol names following the second notation, and display the variable names according to the symbol names in the second notation.
[0017] Effects of the Invention
[0018] According to one aspect of the present invention, a development environment for a program in accordance with a standard is provided while maintaining user operability. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a block diagram of a first disclosed sequential program display device.
[0020] Figure 2 This is an example of a sequence program display screen.
[0021] Figure 3 This is a table that explains the requirements of the IEC standard.
[0022] Figure 4 This is an example of a correspondence table between variable names and symbol names.
[0023] Figure 5 It is a block diagram of a second disclosed sequential program display device.
[0024] Figure 6 This is an example of a variable name and symbol name setting screen.
[0025] Figure 7 This is an example of a substitution table.
[0026] Figure 8 This is a flowchart for explaining the operation of the sequential program display device according to the second disclosure.
[0027] Fig. 9A This is an example of a ladder program stored in the program storage unit.
[0028] Fig. 9B This is an example of a correspondence table between symbol names and variable names.
[0029] Fig. 9C This is an example of a ladder program displayed on the editing screen.
[0030] Fig. 10A This is an example of a ladder program editing screen.
[0031] Fig. 10B Indicates the variable names and symbol names that are appended to the correspondence table.
[0032] Fig. 10C This is an example of a ladder program stored in the program storage unit.
[0033] Fig. 10D This is an example of the ladder program editing screen after the names have been associated.
[0034] Fig.11A This is an example of a structured text program that uses variable names.
[0035] Fig. 11B This is an example of a display screen of a structured text program that uses symbolic names.
[0036] Fig.12 This is a diagram showing the hardware configuration of a sequential program display device. DETAILED DESCRIPTION
[0037] [First Publication]
[0038] Hereinafter, the sequential program display device 100 according to the first disclosure will be described.
[0039] The sequence program display device 100 of the first disclosure is installed in an information processing device that displays and edits sequence programs. Examples of the information processing device include numerical control devices and PCs (personal computers), but the information processing device is not limited thereto.
[0040] Figure 1 1 is a block diagram of a sequential program display device 100 according to the first disclosure.
[0041] The sequence program display device 100 according to the first disclosure includes a program acquisition unit 1 , a program display unit 2 , a name replacement unit 3 , and a name storage unit 4 .
[0042] The program acquisition unit 1 acquires a sequence program. The sequence program may be input by a user through program editing, or an existing sequence program may be acquired.
[0043] The program display unit 2 displays the sequence program on a display unit 70 such as a display. Figure 2 This is an example of a sequence program display screen. Figure 2 The display screen is divided into four display areas, and programs written in ladder language, structured text language, function block diagram language, and instruction language are displayed in each display area.
[0044] Ladder language is a graphical language that has been widely used in Japan and is suitable for describing sequential processing.
[0045] Structured text language is a text-based language suitable for describing numerical operations, IF statements, FOR statements, and other branch controls.
[0046] Function block diagram language is a graphical language that can describe the pin connections of function blocks like an electronic circuit diagram. It is suitable for continuous analog signals and can visually confirm the operation.
[0047] The command language is a text-based language, similar to computer assembly language, that describes a series of commands as a list. It is effective for miniaturization and high-speed application.
[0048] Furthermore, the types of languages displayed on the sequence program display screen do not necessarily need to be four, and may be one or more languages.
[0049] It is desirable that the sequence program be described in accordance with the IEC standard. In the IEC standard, program names, function block names, function names, variable names, and data format names are collectively referred to as identifiers.
[0050] In the IEC standard, the identifier needs to meet Figure 3 Requirements as shown.
[0051] Specifically, the characters that can be used are English letters (AZ, az) [1 byte / character], numbers (0-9) [1 byte / character], and underscores (_) [1 byte / character] (underscores cannot be used consecutively). Uppercase and lowercase letters are not distinguished. The use of reserved words is prohibited.
[0052] The program acquisition unit 1 acquires a sequence program currently being edited or an existing program created in the past. The sequence program acquired by the program acquisition unit 1 is described with a variable name described later.
[0053] The name storage unit 4 stores addresses, symbol names, and variable names in correspondence. Addresses are numbers assigned to input / output relays, internal auxiliary relays, timers, counters, etc. that can be used in a sequence program. Variables may be assigned at least variable names and addresses.
[0054] Sometimes, a symbolic name is assigned to an address. A symbolic name is a name that follows the notation of an electronic circuit. In the present disclosure, variable names of a sequence program are replaced with symbolic names for display, thereby improving visual recognition for users who are familiar with programming using the notation of an electronic circuit.
[0055] The name storage unit 4 stores a correspondence table between variable names and symbol names. Figure 4 is an example of a correspondence table. Figure 4 In the name storage unit 4, the variable name "xESP" and the symbol name "*ESP" are assigned to the address "X8.4". The variable name "xpL1" and the symbol name "*+L1" are assigned to the address "G114.0". The variable name "nOT1" and the symbol name "-OT1" are assigned to the address "F126.0".
[0056] The name replacing unit 3 replaces the type of the displayed name. The name replacing unit replaces the type of the displayed name according to the language of the sequence program, for example. Specifically, it is assumed that the sequence program in ladder language is replaced with a symbolic name and displayed.
[0057] As described above, the sequence program display device 100 of the first disclosure stores variable names conforming to the unified IEC standard and symbol names conforming to the notation of electronic circuits as names of addresses of the sequence program.
[0058] The sequence program is stored using IEC standard variable names, and is displayed after being replaced with electronic circuit notation as needed, thereby improving the visibility for users who are familiar with electronic circuit notation.
[0059] [Second Publication]
[0060] Figure 5 This is a second disclosed sequential program display device 100.
[0061] The sequence program display device 100 of the second disclosure includes a program storage unit 5 , a program display unit 2 , a name replacement unit 3 , a name storage unit 4 , an edit operation reception unit 6 , a program editing unit 7 , and a name management unit 8 .
[0062] The sequence program display device 100 according to the second disclosure creates a correspondence table between variable names conforming to the IEC standard and symbol names conforming to the notation of electronic circuits.
[0063] The program storage unit 5 stores an existing sequence program. The sequence program is written in one or more languages. The addresses of the sequence program are labeled with variable names in accordance with the IEC standard, symbol names written in accordance with the notation of electronic circuits, or both.
[0064] The name replacing unit 3 replaces the type of displayed name. For example, the type of displayed name is replaced by language. Specifically, in a ladder language sequence program, the name is replaced by a symbolic name and displayed, but in a language other than the ladder language, the sequence program is not replaced by a symbolic name and displayed.
[0065] The name storage unit 4 stores addresses, symbol names, and variable names in correspondence. As described above, addresses refer to numbers assigned to input / output relays, internal auxiliary relays, timers, counters, etc. that can be used in a sequence program. At least variable names are assigned to addresses. Sometimes symbol names are also assigned to addresses. Symbol names are names that follow the notation of electronic circuits.
[0066] The program display unit 2 displays the sequence program on a display unit such as a display. The sequence program can be displayed in multiple languages. In addition, it is also possible to insert a structured text language into the ladder language, or input the output of the ladder language into a function block, or combine multiple languages for display.
[0067] When the variable names of the sequence program and the names displayed on the screen are replaced with symbolic names, the replacement of the names can be decorated and visually expressed. The decoration method includes the character color, background color, the presence or absence of a frame, and a pop-up when the mouse is hovered.
[0068] The editing operation accepting unit 6 accepts the editing of the sequence program. As described above, the sequence program can be written in multiple languages. The notation sometimes differs depending on the language, and sometimes differs depending on the manufacturer of the PLC (Programmable Logic Controller) that runs the sequence program. The name management unit 8 described later replaces the name of the address with a name that complies with the IEC standard.
[0069] The name management unit 8 creates a correspondence table and replaces names in a sequence program.
[0070] In creating the correspondence table, the symbol names of the sequence program are replaced with variable names conforming to the IEC standard and stored in the program storage unit 5 to associate the symbol names with the variable names.
[0071] Specifically, the symbol name is read from the sequence program, and it is determined whether the symbol name complies with the IEC standard. If the symbol name of the ladder program does not comply with the IEC standard, the user is prompted to register a variable name that complies with the IEC standard. Figure 6 This is an example of a variable name and symbol name setting screen. Using the setting screen, you can associate symbol names with variable names.
[0072] The name management unit 8 also replaces names in the sequence program. When an existing sequence program is described with symbolic names or a symbolic name is input during editing of the sequence program, the symbolic name of the sequence program is rewritten into a variable name with reference to the correspondence table and stored in the program storage unit 5.
[0073] The name management unit 8 may have a replacement table for characters or character strings.
[0074] Figure 7 is an example of a substitution table. As mentioned above, the IEC standard has a rule that symbols other than underscores cannot be used. In the substitution table, for characters that cannot be used in the IEC standard, characters that replace the characters are specified. Figure 7 In the substitution table, "*" is substituted with "x", "-" is substituted with "_", and "+" is substituted with "p". According to the substitution table, the symbol name "*ESP-X" is substituted with the variable name "xESP_X". The correspondence between the symbol name and the variable name can be automatically performed by the name management unit 8, or can be performed manually by the user visually confirming the variable name.
[0075] Naming rules can be programmed into the substitution table.
[0076] If you follow the predefined naming rules, you can infer the meaning, function, and usage of the variables to a certain extent, and the efficiency of debugging, correction, and additional development will also be improved. When multiple people are developing, by annotating variable names with a unified standard, the readability and visual recognition of each other's code can be improved, improving development efficiency and maintainability.
[0077] By incorporating the substitution table into the naming rule, it is possible to automatically create variable names that comply with the naming rule, or to present candidates for variable names that comply with the naming rule to the user.
[0078] The name replacing unit 3 replaces the displayed name according to the language of the sequence program displayed on the display unit 70. Specifically, when the sequence program in ladder language is displayed, the displayed name is replaced with a symbolic name.
[0079] Figure 8 This is a flowchart for explaining the operation of the sequence program display device 100 according to the second disclosure.
[0080] The sequence program display device 100 obtains a sequence program from the editing operation receiving unit 6 or the program storage unit 5 (step S1). When a symbol name is input by editing operation or when a symbol name exists in an existing program, the name management unit 8 determines whether the symbol name complies with the IEC standard (step S2).
[0081] If the symbol name complies with the IEC standard (step S3; Yes), the name management unit 8 uses the symbol name as the variable name as it is (step S4). If the symbol name does not comply with the IEC standard (step S3; No), the name management unit 8 displays Figure 6 The user is prompted to set the variable name (step S5).
[0082] When the user sets a variable name, the set symbol name and variable name are added to the corresponding table in the name storage unit 4 (step S6). In addition, in step S5, the symbol name can also be replaced using a substitution table, and the candidate variable name that complies with the IEC standard can be presented to the user, and the user's selection is accepted.
[0083] The name management unit 8 rewrites the names of the addresses marked in the sequence program into variable names that comply with the IEC standard and stores them in the program storage unit 5 (step S7). At this time, the names of the addresses marked in the sequence program are rewritten into variable names that comply with the IEC standard, but the symbol names that comply with the notation of electronic circuits are displayed on the display screen of the sequence program (step S8).
[0084] A specific example of the operation of the sequence program display device 100 will be described with reference to FIGS. 9 to 11 .
[0085] (1) An example of replacing the display of an existing sequence program is described. Here, it is assumed that the sequence program is described using variable names and the correspondence between symbol names and variable names is completed. The display replacement is performed by both the first disclosed sequence program display device and the second disclosed sequence program display device.
[0086] Fig. 9A This is a ladder program stored in the program storage unit 5. In this ladder program, the variable name of the a terminal on the input bus side is "xESP_X", the variable name of the second a terminal is "READY", and the variable name of the output on the output bus side is "xESP_G".
[0087] The name replacing unit 3 replaces the displayed name according to the language of the sequence program displayed on the display unit 70. Here, the name of the sequence program written in ladder language is replaced. Fig. 9BAn example of a correspondence table between symbol names and variable names is shown. In this correspondence table, the variable name "xESP_X" at address "x8.4" is replaced with the symbol name "*ESP-X", and the variable name "xESP_G" at address "G8.4" is replaced with the symbol name "*ESP-G".
[0088] The name replacing unit 3 replaces variable names of a sequence program written in ladder language with symbol names, and the program display unit 2 displays the replaced symbol names on the editing screen of the sequence program.
[0089] Fig. 9C It is the ladder program displayed on the editing screen. Fig. 9C In the example, the variable name "xESP_X" of the a contact on the input bus side is displayed with the symbol name "*ESP-X". In addition, the variable name "xESP_G" of the output on the output bus side is displayed with the symbol name "*ESP-G".
[0090] exist Fig. 9C In the display screen, the symbol names "*ESP-X" and "*ESP-G" are displayed in light blue. Fig. 9C In the display screen, the character color of the symbol name is used to indicate that the symbol name is different from the variable name of the sequence program. In addition to the character color, the background color of the character or a frame displayed around the character can also be used to indicate the difference between the displayed symbol name and the variable name of the sequence program.
[0091] (2) Next, an example of creating a correspondence table between symbol names and variable names and rewriting the sequence program during editing of the sequence program will be described.
[0092] Fig. 10A This is an example of the editing screen of a ladder program. In the ladder program being edited, the symbol name "*ESP-X" is input to the a terminal on the input bus side. The name management unit 8 determines whether the symbol name input to the editing screen complies with the IEC standard. The symbol name "READY" can be used in the IEC standard, so it is directly used as a variable name. The symbols "*" and "-" cannot be used in the IEC standard, so the name management unit 8 prompts the user to input the variable name. When inputting the variable name, for example, it is displayed Figure 6 The variable name and symbol name setting screen shown. The user sets the variable name corresponding to the symbol name. The correspondence between the symbol name and the variable name is added to the correspondence table.
[0093] Fig. 10B This is an example of the variable name, symbol name, and address added to the correspondence table.
[0094] The name management unit 8 rewrites the symbol name of the ladder program into a variable name and stores it in the program storage unit 5. The ladder program stored in the program storage unit 5 is as follows: Fig. 10CThe a contact on the input bus side is rewritten as the variable name "xESP_X".
[0095] Fig. 10D This is the editing screen of the ladder program after the name matching is performed. The symbol name "*ESP-X" entered by the user is displayed directly on the editing screen. The text of the symbol name is displayed in light blue, indicating that the variable name and the symbol name are different.
[0096] In addition, you can also use the symbol name to replace the variable name Figure 7 Alternatively, the substitution table may be used to automatically create candidates for the variable name to be substituted, and the created candidates may be presented to the user, who may select a variable name from the presented candidates.
[0097] (3) Next, an example of replacing the display of the structured text language will be described. Here, it is assumed that the correspondence between the symbol name and the variable name has been completed.
[0098] The structured text program is stored in the program storage unit 5. The structured text program stored in the program storage unit 5 is described using variable names that comply with the IEC standard.
[0099] Fig.11A This is an example of a display screen of a structured program using variable names.
[0100] exist Fig.11A In the code, syntax such as "IF", "THEN", and "END_IF" are displayed in red, variables such as "xESP_X", "READY", and "xESP_G" are displayed in light blue, operators such as ":=" are displayed in white, and reserved words such as "TRUE" are displayed in blue.
[0101] Fig. 11B This is an example of a display screen of a structured text program using symbolic names. The name replacement unit 3 reads the correspondence table and replaces the symbolic name and the variable name. The symbolic name "*ESP-X" is displayed in the display area of the variable name "xESP_X", and the symbolic name "*ESP-G" is displayed in the table area of the variable name "xESP_G".
[0102] exist Fig. 11B In the display screen, it is also possible to visually indicate that the symbol name and the variable name are different. For example, the background color of the display area of the symbol name such as "*ESP-X" or "*ESP-G" can be changed. In addition, a pop-up window can be used when the mouse is hovered to indicate that the symbol name and the variable name are different.
[0103] As described above, in the second disclosed sequence program display device 100, it is determined whether the name of the address (symbol name) input during editing of the sequence program complies with the IEC standard, and if the symbol name does not comply with the IEC standard, it is associated with a variable name that complies with the IEC standard.
[0104] In the sequence program display device 100 of the second disclosure, when the input address name is associated with the variable name, the address name of the sequence program being edited is rewritten into the corresponding variable name and stored in the program storage unit 5 .
[0105] The first disclosed sequence program display device 100 and the second disclosed sequence program display device 100 have a substitution table to substitute symbol names and variable names. The substitution of symbol names and variable names can be performed automatically, or the candidate variable names after substitution can be presented to the user to prompt the user to select.
[0106] In the first disclosed sequential program display device 100, a sequence program is displayed using symbolic names that are familiar to a specific user, thereby improving the visual recognition of the program. For example, even if the symbolic names of the actual sequential program are replaced with variable names in order to comply with the IEC standard, the symbolic names annotated when the program is edited are displayed, so that the program can be browsed without being affected by the difference in the name.
[0107] In the second disclosed sequential program display device 100, it is possible to make correspondence between symbol names and variable names inputted simultaneously with editing of a sequential program. In addition, once the correspondence is made, when a symbol name is inputted next, the symbol name is automatically rewritten into a variable name. Furthermore, it is possible to make correspondence between symbol names and variable names for a previously created sequential program, and to rewrite the corresponding symbol names into variable names.
[0108] In the sequence program display device 100 of the second disclosure, the symbolic names of the sequence program stored in the program storage unit 5 can be replaced with variable names while the symbolic names are displayed on the sequence program editing screen. The symbolic names are displayed on the sequence program editing screen, so the user can create a program without being affected by the difference in the names. In addition, the symbolic names of the created sequence program are automatically rewritten as variable names, so that a program that complies with the IEC standard can be created.
[0109] [Hardware structure]
[0110] Reference Fig.12, the hardware structure of the sequence program display device 100 is described. The CPU 111 of the sequence program display device 100 is a processor that controls the sequence program display device 100 as a whole. The CPU 111 reads the system program processed in the ROM 112 via the bus, and controls the entire sequence program display device 100 according to the system program. Temporary calculation data, display data, various data input by the user via the input unit 71, etc. are temporarily stored in the RAM 113.
[0111] The display unit 70 is a monitor or the like attached to the sequence program display device 100. The display unit 70 displays an operation screen, a setting screen, and the like of the sequence program display device 100.
[0112] The input unit 71 is a keyboard, a touch panel, etc. that is integrated with the display unit 70 or separate from the display unit 70. The user operates the input unit 71 to input data to the screen displayed on the display unit 70. Alternatively, the display unit 70 and the input unit 71 may be a portable terminal.
[0113] The nonvolatile memory 114 is, for example, a memory that is backed up by a battery (not shown) and maintains a storage state even when the power supply of the sequence program display device 100 is disconnected. The nonvolatile memory 114 stores workpiece shape data, tool shape data, tool path data, and machining programs. The nonvolatile memory 114 stores programs read from an external device via an interface (not shown), programs input via the input unit 71, and various data obtained from various parts of the sequence program display device 100, a machine tool, etc. (for example, setting parameters obtained from a machine tool, etc.). The programs and various data stored in the nonvolatile memory 114 can also be expanded in the RAM 113 when executed / used. In addition, various system programs are pre-written in the ROM 112.
[0114] Description of Reference Numerals
[0115] 100 Sequence program display device
[0116] 1. Program acquisition department
[0117] 2 Program display section
[0118] 3 Name Replacement Department
[0119] 4 Name storage unit
[0120] 5. Program storage unit
[0121] 6 Editing Operation Acceptance Department
[0122] 7 Program Editing Department
[0123] 8 Name Management Department
[0124] 70 Display unit
[0125] 71 Input section
[0126] 111CPU
[0127] 112ROM
[0128] 113RAM
[0129] 114 non-volatile memory.
Claims
1. A sequential program display device, characterized in that: have: a name storage unit storing correspondence between variable names conforming to the first notation and symbol names conforming to the second notation; a program acquisition unit that acquires a sequential program described by variable names conforming to the first notation; a name replacing unit that replaces variable names included in the sequence program with the symbol names; A program display unit displays the sequence program using the symbolic name.
2. The sequential program display device according to claim 1, characterized in that: The program acquisition unit is an editing operation receiving unit that receives an editing operation of a sequence program. The sequential program display device has: a name management unit, which determines whether the symbol name accepted by the editing operation acceptance unit complies with the first notation. If the symbol name does not comply with the first notation, the symbol name of the sequential program being edited is rewritten into a variable name according to the first notation.
3. The sequential program display device according to claim 2, characterized in that: When the symbol name does not conform to the first notation, the name management unit accepts setting of a variable name for the symbol name accepted by the edit operation acceptance unit, and causes the name storage unit to store the correspondence between the symbol name and the variable name.
4. The sequential program display device according to claim 2, characterized in that: The program acquisition unit is a program storage unit that stores an existing sequential program. The sequential program display device has: a name management unit, which determines whether the symbol name contained in the existing sequential program complies with the first notation. If the symbol name does not comply with the first notation, the symbol name of the existing sequential program is rewritten into a variable name according to the first notation.
5. The sequential program display device according to claim 4, characterized in that: When the symbol name does not conform to the first notation, the name management unit accepts setting of a variable name for the symbol name included in the existing sequence program, and stores the correspondence between the symbol name and the variable name in the name storage unit.
6. The sequential program display device according to claim 2, characterized in that: The name management unit stores a substitution table of the first notation and the second notation, and uses the substitution table to substitute the symbol name with the variable name.
7. The sequential program display device according to claim 1, characterized in that: When variable names of a sequence program are replaced with symbol names and displayed, the program display unit displays the displayed symbol names with decoration.
8. The sequential program display device according to claim 1, characterized in that: The sequence program can be written in multiple languages. The name replacing unit replaces variable names included in a sequence program written in a specific language with symbolic names in accordance with the second notation. The program display unit displays a sequence program written in the specific language using the symbolic names.
9. A storage medium storing commands readable by a processor, characterized in that: The command stores the correspondence between variable names following the first notation and symbol names following the second notation, and is executed by one or more of the processors, thereby obtaining a sequential program described with variable names following the first notation, replacing the variable names contained in the sequential program with symbol names following the second notation, and displaying them according to the symbol names in the second notation.
Citation Information
Patent Citations
Program creation support device for programmable logic controller
JP2020134986A
