KR101102120B1 - Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same - Google Patents

Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same Download PDF

Info

Publication number
KR101102120B1
KR101102120B1 KR1020100115447A KR20100115447A KR101102120B1 KR 101102120 B1 KR101102120 B1 KR 101102120B1 KR 1020100115447 A KR1020100115447 A KR 1020100115447A KR 20100115447 A KR20100115447 A KR 20100115447A KR 101102120 B1 KR101102120 B1 KR 101102120B1
Authority
KR
South Korea
Prior art keywords
diagnostic
channel
input
diagnosis
output module
Prior art date
Application number
KR1020100115447A
Other languages
Korean (ko)
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 KR1020100115447A priority Critical patent/KR101102120B1/en
Application granted granted Critical
Publication of KR101102120B1 publication Critical patent/KR101102120B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/4026Bus for use in automation systems

Abstract

PURPOSE: A channel error diagnosis method of an input/output module and diagnosis information generating apparatus using the same are provided to diagnose the error of an input/output module through a diagnosis unique characteristic file. CONSTITUTION: An input and output interface unit(110) receives diagnosis data including a diagnosis frame from an input/output module. A storing unit(120) stores a diagnosis intrinsic configuration file. A controller(130) compares the received diagnosis data and the diagnosis unique configuration file stored in the storing unit. The controller generates diagnosis information. The diagnosis frame includes a device related diagnosis field, an ID related diagnosis field, and a channel related diagnosis field.

Description

필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법 및 그 방법을 이용한 진단 정보 생성 장치{CHANNEL DIAGNOSTIC METHOD IN/OUT MODULES BASE ON FIELBUS NETWORK AND DIAGNOSTIC INFORMATION GENERATION DEVICE USING THE SAME} CHANNEL DIAGNOSTIC METHOD IN / OUT MODULES BASE ON FIELBUS NETWORK AND DIAGNOSTIC INFORMATION GENERATION DEVICE USING THE SAME}

본 발명은 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법 및진단 정보 생성 장치에 관한 것으로서, 더욱 상세하게는 입출력 모듈의 제조사가 제공하는 진단 고유 특성 파일(GSD)을 이용하여 상기 입출력모듈의 장애를 진단할 수 있는 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법 및 진단 정보 생성 장치에 관한 것이다.
The present invention relates to a method for diagnosing a channel failure of an input / output module and a diagnostic information generating device in a fieldbus network. A method for diagnosing a channel failure of an input / output module in a fieldbus network that can be diagnosed, and an apparatus for generating diagnostic information.

PROFIBUS는 제작자가 독립적으로 채택하여 적용 및 제작할 수 있고(Vendor- independence), 공정자동화에 광범위하게 사용되는 개방형 필드버스이다. Vendor -independence와 개방형 특성은 유럽표준 EN 50170과 EN 50254에 명시되어 있다. PROFIBUS는 서로 다른 제작사에서 만들어진 디바이스간의 통신시 특별한 인터페이스 없이도 통신을 가능하게 하여준다. PROFIBUS is an open fieldbus that can be independently adopted, applied and manufactured by the manufacturer (Vendor- independence) and widely used in process automation. Vendor independence and open characteristics are specified in European standards EN 50170 and EN 50254. PROFIBUS enables communication without the need for special interfaces when communicating between devices made by different manufacturers.

PROFIBUS는 기능별, 적용단계별 통신 프로토콜(Communication Profiles)인 DP와 FMS가 있고, 응용되는 전송기반기술 (Physical Profiles)은 RS-485와 IEC 1158-2 또는 광통신 기능이 있다. 향후의 기술발전 측면에서 PROFIBUS User Organization 에서는 TCP/IP에 기반한 범용 프로토콜 개발을 진행하고 있다. PROFIBUS has DP and FMS, which are communication protocols by function and application level, and the Physical Profiles applied are RS-485 and IEC 1158-2 or optical communication. In terms of future technological developments, the PROFIBUS User Organization is developing general-purpose protocols based on TCP / IP.

Application Profiles은 각기 서로 다른 형태의 응용 분야에서 필요한 프로토콜 및 전송기술을 정의하고 있을 뿐 아니라 Vendor-independent device의 적용 방법까지 정의하고 있다. Application Profiles not only define protocols and transmission technologies required for different types of applications, but also how to apply vendor-independent devices.

일반적으로 Pnet에서의 진단 기능 관련 프레임 구조는 모든 슬레이브 공통으로 할당된 주요 6 byte에 제조사의 하드웨어 특징에 따라 별도의 프로토콜을 정의하는 진단 블록을 추가하여 구성된다. 만약 아날로그 모듈 자체나 채널에 문제가 발생하는 경우 각 해당 필드내의 헤더에 관련 정보를 표시할 수 있다. 중앙관리 제어실에 위치한 메인 컨트롤러(마스터)는 진단 정보가 포함된 진단 프레임을 해석하여 아날로그 모듈의 이상 상태를 해석할 수 있다.
In general, the frame structure related to the diagnosis function in Pnet is configured by adding a diagnostic block defining a separate protocol according to the manufacturer's hardware features in the main 6 bytes allocated to all slaves in common. If a problem occurs in the analog module itself or a channel, related information can be displayed in the header of each corresponding field. The main controller (master) located in the central control room can analyze the diagnostic frame containing the diagnostic information and analyze the abnormal state of the analog module.

