KR970007265B1 - PD program error search device and method - Google Patents
PD program error search device and method Download PDFInfo
- Publication number
- KR970007265B1 KR970007265B1 KR1019920024299A KR920024299A KR970007265B1 KR 970007265 B1 KR970007265 B1 KR 970007265B1 KR 1019920024299 A KR1019920024299 A KR 1019920024299A KR 920024299 A KR920024299 A KR 920024299A KR 970007265 B1 KR970007265 B1 KR 970007265B1
- Authority
- KR
- South Korea
- Prior art keywords
- program
- error
- unit
- input
- output
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/28—Error detection; Error correction; Monitoring by checking the correct order of processing
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Automation & Control Theory (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Programmable Controllers (AREA)
Abstract
내용없음No content
Description
제1도는 종래의 피엘씨 프로그래밍 장치 구성도.1 is a block diagram of a conventional PLC programming apparatus.
제2도는 종래 피엘씨 프로그램 작성시 신호 흐름도.2 is a signal flow diagram of a conventional PLC program writing.
제3도는 본 발명의 피엘씨 프로그램 오류검색장치 구성도.3 is a block diagram of a PRC program error search apparatus of the present invention.
제4도는 본 발명의 입출력 검사시 신호흐름도.4 is a signal flow chart during input and output check of the present invention.
제5도는 본 발명의 피엘씨 프로그램 오류검색시 신호흐름도.5 is a signal flow diagram of the PRC program error search of the present invention.
제6도는 제3도의 내부어드레스 메모리의 저장상태도.6 is a diagram showing the storage state of the internal address memory of FIG.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 화면표시부 2 : 키보드1: display unit 2: keyboard
3 : 래치부 4 : 프로그램저장부3: Latch part 4: Program storage part
5 : 중앙처리장치 6 : 제어명령기억부5: central processing unit 6: control command memory unit
7 : 인터페이스 8 : 경고출력부7: Interface 8: Warning Output
9 : 입출력검사부 10 : 피에이디티부9: input / output inspection unit 10: PID unit
11 : 오류검사부 12 : 내부어드레스메모리11: Error check unit 12: Internal address memory
본 발명은 피엘씨 프로그래밍 장치인 피에이디티(Programming And Debugging Tool : PADT)에 관한 것으로, 특히 피엘씨 프로그램 작성후에 피엘씨 프로그램 내부어드레스에 대해서 입력 또는 출력으로만 사용되는 어드레스를 찾아 피엘씨 프로그램의 오류검색을 가능하도록 한 피엘씨 프로그램 오류검색장치 및 방법에 관한 것이다.The present invention relates to a programming and debugging tool (PADT), which is a PLC programming device. In particular, after writing a PLC program, a PLC program internal address is searched for an address which is used only as an input or an output. An error retrieval apparatus and method for a PRC program that enables error retrieval.
제1도는 종래의 피엘씨 프로그래밍 장치 구성도로서 이에 도시된 바와 같이 주변장치의 제어를 위해 사용자가 프로그램을 작성하는 피에이디티부(10)와, 그 피에이디티부(10)를 통해 작성된 프로그램을 인가받아 그 프로그램의 논리에 따라 주변장치를 제어하는 피엘씨(20)로 구성되며, 상기 피에이디티부(10)는 사용자로부터 명령을 인가받아 시스템에 사용되는 신호로 변환하여 시스템에 인가하는 키보다(2)와, 그 키보드(2)에 의해 작성된 프로그램을 화면에 표시하기 위해 저장하는 래치부(3)와, 그 래치부(3)에 저장된 프로그램을 사용자에게 인식시키기 위해 화면을 통해 표시하는 화면표시부(1)와, 상기 키보드(2)에 의해 작성된 프로그램을 저장하는 프로그램저장부(4)와, 피엘씨 프로그래밍 장치의 제어명령을 기억하는 제어명령기억부(6)와, 그 제어명령기억부(6)의 제어명령을 인가받아 피엘씨 프로그래밍 장치의 전체적인 시스템을 제어하는 중앙처리장치(5)와, 그 중앙처리장치(5)의 제어신호에 의해 상기 프로그램저장부(4)의 피엘씨 프로그램을 피엘씨(20)에 전송하는 인터페이스부(7)로 구성된다.FIG. 1 is a block diagram of a conventional PCC programming device. As shown therein, a PID part 10 for creating a program for a control of a peripheral device and a program created through the PD part 10 are applied. It is composed of a PLC 20 to control the peripheral device in accordance with the logic of the program, the PID unit 10 receives a command from the user to convert the signal to be used in the system than the key applied to the system ( 2), a latch unit 3 for storing a program created by the keyboard 2 for display on the screen, and a screen display unit for displaying the program stored in the latch unit 3 on the screen so as to recognize a user. (1), a program storage section 4 for storing a program created by the keyboard 2, a control command storage section 6 for storing control commands of a PLC programming device, and a control name thereof The central processing unit 5 which controls the overall system of the PLC programming device by receiving the control command of the storage unit 6, and the PEL of the program storage unit 4 by the control signal of the central processing unit 5; It is composed of an interface unit 7 for transmitting the C program to the PLC (20).
이와같이 구성된 종래 피엘씨 프로그래밍 장치의 동작과정 및 문제점을 프로그램 작성시의 신호흐름도인 제2도를 참조하여 설명하면 다음과 같다.An operation process and a problem of the conventional PLC programming device configured as described above will be described with reference to FIG. 2, which is a signal flow diagram in programming.
사용자가 피에이디티부(10)의 키보드(2)를 조작하여 프로그램을 작성하면, 래치부(3)는 작성된 프로그램을 래칭시킨 후 화면표시부(1)에 인가하고, 그 화면표시부(1)는 사용자가 작성된 프로그램을 확인할 수 있게 화면으로 표시하여 시각적으로 인식시키고 이에따라 사용되는 프로그램의 오류를 판단하고 이후 작성된 프로그램은 프로그램저장부(4)에 인가하여 그로그램을 저장한다.When the user manipulates the keyboard 2 of the passive unit 10 to create a program, the latch unit 3 latches the created program and then applies it to the screen display unit 1, and the screen display unit 1 The program is displayed on the screen so that the created program can be recognized and visually recognized, and the error of the program used is judged accordingly. Then, the created program is applied to the program storage unit 4 to store the program.
이때 중간코드를 생성하여 이 과정에서 논리적으로 이상이 발생하면 피엘씨 프로그램은 생성될 수 없어 에러경보를 발새하고 에러발생이 되지 않으면 중간코드를 생성하여 피엘씨 프로그램을 상기 프로그램저장부(4)에 저장한다.At this time, if an abnormality occurs logically in this process by generating an intermediate code, the PLC program cannot be generated and an error alarm is generated. If the error does not occur, the intermediate code is generated to generate the PLC program to the program storage unit 4. Save it.
상기의 과정을 통해 작성된 피엘씨 프로그램은 제어명령기억부(6)에 저장되어 있는 제어신호를 인가받은 중앙처리장치(5)는 시스템을 제어하여 인터페이스(7)에 인가하고, 그 인터페이스(7)는 피엘씨 프로그램을 피엘씨(20)에 인가하고 그 피엘씨(20)는 프로그램 논리에 따라 주변장치를 제어한다.The PLC program generated through the above process receives the control signal stored in the control command memory unit 6, the central processing unit 5 controls the system and applies it to the interface 7, the interface (7) Applies a PLC program to the PLC 20, and the PLC 20 controls peripheral devices according to the program logic.
상기의 과정을 통해 작성되는 종래 피엘씨 프로그램에서 오류를 찾으려면 피엘씨 프로그램을 동작시킨 후 이상이 발생하면 작성된 피엘씨 프로그램의 내용을 직접 눈으로 확인하여 오류를 검색하므로 프로그램이 오류검색에 많은 시간이 소비될 뿐만 아니라 정확히 찾을 수 없어 피엘씨의 성능을 저하시키는 문제점이 있었다.To find an error in the conventional PLC program created through the above process, if the error occurs after operating the PLC program, check the contents of the written PLC program directly and search for errors, so the program spends a lot of time searching for errors. This was not only consumed, but could not be found exactly, causing the problem of lowering the performance of PL.
본 발명은 상기의 같은 종래의 문제점을 감안하여 피엘씨 프로그램을 작성한 후 동작시키기 전에 오류검색부를 이용하여 어드레스가 입·출력으로만 동작하는 어드레스를 찾아 사용자에게 경고메시지를 전달하므로 쉽게 프로그램 수정이 가능하도록 하여 피엘씨의 성능을 향상하고자 한다.In view of the above-described conventional problems, the present invention finds an address whose address operates only by input / output using an error search unit before writing and operating a PLC program, and thus easily transmits a warning message to the user. We want to improve the performance of PL.
제3도는 본 발명의 피엘씨 오류검색장치 구성도로서 이에 도시한 바와 같이 사용자의 조작에 따른 명령을 시스템신호로 변화시켜 시스템에 인가하는 키보드(2)와, 그 키보드(2)를 통해 작성된 포로그램을 일시저장하는 래치부(3)와, 그 래치부(3)에 저장된 프래그램을 인가받아 사용자가 시간적으로 인식할 수 있게 화면으로 표시하는 화면표시부(1)와, 상기 래치부(3)에 일시 저장된 프로그램을 인가받아 저장하는 프로그램저장부(4)와, 그 프로그램저장부(4)에 저장되어 있는 프로그램을 인가받아 내부어드레스에 대한 입출력정보를 검사하는 입출력검사부(9)와, 그 입출력검사부(9)의 입출력에 대한 정보검사 결과를 인가받아 저장하는 내부어드레스메모리(12)와, 그 내부어드레스메모리(12)의 입출력에 대한 정보를 인가받아 오류를 검사하는 오류검사부(11)와, 그 오류검사부(11)의 오류검사결과에 따라 오류가 발견되면 이를 사용자에게 경고를 표시하여 인식시키는 경고출력부(8)로 구성한다.3 is a schematic diagram of a PLC error retrieval apparatus according to the present invention. As shown in FIG. 3, the keyboard 2 converts a command according to a user's operation into a system signal and applies it to the system, and a captive created through the keyboard 2. A latch unit 3 for temporarily storing a gram, a screen display unit 1 for receiving a program stored in the latch unit 3 and displaying it on a screen for the user to recognize in time, and the latch unit 3 A program storage unit (4) for receiving and storing a program temporarily stored in the program, an input / output inspection unit (9) for checking input / output information for an internal address by receiving a program stored in the program storage unit (4), and input / output thereof The internal address memory 12 which receives and stores the information inspection result for the input / output of the inspection unit 9 and the error inspection unit 11 which receives the information about the input / output of the internal address memory 12 and checks the error. And, if an error is found according to the error check result of the error check unit 11 is configured as a warning output unit (8) by displaying a warning to recognize the user.
이와같이 구성한 본 발명의 피엘씨 프로그램 오류검색장치의 동작과정과 방법 및 작용효과를 본 발명의 피엘씨 프로그램 오류검색시 부분별 신호르름도인 제4도 및 제5도를 참조하여 상세히 설명하면 다음과 같다.The operation, method, and effects of the PLC program error retrieval apparatus of the present invention configured as described above will be described in detail with reference to FIGS. same.
사용자가 키보드(2)를 조작하여 프로그램을 작성하면 래치부(3)는 작성된 프로그램을 일시 저장한 후 화면표시부(1)와 프로그램 저장부(4)에 인가하며 상기 화면표시부(1)는 작성된 프로그램을 사용자에게 화면으로 표시하고 상기 프로그램저장부(4)는 작성된 프로그램을 저장한다.When the user manipulates the keyboard 2 to create a program, the latch unit 3 temporarily stores the created program and applies it to the screen display unit 1 and the program storage unit 4, and the screen display unit 1 writes the created program. Is displayed on the screen to the user, and the program storage unit 4 stores the created program.
프로그램 작성이 완료되어 프로그램의 오류를 찾기 위해 사용자가 상기 키보드(2)를 조작하면 입출력검사부(9)는 제4도에서와 동일하게 프로램에 사용된 내부어드레스 판단하여 내부어드레스가 아니면 한 스템을 증가시키고, 내부어드레스로 판단되면 입력명령상태인지 출력명령인지를 판단하여 입력명령이면 내부어드레스메모리(12)의 해당 어드레스영역에 저장하고, 출력명령이면 내부어드레스메모리(12)에 현재어드레스가 출력임을 표시한다.When the program is completed and the user manipulates the keyboard 2 to find an error in the program, the input / output inspection unit 9 determines the internal address used in the program as shown in FIG. If it is determined that the internal address is an input command state or an output command, it is determined that the input command is stored in the corresponding address area of the internal address memory 12, and if it is an output command, the current address is output to the internal address memory 12. Display.
이때 상기 내부어드레스메모리(12)는 제6도에 도시한 바와 같이 입출력 모드 사용되었으면 입력영역과 출력영역 모두 고전위로 표시하고 입력만 사용되었으면 입력영역은 고전위상태로 표시하고 출력영역은 저전위로 표시하여 모드에 따라 입출력 명령모드를 저장한다.At this time, the internal address memory 12 displays the input area and the output area at high potential when the input / output mode is used as shown in FIG. 6, and the input area is displayed at the high potential state and the output area is displayed at the low potential when only the input is used. To save the I / O command mode according to the mode.
이후 오류검사부(11)는 상기 내부어드레스메모리(12)의 메모리 상태를 인가받아 제5도에 도시한 바와 같이 어드레스가 입력에만 사용되어 있는지를 판단하여 입력에만 사용되었으면 경고출력부(8)로 에러신호를 인가하고 그 경고출력부(8)는 사용자에게 프로그램 오류를 경고하고, 어드레스가 출력에 사용되었으면 출력에만 사용되었는지를 판단하여 출력에만 사용되면 상기와 동일하게 경고출력부(8)를 통해 프로그램 오류를사용자에게 인식시킨 후 다음 어드레스를 상기와 동일한 방법으로 오류의 검사를 시행한 다음 상기 내부어드레스메모리(12)의 내부어드레스메모리를 모두 검사한 상태이면 동작을 완료한다.Thereafter, the error checking unit 11 receives the memory state of the internal address memory 12 and determines whether the address is used only for the input as shown in FIG. When the signal is applied and the warning output unit 8 warns the user of a program error, and determines whether the address has been used for the output, if the address is used for the output, the program is output through the warning output unit 8 as described above. After the error is recognized by the user, the next address is checked in the same manner as described above, and the operation is completed when all of the internal address memories of the internal address memory 12 are checked.
상기의 과정을 통해 프로그램의 오류를 검사하여 프로그램이 정상상태이면 중앙처리장치의 제어에 따라 인터페이스를 통해 피엘씨의 인가되며 피엘씨는 작성된 프로그램의 논리에 따라 주변장치를 제어한다.Through the above process, the error of the program is checked and if the program is in a normal state, the control of the central processing unit is applied to the PL through the interface, and the PI controls the peripheral device according to the logic of the written program.
이상에서 상세히 설명한 바와 같이 본 발명의 피엘씨 프로그램 오류검색장치 및 방법은 피에이디티의 입출력검사부로 작성된 프로그램의 내부어드래스가 입력으로 사용되었는지 출력으로 사용되었는지를 검사하고 그 결과를 내부어드레스메모리에 저장한 후 검사오류부로 프로그램의 오류를 검출하여 사용자에게 인식시켜 프로그램의 오류를 단시간에 정확히 찾을 수 있어 피엘씨의 성능을 향상하는 효과가 있다.As described in detail above, the PLC program error retrieval apparatus and method of the present invention examines whether an internal address of a program created by a PID input / output checker is used as an input or an output, and the result is stored in the internal address memory. After saving the program, the error of the program can be detected and recognized by the user with the test error part, so that the error of the program can be found accurately in a short time.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920024299A KR970007265B1 (en) | 1992-12-15 | 1992-12-15 | PD program error search device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920024299A KR970007265B1 (en) | 1992-12-15 | 1992-12-15 | PD program error search device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR940015826A KR940015826A (en) | 1994-07-21 |
KR970007265B1 true KR970007265B1 (en) | 1997-05-07 |
Family
ID=19345601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019920024299A Expired - Fee Related KR970007265B1 (en) | 1992-12-15 | 1992-12-15 | PD program error search device and method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR970007265B1 (en) |
-
1992
- 1992-12-15 KR KR1019920024299A patent/KR970007265B1/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
KR940015826A (en) | 1994-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5315502A (en) | Plant operation support apparatus and method using expert systems | |
KR960705271A (en) | Execution of data processing instructions (EXECUTION OF DATA PROCESSING INSTRUCTIONS) | |
KR970007265B1 (en) | PD program error search device and method | |
US5565895A (en) | Programmable controller with independent display | |
EP0070184A2 (en) | A method of testing memory | |
JP2570593B2 (en) | Debug device | |
HK1007207B (en) | Programmable controller with independent display | |
KR0161126B1 (en) | Apparatus and method for searching the signal line status on the system bus in the computer | |
JPS61213936A (en) | Step execution method for high-level language programs | |
JPH02141804A (en) | Sequence controller | |
JPH02253305A (en) | Signal tracing system for programmable controller | |
JP2503634B2 (en) | Micro program controller | |
JPH06314118A (en) | Monitor device | |
KR840000831A (en) | controller | |
JP3098501B2 (en) | Source step execution method and apparatus | |
JPH05334135A (en) | Error information display system for abnormal end of program | |
JPH05189025A (en) | Numerical controller | |
JPH06266584A (en) | Integrated circuit | |
JPH05173832A (en) | Trace control mechanism | |
JPH03222045A (en) | Logging data analysis system | |
KR950035491A (en) | Remote Control Bad Display | |
JPH035796A (en) | Graphic display device | |
JPH05100913A (en) | Error factor searching system | |
JPH0635694A (en) | Microprogram running stoppage controller and method | |
JPS5892046A (en) | data tracing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
R17-X000 | Change to representative recorded |
St.27 status event code: A-3-3-R10-R17-oth-X000 |
|
PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
A201 | Request for examination | ||
PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
G160 | Decision to publish patent application | ||
PG1605 | Publication of application before grant of patent |
St.27 status event code: A-2-2-Q10-Q13-nap-PG1605 |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 6 |
|
FPAY | Annual fee payment |
Payment date: 20030701 Year of fee payment: 7 |
|
PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 7 |
|
LAPS | Lapse due to unpaid annual fee | ||
PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20040826 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20040826 |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |