KR100246526B1 - Automatic detector for communication error and compensation system and method thereof - Google Patents

Automatic detector for communication error and compensation system and method thereof Download PDF

Info

Publication number
KR100246526B1
KR100246526B1 KR1019970081240A KR19970081240A KR100246526B1 KR 100246526 B1 KR100246526 B1 KR 100246526B1 KR 1019970081240 A KR1019970081240 A KR 1019970081240A KR 19970081240 A KR19970081240 A KR 19970081240A KR 100246526 B1 KR100246526 B1 KR 100246526B1
Authority
KR
South Korea
Prior art keywords
transmission data
communication
bits
reset
data
Prior art date
Application number
KR1019970081240A
Other languages
Korean (ko)
Other versions
KR19990060987A (en
Inventor
이종호
김성태
Original Assignee
추호석
대우중공업주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 추호석, 대우중공업주식회사 filed Critical 추호석
Priority to KR1019970081240A priority Critical patent/KR100246526B1/en
Publication of KR19990060987A publication Critical patent/KR19990060987A/en
Application granted granted Critical
Publication of KR100246526B1 publication Critical patent/KR100246526B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14006Safety, monitoring in general
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14115Rapid recovery after fault detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Warehouses Or Storage Devices (AREA)

Abstract

본 발명은 자동창고의 스태커 크래인에서 시스템의 내부 잡음(noise)에 의해서 발생하는 통신이상을 자동으로 검출하고 복구하는 시스템 및 프로세스(process)에 관한 것으로서, 본 발명의 프로세스는 (1) 전송하고자 하는 정보를 담은 전송 데이터를 저장수단에 일시 저장하는 저장단계와, (2) 상기 저장수단에 일시 저장되어 있는 전송 데이터를 판독하여 검사비트를 제외한 나머지 모든 비트를 리셋시키는 제1리셋단계와, (3) 상기 제1리셋단계를 거친 전송 데이터의 모든 비트가 "0"으로 리셋되었는지 여부를 판별하는 통신이상 검출단계와, (4) 통신이상이 검출되면 상기 저장수단에 저장된 최초 전송 데이터를 판독하여 모든 검사비트를 "0"으로 리셋시키는 제2리셋단계 및 (5) 상기 제2리셋단계를 통해 에러가 보정된 송신 데이터를 수신측으로 전송하는 전송단계를 포함하는 것을 특징으로 한다.The present invention relates to a system and a process for automatically detecting and recovering a communication error caused by an internal noise of a system in a stacker crane of an automatic warehouse, and the process of the present invention is directed to (1) A storage step of temporarily storing the transmission data containing information in the storage means; (2) a first reset step of reading all the transmission data temporarily stored in the storage means and resetting all bits except the test bit; A communication error detecting step of determining whether all bits of the transmission data that have passed through the first reset step are reset to " 0 ", and (4) if communication errors are detected, read all the first transmission data stored in the storage means. A second reset step of resetting the check bit to " 0 " and (5) before the transmission of the error-corrected transmission data to the receiver through the second reset step. Characterized in that it comprises the steps:

따라서, 본 발명은 스태커 크래인과 원격 제어반 사이의 통신 과정중에 발생하는 통신 에러를 송신단계에서 자동 검출하고 보정함으로써 통신 이상으로 발생하는 작업의 오동작을 줄여 작업의 신뢰성을 향상 시킨다.Therefore, the present invention improves the reliability of the work by reducing the malfunction of the work occurring due to the communication error by automatically detecting and correcting the communication error occurring during the communication process between the stacker crane and the remote control panel in the transmission step.

Description

통신이상 자동 검출, 보정 시스템 및 그 방법Automatic communication error detection and correction system and method

본 발명은 무수순 디지탈 데이터 통신에서 발생할수 있는 통신이상을 진단하고 복구하는 방법에 관한 것으로서, 특히 자동창고의 스태커 크래인에서 시스템의 내부 잡음(noise)에 의해서 발생하는 통신이상을 자동으로 검출하고 복구하는 프로세스(process)에 관한 것이다.The present invention relates to a method for diagnosing and recovering from communication errors that may occur in non procedure digital data communication. In particular, an automatic warehouse stacker crane automatically detects and recovers from communication errors caused by internal noise of a system. It's about the process.

자동창고는 제품, 부품 등을 수납하는 래크, 래크에서 제품, 부품 등을 입,출고하는 스태커 크래인(stacker crane) 및 그것을 제어하는 제어장치(시퀀서 및 컴퓨터)등으로 구성되어 있다. 스태커 크래인은 입고대차에서 제품, 부품 등을 받아 지시된 래크에 수납하고 원격 제어반으로 부터의 스케줄 지령에 따라 출고지령이 나오면 지시된 래크에서 제품, 부품 등을 추출하여 출고대차 등에 인도하는 기기이다.The automated warehouse consists of a rack for storing products and parts, a stacker crane for entering and exiting products and parts from the rack, and a control device (sequencer and computer) for controlling the goods. The stacker crane is a device that receives products and parts from the receiving cart and stores them in the racks indicated. The stacker crane extracts the products and parts from the racks and delivers them to the warehouse when the order is issued by the remote control panel.

따라서, 자동창고 시스템에 있어서 원격 제어반과 스태커 크래인간의 통신이 필수적인바, 일반적으로는 양쪽이 동등한 통신의 제어권을 갖는 무수순 디지탈 통신이 행해지고 있다.Therefore, communication between the remote control panel and the stacker crane is essential in the automatic warehouse system, and in general, non procedure digital communication is performed in which both sides have control of equal communication.

이러한 무수순 제어모드에서는 통신 데이터의 포맷 등을 스태커 크래인이나 원격제어반의 PLC(programmable logic controller, 이하, PLC로 약칭함) 내부소자에 직접 사상(mapping)하여 처리하고 있기 때문에 PLC의 내부 잡음에 의한 데이터 영역의 교란시 그 이상을 검출하기가 어려울 뿐만 아니라 그 복구시에도 시스템을 중단시키고 내부소자를 리셋시켜야 하는 문제점이 존재한다.In this non procedure processing mode, the format of communication data is directly mapped to a stacker crane or a PLC (programmable logic controller, hereinafter abbreviated as PLC) internal device of a remote control panel, and thus processed by the internal noise of the PLC. Not only is it difficult to detect more in the event of a disturbance in the data area, but there is a problem in that the system must be shut down and the internal devices reset even during the recovery.

따라서, 본 발명은 상기와 같은 종래 기술의 문제점을 해결하기 위해 창안된 것으로서, 본 발명의 목적은 PLC의 내부 잡음에 의한 통신 데이터 영역의 교란을 검출하고 이상 데이터 발견시 이를 자동복구할 수 있는 방법을 제공함에 있다.Therefore, the present invention was devised to solve the above problems of the prior art, and an object of the present invention is to detect a disturbance of a communication data area due to internal noise of a PLC and to automatically recover when abnormal data is found. In providing.

상기한 목적을 달성하기 위한 본 발명의 통신이상 자동검출 및 보정방법은 전송 데이터의 오류 여부를 검출하기 위한 검사비트가 정상적인 상태에서 항상 "0"으로 리셋되어 있는 디지털 데이터 통신에 있어서, (1) 전송하고자 하는 정보를 담은 전송 데이터를 저장수단에 일시 저장하는 저장단계와, (2) 상기 저장수단에 일시 저장되어 있는 전송 데이터를 판독하여 검사비트를 제외한 나머지 모든 비트를 리셋시키는 제1리셋단계와, (3) 상기 제1리셋단계를 거친 전송 데이터의 모든 비트가 "0"으로 리셋되었는지 여부를 판별하는 통신이상 검출단계와, (4) 통신이상이 검출되면 상기 저장수단에 저장된 최초 전송 데이터를 판독하여 모든 검사비트를 "0"으로 리셋시키는 제2리셋단계 및 (5) 상기 제2리셋단계를 통해 에러가 보정된 송신 데이터를 수신측으로 전송하는 전송단계를 포함하는 것을 특징으로 한다.The communication error automatic detection and correction method of the present invention for achieving the above object is in the digital data communication in which the check bit for detecting the error of the transmission data is always reset to "0" in the normal state, (1) A storage step of temporarily storing transmission data containing information to be transmitted in a storage means, and (2) a first reset step of reading transmission data temporarily stored in the storage means and resetting all bits except the test bit; (3) a communication error detection step of determining whether all bits of the transmission data that have undergone the first reset step have been reset to "0", and (4) when the communication error is detected, initial transmission data stored in the storage means. A second reset step of reading out and resetting all check bits to " 0 " and (5) transmitting the data whose error is corrected through the second reset step to the receiving side. Characterized in that it comprises a transmission step of transmitting.

또한, 본 발명의 통신이상 자동검출 및 보정 시스템은 전송 데이터의 검사비트를 제외한 나머지 모든 비트를 "0"으로 리셋시킴으로써 전송 데이터의 통신 이상 여부를 검출하는 이상 검출기 및 상기 전송 데이터의 검사비트를 모두 "0"으로 리셋시킴으로써 전송 데이터의 통신 이상을 보정하는 이상 보정기를 포함하는 것을 특징으로 한다.In addition, the communication error automatic detection and correction system of the present invention resets all the bits except the test bit of the transmission data to "0" to detect both the abnormality detector for detecting the communication error of the transmission data and the test bit of the transmission data. And an abnormality corrector for correcting the communication abnormality of the transmission data by resetting to "0".

본 발명의 다른 목적 및 장점들은 하기에 설명될 것이며, 본 발명의 실시에 의해 알게될 것이다. 또한, 본 발명의 목적 및 장점들은 첨부된 특허청구범위에 나타낸 수단 및 조합에 의해서 실현될수 있다.Other objects and advantages of the invention will be described below and will be appreciated by the practice of the invention. Furthermore, the objects and advantages of the present invention can be realized by means and combinations indicated in the appended claims.

도 1a는 본 발명에 적용되는 무수순 통신모드의 데이터 포맷(data format)을 나타내고, 도 1b는 상기 데이터 포맷을 구성하는 데이터부의 상세 구성을 도시한 것이다.FIG. 1A shows a data format of a non procedure communication mode applied to the present invention, and FIG. 1B shows a detailed configuration of a data portion constituting the data format.

도 2은 본 발명에 따른 통신이상 자동 검출, 보정 시스템의 블록구성을 도시한 것이다.2 is a block diagram of a communication error automatic detection and correction system according to the present invention.

도 3은 본 발명의 방법에 따라 전송데이터의 통신이상을 자동 검출하고 보정하는 과정을 나타내는 플로우 챠트이다.3 is a flowchart illustrating a process of automatically detecting and correcting communication failure of transmission data according to the method of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

1: 스테이터스 버퍼 2: 송신 데이터 버퍼1: status buffer 2: transmit data buffer

3: 이상 검출기 4: 이상 보정기3: abnormal detector 4: abnormal compensator

이하에서 본 발명의 바람직한 실시 예를 첨부된 도면에 의거 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

자동창고 시스템의 스태커 크래인과 원격 제어반의 통신은 비트정보를 1비트씩 차례로 전송하는 직렬 전송방식에 의한 무수순 통신모드에 따른다. 이러한 무수순 통신모드에 적용되는 데이터 포맷(data format)에 대한 한 예가 첨부도면 도 1a 및 도 1b에 도시되어져 있다. 도 1a에 도시된 데이터 포맷은 크게 프로토콜부(protocol unit)와 데이터부(data unit)로 나눌수 있다. 상기 프로토콜부는 도 1a에서 STX, SPACE, CR, LF 및 국번, 데이터 길이 등으로 표시된 부분으로서 통신망을 이용할 때 필요한 통신망과 단말 사이의 약속 전반을 나타내는 부분이다. 따라서, 스태커 크래인과 원격 제어반 사이에서 이루어지는 통신 정보의 실질적 내용은 상기 데이터부에 실린다.The communication between the stacker crane and the remote control panel of the automatic warehouse system is based on the non- procedure communication mode by the serial transmission method that transmits bit information one by one. An example of a data format applied to this non procedure communication mode is shown in the accompanying drawings, FIGS. 1A and 1B. The data format shown in FIG. 1A can be broadly divided into a protocol unit and a data unit. The protocol part is a part indicated by STX, SPACE, CR, LF and station number, data length, etc. in FIG. Therefore, the substantial content of the communication information made between the stacker crane and the remote control panel is contained in the data portion.

상기 데이터부의 상세구성이 도 1b에 자세히 도시되어 있는바, 데이터부는 4비트 단위로 나뉘어 그 첫 번째 비트는 검사비트로서 항상 "0"으로 리셋(reset)되고 나머지 3비트에는 데이터 정보를 표현하는 2진수 데이터가 포함된다. 따라서, 정상적인 데이터부에 있어서는 그 검사비트가 항상 "0"으로 리셋 되어져 있어야 한다. 따라서, 데이터 통신 과정중 내부 PLC의 잡음으로 인해 에러가 발생하는 경우 상기 데이터부의 검사비트를 조사하므로써 검출이 가능하다.The detailed configuration of the data portion is shown in detail in FIG. 1B, where the data portion is divided into 4 bit units, the first bit being a check bit, which is always reset to "0", and the remaining 3 bits represent data information. Hexadecimal data is included. Therefore, in the normal data portion, the check bit must always be reset to "0". Therefore, when an error occurs due to noise of the internal PLC during the data communication process, the detection bit can be detected by examining the check bit of the data unit.

또한, 발생된 에러의 보정 역시 상기 검사비트를 모두 "0"으로 재 리셋함으로써 해결할 수 있다. 본 발명자들은 이러한 원리에 바탕하여 새로운 통신이상 검출 및 보정방법을 창안하게 되었다.In addition, correction of the generated error can also be solved by resetting all of the check bits to "0". The present inventors have devised a new communication error detection and correction method based on this principle.

본 발명의 통신이상 검출 및 보정방법을 실현할 수 있는 시스템의 개략적인 구성이 도 2에 도시되어져 있다.A schematic configuration of a system that can realize the communication failure detection and correction method of the present invention is shown in FIG.

즉, 송신측의 내부 PLC는 수신측에 전송할 데이터 정보를 전송하기에 앞서 스테이터스 버퍼(status buffer)(1)에 일시 저장시킨다. 상기 스테이터스 버퍼(1)에 일시 저장된 전송 데이터는 이상 검출기(3)로 판독되어 통신이상 여부가 체크된다. 만약, 통신이상이 검출된 경우에는 상기 스테이터스 버퍼(1)에 저장되어 있던 최초 전송 데이터는 이상 보정기(4)로 보내져 그 에러(error)가 복구된 후 송신 데이터 버퍼(data buffer)(2)를 통해 수신측으로 전송된다. 또한, 상기 이상 검출기(3)에서 통신이상이 검출되지 않으면 내부 PLC는 스테이터스 버퍼(1)에 저장되어 있는 최초 전송 데이터를 이상 보정기를 거치지 않고 송신 데이터 버퍼(2)에 보내 수신측으로 전송한다.That is, the internal PLC of the transmitting side temporarily stores the data in the status buffer 1 before transmitting the data information to be transmitted to the receiving side. The transmission data temporarily stored in the status buffer 1 is read by the abnormality detector 3 and checked for communication failure. If a communication error is detected, the first transmission data stored in the status buffer 1 is sent to the error corrector 4, and after the error is recovered, the transmission data buffer 2 is removed. Is sent to the receiving end. In addition, if no communication abnormality is detected in the abnormality detector 3, the internal PLC sends the initial transmission data stored in the status buffer 1 to the transmission data buffer 2 without passing through the abnormality corrector and transmits it to the receiving side.

즉, 상기 이상 검출기(3)는 스테이터스 버퍼(1)로 부터 판독한 전송 데이터의 검사비트를 제외한 모든 비트를 "0"으로 리셋한후 데이터부의 모든 비트가 "0"으로 리셋되었는지 여부를 조사하여 통신이상 여부를 검출한다. 만약, 데이터부의 모든 비트가 "0"이라면 통신이상이 발생하지 않은 것이며 데이터부의 비트중 어느 하나라도 "1"로 세트된 비트가 존재한다면 통신이상이 발생한 것으로 판단할수 있다. 이는 정상적인 데이터부에 있어서는 모든 검사비트가 "0"으로 리셋되어야만 하기 때문이다.That is, the abnormality detector 3 resets all bits except the check bit of the transmission data read from the status buffer 1 to "0", and then checks whether all bits of the data portion are reset to "0". Detect communication error. If all bits of the data portion are "0", no communication error has occurred, and if any of the bits of the data portion is set to "1", it can be determined that a communication error has occurred. This is because all the check bits must be reset to "0" in the normal data portion.

또한, 상기 이상 보정기(4)는 이상 검출기(3)가 통신 이상을 검출함에 따라 상기 스테이터스 버퍼(1)에 저장된 최초 전송 데이터의 모든 검사비트를 "0"으로 재 리셋시키는 기능을 하는 것이다.Further, the abnormality corrector 4 functions to reset all check bits of the first transmission data stored in the status buffer 1 to "0" as the abnormality detector 3 detects a communication error.

상기 이상 검출기(3) 및 이상 보정기(4)는 AND게이트나 OR게이트 등과 같은 기본 논리 게이트가 결합된 조합회로로서 구현할수 있으며 이와 동일한 기능을 수행할수 있는 디지털 IC로도 구현이 가능함은 물론이다. 물론, 스태커 크래인이나 원격 제어반의 내부 PLC를 상술한 논리연산을 수행할 수 있도록 설계하는 것이 보다 바람직 할 것이다.The abnormality detector 3 and the abnormality corrector 4 may be implemented as a combination circuit in which basic logic gates such as an AND gate or an OR gate are combined, and may also be implemented as a digital IC capable of performing the same function. Of course, it would be more desirable to design the stacker crane or the internal PLC of the remote control panel to perform the above logical operations.

즉, 본 발명은 하드웨어적 구성 뿐만이 아니라 소프트웨어적 으로도 구현 가능하다. 따라서, 본 발명과 동일한 기술사상에 입각하여 하드웨어적으로 혹은 소프트 웨어적으로 수정 및 변형된 모든 기술구성이 본 발명의 균등범위내에 포함됨을 알 수 있다.That is, the present invention can be implemented not only in hardware but also in software. Accordingly, it can be seen that all technical configurations which are modified or modified in hardware or software based on the same technical concept as the present invention are included in the equivalent scope of the present invention.

상술한 본 발명의 시스템에 의해 구현되는 통신이상 자동검출 및 보정 프로세스의 구체적인 예를 도 3의 플로우 챠트(flow chart)를 통해 살펴보고자 한다.A specific example of the communication error automatic detection and correction process implemented by the system of the present invention described above will be described with reference to a flowchart of FIG. 3.

편의상 전송 데이터의 데이터부가 16비트로 구성되고 각 검사비트 즉, 1번째 비트(b0), 5번째 비트(b4), 9번째 비트(b8) 및 13번쩨 비트(b12)는 정상적인 상태에서 모두 "0"으로 리셋되어져 있다고 가정한다. 상기 검사비트를 제외한 나머지 비트에는 전송하고자 하는 정보가 담긴 2진수 데이터가 포함된다. 예를들면, 모든 검사비트가 "0"으로 리셋되어 있는 정상적인 전송 데이터의 데이터부의 구성은 (0110/0100/0111/0101)와 같다.For convenience, the data portion of the transmission data is composed of 16 bits, and each check bit, that is, the first bit (b 0 ), the fifth bit (b 4 ), the ninth bit (b 8 ), and the thirteenth bit (b 12 ) are in a normal state. Assume that all are reset to "0". The remaining bits except the check bit include binary data containing information to be transmitted. For example, the configuration of the data portion of normal transmission data in which all the check bits are reset to "0" is the same as (0110/0100/0111/0101).

그러나 상기 전송 데이터의 b8이 "1"로 세트되어 통신이상이 발생한다면 그 데이터부의 구성은 (0110/0100/1111/0101)이 될 것이다. 이렇게 통신이상이 발생한 전송 데이터는 먼저, 스테이터스 버퍼(1)에 저장된후 이상 검출기(3)로 판독된다.However, if b 8 of the transmission data is set to "1" and a communication error occurs, the configuration of the data portion will be (0110/0100/1111/0101). The transmission data in which the communication abnormality has occurred in this manner is first stored in the status buffer 1 and then read by the abnormality detector 3.

이상 검출기에 의해 판독된 전송 데이터는 이상 검출기(3)에서 777H(16진수)로 표현되는 검사워드와 논리합 연산이 이루어진다.(단계 S1) 상기 777H 검사워드를 16비트의 2진수로 표현하면 (0111/0111/0111/0111)이 된다. 따라서, 상기 전송 데이터와 상기 검사워드를 논리합 연산하여 구한 논리합 연산 데이터의 구성은 (0111/0111/1111/0111)이 된다.The transmission data read by the error detector 3 performs an OR operation with a check word represented by 777H (hexadecimal) in the fault detector 3. (Step S1) When the 777H check word is represented by a 16-bit binary number, (0111) / 0111/0111/0111). Therefore, the structure of the OR operation data obtained by performing an OR operation on the transmission data and the check word is (0111/0111/1111/0111).