한편 종래 원격지에 위치한 모듈의 채널 상태나 여러 에러 상태를 진단함에 있어 각 제조사만의 특징에 따라 구동되었다. 따라서 Profibus-DP가 오픈 프로토콜임에도 불구하고 각 제조사마다 에러 상태를 다르게 정의하여 진단 기능에 있어서는 여러 제조사 모듈간 호환이 어렵다.On the other hand, in diagnosing a channel state or various error conditions of a module located in a conventional remote location, it was driven according to the characteristics of each manufacturer. Therefore, even though Profibus-DP is an open protocol, the error status is defined differently for each manufacturer, so it is difficult to be compatible between different manufacturers' modules in the diagnosis function.

특히 아날로그 입출력 모듈의 채널 상태와 관련된 진단 기능은 너무나 많은 형태의 기법들이 제조사의 특징에 따라 제공되어 혼란스럽고 상술하였듯이 채널 진단 기능 차체가 호환되지 못하고 있다.
In particular, the diagnostic function related to the channel status of the analog input / output module is so confusing that many types of techniques are provided according to the characteristics of the manufacturer.

본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로서, 입출력 모듈의 제조사가 제공하는 진단 고유 특성 파일(GSD)을 이용하여 상기 입출력모듈의 장애를 진단할 수 있는 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법 및 그 방법을 이용한 진단 정보 생성 장치를 제공함을 그 목적으로 한다.
The present invention has been made to solve the above-described problems, the channel failure of the I / O module in the fieldbus network that can diagnose the failure of the I / O module using a diagnostic unique characteristic file (GSD) provided by the manufacturer of the I / O module It is an object of the present invention to provide a diagnostic method and an apparatus for generating diagnostic information using the method.

상기 과제를 해결하기 위해, 본 발명의 일실시예인 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법은 입출력 모듈과 데이터 송수신을 위한 초기화를 수행하는 단계, 입출력 모듈에 장애가 발생한 경우, 입출력 모듈로부터 진단 데이터를 수신하는 단계 및 상기 수신한 진단 데이터를 저장부에 저장된 진단 고유 특성 파일(GSD)을 비교함으로써 장애를 해석하여 진단 정보를 생성하는 단계를 포함한다.
In order to solve the above problems, a method for diagnosing a channel failure of an input / output module in a fieldbus network according to an embodiment of the present invention may include performing initialization for data transmission and reception with an input / output module, in the event that a failure occurs in the input / output module, diagnostic data from the input / output module. And receiving the diagnostic data and comparing the received diagnostic data with a diagnostic specific characteristic file GSD stored in a storage unit to analyze the failure to generate diagnostic information.

본 발명의 일실시예의 일태양에 의하면, 상기 진단 데이터의 진단 관련 프레임은 디바이스 관련 진단 필드, ID 관련 진단 필드 및 채널 관련 진단 필드로 이루어질 수 있다.
According to an aspect of an embodiment of the present invention, the diagnostic related frame of the diagnostic data may include a device related diagnostic field, an ID related diagnostic field, and a channel related diagnostic field.

본 발명의 일실시예의 일태양에 의하면, 상기 채널 관련 진단 필드에서 입출력 모듈에 대한 채널 장애 관련 데이터는 채널 ID(1 Byet), 채널 수(1 Byte) 및 장애 상태 정보(1 Byte)로 이루어지는 것을 특징으로 한다.
According to one embodiment of the present invention, in the channel-related diagnostic field, the channel failure related data for the input / output module includes a channel ID (1 Byet), the number of channels (1 byte), and the failure status information (1 byte). It features.

본 발명의 일실시예의 일태양에 의하면, 상기 진단 고유 특성 파일(GSD)은 제조사에 따라 입출력 모듈의 장애 정보를 Channel_Diag(16) ~ Channel_Diag(31)에 정의 되어진 것을 특징으로 한다.
According to one embodiment of the present invention, the diagnostic unique characteristic file GSD is characterized in that fault information of the input / output module is defined in Channel_Diag 16 to Channel_Diag 31 according to the manufacturer.

상기 과제를 해결하기 위해, 본 발명의 또 다른 일실시예인 진단 정보 생성 장치는 입출력 모듈로부터 진단 데이터를 수신하는 입출력 인터페이스부, 상기 진단 데이터와 비교하기 위한 진단 고유 특성 파일(GSD)이 저장되어 있는 저장부 및 상기 수신한 진단 데이터와 저장부에 저장된 진단 고유 특성 파일(GSD)을 비교함으로써 장애를 해석하여 진단 정보를 생성하는 제어부를 포함한다.
In order to solve the above problems, a diagnostic information generating apparatus according to another embodiment of the present invention includes an input / output interface unit for receiving diagnostic data from an input / output module, and a diagnostic unique characteristic file (GSD) for comparing with the diagnostic data. And a control unit for analyzing the failure and generating diagnostic information by comparing the storage unit and the received diagnostic data with the diagnosis specific characteristic file GSD stored in the storage unit.

