WO2000043883A1 - Unite peripherique de controleur programmable - Google Patents
Unite peripherique de controleur programmable Download PDFInfo
- Publication number
- WO2000043883A1 WO2000043883A1 PCT/JP1999/000270 JP9900270W WO0043883A1 WO 2000043883 A1 WO2000043883 A1 WO 2000043883A1 JP 9900270 W JP9900270 W JP 9900270W WO 0043883 A1 WO0043883 A1 WO 0043883A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sequence program
- area
- continuous
- devices
- instruction
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/054—Input/output
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
- G06F12/0646—Configuration or reconfiguration
- G06F12/0684—Configuration or reconfiguration with feedback, e.g. presence or absence of unit detected by addressing, overflow detection
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/1187—Test input value with stored limits, permissable range, plausibility
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13035—Name, address duplication detection for program components, symbols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13188—Checking program data, parity, key
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13196—Check if instruction for special module is valid for that module
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23193—Memory stores lifetime, different settings, configurations of controlled device
Definitions
- the present invention relates to a peripheral device used as a programming tool for creating a sequence program for a programmable controller for controlling mechanical equipment, and more particularly to a peripheral device having a sequence program check function. It is. Background art
- FIG. 18 shows a peripheral device of a programmable controller (hereinafter, may be referred to as a PC peripheral device) in the prior art.
- the PC peripheral device 300 includes a processing unit 301 by a CPU or the like, a main storage unit 302, an auxiliary storage unit 303, a key input control unit 304, and a screen control unit 304.
- the key input control section 304 has a keyboard 300 and the screen control section 305 has a display device such as a CRT display 308 and the printer control section 310.
- Printers 309 are connected to 6 respectively.
- the main memory section 302 is allocated with a system program area 310, a sequence program area 311 and a device range information area 3112, and the system program area 3110 stores a system program and a sequence program.
- the sequence area is stored in the RAM area 311 and the device range information is stored in the device range information area 312.
- FIG. 19 shows a device assignment table of the PC peripheral device.
- the device allocation table is stored in the device range information area 312 and defines the range of each device.
- the local device is a device assigned to each sequence program, and the global device is a device common to each sequence program.
- the peripheral device 300 of the programmable controller stores the sequence program in the sequence program area 311 of the main storage unit 302 via the key input control unit 304 from the keyboard 307, and stores the device range information. It is stored in the device range information area 312 of the main storage section 302. In addition, the sequence program and device range information stored in each area are output to the display unit 308 via the screen control unit 305 and to the printer 309 via the printer control unit 306, Stored in the auxiliary storage unit 303.
- a check instruction is issued from the keyboard 307 via the key input control section 304.
- the processing unit 301 executes a check routine in the system program. This check routine will be described with reference to FIG. According to the check instruction, a process of acquiring data for one instruction from the sequence program is executed (step S301). Next, a process for checking whether a device is used during the instruction is executed (step S302).
- step S303 a process of acquiring a device number is executed (step S303), and a process of checking whether the device number exceeds the number of device point information is executed (step S304). ).
- step S305 an error display process for notifying that the number is out of the range is executed.
- step S306 it is confirmed whether or not the check has been completed up to the final step (step S306), and the above-described series of processing is repeatedly executed up to the final step.
- a sequence program as shown in Fig. 21 the sequence program is checked sequentially from the first order, and when checking the third instruction, "MOV K40D9 "0 0 0" is obtained, and "D 900 0" is obtained as the device used during the order.
- the device “D900” is compared with the device range information of the device D, and the device “D900” is scored for the device D in the device range information. To check if it is within the range.
- the score of device D is "8 91 1"
- the number of device “D 900 0" is “900 0 0”, which is out of range and is shown in Fig. 23. Error is displayed. In this error display, the instruction number (list line) where the instruction using the device beyond the device range exists, and its order and device range information (maximum value) are displayed on the screen.
- 10 data from "DO" are replaced with 10 data from "D8190".
- a continuous device in a sequence program using an instruction for specifying a continuous device in a sequence program or a device notation indicating a continuous area is used solely by another command in a sequence program. Not about Since the check cannot be checked, the operator has no choice but to check the sequence program visually, which is troublesome and inconvenient, and the programmable controller may malfunction due to a check mistake.
- the index-qualified result of the instruction that specifies the index-qualifying device present in the sequence program is not used in another event existing in the sequence program.
- the operator must check the sequence program visually, which is time-consuming and inconvenient, and the programmable controller may malfunction due to a check error.
- a continuous device uses a mixture of a local device and a global device according to an instruction or a device notation for specifying a continuous device existing in a sequence program. If the device notation indicates that the local device and the global device are mixedly used in the device notation, and that the continuous device of the instruction that specifies the continuous device existing in the sequence program exists in the sequence program. Is not used alone in the order of the sequence program, or is the index-qualified result of the instruction specifying the index-qualifying device present in the sequence program used in another sequence in the sequence program? Each check of the Without the need for visual confirmation work of the ram itself, and its object is to provide a peripheral device of a programmable controller which can be performed automatically. Disclosure of the invention
- a storage means for storing a range of devices allocated to each sequence program, and an instruction for designating a continuous device existing in the sequence program and a device notation indicating a continuous area are sequentially extracted, and the device of the continuous area is thus extracted.
- the device in the continuous area is the range of the device stored in the storage means. It is possible to provide a peripheral device of a programmable controller having a resolution range checking means for checking whether or not the data is within.
- the device range checking means sequentially extracts the order specifying the continuous device and the device notation indicating the continuous region existing in the sequence program, and develops the device of the continuous region according to these. Check if the device is within the range of the device stored in the means.
- the present invention provides a storage device for storing device range information defining a range of local devices allocated to each sequence program and a range of a global device common to each sequence program, and a continuous device existing in the sequence program.
- the instructions to be specified and the device notation indicating the continuous area are sequentially extracted, and the devices in the continuous area are expanded based on these instructions. Whether the local area device and the global device are mixed in the continuous area device is stored in the storage means.
- a peripheral device of a programmable controller having an oral-global device mixed use checking means for inspecting with reference to the device range information provided.
- the local / global device mixed use checking means sequentially extracts the instruction designating the continuous device existing in the sequence program and the device notation indicating the continuous area, expands the device of the continuous area by these, and expands the continuous area. It is checked whether the local device and the global device are mixed in the device with reference to the device range information stored in the storage means.
- the present invention sequentially extracts an instruction designating a continuous device and a notation indicating a continuous region existing in a sequence program, expands a denoise of the continuous region by using these, and creates the same device as the device in the continuous region.
- a peripheral device of a programmable controller having a device duplicate use check means for comparing a device used by another command existing in the sequence program and checking duplicate use of the device can be provided.
- the device duplicate use check means exists in the sequence program. Instructions for specifying continuous noise and notations indicating continuous areas are sequentially extracted, and the denoise of continuous areas is expanded by using these instructions. Other commands that exist in the same sequence program as the denoise of continuous areas Compare the instruction to the device used and check for duplicate use of the device.
- the present invention sequentially extracts orders specifying an index-qualified device existing in a sequence program, and uses a device used by another order existing in the same sequence program as a device resulting from the index-qualification.
- a peripheral device of a programmable controller having device duplicate use clinics for checking duplicate use of devices.
- the device duplication use check means sequentially extracts the instructions specifying the index-modified devices present in the sequence program, and uses other instructions existing in the same sequence program as the index-modified result of the denoise. Check for duplicate use of devices by comparing devices.
- the present invention provides a processing unit such as a CPU, a main storage unit to which a system program area for storing a system program, a sequence program area for storing a sequence program, and a device range information area, and an auxiliary storage unit.
- a processing unit such as a CPU
- main storage unit to which a system program area for storing a system program, a sequence program area for storing a sequence program, and a device range information area
- the processing unit stores the system program end.
- an instruction for specifying a continuous device and a device notation indicating a continuous area existing in the sequence program are sequentially extracted, and the devices in the continuous area are expanded by using these instructions.
- Device range information stored in the information area In checks whether it is within the scope of the defined devices, it is possible to provide a peripheral device of a programmable controller to be displayed on the display device that is connected to the result before Symbol screen control unit.
- the order specifying the continuous devices existing in the sequence program and the device notation indicating the continuous area are sequentially displayed. Extracting, expanding the devices in the continuous area based on these, and inspecting whether or not the devices in the continuous area are within the device range defined by the device range information stored in the device range information area. It is performed and the result is displayed on the display connected to the screen control unit.
- the present invention provides a processing unit such as a CPU, a main storage unit to which a system programer for storing a system program, a sequence programer for storing a sequence program, and a device range information agent, respectively, and an auxiliary storage unit.
- a processing unit such as a CPU, a main storage unit to which a system programer for storing a system program, a sequence programer for storing a sequence program, and a device range information agent, respectively, and an auxiliary storage unit.
- a key input control unit, and a screen control unit wherein the device range information includes a device range defining a local device range allocated to each sequence program and a global device range common to each sequence program.
- the information is stored, and the processing unit executes the system program stored in the system programmer, whereby an order or a continuous area specifying a continuous device existing in the sequence program of the sequence programmer is stored.
- the device in the continuous area is extracted, and the device in the continuous area is inspected for whether the local device and the global device are mixed in the device in the continuous area with reference to the device range information. It is possible to provide a peripheral device of the programmable controller for displaying on a display connected to the screen control unit. Therefore, by executing the system program by the processing unit, the instructions that specify the continuous devices and the device notation indicating the continuous area existing in the sequence program of the sequence programer are sequentially extracted, and the devices of the continuous area are expanded by these. An inspection is performed by referring to the device range information to determine whether the low-density wheel and the global denoise wheel are mixed in the denoise chair in the area, and the result is connected to the screen control unit. Displayed on the display.
- the present invention provides a main storage unit to which a processing unit such as a CPU, a system program area storing a system program, and a sequence program area storing a sequence program are respectively allocated, an auxiliary storage unit, and a key input control. And a screen control unit, wherein the processing unit is stored in the system program area.
- a processing unit such as a CPU
- a system program area storing a system program
- a sequence program area storing a sequence program are respectively allocated
- an auxiliary storage unit and a key input control.
- a screen control unit wherein the processing unit is stored in the system program area.
- the instructions specifying the continuous device and the notation indicating the continuous area in the sequence program stored in the sequence program area are sequentially extracted, and the devices in the continuous area are expanded by these. Then, the device in the continuous area is compared with the device used by another instruction in the same sequence program to detect duplicate use of the device, and the result is connected to the screen control unit. Displayed on the display.
- the present invention provides a main storage unit to which a processing unit such as a CPU, a system program area storing a system program, and a sequence program area storing a sequence program are respectively allocated, an auxiliary storage unit, and a key input control. And a screen control unit, wherein the processing unit executes a system program stored in the system program area, so that an index modification existing in the sequence program stored in the sequence program area is performed.
- the instructions that specify the key sequence are sequentially extracted, the index-qualified device is compared with the device used by other instructions in the same sequence program, and the device is checked for duplicate use. Display the result on a display connected to the screen control unit It is possible to provide a peripheral device log Lama Bull controller.
- the instructions that specify the index-qualified devices existing in the sequence program stored in the sequence program area are sequentially extracted, and the same sequence program as the index-qualified device is extracted into the sequence program. Compare the device used by other existing devices The device is checked for duplicate use, and the result is displayed on a display connected to the screen control unit.
- FIG. 1 is a block diagram showing one embodiment of a peripheral device of a programmable controller according to the present invention.
- FIG. 2 is a block diagram showing a device range & local / global device hybrid in the peripheral device of the programmable controller according to the present invention.
- FIG. 3 is a flowchart showing a processing flow of a currently used check.
- FIG. 3 is a flowchart showing a processing flow of a process of taking out a device in a peripheral device of a programmable controller according to the present invention.
- FIG. FIG. 5 is a ladder circuit and a list representation diagram showing an example of a sequence program for performing a mixed use check of devices.
- FIG. 5 and 6 are explanatory diagrams showing actual examples of a mixed use check of a local device and a global device, respectively.
- Fig. 7 shows the story of Le Glover
- FIG. 8 is an explanatory diagram showing a screen display example of a mixed device use check result.
- FIG. 8 is a flowchart showing a processing flow of a first device duplicate use check in a peripheral device of a programmable controller according to the present invention.
- Fig. 9 is a ladder circuit and a list representation diagram showing an example of a sequence program that implements the first device duplication use check.
- Figs. 10 and 11 show the first device duplication use check, respectively.
- FIG. 12 is an explanatory diagram showing an example of a screen display of a first device duplicate use check result, and FIG.
- FIG. 13 is an explanatory diagram showing a peripheral device of a programmable controller according to the present invention.
- 2 is a flowchart showing a processing flow of device duplicate use check
- FIG. 15 is a flowchart showing a processing flow of a process for extracting a minimum value and a maximum value of a search device in a peripheral device of a controller.
- FIG. 15 is a ladder diagram showing an example of a sequence program for performing a second device overlap use check
- FIG. 16 is a circuit and list representation diagram
- FIG. 16 is an explanatory diagram showing an example of the second device duplication use chip
- FIG. FIG. 18 is a block diagram showing a peripheral device of a conventional programmable controller
- FIG. 19 is a diagram showing an example of device range information.
- FIG. 20 is a flowchart of a device check in a peripheral device of a conventional programmable controller
- FIG. 21 is a ladder diagram showing an actual example of a sequence program for performing a conventional device check
- FIG. 22 is an explanatory diagram showing an actual example of a conventional device check
- FIG. 23 is an explanatory diagram showing an example of a screen display of a conventional device check result.
- FIG. 1 is a block diagram of a peripheral device of a programmable controller according to the present invention.
- the PC peripheral device 10 includes a processing unit 11 such as a CPU, a main storage unit 12, an auxiliary storage unit 13, a key input control unit 14, a screen control unit 15, and a printer control unit 1.
- the key input control unit 14 has a keyboard 17, the screen control unit 15 has a display 18 such as a CRT, and the printer control unit 16 has a printer 19. It is connected.
- the main storage section 12 has a system program area 20, a sequence program area 21, and a device range information area 22 assigned thereto.
- the system program area 20 stores a system program
- the sequence program area 21 stores a system program area.
- the device range information area 22 stores device range information.
- the PC peripheral device 10 stores a sequence program in ladder and list representation via the key input control unit 14 from the keyboard 17 in the sequence program area 21 of the main storage unit 12 in the same manner as the conventional one.
- the device range information is stored in the device range information area 22 of the main storage unit 12.
- the device range information may be the same as the conventional one as exemplified in FIG.
- the PC peripheral device 10 outputs the sequence program and device range information stored in each area to the display 18 via the screen control unit 15 and to the printer 19 via the printer control 16. And stored in the auxiliary storage unit 13.
- the system programs stored in the system program area 20 are a program creation module 30 for programming sequence programs, and a device range & local / global device mixed use check (same attribute check) module 3 1 And a first device duplicate use check module 32 and a second device duplicate use check module 33.
- Device range to be checked & local / global device mixed use check (same attribute check) Module 31 sequentially extracts instructions that specify continuous devices in the sequence program and device notation that indicates continuous areas, and uses them. Expand the devices in the continuous area, check whether the devices in the continuous area are within the device range defined by the device range information stored in the device range information The device is checked whether local devices and global devices are mixed or not by referring to the device range information in the device range information area 22.
- the first device duplication use check module 32 sequentially extracts the appointment that designates continuous devices existing in the sequence program and the notation indicating the continuous area, and expands the linked area based on these.
- the device in the continuous area is compared with the device used by other instructions in the same sequence program, and the duplicate use of the device is checked.
- the second device duplication use check module 33 sequentially extracts an instruction specifying an index-qualified device present in the sequence program, and uses another instruction existing in the same sequence program as the device resulting from the index-qualification. Check for duplicate device usage by comparing to the device that is running.
- the continuous device is defined in advance by the device range information, with the instruction to specify the continuous device in the sequence program and the device notation indicating the continuous area.
- the processing unit 11 executes the device range & local / global device mixed use check module 31 in the system program.
- step S1 a process for setting the reference destination of the sequence program copy source to the first order is executed. As a result, it is set as the reference destination of the first instruction copy source.
- step S2 a process of copying one instruction + device to the work area from the sequence program is executed (step S2), and one instruction + device is copied to the work area.
- a process is performed to determine whether the one instruction + device copied to the first work area is an instruction for designating a device pointing to a continuous area or a device notation (step S3). If it is neither an instruction to specify a device indicating a continuous area nor a device notation, a process for setting the reference destination of the sequence program copy source to the next instruction is executed (step S4), and the sequence program copy unity is executed. Is set to the next instruction, and the process repeats from the process of copying one instruction + device to the work area from the sequence program (step S2).
- step S5 a process for extracting the device is executed (step S5), and only the device is extracted from one instruction + device.
- a process is performed to decompose the 1 character + device from the character string following the instruction into a character string group excluding the space character by using the space character (space) as a key (step S21), and disassembly into individual device parts.
- the device of the device which shows the area where the first character of the character string is continuous
- the notation that is, the process of determining whether it is "K” is executed (step S22), and if the first character is "K", the process of cutting out the numerical value following "K” is executed (step S23). ), Acquire (expand) the range of continuous devices.
- step S24 a process for determining whether there is a device following the "K" + numerical value is executed. If a device exists, a process for cutting out the device numerical value following the "K” + numerical value is executed. (Step S25), the head of the continuous device is obtained. Next, a process is performed to determine whether or not all character strings have been extracted (step S26). If all character strings have not been extracted, the first character of the character string is "K”. It repeats from the process of judging whether there is (Step S22). If the entire character string is cut out, a process is performed to determine whether or not the instruction (“BMOV”) specifies a device that points to a continuous area (step S27), and a device that points to a continuous area is specified.
- BMOV instruction
- step S28 If it is an instruction to execute the command, a process is executed to obtain from the data table corresponding to the instruction how many character strings indicate the continuous area (step S28), and the device indicating the continuous area is obtained from the data table (step S28). expand. Next, a process of determining whether the first character of the character string of the device is other than "K” is executed (step S29), and if it is not "K", a process of extracting a device value is executed (step S29). S 30).
- the process of taking out the device is completed.
- the device in the continuous area cut out as described above is the device range. It is determined whether the device is within the device range defined in the information (step S6).
- step S9 a process for saving the result as print print data and screen display data is executed (step S9), and the print print data and Create and add screen display data.
- the device in the continuous area is within the device range defined in the device range information, the device in the continuous area cut out as described above is first placed in the device area.
- step 14 Perform the process of extracting the attribute information of the device in the area from the device range information (step 14).
- step S8 a process is performed to determine whether or not the attribute is the same in the area (step S8), and the device in the continuous area is compared with the local device range information and the global device range information. If the attributes are not the same, a process of saving the result as printout data and screen display data is executed (step S9), and printout data and screen display data are created and added.
- step S10 a process for determining whether or not there is still an instruction is executed. If there is still an instruction, a process for setting the reference destination of the sequence program copy source to the next order (step S4) ) Is executed, the reference destination of the sequence program copy source is set to the next instruction, and the process is repeated from the sequence program (1 step + device is copied to the work area (step S 2)).
- the save result (check result) is output to the CRT 18 via the screen control unit 15 and to the printer 19 via the print control unit 16 ( Step S 1 1).
- the output result includes the instruction number (list line) where the instruction that specifies a device outside the device range exists, its order, the device notation where local and global devices are mixedly used, and the device that points to a continuous area.
- instruction number list line
- list line the instruction that specifies a device outside the device range exists
- the instruction includes the instruction number (list line) where the specified instruction exists, the instruction, and the mixed use location and related device range information (regular local device range and global device range).
- the third instruction “M ⁇ V K4M92 DO” includes the notation “K” of a device indicating a continuous area. As shown in Fig.
- the seventh instruction “BMOV D45 D10K10” is an instruction (transfer instruction) pointing to a continuous area, and according to the instruction, here, as shown in FIG. Get devices "D45” to "D54" that point to the continuous area of. A device that points to the continuous area of the transfer destination is also obtained in the same way, but is not described here because an error does not occur.
- the devices “D45” to “D49” are low-power devices and "D50".
- ⁇ "M54" is a global device, so an instruction pointing to the 7th continuous area is determined to be local 'global device mixed use'.
- a check result as shown in FIG. 7 is displayed on the screen. This makes it possible to check whether a local device and a global device are mixedly used in an instruction that specifies a continuous device existing in a sequence program or in a continuous device using device notation indicating a continuous area. It is performed automatically and reliably and quickly without the need for visual confirmation work, and malfunctions of the programmable controller due to check mistakes can be avoided.
- the check routine by the first device duplicate use check module 32 will be described with reference to FIG.
- step S41 a process of setting the reference destination of the sequence program copy source to the first instruction (the instruction on the inspection side of the duplicate use device) is executed.
- step S42 a process of copying one instruction + device to the first work area from the sequence program is executed (step S42), and the one command + device is copied to the first work area.
- an instruction for designating a device indicating a continuous area or a device notation is executed for the one command + device copied to the first work area (step S43). If it is neither an instruction to specify a device indicating a continuous area nor a device notation, a process for setting the reference destination of the sequence program copy source to the next order is executed (step S44), and the sequence program is executed. Copy Set the reference destination of the unit to the next instruction, and repeat from the process of copying one instruction + device to the work area from the sequence program (step S42). This implies a scan of the instruction on the inspecting side of the duplicate usage device.
- the device is extracted (step S45), and only the device is extracted from one instruction + the device.
- the process of extracting a device is performed in accordance with the process flow shown in FIG.
- step S46 a process of setting the reference destination of the sequence program copy source to the first instruction (the instruction on the comparison side of the duplicate use device) is executed (step S46).
- the first instruction is set as the reference destination of the copy source.
- a process of copying one instruction + device from the sequence program to the second work area is executed. Step S47).
- step S48 a process of taking out the device from the one instruction copied in the second work area + the device is executed.
- step S49 it is determined whether or not the device extracted from the one instruction of the second work area + the device is within the continuous area by the one instruction of the first work area + the device (step S49). ).
- step S50 a process of storing the result as print data and screen display data is executed (step S50), and print print data and screen display data are created and added.
- Step S51 a process is performed to determine whether or not there is still an order on the comparison side of the duplicated device. If there is still an instruction, the sequence program copy unit is referred to the next instruction. (Step S52), set the reference destination of the sequence program copy source to the next instruction, and copy one instruction + device from the sequence program to the second work area (step S52). Repeat from S47). This means a scan of the comparison side of the duplicate use device. Upon completion of the instruction on the comparison side of the duplicate use device, a process for determining whether there is still an instruction on the inspection side of the duplicate use device is executed (step S53).
- step S44 execute the process of setting the reference destination of the sequence program copy source to the next order (step S44), and set the reference destination of the sequence program copy source to the next instruction.
- the process is repeated from the process of copying 1 device + device from the sequence program to the first work area (step S42).
- Step S54 the saved result (check result) is output to the CRT 18 via the screen control unit 15 and to the printer 19 via the print control unit 16.
- the output results include duplicate devices, device notation in which the device is used alone in other instructions, and numbers (list lines) where there are instructions that specify devices that point to contiguous regions, and the instructions.
- the third instruction “M ⁇ V K4M92 D 1 2” includes the device notation “K” indicating a continuous area,
- "4" is cut out as a process to cut out the numerical value following the first character "K” of the device section "K4M92 D12" following the instruction section "MOV”, Get the range of consecutive devices "K1" to "K4".
- Devices "M92" to “Ml 07" are assigned to the continuous device range "K to" K4 ".
- the seventh instruction "BMOV D45D10K10” is an instruction (transfer instruction) pointing to a continuous area, and according to the instruction, here, as shown in FIG. Then, the devices "D10" to “D19" indicating the continuous area of the transfer destination are acquired.
- the check result as shown in FIG. 12 is displayed on the screen.
- This enables the sequence program to check whether a continuous device is specified by an instruction that specifies a continuous device or that a continuous device is not used alone by another instruction that exists in the sequence program.
- the system is automatically and reliably and quickly performed without the need for visual confirmation of the program itself, and a malfunction of the programmable controller due to a check error can be avoided.
- a check routine by the second device duplicate use check module 33 will be described with reference to FIG.
- step S61 a process of setting the reference destination of the sequence program copy source to the first order (instruction on the duplicated device inspection side) is executed.
- step S62 a process of copying one command + device to the first work area from the sequence program is executed (step S62), and the i instruction + device is copied to the first work area.
- step S63 a process is performed to determine whether the one instruction + device copied to the first work area includes an index-qualified device. If the instruction does not include the index-qualified device, the process of setting the reference destination of the sequence program copy source to the next instruction is executed (step S64), and the reference destination of the sequence program copy source is set to the next instruction. And repeat from the process of copying 1 instruction + device from the sequence program to the work area (step S62).
- the minimum value and the maximum value of the search device are extracted (step S65), and the minimum value of the search device is obtained from one instruction and the device. Get the maximum value.
- step S81 a process of decomposing the character string following 1 device + device into a character string group excluding the space by using a blank character as a key is performed (step S81), and the device section is divided into individual devices.
- the last character of the disassembled device string is the index device table.
- a process of determining whether the value is "Z" is executed (step S82).
- step S85 a process is performed to determine whether or not all the character strings have been cut out. On the other hand, if the execution has been performed only on a part, the process of determining whether the last character of the character string is “Z” (step S82) is performed on all the individual devices included in the device section. Repeat to execute.
- the device value before "Z” is cut out and set to the minimum value of the search device (step S83).
- step S85 a process of determining whether or not the entire character string has been cut out is executed (step S85), and a process of determining whether the final character of the character string is "Z" (step S85). Repeat step 82) for all devices included in the device section.
- step S66 a process of setting the reference destination of the sequence program copy source to the first instruction (the instruction on the comparison side of the duplicate use device) is executed (step S66).
- the first instruction is set as the reference destination of the copy source.
- step S67 a process of copying one command + device from the sequence program to the second work area is executed (step S67).
- step S68 a process of taking out the device from the one command + device copied to the second work area is executed.
- Step S69 whether the device extracted from one instruction in the second work area + device is in the device search area by one instruction in the first work area + device (instruction including index-qualified device) (Step S69) ) o
- step S70 a process of storing the result as print-out data and screen display data is executed (step S70), and print-out data and screen display data are created and added.
- Step S71 a process is performed to determine whether or not there is still an instruction on the comparison side of the duplicate use device. If there is still an instruction, the reference destination of the sequence program copy source is changed to the next. (Step S72), set the reference destination of the sequence program copy source to the next order, and copy 1 instruction + device from the sequence program to the second work area. (Step S67) is repeated.
- step S 73 a process for determining whether there is still an instruction on the inspection side of the duplicate use device is executed.
- step S 64 Execute the process of setting the reference destination of the sequence program copy source to the next instruction (step S64), set the reference destination of the sequence program copy source to the next instruction, and set one instruction + device from the sequence program to the first instruction. It repeats from the process of copying to the work area (step S62).
- the storage result (check result) is output to the CRT 18 via the screen control unit 15 and to the printer 19 via the printer control unit 16 (step). S 74).
- the output includes the index-qualified device, the instructions that duplicate the index-qualified result, and the instructions.
- the i-th instruction "MOV D10 ZD100” is an instruction for specifying an index modification device. Extract the minimum value “D10” and the maximum value “D19” of the search device and obtain the search range “D10” to "D19” of the device as shown in.
- a peripheral device that creates a sequence program for a programmable controller that controls machinery and equipment, and can be used as an automatic checker for a sequence program.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Programmable Controllers (AREA)
- Debugging And Monitoring (AREA)
Description
Claims
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2000-7010608A KR100407635B1 (ko) | 1999-01-25 | 1999-01-25 | 프로그래머블 컨트롤러의 주변장치 |
DE19983015T DE19983015B4 (de) | 1999-01-25 | 1999-01-25 | Peripherievorrichtung zum Überprüfen eines Ablaufprogramms für eine programmierbare Steuereinrichtung |
JP2000595243A JP4001461B2 (ja) | 1999-01-25 | 1999-01-25 | プログラマブルコントローラの周辺装置 |
PCT/JP1999/000270 WO2000043883A1 (fr) | 1999-01-25 | 1999-01-25 | Unite peripherique de controleur programmable |
US09/643,954 US6810433B1 (en) | 1999-01-25 | 2000-08-23 | Peripheral device for programmable controller |
US10/833,328 US6850993B2 (en) | 1999-01-25 | 2004-04-28 | Peripheral device for programmable controller |
US10/938,825 US6948005B2 (en) | 1999-01-25 | 2004-09-13 | Peripheral device for programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP1999/000270 WO2000043883A1 (fr) | 1999-01-25 | 1999-01-25 | Unite peripherique de controleur programmable |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/643,954 Continuation US6810433B1 (en) | 1999-01-25 | 2000-08-23 | Peripheral device for programmable controller |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2000043883A1 true WO2000043883A1 (fr) | 2000-07-27 |
Family
ID=14234776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP1999/000270 WO2000043883A1 (fr) | 1999-01-25 | 1999-01-25 | Unite peripherique de controleur programmable |
Country Status (5)
Country | Link |
---|---|
US (3) | US6810433B1 (ja) |
JP (1) | JP4001461B2 (ja) |
KR (1) | KR100407635B1 (ja) |
DE (1) | DE19983015B4 (ja) |
WO (1) | WO2000043883A1 (ja) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002251207A (ja) * | 2001-02-21 | 2002-09-06 | Mitsubishi Electric Corp | プログラマブルコントローラ及び周辺装置並びにデバッグ方法 |
EP1331533A2 (de) * | 2002-01-24 | 2003-07-30 | Luxmate Controls GmbH | Verfahren zum Zuordnen von Betriebsadressen in einem Steuersystem für eine Vielzahl von Aktoren |
JP2008070930A (ja) * | 2006-09-12 | 2008-03-27 | Yokogawa Electric Corp | プログラムデバッグ装置 |
JP2022016659A (ja) * | 2018-10-23 | 2022-01-21 | 株式会社キーエンス | 外部設定機器、ロギング設定方法およびプログラム |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7594229B2 (en) * | 2001-10-09 | 2009-09-22 | Nvidia Corp. | Predictive resource allocation in computing systems |
JP3809151B2 (ja) * | 2003-04-21 | 2006-08-16 | ファナック株式会社 | シーケンスプログラム編集装置 |
GB2474250B (en) * | 2009-10-07 | 2015-05-06 | Advanced Risc Mach Ltd | Video reference frame retrieval |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63175930A (ja) * | 1987-01-16 | 1988-07-20 | Nissan Motor Co Ltd | 制御プログラムのドキユメント作成装置 |
JPH052410A (ja) * | 1991-04-01 | 1993-01-08 | Mitsubishi Electric Corp | プログラマブルコントローラ及びそのシーケンスプログラムモニタ方法 |
JPH10340108A (ja) * | 1997-06-06 | 1998-12-22 | Mitsubishi Electric Corp | プログラマブルロジックコントローラの周辺装置 |
Family Cites Families (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4227247A (en) * | 1977-10-12 | 1980-10-07 | Eaton Corporation | Integrated circuit controller programmable with unidirectional-logic instructions representative of sequential wire nodes and circuit elements of a ladder diagram |
JPS5853368B2 (ja) * | 1978-08-30 | 1983-11-29 | 三菱電機株式会社 | シ−ケンスコントロ−ラ |
US4316244A (en) * | 1978-11-08 | 1982-02-16 | Data General Corporation | Memory apparatus for digital computer system |
US4443865A (en) * | 1981-10-26 | 1984-04-17 | Allen-Bradley Co. | Processor module for a programmable controller |
DE3242631A1 (de) * | 1981-11-18 | 1983-05-26 | Omron Tateisi Electronics Co., Kyoto | Programmierbare steuereinrichtung |
DE68928113T2 (de) * | 1988-04-01 | 1997-10-09 | Nippon Electric Co | Reihenfolgesteuersystem zur Behandlung von Befehlen |
US5038317A (en) * | 1988-07-25 | 1991-08-06 | Allen-Bradley Company, Inc. | Programmable controller module rack with a relative rack slot addressing mechanism |
US5243511A (en) * | 1989-06-30 | 1993-09-07 | Icom, Inc. | Method and apparatus for block move re-addressing in ladder logic programs |
US5295059A (en) * | 1992-09-09 | 1994-03-15 | Allen-Bradley Company, Inc. | Programmable controller with ladder diagram macro instructions |
JP3024422B2 (ja) * | 1993-04-01 | 2000-03-21 | 三菱電機株式会社 | プログラマブルコントローラおよびプログラマブルコントローラの運転方法 |
JPH0736510A (ja) * | 1993-07-22 | 1995-02-07 | Mitsubishi Electric Corp | プログラマブルコントローラ |
JP3251414B2 (ja) * | 1994-01-11 | 2002-01-28 | 三菱電機株式会社 | プログラマブルコントローラおよびそのプログラム容量変更方法 |
US5832304A (en) * | 1995-03-15 | 1998-11-03 | Unisys Corporation | Memory queue with adjustable priority and conflict detection |
US5854921A (en) * | 1995-08-31 | 1998-12-29 | Advanced Micro Devices, Inc. | Stride-based data address prediction structure |
JP3458578B2 (ja) | 1996-01-25 | 2003-10-20 | 日産自動車株式会社 | ラダーシーケンス回路のチェック方法 |
JPH09212394A (ja) * | 1996-01-31 | 1997-08-15 | Mitsubishi Electric Corp | データ処理装置 |
TW470915B (en) * | 1996-03-12 | 2002-01-01 | Matsushita Electric Ind Co Ltd | Optimization apparatus which removes transfer instructions by a global analysis of equivalence relations |
KR980000737A (ko) | 1996-06-03 | 1998-03-30 | 손욱 | 저항 용접의 접합 방법 |
US5615697A (en) | 1996-06-10 | 1997-04-01 | Fu Tai Umbrella Works, Ltd. | Pocketable folding umbrella with foldably sandwiched ribs |
JP3317156B2 (ja) | 1996-09-18 | 2002-08-26 | 三菱電機株式会社 | リモートplc装置を備えた数値制御装置 |
US5848256A (en) * | 1996-09-30 | 1998-12-08 | Institute For The Development Of Emerging Architectures, L.L.C. | Method and apparatus for address disambiguation using address component identifiers |
KR100222304B1 (ko) | 1997-03-19 | 1999-10-01 | 홍상복 | 프로그래머블 로직 콘트롤러 로더의 디바이스 판별방법 |
US6195674B1 (en) * | 1997-04-30 | 2001-02-27 | Canon Kabushiki Kaisha | Fast DCT apparatus |
JP3439945B2 (ja) * | 1997-05-26 | 2003-08-25 | 三菱電機株式会社 | プログラマブルコントローラおよびシーケンスプログラム実行方法 |
US6154684A (en) * | 1997-06-14 | 2000-11-28 | Rockwell Technologies, Llc | Template language for industrial controller programming |
US6094713A (en) * | 1997-09-30 | 2000-07-25 | Intel Corporation | Method and apparatus for detecting address range overlaps |
US6263429B1 (en) * | 1998-09-30 | 2001-07-17 | Conexant Systems, Inc. | Dynamic microcode for embedded processors |
US6490635B1 (en) * | 2000-04-28 | 2002-12-03 | Western Digital Technologies, Inc. | Conflict detection for queued command handling in disk drive controller |
JP3733842B2 (ja) * | 2000-07-12 | 2006-01-11 | 日本電気株式会社 | ベクトルスキャタ命令制御回路及びベクトル型情報処理装置 |
-
1999
- 1999-01-25 JP JP2000595243A patent/JP4001461B2/ja not_active Expired - Lifetime
- 1999-01-25 WO PCT/JP1999/000270 patent/WO2000043883A1/ja not_active Application Discontinuation
- 1999-01-25 DE DE19983015T patent/DE19983015B4/de not_active Expired - Lifetime
- 1999-01-25 KR KR10-2000-7010608A patent/KR100407635B1/ko not_active IP Right Cessation
-
2000
- 2000-08-23 US US09/643,954 patent/US6810433B1/en not_active Expired - Lifetime
-
2004
- 2004-04-28 US US10/833,328 patent/US6850993B2/en not_active Expired - Lifetime
- 2004-09-13 US US10/938,825 patent/US6948005B2/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63175930A (ja) * | 1987-01-16 | 1988-07-20 | Nissan Motor Co Ltd | 制御プログラムのドキユメント作成装置 |
JPH052410A (ja) * | 1991-04-01 | 1993-01-08 | Mitsubishi Electric Corp | プログラマブルコントローラ及びそのシーケンスプログラムモニタ方法 |
JPH10340108A (ja) * | 1997-06-06 | 1998-12-22 | Mitsubishi Electric Corp | プログラマブルロジックコントローラの周辺装置 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002251207A (ja) * | 2001-02-21 | 2002-09-06 | Mitsubishi Electric Corp | プログラマブルコントローラ及び周辺装置並びにデバッグ方法 |
JP4569011B2 (ja) * | 2001-02-21 | 2010-10-27 | 三菱電機株式会社 | プログラマブルコントローラ及びその周辺装置 |
EP1331533A2 (de) * | 2002-01-24 | 2003-07-30 | Luxmate Controls GmbH | Verfahren zum Zuordnen von Betriebsadressen in einem Steuersystem für eine Vielzahl von Aktoren |
EP1331533A3 (de) * | 2002-01-24 | 2008-12-24 | Zumtobel Staff GmbH | Verfahren zum Zuordnen von Betriebsadressen in einem Steuersystem für eine Vielzahl von Aktoren |
JP2008070930A (ja) * | 2006-09-12 | 2008-03-27 | Yokogawa Electric Corp | プログラムデバッグ装置 |
JP2022016659A (ja) * | 2018-10-23 | 2022-01-21 | 株式会社キーエンス | 外部設定機器、ロギング設定方法およびプログラム |
JP7273935B2 (ja) | 2018-10-23 | 2023-05-15 | 株式会社キーエンス | 外部設定機器、ロギング設定方法およびプログラム |
Also Published As
Publication number | Publication date |
---|---|
DE19983015B4 (de) | 2006-02-23 |
US6810433B1 (en) | 2004-10-26 |
US6850993B2 (en) | 2005-02-01 |
KR100407635B1 (ko) | 2003-12-01 |
JP4001461B2 (ja) | 2007-10-31 |
KR20010024956A (ko) | 2001-03-26 |
US20050033873A1 (en) | 2005-02-10 |
US6948005B2 (en) | 2005-09-20 |
DE19983015T1 (de) | 2001-04-26 |
US20040199679A1 (en) | 2004-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2000043883A1 (fr) | Unite peripherique de controleur programmable | |
US20030090526A1 (en) | Analysis work support system | |
US20070157087A1 (en) | Method and system for automatically generating user interfaces for integration | |
JP4102137B2 (ja) | 制御プログラム作成支援システム及びその支援方法 | |
US20030195900A1 (en) | Design work assistance apparatus | |
JP4583260B2 (ja) | 汎用計算機の操作手順作成装置、プログラム、及び記憶媒体 | |
JP4032306B2 (ja) | 設計作業支援装置 | |
JP3037232B2 (ja) | 回路図データ編集装置における回路図の表示方法 | |
JP2009157751A (ja) | ソフトウェア開発支援装置 | |
JP4255737B2 (ja) | プログラマブルコントローラの周辺装置 | |
JP2969423B2 (ja) | Cadシステムにおけるグラフィックス表示装置とテキスト・ファイル表示装置との間のコミュニケーション・システム | |
JPH0744359A (ja) | ケース・ツールにおけるメモドキュメント作成方法及びメモドキュメントの選択方法 | |
JP2937381B2 (ja) | 集積回路の設計方法及び設計装置 | |
JPH0731671B2 (ja) | 数式入力編集方式 | |
JPH05290130A (ja) | 設計製図における穴加工情報属性付加方法 | |
JP2003308345A (ja) | 書類相関関係表示システム | |
JPH08147333A (ja) | 図面作成システム | |
JP2002334121A (ja) | Cad装置およびcadシステム並びに部品設計方法 | |
JPH10340188A (ja) | ファイルの更新項目関連図の自動作成装置 | |
JP2005293403A (ja) | 設計業務支援装置 | |
JP2004110168A (ja) | Cadの世代管理システム及び世代管理プログラム | |
JP2007148897A (ja) | Cadシステム、その使用方法およびその使用方法をコンピュータに実行させるプログラム | |
JPS63138466A (ja) | Cadシステムの形状デ−タ管理方法 | |
JPH02245903A (ja) | Cad穴明データからの数値制御データ作成方法 | |
JP2002133051A (ja) | 業務モデル作成装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): DE JP KR US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 09643954 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020007010608 Country of ref document: KR |
|
WWP | Wipo information: published in national office |
Ref document number: 1020007010608 Country of ref document: KR |
|
RET | De translation (de og part 6b) |
Ref document number: 19983015 Country of ref document: DE Date of ref document: 20010426 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 19983015 Country of ref document: DE |
|
WWR | Wipo information: refused in national office |
Ref document number: 1020007010608 Country of ref document: KR |