상술한 논리합 연산이 완료되면 상기 이상 검출기(3)는 상기 논리합 연산 데이터에 다시 888H(16진수)로 표현되는 검사워드를 논리곱 연산한다.(단계 S2) 상기 888H 검사워드를 16비트의 2진수로 표현하면 (1000/1000/1000/1000)와 같다. 따라서, 상기 논리합 연산 데이터와 상기 888H 검사워드를 논리곱 연산하여 구한 논리곱 연산 데이터의 구성은 (0000/0000/1000/0000)와 같다.When the above-described OR operation is completed, the abnormality detector 3 performs an AND operation on the test word represented by 888H (hexadecimal) again to the OR operation data. (Step S2) The 888H test word is a 16-bit binary number. It is expressed as (1000/1000/1000/1000). Therefore, the structure of the AND operation data obtained by performing an AND operation on the AND operation data and the 888H check word is equal to (0000/0000/1000/0000).

이렇게 논리곱 연산하여 구한 논리곱 연산 데이터의 모든 비트가 "0"으로 리셋되었는지 여부를 판별하여 모두 리셋되었다면 에러가 발생하지 않은 것이며, 모두 리셋되지 않았다면 통신이상이 발생한 것이다.(단계 S3) 따라서, 전술한 예에서는 9번째 비트(b8)에 "1"로 셋팅된 부분이 있기 때문에 통신이상이 발생한 것이다.If all the bits of the logical product obtained by the logical AND operation are reset to "0" and all the bits are reset, then no error occurred. If not, all the communication errors occurred. (Step S3) In the above example, since there is a part set to "1" in the ninth bit b 8 , a communication error occurs.

전술한 예와 같이, 이상 검출기(3)가 통신이상을 검출하면 이상 보정기(4)는 스테이터스 버퍼(1)에 저장되어 있는 최초 전송 데이터를 판독한다.(단계 S4) 판독이 완료되면 상기 최초 전송 데이터에 777H 검사워드를 논리곱 연산한다. 즉, 최초 전송 데이터 (0110/0100/1111/0101)에 777H 검사워드(0111/0111/0111/0111)를 논리곱 연산하여 보정 데이터 (0110/0100/0111/0101)를 구한다. 따라서, 이상 보정기(4)에 의해 보정된 데이터의 모든 검사비트가 "0"으로 리셋되어 최초 전송 데이터의 통신이상이 보정되었음을 알 수 있다.(단계 S5)As described above, when the abnormality detector 3 detects a communication error, the abnormality corrector 4 reads the first transmission data stored in the status buffer 1. (Step S4) When the reading is completed, the initial transmission is completed. Logically multiply the 777H checkword by the data. That is, the 777H check word (0111/0111/0111/0111) is ANDed on the first transmission data (0110/0100/1111/0101) to obtain correction data (0110/0100/0111/0101). Accordingly, it can be seen that all the test bits of the data corrected by the abnormality corrector 4 have been reset to "0" to correct the communication error of the initial transmission data. (Step S5)