상기와 같은 본 발명에 따르면, 각 제조사마다 진단 코드가 저장되어 있는 GSD파일의 조작만으로 호환가능 하도록 함으로써 제조사에 상관없이 각 제조사의 아날로그 입출력 모듈의 진단 정보를 GSD파일과 비교하여 간편하게 각 제조사의 입출력 모듈을 장애에 대하여 진단할 수 있는 장점이 있다.
According to the present invention as described above, by making each manufacturer compatible only by the operation of the GSD file stored diagnostic code compare the diagnostic information of each manufacturer's analog I / O module with the GSD file, the input and output of each manufacturer easily The advantage is that the module can be diagnosed for faults.

도 1은 본 발명의 일실시예에 따른 필드버스 네트워크의 블록구성도이다.
도 2는 본 발명의 일실시예에 따른 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법을 설명하기 위한 순서도이다.
도 3은 본 발명의 일실시예에 따른 입출력 모듈의 진단 데이터의 프레임 구조도이다.
도 4는 본 발명의 일실시예에 따른 진단 데이터 프레임의 일 적용예이다.
도 5는 본 발명의 일실실예에 따른 진단 데이터 프레임의 또 다른 적용예이다.
1 is a block diagram of a fieldbus network according to an embodiment of the present invention.
2 is a flowchart illustrating a channel failure diagnosis method of an input / output module in a fieldbus network according to an embodiment of the present invention.
3 is a frame structure diagram of diagnostic data of an input / output module according to an embodiment of the present invention.
4 is an application example of a diagnostic data frame according to an embodiment of the present invention.
5 is another application example of a diagnostic data frame according to one embodiment of the present invention.

이하의 상세한 설명은 예시에 지나지 않으며, 본 발명의 실시 예를 도시한 것에 불과하다. 또한 본 발명의 원리와 개념은 가장 유용하고, 쉽게 설명할 목적으로 제공된다.The following detailed description is only illustrative, and merely illustrates embodiments of the present invention. In addition, the principles and concepts of the present invention are provided for the purpose of explanation and most useful.

따라서, 본 발명의 기본 이해를 위한 필요 이상의 자세한 구조를 제공하고자 하지 않았음은 물론 통상의 지식을 가진 자가 본 발명의 실체에서 실시될 수 있는 여러 가지의 형태들을 도면을 통해 예시한다.Accordingly, various forms that can be implemented by those of ordinary skill in the art, as well as not intended to provide a detailed structure beyond the basic understanding of the present invention through the drawings.

도 1은 본 발명의 일실시예에 따른 필드버스 네트워크의 블록구성도이다.1 is a block diagram of a fieldbus network according to an embodiment of the present invention.

도 1에서 보는 바와 같이, 진단 정보 생성 장치(100)는 필드버스 네트워크를 통해 적어도 하나 이상의 입출력 모듈(200)과 연결되며, 상기 진단 정보 생성 장치(100)는 네트워크를 통해 상기 입출력 모듈(200)의 장애 진단 정보를 모니터링 장치(미도시)에 전송할 수 있다. 여기서 상기 진단 정보 생성 장치(100)는 입출력 모듈을 제어하기 위한 제어장치로서 PLC(Programmable Logic Controller)일 수 있다.
As shown in FIG. 1, the diagnostic information generating apparatus 100 is connected to at least one input / output module 200 through a fieldbus network, and the diagnostic information generating apparatus 100 is connected to the input / output module 200 through a network. Fault diagnosis information may be transmitted to a monitoring device (not shown). The diagnostic information generating device 100 may be a programmable logic controller (PLC) as a control device for controlling the input / output module.

진단 정보 생성 장치(100)는 초기에 전원이 공급되면, 자기 자신의 정보와 필드버스 네트워크를 통해 연결된 적어도 하나 이상의 입출력 모듈(200)을 인식하는 초기화 과정을 수행하여 상기 입출력 모듈에 제어명령 또는 상태 정보 요청명령 등을 송신한다. When power is initially supplied, the diagnostic information generating apparatus 100 performs an initialization process for recognizing one's own information and at least one input / output module 200 connected through a fieldbus network, so that a control command or state is transmitted to the input / output module. Send information request command.

진단 정보 생성 장치(100)는 입출력 모듈(200)과 필드버스 프로토콜(예를 들어 Profibus 등)를 이용하여 데이터를 송수신하는 입출력 인터페이스(110), 저장부(120) 및 제어부(130)를 포함한다. The diagnostic information generating apparatus 100 includes an input / output module 200 and an input / output interface 110 for transmitting and receiving data using a fieldbus protocol (for example, Profibus, etc.), a storage unit 120, and a controller 130. .

입출력 인터페이스(110)는 적어도 하나 이상의 슬롯(111)을 구비하여 상기 슬롯(111)을 통해 적어도 하나 이상의 입출력 모듈(200)과 연결된다. The input / output interface 110 includes at least one slot 111 to be connected to at least one input / output module 200 through the slot 111.

저장부(120)는 진단 정보 생성 장치를 구동하기 위한 프로그램 및 상기 입출력 모듈(200)로부터 수신한 진단 데이터를 해석하기 위하여 각 입출력 모듈의 제조사가 설정한 장애 상태에 따른 진단 코드가 정의되어진 진단 고유 특성 파일(GSD)이 저장되어 있다. The storage unit 120 includes a program for driving a diagnostic information generating apparatus and a diagnostic code in which a diagnostic code is defined according to a failure state set by a manufacturer of each input / output module in order to interpret the diagnostic data received from the input / output module 200. The property file GSD is stored.

제어부(130)는 진단 정보 생성 장치의 전제 동작을 제어하며, 상기 입출력 인터페이스(110)의 슬롯(111)을 통해 연결되어 있는 입출력 모듈(200)에 제어명령을 송신한다. 제어부(130)는 상기 입출력 모듈(200)로부터 진단 데이터를 수신하여 상기 저장부에 저장된 진단 고유 특성 파일(GSD)를 상기 진단 데이터와 비교하여 입출력 모듈(200)의 장애를 분석하는 진단 정보 생성부(131)를 포함한다.
The controller 130 controls the entire operation of the diagnostic information generating apparatus and transmits a control command to the input / output module 200 connected through the slot 111 of the input / output interface 110. The control unit 130 receives diagnostic data from the input / output module 200 and compares the diagnostic unique characteristic file GSD stored in the storage unit with the diagnostic data to analyze a failure of the input / output module 200. 131.

여기서, 상기 입출력 모듈(200)은 아날로그 입력모듈, 아날로그 출력모듈, 특수 입력모듈 또는 특수 출력모듈을 포함한다. 상기 입출력 모듈(200)의 아날로그 입력모듈, 아날로그 출력모듈, 특수 입력모듈 또는 특수 출력모듈은 내부에 구비된 채널단자부(미도시)의 각 채널을 통해 적어도 하나 이상의 외부기기(미도시)와 접속된다. 상기 채널단자부는 2채널, 4채널, 8채널, 16채널 또는 32채널로 구성될 수 있다.Here, the input / output module 200 includes an analog input module, an analog output module, a special input module or a special output module. The analog input module, analog output module, special input module or special output module of the input / output module 200 is connected to at least one external device (not shown) through each channel of a channel terminal unit (not shown) provided therein. . The channel terminal unit may be composed of 2 channels, 4 channels, 8 channels, 16 channels, or 32 channels.

아날로그 입력모듈은 내부 채널단자부를 통해 연결된 외부기기로부터 입력되는 아날로그 신호를 입력받아 디지털 신호로 변환하는 역할을 하며, 아날로그 출력모듈은 입력되는 디지털 신호를 아날로그 신호로 변환하여 채널단자부를 통해 외부기기로 출력하는 역할을 한다. 또한, 특수 입력모듈 또는 특수 출력모듈은 PID 제어모듈, 온도변환 모듈, 위치결정모듈 등이 해당되어 특수한 기능을 수행한다. The analog input module receives analog signals input from external devices connected through internal channel terminals and converts them into digital signals.The analog output module converts input digital signals into analog signals to external devices through the channel terminals. It plays a role of outputting. In addition, the special input module or special output module corresponds to a PID control module, a temperature conversion module, a positioning module, and performs a special function.

입출력 모듈은 상기 아날로그 입력모듈 자체의 오류 또는 각 채널단을 통하여 입력되는 외부기기의 아날로그 신호를 분석하여 상기 채널의 오류정보를 포함하는 진단 데이터를 생성하여 진단 정보 생성 장치에게 전송하는 기능을 수행한다.
The input / output module analyzes an error of the analog input module itself or an analog signal of an external device input through each channel, generates diagnostic data including error information of the channel, and transmits the diagnostic data to the diagnostic information generating device. .

2는 본 발명의 일실시예에 따른 필드버스 네트워크에서 입출력 모듈의 장애 진단 방법을 설명하기 위한 순서도이다.2 is a flowchart illustrating a fault diagnosis method of an input / output module in a fieldbus network according to an embodiment of the present invention.

도 2에서 보는 바와 같이, 제어부(130)는 초기에 전원이 공급되면 연결되어 있는 입출력 모듈(200)과의 하드웨어적으로 설정된 상태를 확인하는 초기화 과정을 수행한다(S21). 상기 초기화 과정이 끝난 후 입출력 모듈(200)은 아날로그 입력모듈의 각 채널을 통하여 외부기기로부터 입력되는 아날로그 신호를 수신한다. 입출력 모듈은 각 채널을 통하여 수신된 아날로그 신호를 일정시간 이상 수신하지 못하는 경우(단선 장애 발생), 미리 설정된 기준 전류값보다 큰 전류가 측정되는 경우(과전류 발생), 파라미터 설정 이상 등의 장애가 발생하는 경우, 각 채널에 발생하는 장애 정보를 포함하는 진단 데이터를 생성하여 진단 정보 생성 장치로 전송한다(S23).As shown in FIG. 2, when power is initially supplied, the controller 130 performs an initialization process of checking a hardware set state with an input / output module 200 connected thereto (S21). After the initialization process, the input / output module 200 receives an analog signal input from an external device through each channel of the analog input module. When the I / O module does not receive the analog signal received through each channel for more than a certain time (breakdown occurs), when a current larger than the preset reference current value is measured (overcurrent occurs), a failure occurs such as a parameter setting error. In this case, diagnostic data including fault information generated in each channel is generated and transmitted to the diagnostic information generating apparatus (S23).