이렇게 이상 보정기(4)에 의해 보정된 데이터는 송신 데이터 버퍼(2)에 저장된후 수신측으로 전송된다. (단계 S6)The data corrected by the abnormality corrector 4 is stored in the transmission data buffer 2 and then transmitted to the receiving side. (Step S6)

마찬가지 과정에 의해 전송 데이터가 (0110/0100/0111/0101)라면, 즉 통신이상이 발생하지 않은 정상상태라면 이상 검출기(3)의 논리합 데이터는 (0111/0111/0111/0111)이 되고 논리곱 데이터는 (0000/0000/0000/0000)이 된다.By the same procedure, if the transmission data is (0110/0100/0111/0101), that is, in a normal state in which no communication error occurs, the logical sum data of the abnormality detector 3 becomes (0111/0111/0111/0111) and is a logical product. The data is (0000/0000/0000/0000).

따라서, 상기 이상 검출기(3)는 통신 이상이 발생하지 않았음을 검출하게 되어 송신측의 내부 PLC는 스테이터스 버퍼(1)에 저장되어 있는 최초 전송 데이터를 직접 송신 데이터 버퍼(2)에 보내 수신측으로 전송한다. (단계 S6)Therefore, the abnormality detector 3 detects that no communication abnormality has occurred, and the internal PLC on the transmitting side sends the initial transmission data stored in the status buffer 1 directly to the transmitting data buffer 2 to the receiving side. send. (Step S6)

상술한 실시예에 본 발명이 한정되는 것은 아니며 본 발명이 속하는 기술분야에서 통상의 지식을 갖는자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구범위의 균등범위내에서 다양한 수정 및 변형이 가능함은 물론이다.The present invention is not limited to the above-described embodiments, and various modifications and variations are made by those skilled in the art to which the present invention pertains without departing from the spirit and scope of the appended claims. Of course it is possible.

이상에서 설명한 바와 같이 본 발명은 스태커 크래인과 원격 제어반 사이의 통신 과정중에 발생하는 통신 에러를 송신단계에서 자동 검출하고 보정함으로써 통신 이상으로 발생하는 작업의 오동작을 줄여 작업의 신뢰성을 향상 시킨다.As described above, the present invention improves the reliability of the work by reducing the malfunction of the work occurring due to the communication error by automatically detecting and correcting the communication error occurring during the communication process between the stacker crane and the remote control panel in the transmission step.

Claims (6)

전송 데이터의 오류 여부를 검출하기 위한 검사비트가 정상적인 상태에서 항상 "0"으로 리셋되어 있는 디지털 데이터 통신에 있어서,In digital data communication in which a check bit for detecting an error of transmission data is always reset to "0" in a normal state, (1) 전송하고자 하는 정보를 담은 전송 데이터를 저장수단에 일시 저장하는 저장단계와;(1) a storage step of temporarily storing transmission data containing information to be transmitted in a storage means; (2) 상기 저장수단에 일시 저장되어 있는 전송 데이터를 판독하여 검사비트를 제외한 나머지 모든 비트를 리셋시키는 제1리셋단계와;(2) a first reset step of resetting all the bits except the check bit by reading the transmission data temporarily stored in the storage means; (3) 상기 제1리셋단계를 거친 전송 데이터의 모든 비트가 "0"으로 리셋되었는지 여부를 판별하는 통신이상 검출단계와;(3) a communication failure detection step of determining whether all bits of the transmission data that have passed through the first reset step are reset to "0"; (4) 통신이상이 검출되면 상기 저장수단에 저장된 최초 전송 데이터를 판독하여 모든 검사비트를 "0"으로 리셋시키는 제2리셋단계; 및(4) a second reset step of resetting all test bits to "0" by reading the first transmission data stored in the storage means when a communication error is detected; And (5) 상기 제2리셋단계를 통해 에러가 보정된 송신 데이터를 수신측으로 전송하는 전송단계를 포함하는 것을 특징으로 하는 통신이상 자동검출 및 보정방법.(5) a communication error automatic detection and correction method, characterized in that it comprises a transmission step of transmitting the transmission data of which the error is corrected through the second reset step to a receiving side. 제1항에 있어서, 상기 제1리셋단계가The method of claim 1, wherein the first reset step 검사비트를 제외한 모든 비트가 "1"로 셋팅되는 제1 검사워드를 상기 전송 데이터에 논리합 연산하는 단계와;ORing the first test word with all bits except the check bit set to “1” to the transmission data; 모든 검사비트가 "1"이고 나머지 모든 비트가 "0"인 제2 검사워드를 상기 논리합 연산 데이터에 논리곱 연산하는 단계를 포함하는 것을 특징으로 하는 통신이상 자동검출 및 보정방법.And performing a logical AND operation on the OR operation data of the second check word in which all the check bits are "1" and all remaining bits are "0". 제1항에 있어서, 상기 제2리셋단계가The method of claim 1, wherein the second reset step 상기 전송 데이터에 검사비트를 제외한 모든 비트가 "1"로 셋팅된 제1 검사워드를 논리곱 연산하는 것을 특징으로 하는 통신이상 자동검출 및 보정방법.And a logical AND operation on the first check word in which all bits except the check bit are set to "1" in the transmission data. 전송 데이터의 검사비트를 제외한 나머지 모든 비트를 "0"으로 리셋시킴으로써 전송 데이터의 통신 이상 여부를 검출하는 이상 검출기(3); 및An abnormality detector (3) for detecting whether or not communication data is abnormal by resetting all bits except the check bit of the transmission data to "0"; And 상기 전송 데이터의 검사비트를 모두 "0"으로 리셋시킴으로써 전송 데이터의 통신 이상을 보정하는 이상 보정기(4)를 포함하는 것을 특징으로 하는 통신이상 검출 및 보정 시스템.And an abnormality corrector (4) for correcting communication abnormalities of the transmission data by resetting all of the check bits of the transmission data to " 0 ". 제4항에 있어서,The method of claim 4, wherein 상기 이상 검출기(3) 및 이상 보정기(4)가 하드웨어적으로 혹은 소프트웨어적으로 구현 가능한 것을 특징으로 하는 통신이상 검출 및 보정 시스템.Communication fault detection and correction system, characterized in that the fault detector (3) and the fault corrector (4) can be implemented in hardware or software. 제5항에 있어서,The method of claim 5, 상기 이상 검출기(3) 및 이상 보정기(4)가 송신측 내부 PLC에 설계되는 것을 특징으로 하는 통신이상 검출 및 보정 시스템.The abnormality detector (3) and the abnormality corrector (4) are designed in the internal PLC on the transmitting side.
KR1019970081240A 1997-12-31 1997-12-31 Automatic detector for communication error and compensation system and method thereof KR100246526B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970081240A KR100246526B1 (en) 1997-12-31 1997-12-31 Automatic detector for communication error and compensation system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970081240A KR100246526B1 (en) 1997-12-31 1997-12-31 Automatic detector for communication error and compensation system and method thereof