이후 상기 진단 데이터를 수신한 진단 정보 생성 장치는 저장부에 저장된 진단 고유 특성 파일(GSD)을 비교(S25)함으로써 장애를 해석하여 진단 정보를 생성한다(S27).
Thereafter, the diagnostic information generating apparatus that receives the diagnostic data compares the diagnostic intrinsic property file GSD stored in the storage unit (S25) to analyze the failure to generate the diagnostic information (S27).

이하 본 발명의 일실시에에 따른 입출력 모듈에서 생성하는 진단 데이터의 프레임 구조 및 진단 고유 특성 파일(GSD)을 정의하는 방법에 대하여 설명한다. Hereinafter, a method of defining a frame structure of a diagnostic data generated by an input / output module and a diagnostic peculiar property file GSD according to an embodiment of the present invention will be described.

도 3은 본 발명의 일실시예에 따른 입출력 모듈의 진단 데이터의 프레임 구조도이다.3 is a frame structure diagram of diagnostic data of an input / output module according to an embodiment of the present invention.

도 3에서 보는 바와 같이, 진단 데이터의 프레임은 기본 정보 필드(310, 6 Byte, 의무적으로 셋팅됨), 디바이스 관련 진단 필드(320), ID 관련 진단 필드(330) 및 채널 관련 진단 필드(340)를 포함한다. 즉 필드버스 프로토콜(여기서는 Profibus)에서 정의된 기본 정보 필드(6 Byte) 및 진단 필드로 구성되는 프레임 구조에 있어서, 최대 전송 데이터 크기를 고려하여 진단 정보를 기재하는 진단 필드를 기본 정보 필드(6 Byte)를 제외한 최대 238Byte로 확장하여 정의한다. 여기서 모든 진단 데이터에 정의되는 진단 정보는 도 3에서 보는 바와 같이, 디바이스, ID 및 채널에 대한 것으로 계층적으로 구성될 수 있다.
As shown in FIG. 3, a frame of diagnostic data includes a basic information field 310, 6 bytes, which is mandatory, a device related diagnostic field 320, an ID related diagnostic field 330, and a channel related diagnostic field 340. It includes. That is, in a frame structure consisting of a basic information field (6 bytes) and a diagnostic field defined in a fieldbus protocol (here, Profibus), a diagnostic field for describing diagnostic information in consideration of the maximum transmission data size is selected as a basic information field (6 bytes). Defined by extending it up to 238Byte except for). In this case, the diagnostic information defined in all the diagnostic data may be hierarchically configured for the device, the ID, and the channel, as shown in FIG. 3.

도 4는 본 발명의 일실시예에 따른 진단 데이터 프레임의 일 적용예이다.4 is an application example of a diagnostic data frame according to an embodiment of the present invention.

도 4에서 보는 바와 같이, 입출력 모듈에서 생성되는 진단 데이터는 헤더(410, Byte 16), 제조사 설정 필드(420, Byte 17) 및 장애 상태 정보 필드(Byte 18 ~ Byte 25)로 구성될 수 있다. As shown in FIG. 4, the diagnostic data generated by the input / output module may include a header 410 and a byte 16, a manufacturer setting field 420 and a byte 17, and a failure state information field Byte 18 to Byte 25.

여기서 입출력 모듈의 상태에 대한 필드임을 나타내는 위하여, 상기 헤더(410, Byte 16)의 최상위 2비트가 00으로 셋팅되고 하위 6비트는 해당 필드의 길이를 결정한다. 도 4에서 보는 바와 같이, 하위 6비트는 9로서 장애 상태 정보를 나타내기 위하여 9개의 필드가 할당됨을 알 수 있다. 한편 제조사 설정 필드(420, Byte 17)의 일 예로서 최상의 비트가 1이고 나머지 값이 2일 경우 H 상태임을 정의하고 이하 바이트(Byte 18 ~ Byte 25)에서 장애 상태 정보필드가 된다. Byte 23을 보면 상위4개의 비트(4~7비트)가 장애 상태 정보에 따른 에러코드가 기입될 수 있으며, 상기 진단 데이터를 수신받은 진단 정보 생성 장치는 표준 또는 각 제조사별로 설정된 상기 진단 데이터에 따른 장애 상태를 정의한 고유 특성 파일(GSD)를 비교함으로써 입출력 모듈의 진단 정보를 해석할 수 있다.Here, to indicate that the field is about the state of the input / output module, the most significant two bits of the header 410 and Byte 16 are set to 00 and the lower six bits determine the length of the corresponding field. As shown in FIG. 4, it can be seen that the lower 6 bits are 9, and 9 fields are allocated to indicate failure state information. On the other hand, as an example of the manufacturer setting field (420, Byte 17), if the best bit is 1 and the remaining value is 2, it defines the H state and becomes the fault status information field in the following bytes (Byte 18 to Byte 25). Byte 23 shows that the upper four bits (4 to 7 bits) can write an error code according to the fault condition information, and the diagnostic information generation device receiving the diagnostic data is based on the diagnostic data set for each standard or manufacturer. The diagnostic information of the input / output module can be interpreted by comparing the GSD which defines the fault state.

여기서는 장애 상태 정보에 대한 일예로 상위4개의 비트(4~7비트)를 In this example, the top four bits (4 to 7 bits)

0000 : ok, 0000: ok,

0001 : 진단 코드 10, Reset Check Error,0001: Diagnostic code 10, Reset Check Error,

0010 : 진단 코드 11, Ram Check Error,0010: Diagnostic Code 11, Ram Check Error,

0011 : 진단 코드 12, Register Check Error,0011: Diagnostic code 12, Register Check Error,

0100 : 진단 코드 13, EEPROM Check Error,0100: Diagnostic code 13, EEPROM Check Error,

0101 : 진단 코드 21, D/A Conversion Error로 구성될 수 있다.
0101: Can consist of diagnostic code 21, D / A Conversion Error.

도 5는 본 발명의 일실실예에 따른 진단 데이터 프레임의 또 다른 적용예이다. 5 is another application example of a diagnostic data frame according to one embodiment of the present invention.

도 5에서 보는 바와 같이, 입출력 모듈의 각 채널 관련 진단 필드는 채널 ID(511,521,531), 채널 수(512,522,532), 진단 코드(513,523,533)의 총 3Byte로 채널 장애 상태 정보(510,520,530)를 구성할 수 있다.As shown in FIG. 5, each channel-related diagnostic field of the input / output module may configure channel failure status information 510, 520, 530 with a total of 3 bytes of channel IDs 511, 521, 531, number of channels 512, 522, 532, and diagnostic codes 513, 523, 533.

일 실시예로 Byte 26(511)의 최상위 2개비트는 진단 필드를 나타내며, 한편 하위 6개비트는 입출력 모듈의 채널 ID를 나타낸다. 여기서 채널 ID는 0이다. 다음으로 Byte 27(512)의 1 ~ 4비트는 채널 수를 나타내며 여기서는 1000으로 16을 나타낸다. Byte 28(513)의 1 ~ 4비트는 채널 장애 상태 정보를 나타내며 여기서는 1000으로 진단 코드 100에 대응된다. 즉 진단 정보 생성 장치는 저장부에 저장되어 있는 고유 특성 파일(GSD)를 상기 진단 데이터와 비교함으로써 입출력 모듈의 진단 정보를 해석할 수 있다.
In one embodiment, the two most significant bits of the byte 26 (511) represent a diagnostic field, while the lower six bits represent a channel ID of the input / output module. Where channel ID is zero. Next, bits 1 to 4 of Byte 27 (512) represent the number of channels, and in this case, 1000 represents 16. Bits 1 to 4 of Byte 28 (513) represent channel failure status information, which corresponds to diagnostic code 100 as 1000. That is, the diagnostic information generating apparatus may analyze the diagnostic information of the input / output module by comparing the unique characteristic file GSD stored in the storage unit with the diagnostic data.

만약 제조사가 표준 이외의 장애 상태 정보를 제공하고자 할 경우, 고유 특성 파일(GSD)에 진단 구조를 정의하여야 한다. 여기서 고유한 진단 기능을 제공하고자 하는 제조사는 입출력 모듈의 장애 정보를 Channel_Diag(16) ~ Channel_Diag(31)에 정의할 수 있다. If the manufacturer wants to provide non-standard fault status information, the diagnostic structure should be defined in the GSD. Here, a manufacturer who wants to provide a unique diagnostic function may define fault information of an input / output module in Channel_Diag (16) to Channel_Diag (31).

제조사의 고유 특성 파일(GSD)에 진단 구조를 정의하는 일 실시예는 다음과 같다. One embodiment for defining a diagnostic structure in a manufacturer's unique properties file (GSD) is as follows.

<Channel_Diag><Channel_Diag>

Channel_Diag(16) = "Parameter assignment error"Channel_Diag (16) = "Parameter assignment error"

Channel_Diag(17) = "Sensor or load voltage missing"Channel_Diag (17) = "Sensor or load voltage missing"

Channel_Diag(18) = "Fuse defect"Channel_Diag (18) = "Fuse defect"

Channel_Diag(19) = "Slot not addressable"Channel_Diag (19) = "Slot not addressable"

Channel_Diag(20) = "Ground error" ~ Channel_Diag (20) = "Ground error" ~

Channel_Diag(31) = "Reference channel error"으로 정의할 수 있다.
Channel_Diag (31) = "Reference channel error".

Moudle = "모델명" Ox43,Ox47,Ox00,Ox15,oxC5Moudle = "Model Name" Ox43, Ox47, Ox00, Ox15, oxC5

;<Unit_Diag_Area> ; ; <Unit_Diag_Area>;

//디바이스 수준의 장애가 발생한 입출력 모듈 슬롯 위치를 알기 위함// To know the location of I / O module slot where device level failure occurs

Unit_Diag_Area = 8-11Unit_Diag_Area = 8-11

Value(1) = "Slot 0,I/O 0"Value (1) = "Slot 0, I / O 0"

Value(2) = "Slot 1,I/O 1"Value (2) = "Slot 1, I / O 1"

Value(3) = "Slot 2,I/O 2"Value (3) = "Slot 2, I / O 2"

Value(4) = "Slot 3,I/O 3"Value (4) = "Slot 3, I / O 3"

Value(5) = "Slot 4,I/O 4"Value (5) = "Slot 4, I / O 4"

Value(6) = "Slot 5,I/O 5"Value (6) = "Slot 5, I / O 5"

Unit_Diag_Area_End
Unit_Diag_Area_End

;<Unit_Diag_Area> ; ; <Unit_Diag_Area>;

//디바이스 수준의 장애가 발생한 상태 정보를 정의함// define status information of device level failure

Unit_Diag_Area = 16-20Unit_Diag_Area = 16-20

Value(10) = "잘못된 모듈장착"Value (10) = "Incorrect module installed"

Value(10) = "모듈이 존재하지 않음"Value (10) = "The module does not exist"

Unit_Diag_Area_End
Unit_Diag_Area_End

;<Channel_Diag>; <Channel_Diag>

// 진단 코드 16의 경우는 단선정보임// If diagnostic code 16, disconnection information

Channel_Diag(16) = "단선 발생"Channel_Diag (16) = "Disconnected"

Channel_Diag(17) = "과전류 발생"Channel_Diag (17) = "Overcurrent Occurred"

; Ext_User_Prm_Data_Ref(0) = 16; Ext_User_Prm_Data_Ref (0) = 16

// Ext_User_Prm_Data_Ref 이용한 파라미터 구조 정의// Define parameter structure using Ext_User_Prm_Data_Ref

End Moudle
End mouth

진단 정보 생성 장치는 입출력 모듈에서 생성된 진단 데이터를 저장부에 저장되어 있는 제조사가 정의한 진단 고유 특성 파일(GSD)을 이용하여 입출력 모듈의 장애 상태를 비교함으로써 장애 상태를 해석함으로서 진단 정보를 생성할 수 있다. The diagnostic information generating device generates diagnostic information by analyzing the fault state by comparing the fault state of the I / O module with the diagnosis specific characteristic file (GSD) defined by the manufacturer stored in the storage unit. Can be.

따라서 각 제조사마다 다른 채널 진단 기능에 따라 생성된 진단 데이터를 제조사가 정의한 진단 고유 특성 파일(GSD)과 비교함으로써 각 제조사의 입출력 모듈의 진단기능에 관계없이 필드버스 네트워크에서 입출력 모듈의 채널 장애를 진단 할 수 있다.
Therefore, by comparing the diagnostic data generated according to the different channel diagnosis function of each manufacturer with the diagnosis specific characteristic file (GSD) defined by the manufacturer, it is possible to diagnose the channel failure of the I / O module in the fieldbus network regardless of the diagnosis function of the I / O module of each manufacturer. can do.

이상에서는 대표적인 실시 예를 통하여 본 발명에 대하여 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시 예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다.The present invention has been described in detail with reference to exemplary embodiments, but those skilled in the art to which the present invention pertains can make various modifications without departing from the scope of the present invention. I will understand.

그러므로 본 발명의 권리범위는 설명된 실시 예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.
Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by equivalents to the appended claims, as well as the appended claims.

100 : 진단 정보 생성 장치 110 : 입출력 인터페이스
111 : 슬롯 120 : 저장부
130 : 제어부 131 : 진단 정보 생성부
200 : 입출력 모듈
100: diagnostic information generating device 110: input and output interface
111: slot 120: storage
130: control unit 131: diagnostic information generation unit
200: input / output module

Claims (8)

입출력 모듈에 장애가 발생한 경우, 입출력 모듈로부터 소정의 진단 프레임을 포함하는 진단 데이터를 수신하는 단계; 및
수신한 상기 진단 데이터와 기저장된 진단고유 특성파일(GSD)을 비교하여, 장애를 해석하고 진단 정보를 생성하는 단계를 포함하고, 상기 진단 프레임은 디바이스 관련 진단필드, ID 관련 진단필드 및 채널 관련 진단필드를 포함하는 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법.
When a failure occurs in the input / output module, receiving diagnostic data including a predetermined diagnostic frame from the input / output module; And
Comparing the received diagnostic data with a previously stored diagnostic unique characteristic file (GSD) to analyze a failure and generate diagnostic information, wherein the diagnostic frame includes a device related diagnostic field, an ID related diagnostic field, and a channel related diagnosis. A method for diagnosing channel faults in I / O modules in a fieldbus network containing fields.
삭제delete 제1항에 있어서,
상기 채널 관련 진단필드는, 채널장애 상태정보를 포함하고, 상기 채널장애 상태정보는, 채널ID, 채널수 및 장애상태 정보로 이루어지는 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법.
The method of claim 1,
The channel-related diagnostic field includes channel failure status information, and the channel failure status information includes channel ID, number of channels, and failure status information.
제1항에 있어서,
상기 진단고유 특성파일(GSD)는, 제조사별 고유한 진단구조를 정의하는 것으로서, 소정의 진단채널에 정의되는 필드버스 네트워크에서 입출력 모듈의 채널 장애 진단 방법.
The method of claim 1,
The diagnostic intrinsic characteristic file (GSD) defines a diagnosis structure unique to each manufacturer, and the channel failure diagnosis method of the input / output module in the fieldbus network defined in a predetermined diagnosis channel.
입출력 모듈로부터 소정의 진단 프레임을 포함하는 진단 데이터를 수신하는 입출력 인터페이스부;
진단고유 특성파일(GSD)을 저장하는 저장부; 및
수신한 상기 진단 데이터와 상기 저장부에 저장된 진단고유 특성파일(GSD)을 비교하여, 장애를 해석하고 진단 정보를 생성하는 제어부를 포함하고, 상기 진단 프레임은 디바이스 관련 진단필드, ID 관련 진단필드 및 채널 관련 진단필드를 포함하는 진단 정보 생성 장치.
An input / output interface unit configured to receive diagnostic data including a predetermined diagnostic frame from the input / output module;
A storage unit for storing a diagnosis-specific characteristic file GSD; And
And a control unit for comparing the received diagnostic data with a diagnostic-specific characteristic file (GSD) stored in the storage unit to analyze a failure and generate diagnostic information, wherein the diagnostic frame includes a device-related diagnostic field, an ID-related diagnostic field, and the like. Diagnostic information generating device including a channel-related diagnostic field.
삭제delete 제5항에 있어서,
상기 채널 관련 진단필드는, 채널장애 상태정보를 포함하고, 상기 채널장애 상태정보는, 채널ID, 채널수 및 장애상태 정보로 이루어지는 진단 정보 생성 장치.
The method of claim 5,
The channel-related diagnostic field includes channel failure status information, and the channel failure status information includes a channel ID, a number of channels, and a failure status information.
제5항에 있어서,
상기 진단고유 특성파일(GSD)는, 제조사별 고유한 진단구조를 정의하는 것으로서, 소정의 진단채널에 정의되는 진단 정보 생성 장치.
The method of claim 5,
The diagnostic intrinsic characteristic file (GSD) defines a diagnosis structure unique to each manufacturer and is defined in a predetermined diagnostic channel.
KR1020100115447A 2010-11-19 2010-11-19 Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same KR101102120B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100115447A KR101102120B1 (en) 2010-11-19 2010-11-19 Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100115447A KR101102120B1 (en) 2010-11-19 2010-11-19 Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same

Publications (1)

Publication Number Publication Date
KR101102120B1 true KR101102120B1 (en) 2012-01-02

Family

ID=45613672

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100115447A KR101102120B1 (en) 2010-11-19 2010-11-19 Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same

Country Status (1)

Country Link
KR (1) KR101102120B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101303956B1 (en) * 2012-08-23 2013-09-05 현대중공업 주식회사 Apparatus of controlling high voltage inverter
CN108829006A (en) * 2018-06-29 2018-11-16 北京广利核系统工程有限公司 The analogue quantity output device and method of alternative output voltage or electric current
KR20210027787A (en) 2019-09-03 2021-03-11 (주)볼카텍 Input/output module checking system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970066770A (en) * 1996-03-30 1997-10-13 이종수 PIELL (PLC) Fault Diagnosis Device and Method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970066770A (en) * 1996-03-30 1997-10-13 이종수 PIELL (PLC) Fault Diagnosis Device and Method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
'지능적 필드버스 Master/Slave 네트워크 모니터링 시스템', Proceedings of KFIS Spring Conference, Vol. 14, Number 1, pp 3-6, 2004년 4월.*

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101303956B1 (en) * 2012-08-23 2013-09-05 현대중공업 주식회사 Apparatus of controlling high voltage inverter
CN108829006A (en) * 2018-06-29 2018-11-16 北京广利核系统工程有限公司 The analogue quantity output device and method of alternative output voltage or electric current
KR20210027787A (en) 2019-09-03 2021-03-11 (주)볼카텍 Input/output module checking system

Similar Documents

Publication Publication Date Title
US7117122B2 (en) Field maintenance tool
US6377859B1 (en) Maintenance interface device for a use in a process control network
JP4987984B2 (en) Handheld field maintenance bus monitor
US9083548B2 (en) Apparatus and methods to communicatively couple field devices to controllers in a process control system
US7684875B2 (en) Methods and apparatus to configure process control system inputs and outputs
CN101989085B (en) Controller
CN112596470A (en) Integration of multiple communicating physical layers and protocols in a process control input/output device
JP7014542B2 (en) Portable field maintenance tool configured for multiple process control communication protocols
JP6996893B2 (en) A portable field maintenance tool that powers field devices on the bus and communicates with them.
JP2009503952A (en) Field device with power supply via Ethernet
CN1592224A (en) Data transmission method for a multiprotocol handheld field maintenance tool
CN105765469B (en) Wireless instruments, wireless communication system, wireless module, interface module and communication means
KR101102120B1 (en) Channel diagnostic method in/out modules base on fielbus network and diagnostic information generation device using the same
JPWO2014181432A1 (en) Programmable display
US11913976B2 (en) Field device having a safe interface
JP2008051490A (en) Air conditioner
US20230274631A1 (en) Measuring device
US11916695B2 (en) Field device for checking the quality of a network connection
EP1489476B1 (en) Intrinsically safe field maintenance tool
Stripf IO-Link (single-drop digital communication system) for sensors and actuators
Hannifin Installation Manual
Ochoa Hidalgo Sensor diagnostic HART overlay 4-20mA
Carolina et al. Design, elaboration and implementation of 4–20mA current to profibus PA converter

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20141001

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20151002

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161010

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20171011

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 8