Publications (2)

Publication Number Publication Date
KR19990060987A KR19990060987A (en) 1999-07-26
KR100246526B1 true KR100246526B1 (en) 2000-03-15

Family

ID=19530523

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970081240A KR100246526B1 (en) 1997-12-31 1997-12-31 Automatic detector for communication error and compensation system and method thereof

Country Status (1)

Country Link
KR (1) KR100246526B1 (en)

Also Published As

Publication number Publication date
KR19990060987A (en) 1999-07-26

Similar Documents

Publication Publication Date Title
US4395755A (en) Information processing system and logout process therefor
US6701469B1 (en) Detecting and handling bus errors in a computer system
KR100246526B1 (en) Automatic detector for communication error and compensation system and method thereof
JPH0535616A (en) Data transfer system
JP2559531B2 (en) Redundant system error check circuit
JP4213814B2 (en) Error correction circuit check method and error correction circuit with check function
JP2599971B2 (en) Bus error detection processing method of communication processor
JPH05108385A (en) Error correction circuit diagnostic system
JPS6051136B2 (en) Data error detection method
JPS5854698B2 (en) Fault detection method
JP2606160B2 (en) Failure detection method for parity check circuit
JPH0640318B2 (en) Redundant parallel transmission device
JP2919366B2 (en) Bus failure handling method
JP2644571B2 (en) Remote IPL control method
JPS6029413B2 (en) Arithmetic circuit error checking method
JPH02305037A (en) Abnormality detecting system for data transmission system
JPH01277951A (en) Data transfer equipment
JPH06119193A (en) Data processing system
JPH0324601A (en) Control method
JPH03190333A (en) Data abnormality detection system for parallel data communication
JPH0570974B2 (en)
JPH02170250A (en) Information processor
JPH0715497B2 (en) Individual identification method
JPS5840381B2 (en) data processing equipment
JPH03126149A (en) Bus system diagnostic system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee