KR101990130B1 - Method for transmitting and receiving data between units connected in series - Google Patents

Method for transmitting and receiving data between units connected in series Download PDF

Info

Publication number
KR101990130B1
KR101990130B1 KR1020180017796A KR20180017796A KR101990130B1 KR 101990130 B1 KR101990130 B1 KR 101990130B1 KR 1020180017796 A KR1020180017796 A KR 1020180017796A KR 20180017796 A KR20180017796 A KR 20180017796A KR 101990130 B1 KR101990130 B1 KR 101990130B1
Authority
KR
South Korea
Prior art keywords
unit
units
network
message frame
slave
Prior art date
Application number
KR1020180017796A
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 KR1020180017796A priority Critical patent/KR101990130B1/en
Application granted granted Critical
Publication of KR101990130B1 publication Critical patent/KR101990130B1/en

Links

Images

Classifications

    • 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/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The present invention relates to a method of transmitting and receiving data of a system in which a plurality of units are connected to each other in series through a predetermined communication line. Provided is a method for transmitting and receiving data comprising the steps of: notifying at least one master unit of the plurality of units; and selecting any two of the plurality of units as network managers based on network type by the communication line and a predetermined protocol shared to the plurality of units.

Description

직렬 연결된 유닛들 사이의 데이터 송수신 방법{METHOD FOR TRANSMITTING AND RECEIVING DATA BETWEEN UNITS CONNECTED IN SERIES}[0001] METHOD FOR TRANSMITTING AND RECEIVING DATA BETWEEN UNITS [0002] CONNECTED IN SERIES [

본 발명은 상호 직렬 연결된 유닛들 사이의 데이터 송수신 방법에 관한 것으로, 특히 PLC(Programmable Logic Controller)장치 등에 구비된 마스터 유닛과 슬레이브 유닛들 사이의 데이터 송수신 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of transmitting / receiving data between mutually serially connected units, and more particularly, to a method of transmitting / receiving data between a master unit and slave units provided in a PLC (Programmable Logic Controller)

최근 자동화 설비를 구현함에 있어서, 각 공정을 수행하는 제어대상기기들을 공정의 순서에 따라 순차적으로 연결하기 위한 릴레이 및 카운터 등은 PLC장치로 대체되고 있다.Recently, relays and counters for sequentially connecting control target devices performing each process according to the order of processes have been replaced with PLC devices.

PLC장치는 사용자에 의해 설정된 공정 순서에 따라 제어대상기기들의 순차 구동을 제어하는 장비이다. 이러한 PLC장치를 이용하여 자동화 설비를 구현하면, 공정의 순서 변경, 추가 및 삭제가 용이해질 수 있는 장점이 있다.The PLC device is a device for controlling the sequential driving of the control target devices according to the process sequence set by the user. When an automation facility is implemented using such a PLC device, there is an advantage that it is easy to change the order, addition, and deletion of the process.

PLC장치는 공정 변경 또는 제어대상기기의 변경으로 인한 개조 및 확장이 용이해질 수 있도록, 적어도 하나의 제어대상기기 등과 연결되는 입출력부가 모듈 단위로 증설될 수 있는 구조로 이루어질 수 있다. 즉, PLC장치는 제어대상기기들의 구동 제어 및 감시를 위한 연산 처리를 실시하는 메인모듈과, 메인모듈에 연결되는 적어도 하나의 증설모듈을 포함하는 구조로 이루어질 수 있다. The PLC device may be structured such that it can be installed in units of input / output modules connected to at least one control target device so that modification or expansion due to process change or change of control target device can be facilitated. That is, the PLC device may include a main module that performs operation processing for driving control and monitoring of control target devices, and at least one expansion module connected to the main module.

여기서, 각 증설모듈은 적어도 하나의 제어대상기기에 연결되고, 각각의 구동 상태 또는 제어대상기기의 구동 상태에 대응하는 수집데이터를 메인모듈로 송신할 수 있다. Here, each of the expansion modules is connected to at least one control target device, and can transmit collection data corresponding to the respective driving status or the driving status of the control target device to the main module.

그리고, 메인모듈은 제어대상기기들의 구동을 제어 및 감시하기 위한 지령데이터를 각 증설모듈에 송신할 수 있고, 각 증설모듈은 메인모듈로부터 수신된 지령데이터에 기초하여 제어대상기기를 구동할 수 있다. The main module can transmit command data for controlling and monitoring the driving of the control target devices to each of the expansion modules, and each expansion module can drive the control target device based on the command data received from the main module .

이를 위해, 메인모듈과 적어도 하나의 증설모듈은 소정의 통신선로를 통해 상호 직렬 연결되고, 통신선로에 의한 네트워크를 통해 데이터를 송수신할 수 있다. 이러한 네트워크에 있어서, 메인모듈은 마스터 유닛이고, 적어도 하나의 증설모듈 각각은 슬레이브 유닛일 수 있다. To this end, the main module and the at least one extension module are connected in series through a predetermined communication line, and data can be transmitted and received through a network by the communication line. In such a network, the main module is a master unit, and each of the at least one extension module may be a slave unit.

일반적인 데이터 송수신 방법에 따르면, 각 슬레이브 유닛은 마스터 유닛으로부터 지령데이터 등을 포함하는 하향 메시지프레임을 수신하면, 자신의 상향 메시지프레임을 마스터 유닛으로 송신한다. 즉, 마스터 유닛의 하향 메시지프레임은 각 슬레이브 유닛의 상향 메시지프레임에 대한 송신 트리거가 된다.According to a general data transmission / reception method, when each slave unit receives a downward message frame including command data or the like from the master unit, it transmits its uplink message frame to the master unit. That is, the downward message frame of the master unit becomes the transmission trigger for the uplink message frame of each slave unit.

이에 따라, 마스터 유닛이 슬레이브 유닛의 상향 메시지프레임을 수신하는 주기를 단축하기 위해서는, 각 슬레이브 유닛이 마스터 유닛의 하향 메시지프레임을 수신하는 주기를 단축할 필요가 있다. 즉, 마스터 유닛이 하향 메시지프레임을 송신하는 주기가 단축될 필요가 있다. 그로 인해, 마스터 유닛의 처리 부하가 증가될 수 있는 문제점이 있다. Accordingly, in order to shorten the period in which the master unit receives the upstream message frame of the slave unit, it is necessary to shorten the period in which each slave unit receives the downstream message frame of the master unit. That is, the period in which the master unit transmits the downward message frame needs to be shortened. As a result, the processing load of the master unit can be increased.

그리고, 마스터 유닛은 각 슬레이브 유닛의 상향 메시지프레임을 수신하는 시점마다, 상향 메시지프레임의 수신을 위한 인터럽트 모드로 구동된다. 이에 따라, 마스터 유닛에 연결되는 슬레이브 유닛의 개수가 증가할수록 마스터 유닛의 처리 부하가 크게 증가될 수 있는 문제점이 있다.The master unit is driven in an interrupt mode for receiving an uplink message frame at each time when an uplink message frame of each slave unit is received. Accordingly, there is a problem that the processing load of the master unit may be greatly increased as the number of slave units connected to the master unit increases.

이와 같이, 각 슬레이브 유닛이 마스터 유닛의 하향 메시지프레임을 수신하는 시점에 기초하여 상향 메시지프레임을 송신함에 따라, 마스터 유닛과 각 슬레이브 유닛 사이의 데이터 송수신에 있어서 마스터 유닛의 의존도가 비교적 높은 문제점이 있다. 이에, 슬레이브 유닛의 개수가 증가될수록 마스터 유닛의 처리 부하가 크게 증가되는 문제점, 및 그로 인해 마스터 유닛과 각 슬레이브 유닛 사이에 송수신되는 데이터의 실시간성이 저하될 수 있는 문제점이 있다.As described above, there is a problem that the dependency of the master unit in the data transmission / reception between the master unit and each slave unit is relatively high due to transmission of the upstream message frame based on the time when each slave unit receives the downward message frame of the master unit . Accordingly, there is a problem in that the processing load of the master unit is greatly increased as the number of slave units is increased, and the real-time performance of data transmitted and received between the master unit and each slave unit may be degraded.

본 발명은 마스터 유닛과 각 슬레이브 유닛 사이에 송수신되는 데이터의 실시간성이 향상될 수 있는 데이터 송수신 방법을 제공한다.The present invention provides a data transmitting / receiving method capable of improving the real time performance of data transmitted / received between a master unit and each slave unit.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있고, 본 발명의 실시예에 의해 보다 분명하게 이해될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention which are not mentioned can be understood by the following description and more clearly understood by the embodiments of the present invention. It will also be readily apparent that the objects and advantages of the invention may be realized and attained by means of the instrumentalities and combinations particularly pointed out in the appended claims.

이와 같은 과제를 해결하기 위하여, 본 발명의 일 예시는 복수의 유닛이 소정의 통신선로를 통해 상호 직렬 연결되는 시스템의 데이터 송수신 방법에 관한 것으로, 상기 복수의 유닛 중 적어도 하나의 마스터 유닛이 공지되는 단계, 상기 통신선로에 의한 네트워크 형태 및 상기 복수의 유닛에 공유된 소정의 프로토콜(protocol)에 기초하여, 상기 복수의 유닛 중 어느 두 개의 유닛이 네트워크매니저로 선택되는 단계, 상기 복수의 유닛에 포함된 둘 이상의 슬레이브 유닛 중 상기 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛이 각각의 전달데이터를 포함한 메시지프레임을 상기 각 네트워크매니저에 대응하는 전달방향을 따라 각각의 일측에 이웃한 유닛으로 송신하는 단계, 및 상기 둘 이상의 슬레이브 유닛 중 상기 네트워크매니저로 선택된 적어도 하나를 제외한 나머지 슬레이브 유닛이 상기 전달방향을 따라 각각의 일측에 이웃한 유닛으로부터 상기 메시지프레임을 수신하고, 각각의 전달데이터에 기초하여 상기 메시지프레임을 갱신하며, 상기 갱신된 메시지프레임을 각각의 다른 일측에 이웃한 유닛으로 송신하는 단계를 포함하는 데이터 송수신 방법을 제공한다.According to an aspect of the present invention, there is provided a data transmission / reception method for a system in which a plurality of units are connected in series through a predetermined communication line, wherein at least one master unit among the plurality of units is known Selecting either one of the plurality of units as a network manager based on a network type by the communication line and a predetermined protocol shared among the plurality of units; Wherein at least one slave unit selected by the network manager among the two or more slave units is transmitting a message frame including transmission data to a neighboring unit on each side along a transmission direction corresponding to each network manager, And selecting one of the two or more slave units as the network manager The slave units other than one receive the message frame from a unit neighboring each side along the transmission direction, update the message frame based on the respective delivery data, and transmit the updated message frame to each And transmitting the data to a neighboring unit on the other side.

상기 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛이 메시지프레임을 송신하는 단계 및 상기 나머지 슬레이브 유닛이 메시지프레임을 송신하는 단계 각각에서, 상기 메시지프레임의 송신은 소정의 각 전달주기에서 실시된다.In each of the steps of transmitting a message frame by at least one slave unit selected by the network manager and transmitting the message frame by the remaining slave unit, the transmission of the message frame is performed at each predetermined delivery period.

상기 메시지프레임의 수신지는 상기 적어도 하나의 마스터 유닛 중 어느 하나이고, 상기 메시지프레임의 수신지로 지정된 마스터 유닛이 상기 전달방향을 따라 일측에 이웃한 유닛으로부터 상기 메시지프레임을 수신하는 단계를 더 포함할 수 있다.Wherein the destination of the message frame is any one of the at least one master unit and the master unit designated as the destination of the message frame receives the message frame from a neighboring unit on one side along the forwarding direction have.

상기 두 개의 네트워크매니저에 대응하는 전달방향은 상호 반대된다.The transmission directions corresponding to the two network managers are opposite to each other.

상기 네트워크가 링 형태인 상태에서, 구동중단상태의 유닛이 발생된 경우, 상기 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛이 상기 구동중단상태의 유닛을 감지하면, 상기 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛 중 적어도 하나가 상기 복수의 유닛에 상기 구동중단상태의 유닛을 공지하는 단계, 및 상기 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛이 상기 네트워크매니저로 선택되는 단계를 더 포함할 수 있다.When two units neighboring the both sides of the unit in the driving stop state sense the unit in the driving stop state in the case where the unit in the driving stop state is detected while the network is in the ring shape, Wherein at least one of the two neighboring units on both sides of the driving stop state informs the plurality of units of the unit in the driving stop state and the two neighboring units on both sides of the unit in the stopped driving state are selected by the network manager Step < / RTI >

상기 구동중단상태의 유닛이 정상상태로 복구된 경우, 상기 복구된 유닛의 양측에 이웃한 두 개의 유닛이 상기 복구된 유닛을 감지하면, 상기 복구된 유닛에 이웃한 두 개의 유닛 중 적어도 하나가 상기 복구된 유닛을 공지하는 단계, 및 상기 복수의 유닛 중 상기 프로토콜에 따른 소정의 조건에 부합된 어느 하나의 유닛이 선출되고, 상기 선출된 어느 하나의 유닛 및 상기 선출된 유닛에 이웃한 다른 어느 하나의 유닛이 상기 네트워크매니저로 선택되는 단계를 더 포함할 수 있다.When the unit in the driving stop state is restored to a normal state, if two neighboring units on both sides of the recovered unit sense the recovered unit, at least one of two neighboring units to the recovered unit The method comprising the steps of: informing a recovered unit of the plurality of units, and selecting any one of the plurality of units conforming to a predetermined condition according to the protocol and selecting any one of the selected one unit and the other one adjacent to the selected unit A unit of the network manager may be selected as the network manager.

상기 복수의 유닛 중 어느 두 개의 유닛이 네트워크매니저로 선택되는 단계에서, 상기 네트워크가 라인 형태이면, 상기 복수의 유닛 중 상기 네트워크의 양단에 배치되는 두 개의 유닛이 상기 네트워크매니저로 선택된다. When two or more of the plurality of units are selected as a network manager, if the network is in a line form, two units disposed at both ends of the network among the plurality of units are selected as the network manager.

전술한 바와 같은 데이터 송수신 방법에 따르면, 마스터 유닛 및 둘 이상의 슬레이브 유닛을 포함한 복수의 유닛 중 어느 두 개가 네트워크매니저로 선택될 수 있다. 즉, 슬레이브 유닛 뿐만 아니라, 마스터 유닛도 네트워크매니저로 선택될 수 있다. According to the data transmission / reception method as described above, any two of the master unit and the plurality of units including two or more slave units can be selected as the network manager. That is, not only the slave unit but also the master unit can be selected as the network manager.

그리고, 둘 이상의 슬레이브 유닛 중 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛은 각각의 전달데이터를 포함한 메시지프레임을 각 네트워크매니저에 대응하는 전달방향을 따라 각각의 일측에 이웃한 유닛으로 송신한다. 이어서, 둘 이상의 슬레이브 유닛 중 네트워크매니저로 선택된 적어도 하나를 제외한 나머지 슬레이브 유닛은 전달방향을 따라 각각의 일측에 이웃한 유닛으로부터 메시지프레임을 수신하고, 각각의 전달데이터에 기초하여 메시지프레임을 갱신하며, 갱신된 메시지프레임을 각각의 다른 일측에 이웃한 유닛으로 송신한다. 여기서, 메시지프레임의 수신지는 적어도 하나의 마스터 유닛 중 어느 하나이며, 메시지프레임의 수신지로 지정된 마스터 유닛은 전달방향을 따라 일측에 이웃한 유닛으로부터 메시지프레임을 수신한다. At least one slave unit selected as a network manager among the two or more slave units transmits a message frame including each delivery data to a neighboring unit on each side along a transmission direction corresponding to each network manager. Subsequently, the slave units other than the at least one selected as the network manager among the two or more slave units receive the message frame from the neighboring unit on each side along the forwarding direction, update the message frame based on the respective forwarding data, And transmits the updated message frame to the units neighboring each other. Here, the destination of the message frame is one of the at least one master unit, and the master unit designated as the destination of the message frame receives the message frame from the neighboring unit on one side along the delivery direction.

이와 같이, 둘 이상의 슬레이브 유닛은 마스터 유닛에 의한 송신 트리거가 아니라, 네트워크매니저를 비롯한 각각의 이웃한 유닛으로부터 전달된 메시지프레임을 송신 트리거로 이용하여 각각의 전달데이터를 마스터 유닛으로 송신할 수 있다. 그러므로, 마스터 유닛이 각 슬레이브 유닛에 메시지프레임을 송신하는 주기를 단축하지 않더라도, 마스터 유닛이 각 슬레이브 유닛의 전달데이터를 수신하는 주기가 단축될 수 있다. 이로써, 마스터 유닛의 처리 부하가 경감될 수 있는 장점이 있다.In this manner, the two or more slave units can transmit respective delivery data to the master unit using a message frame transmitted from each neighboring unit, including the network manager, as a transmission trigger, rather than a transmission trigger by the master unit. Therefore, even if the master unit does not shorten the period of transmitting the message frame to each slave unit, the period in which the master unit receives the transfer data of each slave unit can be shortened. This has the advantage that the processing load of the master unit can be reduced.

그리고, 마스터 유닛은 네트워크매니저에 대응한 전달방향을 따라 이웃한 유닛으로부터 적어도 하나의 메시지프레임을 수신한다. 여기서, 메시지프레임은 네트워크매니저로 선택된 슬레이브 유닛과 마스터 유닛에 인접한 슬레이브 유닛 사이에 배치된 적어도 하나의 슬레이브 유닛 각각의 전달데이터를 포함한다. 이와 같이, 마스터 유닛이 각 슬레이브 유닛의 메시지프레임을 수신하는 것이 아니라, 그의 양측에 이웃한 유닛으로부터 최대 두 개의 메시지프레임을 수신한다. 그러므로, 메시지프레임의 수신을 위한 인터럽트모드로 구동하는 횟수가 감소될 수 있고, 그로 인해 마스터 유닛의 처리 부하가 경감될 수 있는 장점이 있다. Then, the master unit receives at least one message frame from a neighboring unit along a transmission direction corresponding to the network manager. Here, the message frame includes transfer data of each of the slave units selected by the network manager and at least one slave unit disposed between the slave units adjacent to the master unit. Thus, the master unit does not receive the message frame of each slave unit, but receives at most two message frames from neighboring units on both sides thereof. Therefore, there is an advantage that the number of times of driving in the interrupt mode for reception of the message frame can be reduced, thereby reducing the processing load of the master unit.

이와 같이, 각 슬레이브 유닛의 전달 데이터가 마스터 유닛으로 송신되는 과정에서 마스터 유닛에 대한 의존도가 감소되므로, 마스터 유닛의 처리 부하에 따른 데이터의 실시간성 저하가 방지될 수 있다. 즉, 마스터 유닛과 각 슬레이브 유닛 사이에 송수신되는 데이터의 실시간성이 향상될 수 있다.As described above, since the transfer data of each slave unit is transmitted to the master unit, the reliance on the master unit is reduced, so that the real-time degradation of the data due to the processing load of the master unit can be prevented. That is, the real-time performance of data transmitted and received between the master unit and each of the slave units can be improved.

더불어, 슬레이브 유닛인지 여부 및 마스터 유닛에 대한 각 슬레이브 유닛의 위치와 관계없이, 복수의 유닛 중 프로토콜에 따른 조건에 대응되는 어느 두 개가 네트워크매니저로 선택된다. 이에 따라, 링 형태의 네트워크 및 라인 형태의 네트워크 모두에 용이하게 적용될 수 있는 장점이 있다. In addition, regardless of whether it is a slave unit and the position of each slave unit with respect to the master unit, any two of the plurality of units corresponding to the conditions according to the protocol are selected as the network managers. Accordingly, there is an advantage that it can be easily applied to both a ring-shaped network and a line-shaped network.

또한, 어느 하나의 유닛이 구동중단상태가 됨에 따라, 링 형태의 네트워크가 라인 형태로 변경되더라도, 라인 형태의 네트워크에 대응하는 네트워크매니저를 선택함으로써, 데이터 송수신이 용이하게 유지될 수 있다. 이에, 각 슬레이브 유닛에서 마스터 유닛으로의 데이터 송수신에 대한 신뢰도가 향상될 수 있다.Also, even if a ring network is changed to a line type as a unit becomes a driving stop state, data transmission and reception can be easily maintained by selecting a network manager corresponding to a network in a line form. Thus, reliability of data transmission / reception from each slave unit to the master unit can be improved.

도 1은 본 발명의 제 1 실시예에 따른 복수의 유닛이 상호 직렬 연결되는 시스템의 일 예시를 나타낸 도면이다.
도 2는 본 발명의 제 1 실시예에 따른 복수의 유닛이 상호 직렬 연결되는 시스템의 다른 일 예시를 나타낸 도면이다.
도 3은 본 발명의 제 1 실시예에 따른 데이터 송수신 방법을 나타낸 도면이다.
도 4, 도 5, 도 6 및 도 7은 도 1의 예시에 있어서 도 3의 일부 단계에 대한 일 예시를 나타낸 도면이다.
도 8은 본 발명의 제 1 실시예에 따른 복수의 유닛이 상호 직렬 연결되는 시스템의 또 다른 일 예시에 있어서 도 3의 일부 단계에 대한 일 예시를 나타낸 도면이다.
도 9는 도 1의 예시에 있어서 도 3의 일부 단계에 대한 다른 일 예시를 나타낸 도면이다.
도 10은 도 2의 예시에 있어서 도 3의 일부 단계를 나타낸 도면이다.
도 11는 본 발명의 제 2 실시예에 따른 데이터 송수신 방법을 나타낸 도면이다.
도 12, 도 13, 도 14 및 도 15는 도 11의 일부 단계에 대한 일 예시를 나타낸 도면이다.
1 is a diagram illustrating an example of a system in which a plurality of units are connected in series according to a first embodiment of the present invention.
2 is a diagram showing another example of a system in which a plurality of units are connected in series according to a first embodiment of the present invention.
3 is a diagram illustrating a data transmission / reception method according to a first embodiment of the present invention.
FIGS. 4, 5, 6, and 7 are views showing an example of some steps of FIG. 3 in the example of FIG.
FIG. 8 is a diagram illustrating an example of some steps of FIG. 3 in another example of a system in which a plurality of units are connected in series according to a first embodiment of the present invention.
Fig. 9 is a diagram showing another example of some steps of Fig. 3 in the example of Fig.
FIG. 10 is a view showing some steps of FIG. 3 in the example of FIG. 2;
11 is a diagram illustrating a data transmission / reception method according to a second embodiment of the present invention.
12, 13, 14, and 15 are views showing an example of some steps of FIG.

전술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술되며, 이에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 상세한 설명을 생략한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 도면에서 동일한 참조부호는 동일 또는 유사한 구성요소를 가리키는 것으로 사용된다.The above and other objects, features, and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings, which are not intended to limit the scope of the present invention. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to denote the same or similar elements.

먼저, 도 1 및 도 2를 참조하여, 본 발명의 제 1 실시예에 따른 시스템에 대해 설명한다.First, a system according to a first embodiment of the present invention will be described with reference to Figs. 1 and 2. Fig.

도 1은 본 발명의 제 1 실시예에 따른 복수의 유닛이 상호 직렬 연결되는 시스템의 일 예시를 나타낸 도면이다. 도 2는 본 발명의 제 1 실시예에 따른 복수의 유닛이 상호 직렬 연결되는 시스템의 다른 일 예시를 나타낸 도면이다.1 is a diagram illustrating an example of a system in which a plurality of units are connected in series according to a first embodiment of the present invention. 2 is a diagram showing another example of a system in which a plurality of units are connected in series according to a first embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 제 1 실시예에 따르면, 시스템(10)은 소정의 통신선로(11)를 통해 상호 직렬 연결되는 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)을 포함한다. (여기서, n은 7 이상의 자연수, i는 4 이상 및 n 이하의 자연수)1, a system 10 includes a plurality of units (Unit # 1, Unit # 2, Unit # 1) connected in series through a predetermined communication line 11 as shown in FIG. 1, 3, ..., Unit #i, Unit # i + 1, ..., Unit # n-1, Unit #n). (Where n is a natural number of 7 or more, i is a natural number of 4 or more and n or less)

일 예로, 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n) 중 적어도 하나의 유닛(예를 들면, 도 1의 Unit #1)은 마스터 유닛이고, 다른 나머지 둘 이상의 유닛(Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)은 슬레이브 유닛이다.For example, at least one of a plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit #i, Unit # i + 1 to Unit # n- (Unit # 1 in FIG. 1) is a master unit, and two or more remaining units (Unit # 2, Unit # 3, Slave unit.

도 1에는 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)이 하나의 마스터 유닛을 포함하는 경우가 도시되었으나, 본 발명의 제 1 실시예는 이에 국한되지 않으며, 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)은 둘 이상의 마스터 유닛을 포함할 수 있다.1 shows a case where a plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit #i, Unit # i + 1 to Unit # n- (Unit # 1, Unit # 2, Unit # 3, ..., Unit #i, Unit # i + 1, ..., Unit # n-1), but the present invention is not limited to this. , Unit #n) may include two or more master units.

예시적으로, 시스템이 PLC장치인 경우, 마스터 유닛(Unit #1)은 제어대상기기들의 구동 제어를 위한 연산 및 감시를 실행하는 메인모듈이고, 슬레이브 유닛(Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)은 적어도 하나의 제어대상기기와 메인모듈 사이에 배치되는 증설모듈일 수 있다. 또는, 슬레이브 유닛(Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n) 중 일부는 제어대상기기일 수도 있다.Illustratively, when the system is a PLC device, the master unit (Unit # 1) is a main module for executing calculation and monitoring for control of drive of the control target devices, and the slave units (Unit # 2, Unit # 3, #i, Unit # i + 1, ..., Unit # n-1, Unit #n) may be an extension module disposed between at least one control target device and the main module. Alternatively, some of the slave units (Unit # 2, Unit # 3, to Unit # i, Unit # i + 1 to Unit # n-1, Unit # n) may be control target devices.

복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n) 각각은 통신선로(11)에 연결되는 제 1 및 제 2 포트(P1, P2)를 포함한다.Each of the plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit # i, Unit # i + And a second port P1, P2.

더불어, 도 1에 상세히 도시되지 않았으나, 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n) 각각은 제 1 및 제 2 포트(P1, P2) 중 어느 하나를 통해 메시지프레임을 수신하고 다른 나머지 하나를 통해 메시지프레임을 송신하는 입출력부(미도시)를 더 포함할 수 있다.Although not shown in detail in FIG. 1, each of the plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit #i, Unit # i + 1 to Unit # n- And an input / output unit (not shown) for receiving a message frame through one of the first and second ports P1 and P2 and transmitting the message frame through the other port P1 and P2.

여기서, 입출력부(미도시)는 다른 유닛으로 송신하고자 하는 전달데이터를 임시 저장하는 출력버퍼부와, 출력버퍼부의 전달데이터 및 그의 수신지와 송신지를 포함하도록 메시지프레임을 생성 또는 갱신하는 프레임생성부와, 자신을 수신지로 지정한 메시지프레임의 전달데이터를 임시 저장하는 입력버퍼부를 포함할 수 있다.Here, the input / output unit (not shown) includes an output buffer unit for temporarily storing transfer data to be transmitted to another unit, a frame generation unit for generating or updating a message frame so as to include transfer data of the output buffer unit, And an input buffer unit for temporarily storing delivery data of a message frame that specifies itself as a destination.

복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)은 데이터 송수신을 위한 소정의 프로토콜을 공유한다. 예시적으로, 프로토콜은 RAPIEnet 네트워크에 대응하는 것일 수 있다. 일 예로, 소정의 프로토콜은 IEC 61158 type21 및 IEC 62439-7중 적어도 하나일 수 있다.The plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit #i, Unit # i + 1, ..., Unit # n-1, Unit #n) share a predetermined protocol for data transmission and reception. By way of example, the protocol may correspond to a RAPIEnet network. As an example, the predetermined protocol may be at least one of IEC 61158 type 21 and IEC 62439-7.

복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)은 적어도 하나의 마스터 유닛(Unit #1)에 대한 데이터를 상호 공유한다. 또는, 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)은 각각의 위치 및 ID 등에 대한 데이터를 상호 공유할 수도 있다.The plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit #i, Unit # i + Share data about each other. Alternatively, the plurality of units (Unit # 1, Unit # 2, Unit # 3, to Unit # i, Unit # i + 1 to Unit # n- They may be mutually shared.

그리고, 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n) 중 어느 두 개의 유닛은 공유된 프로토콜에 기초하여 네트워크매니저로 선택된다. 여기서, 두 개의 네트워크매니저에 대응한 전달방향은 상호 반대된다.Any two of the plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit #i, Unit # i + 1 to Unit # n- And is selected as a network manager based on this. Here, the transmission directions corresponding to the two network managers are mutually opposite.

즉, 두 개의 네트워크매니저가 서로를 향해 메시지프레임을 송수신하지 않도록, 두 개의 네트워크매니저 중 어느 하나에 대응한 전달방향은 시계방향이고, 다른 나머지 하나에 대응한 전달방향은 반시계방향일 수 있다. That is, the transmission direction corresponding to one of the two network managers may be clockwise, and the transmission direction corresponding to the other two network managers may be counterclockwise, so that the two network managers do not transmit and receive the message frame to each other.

달리 설명하면, 어느 하나의 네트워크매니저에 대응한 전달방향은 송신 유닛의 제 1 포트(P1)에서 수신 유닛의 제 2 포트(P2)를 향하는 방향일 수 있다. 반대로, 다른 나머지 하나의 네트워크매니저에 대응한 전달방향은 송신 유닛의 제 2 포트(P2)에서 수신 유닛의 제 1 포트(P1)를 향하는 방향일 수 있다. In other words, the transmission direction corresponding to any one of the network managers may be the direction from the first port P1 of the transmission unit to the second port P2 of the reception unit. Conversely, the transmission direction corresponding to the other remaining network manager may be the direction from the second port P2 of the transmission unit to the first port P1 of the reception unit.

둘 이상의 슬레이브 유닛 중 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛에 의한 메시지프레임은 수신지로 지정된 마스터 유닛(Unit #1)에 도달되기까지 각 전달주기마다 네트워크매니저에 대응한 전달방향을 따라 이웃한 유닛으로 순차 송신된다. A message frame by at least one slave unit selected as a network manager among two or more slave units is transmitted to a neighboring unit along the transmission direction corresponding to the network manager for each delivery period until reaching the master unit (Unit # 1) Sequentially transmitted.

여기서, 네트워크매니저로 선택된 어느 하나의 슬레이브 유닛에 의한 메시지프레임은 어느 하나의 슬레이브 유닛과 마스터 유닛(Unit #1)에 인접한 슬레이브 유닛 사이에 배치된 적어도 하나의 슬레이브 유닛 각각의 전달데이터를 포함한다. Here, the message frame by any one of the slave units selected as the network manager includes the transfer data of each of the slave units and at least one of the slave units disposed between the slave units adjacent to the master unit (Unit # 1).

전달주기는 프로토콜에 따른 소정의 기본값 또는 사용자에 의해 지정될 수 있다. 일 예로, 전달주기는 0.1ms일 수 있다. The delivery period may be specified by the user or by a predetermined default according to the protocol. As an example, the delivery period may be 0.1 ms.

그리고, 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)은 통신선로(11)를 통해 직렬 연결된 다른 유닛들의 ID 및 위치, 마스터 유닛의 ID 및 마스터 유닛에 대한 각각의 위치, 그리고 네트워크매니저의 ID 및 네트워크매니저에 대한 각각의 위치 중 적어도 하나에 대한 데이터를 보유하는 네트워크정보부를 더 포함할 수 있다. 특히, 네트워크정보부는 마스터 유닛 및 네트워크매니저의 ID를 보유할 수 있다.The plurality of units (Unit # 1, Unit # 2, Unit # 3, ..., Unit # i, Unit # i + 1, A network information section that holds data for at least one of an ID and a location of other units, an ID of the master unit, and a location of each of the master unit and the network manager, and an ID of the network manager and a location of the network manager, respectively . In particular, the network information unit can retain the IDs of the master unit and the network manager.

또한, 네트워크정보부는 통신선로(11)에 의한 네트워크 형태에 대한 데이터를 더 보유할 수 있다. In addition, the network information section can further retain data on the network type by the communication line 11. [

일 예로, 적어도 하나의 유닛의 네트워크정보부는 해당 유닛이 마스터 유닛인지 아니면 슬레이브 유닛인지 여부와 해당의 ID를 포함하는 네트워크검출메시지를 브로드캐스팅하고, 네트워크검출메시지의 귀환 여부에 따라 네트워크가 링 형태(도 1)인지 아니면 라인 형태(도 2)인지 여부를 검출하며, 검출된 네트워크 형태에 관한 데이터를 보유할 수 있다. For example, the network information unit of at least one unit broadcasts a network detection message including whether the corresponding unit is a master unit or a slave unit and an ID of the slave unit, 1) or in the form of a line (Fig. 2), and may retain data regarding the detected network type.

예시적으로, 네트워크검출메시지는 적어도 하나의 마스터 유닛(Unit #1)에 의해 브로드캐스팅될 수 있다. 또한, 네트워크 상태를 주기적으로 검출하기 위하여, 네트워크검출메시지는 주기적으로 브로드캐스팅될 수 있다.Illustratively, the network detection message may be broadcast by at least one master unit (Unit # 1). Further, in order to periodically detect the network status, the network detection message can be broadcast periodically.

도 1의 도시와 같이, 네트워크가 링 형태이면, 즉 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)이 상호 직렬 연결된 상태이면, 네트워크검출메시지는 귀환될 수 있다. 이에, 네트워크검출메시지가 귀환되면, 링 형태의 네트워크로 검출될 수 있다.1, Unit # n-1, Unit # 2, Unit # 3, and Unit # i, n are mutually cascaded, the network detection message can be returned. Thus, if the network detection message is returned, it can be detected as a ring-shaped network.

또는, 도 2의 도시와 같이, 네트워크가 라인 형태이면, 즉 복수의 유닛(Unit #1, Unit #2, Unit #3, ~ Unit #i, Unit #i+1, ~ Unit #n-1, Unit #n)가 상호 직렬 연결되고 그 중 어느 두 개(Unit #i, Unit #i+1)의 유닛이 상호 연결되지 않는 상태이면, 네트워크검출메시지는 귀환될 수 없다. 이에, 네트워크검출메시지가 소정 기간 이내에 귀환되지 않으면, 라인 형태의 네트워크로 검출될 수 있다.Alternatively, as shown in FIG. 2, if the network is in the form of a line, that is, a plurality of units (Unit # 1, Unit # 2, Unit # 3 to Unit #i, Unit # i + Unit #n) are interconnected in series and the units of either of them (Unit #i, Unit # i + 1) are not interconnected, the network detection message can not be returned. Thus, if the network detection message is not returned within a predetermined period, it can be detected as a network in the form of a line.

다음, 도 3 내지 도 11을 참조하여, 본 발명의 제 1 실시예에 따른 데이터 송수신 방법에 대해 설명한다.Next, a data transmission / reception method according to the first embodiment of the present invention will be described with reference to FIGS. 3 to 11. FIG.

도 3은 본 발명의 제 1 실시예에 따른 데이터 송수신 방법을 나타낸 도면이다. 도 4, 도 5, 도 6 및 도 7은 도 1의 예시에 있어서 도 3의 일부 단계에 대한 일 예시를 나타낸 도면이다. 도 8은 본 발명의 제 1 실시예에 따른 복수의 유닛이 상호 직렬 연결되는 시스템의 또 다른 일 예시에 있어서 도 3의 일부 단계에 대한 일 예시를 나타낸 도면이다. 도 9는 도 1의 예시에 있어서 도 3의 일부 단계에 대한 다른 일 예시를 나타낸 도면이다.3 is a diagram illustrating a data transmission / reception method according to a first embodiment of the present invention. FIGS. 4, 5, 6, and 7 are views showing an example of some steps of FIG. 3 in the example of FIG. FIG. 8 is a diagram illustrating an example of some steps of FIG. 3 in another example of a system in which a plurality of units are connected in series according to a first embodiment of the present invention. Fig. 9 is a diagram showing another example of some steps of Fig. 3 in the example of Fig.

도 10 및 도 11은 도 2의 예시에 있어서 도 3의 일부 단계를 나타낸 도면이다. Figs. 10 and 11 are views showing some steps of Fig. 3 in the example of Fig.

도 3에 도시된 바와 같이, 본 발명의 제 1 실시예에 따른 데이터 송수신 방법은 복수의 유닛 중 적어도 하나의 마스터 유닛이 복수의 유닛에 공지하는 단계(S10), 복수의 유닛을 연결하는 통신선로에 의한 네트워크 형태를 검출하는 단계(S20), 네트워크 형태 및 복수의 유닛에 공유된 소정의 프로토콜에 기초하여 복수의 유닛 중 어느 두 개의 유닛이 네트워크매니저로 선택되는 단계(S30), 둘 이상의 슬레이브 유닛 중 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛이 각각의 전달데이터를 포함한 메시지프레임을 각 네트워크매니저에 대응하는 전달방향을 따라 각각의 일측에 이웃한 유닛으로 송신하는 단계(S40), 둘 이상의 슬레이브 유닛 중 네트워크매니저를 제외한 나머지 슬레이브 유닛이 전달방향을 따라 각각의 일측에 이웃한 유닛으로부터 메시지프레임을 수신하고 각각의 전달데이터에 기초하여 메시지프레임을 갱신하며 갱신된 메시지프레임을 각각의 다른 일측에 이웃한 유닛으로 송신하는 단계(S50), 및 메시지프레임이 도달된 유닛이 마스터 유닛이고 (S61), 메시지프레임의 수신지가 해당 마스터 유닛의 ID이면 (S62), 메시지프레임의 수신지로 지정된 어느 하나의 마스터 유닛이 전달방향을 따라 일측에 이웃한 유닛으로부터 메시지프레임을 수신하는 단계(S63)를 포함한다.As shown in FIG. 3, a data transmitting / receiving method according to a first embodiment of the present invention includes a step (S10) of notifying at least one master unit of a plurality of units to a plurality of units, a communication line A step S30 in which any two units of the plurality of units are selected as a network manager based on the network type and a predetermined protocol shared among the plurality of units, (S40) of at least one slave unit selected as one of the slave units among the slave units among the plurality of slave units selected by the network manager in accordance with a transmission direction corresponding to each network manager The slave units other than the network manager are moved from the unit adjacent to each side along the transmission direction (S50) receiving the message frame, updating the message frame based on the respective transmission data, and transmitting the updated message frame to a unit adjacent to each other side (S50), and when the unit in which the message frame is reached is the master unit S61), if the destination of the message frame is the ID of the corresponding master unit (S62), any one of the master units designated as the destination of the message frame receives the message frame from the neighboring unit on one side along the delivery direction .

그리고, 데이터 송수신 방법은 메시지프레임이 도달된 유닛이 마스터 유닛이고 (S61), 메시지프레임의 수신지가 해당 마스터 유닛의 ID가 아닌 경우 (S62), 메시지프레임의 수신지로 지정되지 않은 마스터 유닛이 메시지프레임을 전달방향을 따라 각각의 일측에 이웃한 유닛으로부터 수신된 메시지프레임을 각각의 다른 일측에 이웃한 유닛으로 송신하는 단계(S64)를 더 포함할 수 있다.If the destination of the message frame is not the ID of the corresponding master unit (S62), the master unit not designated as the destination of the message frame transmits the message frame (S64) transmitting a message frame received from a neighboring unit on each side to a neighboring unit on the other side along a forwarding direction.

이때, 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛이 메시지프레임을 송신하는 단계(S40) 및 나머지 슬레이브 유닛이 메시지프레임을 송신하는 단계(S50) 각각에서, 메시지프레임의 송신은 소정의 각 전달주기에서 실시된다.At this time, in each of the at least one slave unit selected as the network manager, the message frame is transmitted (S40) and the remaining slave unit transmits the message frame (S50), the transmission of the message frame is performed at each predetermined delivery cycle do.

그리고, 도 3에 도시되지 않았으나, 둘 이상의 슬레이브 유닛의 전달데이터가 마스터 유닛으로 송신되는 것과 별개로, 소정의 하향주기에서 마스터 유닛은 각 슬레이브 유닛에 대응한 하향 메시지프레임을 송신할 수 있다. 여기서, 하향주기는 전달주기와 별개로 설정된다.Although not shown in FIG. 3, in addition to the transmission data of two or more slave units being transmitted to the master unit, the master unit can transmit a downward message frame corresponding to each slave unit in a predetermined downward cycle. Here, the downward cycle is set separately from the delivery cycle.

이하에서는 예시들을 통해 데이터 송수신 방법을 설명한다.Hereinafter, a method of transmitting and receiving data will be described with reference to examples.

도 4, 도 5, 도 6 및 도 7은 통신선로를 통해 상호 직렬 연결된 복수의 유닛(Unit #1, Unit #2, Unit #3, Unit #4, Unit #5, Unit #6, Unit #7; 이하 "Unit #1~#7"로 지시함)이 7개인 예시를 도시한다. 여기서, 복수의 유닛(Unit #1~#7) 중 제 1 유닛(Unit #1)은 마스터 유닛이고, 나머지 제 2, 제 3, 제 4, 제 5, 제 6 및 제 7 유닛(Unit #2, Unit #3, Unit #4, Unit #5, Unit #6, Unit #7)은 슬레이브 유닛이다. 그리고, 마스터 유닛인 제 1 유닛(Unit #1)의 양측에는 제 2 유닛(Unit #2) 및 제 7 유닛(Unit #7)이 배치된다.4, 5, 6 and 7 show a plurality of units (Unit # 1, Unit # 2, Unit # 3, Unit # 4, Unit # 5, Unit # 6, (Hereinafter referred to as "Unit # 1 to Unit 7"). Here, the first unit (Unit # 1) of the plurality of units (Unit # 1 to # 7) is the master unit and the remaining second, third, fourth, fifth, sixth, , Unit # 3, Unit # 4, Unit # 5, Unit # 6, Unit # 7) are slave units. The second unit (Unit # 2) and the seventh unit (Unit # 7) are arranged on both sides of the first unit (Unit # 1) which is the master unit.

도 4에 도시된 바와 같이, 복수의 유닛(Unit #1~#7) 중 마스터 유닛인 제 1 유닛(Unit #1)을 포함한 적어도 하나의 유닛은 RAPIEnet 네트워크에 대응하는 소정의 프로토콜에 기초하여 각각의 네트워크검출메시지(NS; Network Sensing message)를 브로드캐스팅한다. 이러한 네트워크검출메시지(NS)의 브로드캐스팅을 통해, 적어도 하나의 마스터유닛(Unit #1)이 복수의 유닛(Unit #1~#7)에 공지된다. (S10) As shown in Fig. 4, at least one unit including a first unit (Unit # 1) which is a master unit among a plurality of units (Unit # 1 to Unit # 7) And broadcasts a Network Sensing message (NS). At least one master unit (Unit # 1) is notified to the plurality of units (Unit # 1 to # 7) through broadcasting of the network detection message (NS). (S10)

여기서, 네트워크검출메시지(NS)는 해당 유닛이 마스터 유닛인지 아니면 슬레이브 유닛인지 여부와, 해당 유닛의 ID를 포함할 수 있다. Here, the network detection message NS may include whether the corresponding unit is a master unit or a slave unit and an ID of the corresponding unit.

일 예로, 복수의 유닛(Unit #1~#7) 중 적어도 하나의 마스터 유닛(Unit #1)이 각각의 네트워크검출메시지(NS)를 브로드캐스팅할 수 있다. 이로써, 적어도 하나의 마스터 유닛(Unit #1)이 공지될 수 있다.For example, at least one master unit (Unit # 1) of the plurality of units (Unit # 1 to # 7) may broadcast each network detection message (NS). Thereby, at least one master unit (Unit # 1) can be known.

이와 달리, 복수의 유닛(Unit #1~#7)이 각각의 네트워크검출메시지(NS)를 브로드캐스팅할 수도 있다. 이로써, 통신선로를 통해 상호 직렬 연결된 복수의 유닛(Unit #1~#7)이 각각의 역할과 ID를 상호 인지시킬 수 있다.Alternatively, a plurality of units (Unit # 1- # 7) may broadcast respective network detection messages (NS). Thereby, a plurality of units (Unit # 1 to Unit # 7) connected in series through the communication line can mutually recognize the role and the ID.

또는, 네트워크검출메시지(NS)를 브로드캐스팅하는 유닛은 둘 이상의 슬레이브 유닛(Unit #2~#7) 중 일부와 적어도 하나의 마스터 유닛(Unit #1)으로 선택될 수도 있다.Alternatively, the unit for broadcasting the network detection message NS may be selected as a part of two or more slave units (Unit # 2 to # 7) and at least one master unit (Unit # 1).

네트워크검출메시지(NS)를 브로드캐스팅한 적어도 하나의 유닛은 네트워크검출메시지(NS)의 귀환 여부에 기초하여 네트워크 형태를 검출한다. (S20) At least one unit broadcasting the network detection message (NS) detects the network type based on whether or not the network detection message (NS) is returned. (S20)

즉, 네트워크 형태가 링 형태이면 네트워크검출메시지(NS)가 귀환될 수 있으므로, 네트워크검출메시지(NS)가 귀환되는 경우 네트워크가 링 형태인 것으로 검출될 수 있다. 이때, 검출된 네트워크 형태는 복수의 유닛에 공지된다. That is, if the network type is a ring type, the network detection message NS can be returned, so that when the network detection message NS is returned, the network can be detected as ring type. At this time, the detected network type is known to a plurality of units.

도 5에 도시된 바와 같이, 네트워크 형태 및 복수의 유닛(Unit #1~#7)에 공유된 소정의 프로토콜에 기초하여, 복수의 유닛(Unit #1~#7) 중 어느 두 개의 유닛(도 5에서 Unit #6, Unit #7)이 네트워크매니저(M; network Manager)로 선택된다. (S30)5, any two of the plurality of units (Unit # 1 to # 7) are selected based on the network type and a predetermined protocol shared among the plurality of units (Unit # 1- # 7) 5 to Unit # 6, Unit # 7) is selected as the network manager (M). (S30)

여기서, 네트워크가 링 형태이면, 복수의 유닛(Unit #1~#7) 중 공유된 프로토콜에 따른 소정의 조건에 부합된 어느 하나의 유닛이 선출되고, 선출된 어느 하나의 유닛 및 선출된 유닛과 이웃한 다른 어느 하나의 유닛이 네트워크매니저(M)로 선택될 수 있다. Here, if the network is ring-shaped, any one of the plurality of units (Unit # 1 to # 7) meeting the predetermined condition according to the shared protocol is selected, and the selected one unit and the selected unit Any other neighboring unit may be selected as the network manager M. [

일 예로, 프로토콜에 따른 소정의 조건은 최대값의 ID일 수 있다. 이 경우, 도 5에 도시된 복수의 유닛(Unit #1~#7) 중 최대값의 ID인 제 7 유닛(Unit #7), 및 제 7 유닛(Unit #7)에 이웃한 제 1 유닛(Unit #1) 및 제 6 유닛(Unit #6) 중 어느 하나가 네트워크매니저(M)로 선택될 수 있다. As an example, the predetermined condition according to the protocol may be the ID of the maximum value. In this case, the seventh unit (Unit # 7) having the maximum value among the plurality of units (Unit # 1 to # 7) shown in FIG. 5 and the first unit Unit # 1) and the sixth unit (Unit # 6) may be selected as the network manager M.

도 5의 예시에서는 네트워크매니저(M)가 슬레이브 유닛들로 선택되는 경우, 즉 제 7 유닛(Unit #7) 및 제 6 유닛(Unit #6)이 네트워크매니저(M)로 선택되는 것을 도시한다.5 shows that the network manager M is selected as the slave units, that is, the seventh unit (Unit # 7) and the sixth unit (Unit # 6) are selected as the network manager M.

도 6에 도시된 바와 같이, 둘 이상의 슬레이브 유닛(Unit #2~#7) 중 네트워크매니저(M)로 선택된 적어도 하나의 슬레이브 유닛(Unit #6, Unit #7)은 제 1 전달주기(TP1)에서 각각의 전달데이터(#6_DATA, #7_DATA)를 포함한 메시지프레임(MF1, MF2)을 각 네트워크매니저에 대응하는 전달방향(도 6의 화살표곡선)을 따라 각각의 일측에 이웃한 유닛(Unit #1, Unit #5)으로 송신한다. (S40)6, at least one slave unit (Unit # 6, Unit # 7) selected by the network manager M among the two or more slave units (Unit # 2- # 7) The message frames MF1 and MF2 including the respective transfer data (# 6_DATA and # 7_DATA) are transmitted to the unit (Unit # 1) adjacent to each side along the transmission direction (arrow curve in FIG. 6) , Unit # 5). (S40)

구체적으로, 두 개의 네트워크매니저(M)에 대응한 전달방향은 상호 반대된다. 즉, 두 개의 네트워크매니저(M)는 상호 반대되는 전달방향을 따라 적어도 하나의 마스터 유닛(Unit #1) 중 어느 하나로 지정된 메시지프레임의 수신지(Des_#1)를 향하여 각각의 일측에 이웃한 유닛으로 메시지프레임(MF1, MF2)을 송신한다. Specifically, the transmission directions corresponding to the two network managers M are opposite to each other. In other words, the two network managers M are arranged in the direction opposite to each other in the direction opposite to each other, toward one of the at least one master unit (Unit # 1) toward the destination (Des_ # The message frames MF1 and MF2 are transmitted.

도 6의 예시에 따르면, 어느 하나의 네트워크매니저인 제 7 유닛(Unit #7)에 대응한 전달방향은 다른 하나의 네트워크매니저인 제 6 유닛(Unit #6)을 향하는 방향에 반대되는 반시계방향이다. 여기서, 반시계방향은 송신 유닛의 제 2 포트(P2)에서 수신 유닛의 제 1 포트(P1)로 향하는 방향일 수 있다. According to the example of Fig. 6, the transmission direction corresponding to the seventh unit (Unit # 7), which is one of the network managers, is a counterclockwise direction opposite to the direction toward the sixth unit (Unit # 6) to be. Here, the counterclockwise direction may be the direction from the second port (P2) of the transmitting unit to the first port (P1) of the receiving unit.

그리고, 다른 하나의 네트워크매니저인 제 6 유닛(Unit #6)에 대응한 전달방향은 제 7 유닛(Unit #7)을 향하는 방향에 반대되는 시계방향이다. 여기서, 시계방향은 송신 유닛의 제 1 포트(P1)에서 수신 유닛의 제 2 포트(P2)로 향하는 방향일 수 있다.The transmission direction corresponding to the sixth unit (Unit # 6), which is the other network manager, is the clockwise direction opposite to the direction toward the seventh unit (Unit # 7). Here, the clockwise direction may be the direction from the first port (P1) of the transmitting unit to the second port (P2) of the receiving unit.

이 경우, 제 1 전달주기(TP1)에서, 어느 하나의 네트워크매니저인 제 7 유닛(Unit #7)은 제 7 유닛의 전달데이터(#7_DATA)를 포함하는 메시지프레임(MF1)을 반시계방향으로 일측에 이웃한 제 1 유닛(Unit #1)으로 송신한다. In this case, in the first transmission period TP1, the seventh unit (Unit # 7), which is one of the network managers, transmits the message frame MF1 including the transfer data (# 7_DATA) of the seventh unit in the counterclockwise direction To the first unit (Unit # 1) adjacent to one side.

그리고, 제 1 전달주기(TP1)에서, 다른 하나의 네트워크매니저인 제 6 유닛(Unit #6)은 제 6 유닛의 전달데이터(#6_DATA)를 포함하는 메시지프레임(MF2)을 시계방향으로 일측에 이웃한 제 5 유닛(Unit #5)으로 송신한다.Then, in the first transmission period TP1, the sixth unit (Unit # 6), which is another network manager, transmits the message frame MF2 including the transfer data (# 6_DATA) of the sixth unit in a clockwise direction To the neighboring fifth unit (Unit # 5).

도 7에 도시한 바와 같이, 둘 이상의 슬레이브 유닛(Unit #2~#7) 중 네트워크매니저(M)로 선택된 적어도 하나의 슬레이브 유닛(Unit #6, Unit #7)을 제외한 나머지 슬레이브 유닛(Unit #5, Unit #4, Unit #3, Unit #2)은 각 전달주기(TP1, TP2, TP3, TP4)에서 각각의 전달방향을 따라 각각의 일측에 이웃한 유닛으로부터 메시지프레임(MF2)을 수신한다. 그리고, 나머지 슬레이브 유닛(Unit #5, Unit #4, Unit #3, Unit #2)은 각각의 전달데이터(#5_DATA, #4_DATA, #3_DATA, #2_DATA)에 기초하여 메시지프레임(MF2)을 갱신한다. 이어서, 나머지 슬레이브 유닛(Unit #5, Unit #4, Unit #3, Unit #2)은 각 전달주기(TP2, TP3, TP4, TP5)에서 갱신된 메시지프레임(MF2)을 각각의 전달방향을 따라 다른 일측에 이웃한 유닛으로 송신한다. (S50)7, at least one slave unit (Unit # 6, Unit # 7) except for at least one slave unit (Unit # 6, Unit # 7) selected by the network manager M among two or more slave units (Unit # 2- # 7) 5, Unit # 4, Unit # 3, and Unit # 2 receive message frames MF2 from neighboring units on the respective sides in the respective transfer periods TP1, TP2, TP3, and TP4 . The remaining slave units (Unit # 5, Unit # 4, Unit # 3 and Unit # 2) update the message frame MF2 based on the respective transfer data (# 5_DATA, # 4_DATA, # 3_DATA and # 2_DATA) do. Subsequently, the remaining slave units Unit # 5, Unit # 4, Unit # 3, and Unit # 2 move the message frame MF2 updated in each delivery period TP2, TP3, TP4, And transmits it to the neighboring unit on the other side. (S50)

구체적으로, 제 1 전달주기(TP2)에서, 제 5 유닛(Unit #5)은 일측에 이웃한 제 6 유닛(Unit #6)으로부터 메시지프레임(MF2)을 수신하고, 수신된 메시지프레임(MF2)에 제 5 유닛의 전달데이터(#5_DATA)를 삽입하여 메시지프레임(MF2)을 갱신한다. 이어서, 제 2 전달주기(TP2)에서, 제 5 유닛(Unit #5)은 자신의 전달데이터(#5_DATA)를 포함하도록 갱신된 메시지프레임(MF2)을 다른 일측에 이웃한 제 4 유닛(Unit #4)으로 송신한다. Specifically, in the first delivery period TP2, the fifth unit (Unit # 5) receives the message frame MF2 from the neighboring sixth unit (Unit # 6) (# 5_DATA) of the fifth unit to the message frame MF2 to update the message frame MF2. Then, in the second transmission period TP2, the fifth unit (Unit # 5) transmits the updated message frame MF2 to include its own transfer data (# 5_DATA) to the fourth unit (Unit # 4).

이에, 제 2 전달주기(TP2)에서, 제 4 유닛(Unit #4)은 메시지프레임(MF2)을 수신하고, 수신된 메시지프레임(MF2)에 제 4 유닛의 전달데이터(#4_DATA)를 삽입하여 메시지프레임(MF2)을 갱신한다. 이어서, 제 3 전달주기(TP3)에서, 제 4 유닛(Unit #4)은 자신의 전달데이터(#4_DATA)를 포함하도록 갱신된 메시지프레임(MF2)을 다른 일측에 이웃한 제 3 유닛(Unit #3)으로 송신한다.Thus, in the second transmission period TP2, the fourth unit (Unit # 4) receives the message frame MF2 and inserts the transfer data (# 4_DATA) of the fourth unit in the received message frame MF2 And updates the message frame MF2. Then, in the third delivery period TP3, the fourth unit Unit # 4 transmits the message frame MF2 updated to include its own delivery data # 4_DATA to the third unit Unit # 3).

이에, 제 3 전달주기(TP3)에서, 제 3 유닛(Unit #3)은 메시지프레임(MF2)을 수신하고, 수신된 메시지프레임(MF2)에 제 3 유닛의 전달데이터(#3_DATA)를 삽입하여 메시지프레임(MF2)을 갱신한다. 이어서, 제 4 전달주기(TP4)에서, 제 3 유닛(Unit #3)은 자신의 전달데이터(#3_DATA)를 포함하도록 갱신된 메시지프레임(MF2)을 다른 일측에 이웃한 제 2 유닛(Unit #2)으로 송신한다.Thus, in the third transmission period TP3, the third unit (Unit # 3) receives the message frame MF2 and inserts the transfer data (# 3_DATA) of the third unit into the received message frame MF2 And updates the message frame MF2. Subsequently, in the fourth transmission period TP4, the third unit Unit # 3 transmits the message frame MF2 updated to include its own transfer data (# 3_DATA) to the second unit (Unit # 2).

이에, 제 4 전달주기(TP4)에서, 제 2 유닛(Unit #2)은 메시지프레임(MF2)을 수신하고, 수신된 메시지프레임(MF2)에 제 2 유닛의 전달데이터(#2_DATA)를 삽입하여 메시지프레임(MF2)을 갱신한다. 이어서, 제 5 전달주기(TP5)에서, 제 2 유닛(Unit #2)은 자신의 전달데이터(#2_DATA)를 포함하도록 갱신된 메시지프레임(MF2)을 다른 일측에 이웃한 제 1 유닛(Unit #1)으로 송신한다. Thus, in the fourth transmission period TP4, the second unit (Unit # 2) receives the message frame MF2 and inserts the transfer data (# 2_DATA) of the second unit in the received message frame MF2 And updates the message frame MF2. Subsequently, in the fifth transmission period TP5, the second unit (Unit # 2) transmits the updated message frame MF2 to include its own transfer data (# 2_DATA) to the first unit (Unit # 1).

이와 같이, 각 전달주기(TP1, TP2, TP3, TP4, TP5)에서 메시지프레임을 순차 송신하는 과정(S40, S50)을 통해, 네트워크매니저(M)로 선택된 적어도 하나의 슬레이브 유닛(Unit #7, Unit #6)에 대응한 메시지프레임(MF1, MF2)이 마스터유닛인 제 1 유닛(Unit #1)까지 도달된다. In this manner, at least one of the slave units (Unit # 7, # 7) selected by the network manager M through the process of sequentially transmitting the message frames at the respective transmission periods TP1, TP2, TP3, TP4, The message frames MF1 and MF2 corresponding to the first unit (Unit # 6) are reached to the first unit (Unit # 1) which is the master unit.

이때, 각 메시지프레임(MF1, MF2)은 적어도 하나의 슬레이브 유닛(Unit #7, Unit #6)과 마스터 유닛(Unit #1) 사이에 배치된 적어도 하나의 슬레이브 유닛의 전달데이터와 각 전달데이터의 송신지(Send_#i)를 포함한다.At this time, each of the message frames MF1 and MF2 is composed of transfer data of at least one slave unit disposed between at least one slave unit (Unit # 7, Unit # 6) and the master unit (Unit # 1) And a transmission destination (Send_ # i).

네트워크매니저(M)인 제 6 유닛(Unit #6)에 대응한 메시지프레임(MF2)이 도달된 유닛이 마스터유닛(Unit #1)이고 (S61), 메시지프레임의 수신지(Des_#1)가 해당 마스터 유닛의 ID(#1)에 대응하면 (S62), 메시지프레임의 수신지(Des_#1)로 지정된 어느 하나의 마스터 유닛(Unit #1)은 전달방향(시계방향)을 따라 일측에 이웃한 제 2 유닛(Unit #2)으로부터 메시지프레임(MF2)을 수신한다.The unit in which the message frame MF2 corresponding to the sixth unit (Unit # 6) which is the network manager M is reached is the master unit (Unit # 1) (S61) and the destination of the message frame (Des_ # 1) When one of the master units (Unit # 1) designated as the destination of the message frame (Des_ # 1) corresponds to the ID (# 1) of the corresponding master unit (S62) And receives a message frame MF2 from a second unit (Unit # 2).

마찬가지로, 도 6의 도시와 같이, 네트워크매니저(M)인 제 7 유닛(Unit #7)에 대응한 메시지프레임(MF1)이 도달된 유닛이 마스터유닛(Unit #1)이고 (S61), 메시지프레임(MF1)의 수신지(Des_#1)가 해당 마스터 유닛의 ID(#1)에 대응하면 (S62), 메시지프레임의 수신지(Des_#1)로 지정된 어느 하나의 마스터 유닛(Unit #1)은 전달방향(반시계방향)을 따라 일측에 이웃한 제 7 유닛(Unit #7)으로부터 메시지프레임(MF1)을 수신한다.Similarly, as shown in Fig. 6, the unit in which the message frame MF1 corresponding to the seventh unit (Unit # 7) as the network manager M is reached is the master unit (Unit # 1) (S61) If the destination (Des_ # 1) of the master unit (MF1) corresponds to the ID (# 1) of the master unit (S62), any one of the master units (Unit # Receives a message frame MF1 from a seventh unit (Unit # 7) adjacent to one side along the transmission direction (counterclockwise direction).

이와 같이, 본 발명의 제 1 실시예에 따르면, 메시지프레임(MF1, MF2)의 수신지(Des_#)에 기초하여, 마스터 유닛(Unit #1)은 그에 수신될 메시지프레임(MF1, MF2)을 판별할 수 있다. 이에 따라, 도 4, 도 5, 도 6 및 도 7의 예시와 달리, 복수의 유닛(Unit #1~#7) 중 둘 이상의 유닛이 마스터 유닛일 수 있다.As described above, according to the first embodiment of the present invention, the master unit (Unit # 1) receives the message frames MF1 and MF2 to be received therefrom on the basis of the destination Des_ # of the message frames MF1 and MF2 Can be distinguished. Accordingly, unlike the examples of Figs. 4, 5, 6 and 7, two or more of the plurality of units (Unit # 1 to # 7) can be master units.

즉, 도 8에 도시된 바와 같이, 복수의 유닛(Unit #1~#7) 중 제 1 및 제 4 유닛(Unit #1, Unit #4)이 마스터 유닛일 수 있다. 이 경우, 메시지프레임(MF2)은 수신지(Des_#1)가 동일한 적어도 하나의 슬레이브 유닛의 전달데이터들을 포함할 수 있다. That is, as shown in FIG. 8, the first and fourth units (Unit # 1 and Unit # 4) of the plurality of units (Unit # 1 to # 7) can be master units. In this case, the message frame MF2 may include the transfer data of at least one slave unit having the same destination (Des_ # 1).

그리고, 적어도 하나의 마스터 유닛(Unit #1, Unit #4) 중 메시지프레임의 수신지(Des_#1)로 지정된 마스터 유닛(Unit #1)을 제외한 나머지 마스터 유닛(Unit #4)은 일측에 이웃한 유닛(Unit #5)으로부터 수신된 메시지프레임(MF2)을, 각 전달주기(TP3)에서 다른 일측에 이웃한 유닛(Unit #3)으로 송신한다. (S63)The remaining master units (Unit # 4) except for the master unit (Unit # 1) specified by the destination (Des_ # 1) of the message frame among the at least one master unit (Unit # 1 and Unit # 4) And transmits the message frame MF2 received from one unit Unit # 5 to the unit (Unit # 3) adjacent to the other side in each delivery period TP3. (S63)

그리고, 본 발명의 제 1 실시예에 따르면, 마스터 유닛 및 슬레이브 유닛인지 여부에 관계없이, 복수의 유닛(Unit #1~#7) 중 어느 두 개의 유닛이 네트워크매니저(M)로 선택될 수 있다. According to the first embodiment of the present invention, any two units of the plurality of units (Unit # 1 to # 7) can be selected as the network manager M regardless of whether the master unit or the slave unit .

즉, 도 9에 도시된 바와 같이, 네트워크가 링 형태이면, 복수의 유닛(Unit #1~#7) 중 공유된 프로토콜에 따른 소정의 조건에 부합된 어느 하나의 유닛(Unit #7)이 선출되고, 선출된 어느 하나의 유닛(Unit #7) 및 그에 이웃한 다른 어느 하나의 유닛(Unit #1)이 네트워크매니저(M)로 선택될 수 있다.9, if the network is in a ring form, any unit (Unit # 7) meeting a predetermined condition according to a shared protocol among the plurality of units (Unit # 1 to # 7) Any selected unit (Unit # 7) and any other neighboring unit (Unit # 1) may be selected as the network manager (M).

이 경우, 둘 이상의 슬레이브 유닛(Unit #2~#7) 중 네트워크매니저(M)로 선택된 적어도 하나의 슬레이브 유닛(Unit #7)과 마스터 유닛(Unit #1) 사이에 배치되는 적어도 하나의 슬레이브 유닛(Unit #6, Unit #5, Unit #4, Unit #3, Unit #2)은 각 전달주기(TP2, TP3, TP4, TP5, TP6)에서 자신의 전달데이터(#6_DATA, #5_DATA, #4_DATA, #3_DATA, #2_DATA)를 포함하도록 갱신된 메시지프레임(MF)을 전달방향을 따라 다른 일측에 이웃한 유닛으로 순차 송신한다. In this case, at least one slave unit (Unit # 1) disposed between the master unit (Unit # 1) and at least one slave unit (Unit # 7) selected by the network manager M among the two or more slave units (# 6_DATA, # 5_DATA, # 4_DATA, # 5_DATA, # 5_DATA, and # 4_DATA) are transmitted from the respective delivery periods TP2, TP3, TP4, TP5, and TP6 , # 3_DATA, and # 2_DATA) to the neighboring unit on the other side along the transmission direction.

이에, 제 6 전달주기(TP6)에서, 마스터 유닛(Unit #1)에 송신되는 메시지프레임(MF)은 제 7, 제 6, 제 5, 제 4, 제 3 및 제 2 유닛의 전달데이터(#7_DATA, #6_DATA, #5_DATA, #4_DATA, #3_DATA, #2_DATA)와 이들 각각의 송신지(Send_#)를 포함한다.Thus, in the sixth transmission period TP6, the message frame MF transmitted to the master unit (Unit # 1) is transmitted to the transmission data # 7 of the seventh, sixth, fifth, fourth, third, 7_DATA, # 6_DATA, # 5_DATA, # 4_DATA, # 3_DATA, and # 2_DATA) and their respective transmission destinations (Send_ #).

또는, 도 4 내지 도 9의 예시와 달리, 본 발명의 제 1 실시예에 따르면, 네트워크가 라인 형태일 수 있다.Alternatively, unlike the example of FIGS. 4-9, according to the first embodiment of the present invention, the network may be in the form of a line.

즉, 도 10에 도시된 바와 같이, 네트워크 형태는 라인 형태이면 네트워크검출메시지(NS)가 귀환될 수 없으므로, 네트워크검출메시지(NS)가 귀한되지 않는 경우 네트워크가 라인 형태인 것으로 검출될 수 있다. 이때, 검출된 네트워크 형태는 복수의 유닛에 공지된다. (S20)That is, as shown in FIG. 10, if the network type is in the form of a line, the network detection message NS can not be returned, so that the network can be detected as a line if the network detection message NS is not valuable. At this time, the detected network type is known to a plurality of units. (S20)

이어서, 네트워크 형태 및 복수의 유닛에 공유된 소정의 프로토콜에 기초하여, 복수의 유닛(Unit #1~#7) 중 어느 두 개의 유닛(도 10에서 Unit #4, Unit #5)이 네트워크매니저(M)로 선택된다. (S30)Subsequently, any two units (Unit # 4 and Unit # 5 in FIG. 10) of the plurality of units (Unit # 1 to # 7) are connected to the network manager M). (S30)

여기서, 네트워크가 라인 형태이면, 복수의 유닛(Unit #1~#7) 중 네트워크의 양단에 배치되고 상호 연결되지 않는 두 개의 유닛(Unit #4, Unit #5)이 네트워크매니저(M)로 선택될 수 있다.Here, if the network is in the form of a line, two units (Unit # 4 and Unit # 5) disposed at both ends of the network among the plurality of units (Unit # 1 to Unit 7) .

네트워크매니저(M)로 선택된 적어도 하나의 슬레이브 유닛(Unit #4, Unit #5)에 대응한 메시지프레임이 마스터 유닛(Unit #1)까지 송신되는 과정(S40, S50)은 도 4 내지 도 9의 예시에서 설명한 바와 동일하므로, 이하에서 중복 설명을 생략한다.The process of transmitting a message frame corresponding to at least one slave unit (Unit # 4, Unit # 5) selected by the network manager M to the master unit (Unit # 1) (S40, S50) Are the same as those described in the example, and thus redundant description will be omitted below.

이상과 같이, 본 발명의 제 1 실시예에 따른 데이터 송수신 방법은 링 형태의 네트워크 및 라인 형태의 네트워크 모두에 용이하게 적용될 수 있다. As described above, the data transmission / reception method according to the first embodiment of the present invention can be easily applied to both a ring network and a line network.

이에 따라, 어느 하나의 유닛이 구동중단상태가 됨으로써 링 형태의 네트워크가 라인 형태의 네트워크로 변동되는 경우, 라인 형태의 네트워크에 대응한 네트워크매니저를 선택하는 과정을 통해 마스터 유닛과 슬레이브 유닛 간 데이터 송수신이 유지될 수 있다. Accordingly, when a ring network is changed into a network in the form of a line by a certain unit being in a driving stop state, data is transmitted / received between the master unit and the slave unit through a process of selecting a network manager corresponding to the network in a line- Can be maintained.

도 11는 본 발명의 제 2 실시예에 따른 데이터 송수신 방법을 나타낸 도면이다. 도 12, 도 13, 도 14 및 도 15는 도 11의 일부 단계에 대한 일 예시를 나타낸 도면이다.11 is a diagram illustrating a data transmission / reception method according to a second embodiment of the present invention. 12, 13, 14, and 15 are views showing an example of some steps of FIG.

도 11에 도시된 바와 같이, 본 발명의 제 2 실시예에 따른 데이터 송수신 방법은 링 형태의 네트워크를 검출하는 단계(S20'), 네트워크 형태 및 복수의 유닛에 공유된 소정의 프로토콜에 기초하여 복수의 유닛 중 어느 두 개의 유닛이 네트워크매니저로 선택되는 단계(S30), 둘 이상의 슬레이브 유닛 중 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛이 각각의 전달데이터를 포함한 메시지프레임을 각 네트워크매니저에 대응하는 전달방향을 따라 각각의 일측에 이웃한 유닛으로 송신하는 단계(S40), 둘 이상의 슬레이브 유닛 중 네트워크매니저를 제외한 나머지 슬레이브 유닛이 전달방향을 따라 각각의 일측에 이웃한 유닛으로부터 메시지프레임을 수신하고 각각의 전달데이터에 기초하여 메시지프레임을 갱신하며 갱신된 메시지프레임을 각각의 다른 일측에 이웃한 유닛으로 송신하는 단계(S50), 구동중단상태의 유닛이 발생된 경우, 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛이 구동중단상태의 유닛을 감지하면(S71), 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛 중 적어도 하나가 복수의 유닛에 구동중단상태의 유닛을 공지하는 단계(S72), 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛이 네트워크매니저로 선택되는 단계(S73), 구동중단상태의 유닛이 정상상태로 복구된 경우, 복구된 유닛의 양측에 이웃한 두 개의 유닛이 복구된 유닛을 감지하면(S81), 복구된 유닛의 양측에 이웃한 두 개의 유닛 중 적어도 하나가 복수의 유닛에 복구된 유닛을 공지하는 단계(S82), 및 복수의 유닛 중 프로토콜에 따른 소정의 조건에 부합된 어느 하나의 유닛이 선출되고 선출된 어느 하나의 유닛 및 선출된 어느 하나의 유닛에 이웃한 다른 어느 하나의 유닛이 네트워크매니저로 선택되는 단계(S30)를 더 포함하는 점을 제외하면, 제 1 실시예와 동일하므로, 이하에서 중복 설명을 생략한다.11, the method for transmitting and receiving data according to the second embodiment of the present invention includes a step S20 'of detecting a network in the form of a ring, a step of detecting a network type and a plurality of units (S30), at least one slave unit selected as a network manager among the two or more slave units transmits a message frame including the respective delivery data to a transmission direction corresponding to each network manager (Step S40). In step S40, the slave units other than the network manager among the two or more slave units receive message frames from units neighboring each other along the forwarding direction, Updates the message frame based on the data and updates the updated message frame (S50). When a unit in the driving stop state is generated, two neighboring units on both sides of the unit in the driving stop state sense the unit in the driving stop state (S71) (S72), at least one of two neighboring units on both sides of the unit in the driving stop state notifies the plurality of units of the unit in the driving stop state, (S73). When the unit in the driving stop state is restored to the normal state, if two neighboring units on both sides of the restored unit sense the recovered unit (S81) (S82) of notifying a unit in which at least one of the one or two units has been restored to a plurality of units, and a step in which any one of the plurality of units conforming to a predetermined condition according to a protocol is selected,And a step (S30) in which the selected one of the other units neighboring the selected one unit is selected as a network manager, as in the first embodiment. Therefore, redundant description will be omitted below.

도 5, 도 6 및 도 7에 도시된 바와 같이, 링 형태의 네트워크에서, 네트워크매니저로 선택된 적어도 하나의 슬레이브 유닛에 대응한 메시지프레임이 각 전달주기마다 각각의 수신지(Des_#1)에 대응한 마스터 유닛(Unit #1)까지 유닛 사이에서 순차 송신된다. As shown in Figs. 5, 6 and 7, in a ring network, message frames corresponding to at least one slave unit selected by the network manager correspond to each destination (Des_ # 1) To a master unit (Unit # 1).

이때, 도 12에 도시된 바와 같이, 복수의 유닛(Unit #1~#7) 중 어느 하나의 유닛(Unit #4)이 구동중단상태가 될 수 있다. 일 예로, 어느 하나의 유닛(Unit #4)은 전원공급불량 및 오작동에 의해 구동중단상태가 될 수 있다.At this time, as shown in Fig. 12, any one unit (Unit # 4) of the plurality of units (Unit # 1 to Unit # 7) can be in the driving stop state. For example, any one unit (Unit # 4) can be brought into a driving stop state by a power supply failure and a malfunction.

이때, 구동중단상태의 유닛(Unit #4)은 양측에 이웃한 유닛(Unit #3, Unit #5)으로 구동정상신호를 송신할 수 없다. 이에 따라, 구동중단상태의 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5)은 제 1 및 제 2 포트(P1, P2) 중 구동중단상태의 유닛(Unit #4)과 연결된 어느 하나에서 구동정상신호가 감지되지 않는 경우, 구동중단상태의 유닛(Unit #4)이 발생된 것을 감지할 수 있다.At this time, the unit (Unit # 4) in the driving stop state can not transmit the driving normal signal to the units (Unit # 3 and Unit # 5) neighboring to both sides. Thus, two units (Unit # 3, Unit # 5) adjacent to both sides of the unit (Unit # 4) in the driving stop state are connected to the unit # 4), it is possible to detect that the unit (Unit # 4) in the driving stop state has been generated.

이와 같이, 구동중단상태의 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5)이 구동중단상태의 유닛(Unit #4)을 감지하면 (S71), 구동중단상태의 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5) 중 적어도 하나는 복수의 유닛(Unit #1~#7)에 구동중단상태의 유닛(Unit #4)을 공지한다. (S72)When two neighboring units (Unit # 3 and Unit # 5) detect the unit (Unit # 4) in the driving stop state (S71) on both sides of the unit (Unit # 4) At least one of the two units (Unit # 3, Unit # 5) adjacent to both sides of the unit (Unit # 4) ). (S72)

이때, 구동중단상태의 유닛(Unit #4)으로 인해, 링 형태의 네트워크는 라인 형태로 변동된다. At this time, due to the unit (Unit # 4) in the driving stop state, the ring network changes in a line form.

이에, 라인 형태로 변동된 네트워크에서, 구동중단상태의 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5)은 구동중단상태의 유닛(Unit #4)으로 인해 상호 연결되지 않는다. 즉, 구동중단상태의 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5)은 라인 형태로 변동된 네트워크의 양단에 배치된다.Therefore, in a network that has changed in a line form, two units (Unit # 3 and Unit # 5) neighboring to both sides of the unit (Unit # 4) They are not interconnected. That is, two units (Unit # 3 and Unit # 5) neighboring to each other on both sides of the unit (Unit # 4) in the driving stop state are disposed at both ends of the network which are changed in a line form.

도 13에 도시된 바와 같이, 구동중단상태의 유닛(Unit #4)이 공지되면, 복수의 유닛(Unit #1~#7)은 라인 형태의 네트워크에 대응하는 네트워크매니저를 선출한다. 즉, 복수의 유닛(Unit #1~#7) 중 어느 두 개의 유닛이 프로토콜에 기초하여 라인 형태의 네트워크에 대응한 네트워크매니저(M)로 선택된다. As shown in Fig. 13, when the unit (Unit # 4) in the driving stop state is known, the plurality of units (Unit # 1 to Unit # 7) select a network manager corresponding to the line-shaped network. That is, any two of the plurality of units (Unit # 1- # 7) is selected as the network manager (M) corresponding to the line-shaped network based on the protocol.

이에, 복수의 유닛(Unit #1~#7) 중 라인 형태의 네트워크의 양단에 배치되고 구동중단상태의 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5)이 네트워크매니저(M)로 선택된다. (S73)Thus, two units (Unit # 3 and Unit # 5), which are disposed at both ends of the line-shaped network among the plurality of units (Unit # 1 to # 7) and are adjacent to both sides of the unit Is selected as the network manager (M). (S73)

도 14에 도시된 바와 같이, 라인 형태의 네트워크에 대응한 네트워크매니저(M)를 이용하여 각 슬레이브 유닛(Unit #3, Unit #2)(Unit #5, Unit #6, Unit #7)의 전달데이터(#_DATA)가 메시지프레임(MF1, MF2)에 삽입되고, 메시지프레임(MF1, MF2)은 각 전달주기(TP1, TP2, TP3)마다 유닛 사이로 순차 송신됨으로써, 마스터 유닛(Unit #1)까지 도달된다. 14, transmission of each slave unit (Unit # 3, Unit # 2) (Unit # 5, Unit # 6, Unit # 7) is performed by using the network manager M corresponding to the network in the form of a line. Data #_DATA is inserted into the message frames MF1 and MF2 and the message frames MF1 and MF2 are sequentially transmitted between the units for each transfer period TP1, TP2 and TP3, .

그리고, 도 15에 도시된 바와 같이, 구동중단상태의 유닛(Unit #4)이 정상상태로 복구될 수 있다. 이때, 복구된 유닛(Unit #4)은 양측에 이웃한 유닛(Unit #3, Unit #5)으로 구동정상신호를 송신할 수 있다. 이에 따라, 복구된 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5)은 제 1 및 제 2 포트(P1, P2) 중 복구된 유닛(Unit #4)과 연결된 어느 하나에서 구동정상신호가 감지되는 경우, 구동중단상태의 유닛(Unit #4)이 정상상태로 복구된 것을 감지할 수 있다.Then, as shown in Fig. 15, the unit (Unit # 4) in the driving stop state can be restored to the normal state. At this time, the restored unit (Unit # 4) can transmit the drive steady signal to units (Unit # 3 and Unit # 5) neighboring to both sides. Thus, two units (Unit # 3 and Unit # 5) neighboring to the restored unit (Unit # 4) are connected to the restored unit (Unit # 4) among the first and second ports P1 and P2 When the driving normal signal is detected in any one of the connected units, it is possible to detect that the unit (Unit # 4) in the driving stop state is restored to the normal state.

이와 같이, 복구된 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5)이 복구된 유닛(Unit #4)을 감지하면 (S81), 복구된 유닛(Unit #4)의 양측에 이웃한 두 개의 유닛(Unit #3, Unit #5) 중 적어도 하나는 복수의 유닛(Unit #1~#7)에 복구된 유닛(Unit #4)을 공지한다. (S82)When two neighboring units (Unit # 3 and Unit # 5) on both sides of the restored unit (Unit # 4) detect the restored unit (Unit # 4) (S81) At least one of the two units (Unit # 3, Unit # 5) adjacent to both sides of the unit # 1 to # 4 notifies the unit (Unit # 4) recovered to the plurality of units (Unit # 1 to # 7). (S82)

이때, 복구된 유닛(Unit #4)으로 인해, 라인 형태의 네트워크는 링 형태로 변동된다. At this time, due to the restored unit (Unit # 4), the line-shaped network is changed into a ring form.

이에, 복구된 유닛(Unit #4)이 공지되면, 복수의 유닛(Unit #1~#7)은 링 형태의 네트워크에 대응하는 네트워크매니저를 선출한다. Thus, when the restored unit (Unit # 4) is announced, the plurality of units (Unit # 1 to Unit # 7) select a network manager corresponding to the ring-shaped network.

즉, 네트워크가 링 형태이므로, 복수의 유닛(Unit #1~#7) 중 프로토콜에 따른 소정의 조건에 부합된 어느 하나의 유닛이 선출되고, 선출된 어느 하나의 유닛 및 선출된 유닛과 이웃한 다른 어느 하나의 유닛이 네트워크매니저로 선택된다. (S30')That is, since the network is ring-shaped, any one of a plurality of units (Unit # 1 to # 7) meeting the predetermined condition according to the protocol is selected, and the selected one unit and the selected neighboring unit Any other unit is selected as the network manager. (S30 ')

그리고, 링 형태의 네트워크에 대응한 네트워크매니저를 이용하여, 슬레이브 유닛의 전달데이터를 마스터 유닛으로 전달한다. (S40, S50)Then, the transfer data of the slave unit is transferred to the master unit by using the network manager corresponding to the ring-shaped network. (S40, S50)

이상과 같이, 본 발명의 제 2 실시예에 따르면, 복수의 유닛(Unit #1~#7) 중 어느 하나가 구동중단상태가 됨으로써, 링 형태의 네트워크가 라인 형태로 변동되는 경우에, 시스템을 정지하지 않고서도, 복수의 유닛(Unit #1~#7) 중 라인 형태의 네트워크에 대응한 네트워크매니저가 선택되는 과정(S73)을 통해, 데이터 송수신이 유지될 수 있다. 이로써, 장치의 신뢰도가 향상될 수 있다.As described above, according to the second embodiment of the present invention, when one of the plurality of units (Unit # 1 to Unit # 7) enters the driving stop state and thereby the ring network is changed in a line form, The data transmission / reception can be maintained through the process (S73) in which the network manager corresponding to the line-shaped network among the plurality of units (Unit # 1 to # 7) is selected without stopping. As a result, the reliability of the apparatus can be improved.

전술한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, But the present invention is not limited thereto.

10: 시스템
11: 통신선로
Unit #1~#7: 복수의 유닛
P1, P2: 제 1, 제 2 포트
NS: 네트워크검출메시지
TP: 전달주기
MF: 메시지프레임
Des_#: 메시지프레임의 수신지
#_DATA: 각 슬레이브 유닛의 전달 데이터
Send_#: 전달 데이터의 송신지
10: System
11: Communication line
Unit # 1 to # 7: A plurality of units
P1, P2: First and second ports
NS: network detection message
TP: Delivery cycle
MF: message frame
Des_ #: Destination of message frame
#_DATA: Transfer data of each slave unit
Send_ #: The destination of the transfer data

Claims (11)

적어도 하나의 마스터 유닛과 둘 이상의 슬레이브 유닛을 포함한 복수의 유닛이 소정의 통신선로를 통해 상호 직렬 연결되는 시스템의 데이터 송수신 방법에 있어서,
상기 적어도 하나의 마스터 유닛이 상기 복수의 유닛에 공지되는 단계;
상기 통신선로에 의한 네트워크 형태 및 상기 복수의 유닛에 공유된 소정의 프로토콜(protocol)에 기초하여 상기 복수의 유닛 중 어느 두 개의 유닛이 네트워크매니저로 선택되고, 상기 선택된 두 개의 네트워크매니저 중 적어도 하나는 상기 슬레이브 유닛인 단계;
상기 둘 이상의 슬레이브 유닛 중 상기 네트워크매니저인 적어도 하나의 슬레이브 유닛이 각각의 전달데이터를 포함한 메시지프레임을, 상기 각 네트워크매니저에 대응하는 전달방향을 따라 일측에 이웃한 유닛으로 송신하는 단계; 및
상기 둘 이상의 슬레이브 유닛 중 상기 네트워크매니저인 적어도 하나의 슬레이브 유닛을 제외한 나머지 슬레이브 유닛이 각각의 일측에 이웃한 유닛으로부터 상기 메시지프레임을 수신하고, 각각의 전달데이터에 기초하여 상기 메시지프레임을 갱신하며, 상기 갱신된 메시지프레임을 각각의 다른 일측에 이웃한 유닛으로 송신하는 단계;
상기 적어도 하나의 마스터 유닛 중 상기 메시지프레임의 수신지로 지정된 마스터 유닛이 상기 전달방향을 따라 일측에 이웃한 유닛으로부터 상기 메시지프레임을 수신하는 단계;
상기 네트워크가 링 형태이고 상기 복수의 유닛 중 구동중단상태의 유닛이 발생된 경우, 상기 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛이 상기 구동중단상태의 유닛을 감지하면, 상기 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛 중 적어도 하나가 상기 복수의 유닛에 상기 구동중단상태의 유닛을 공지하고, 상기 두 개의 네트워크매니저가 상기 구동중단상태의 유닛의 양측에 이웃한 두 개의 유닛으로 변경되는 단계; 및
상기 구동중단상태의 유닛이 정상상태로 복구된 경우, 상기 복구된 유닛의 양측에 이웃한 두 개의 유닛이 상기 복구된 유닛을 감지하면, 상기 복구된 유닛에 이웃한 두 개의 유닛 중 적어도 하나가 상기 복구된 유닛을 공지하고, 상기 복수의 유닛 중 상기 프로토콜에 따른 소정의 조건에 부합된 어느 하나의 유닛이 선출되며, 상기 네트워크매니저가 상기 선출된 어느 하나의 유닛 및 상기 선출된 유닛에 이웃한 다른 어느 하나의 유닛으로 다시 변경되는 단계를 포함하는 데이터 송수신 방법.
A method of transmitting and receiving data in a system in which a plurality of units including at least one master unit and two or more slave units are connected in series through a predetermined communication line,
Wherein said at least one master unit is known to said plurality of units;
Wherein two of the plurality of units are selected as a network manager based on a network type by the communication line and a predetermined protocol shared by the plurality of units, and at least one of the two selected network managers The step being the slave unit;
Transmitting at least one slave unit as a network manager among the two or more slave units to a neighboring unit on one side along a transmission direction corresponding to each network manager; And
Receiving a message frame from a unit neighboring to one side of each of the slave units except for at least one slave unit that is the network manager among the two or more slave units and updating the message frame based on the respective delivery data, Transmitting the updated message frame to a unit neighboring each other;
Receiving a message frame from a neighboring unit on one side of the at least one master unit, the master unit designated as a destination of the message frame;
When the network is ring-shaped and a unit in the driving stop state is generated among the plurality of units, when two neighboring units on both sides of the unit in the driving stop state sense the unit in the driving stop state, At least one of two units adjacent to both sides of the unit of the unit of the driving stop state informs the plurality of units of the unit in the driving stop state and the two network managers are connected to two units adjacent to both sides of the unit in the driving stop state A step of changing; And
When the unit in the driving stop state is restored to a normal state, if two neighboring units on both sides of the recovered unit sense the recovered unit, at least one of two neighboring units to the recovered unit And the network manager selects one of the plurality of units conforming to a predetermined condition according to the protocol, and the network manager notifies the selected one unit and the other And changing back to any one of the units.
제 1 항에 있어서,
상기 네트워크매니저인 적어도 하나의 슬레이브 유닛이 메시지프레임을 송신하는 단계 및 상기 나머지 슬레이브 유닛이 메시지프레임을 송신하는 단계 각각에서, 상기 메시지프레임의 송신은 소정의 각 전달주기에서 실시되는 데이터 송수신 방법.
The method according to claim 1,
Wherein the transmission of the message frame is performed at each predetermined delivery period in each of the at least one slave unit being the network manager transmitting a message frame and the remaining slave unit transmitting a message frame.
삭제delete 제 1 항에 있어서,
상기 적어도 하나의 마스터 유닛 중 상기 메시지프레임의 수신지로 지정된 마스터 유닛을 제외한 나머지 마스터 유닛이 상기 전달방향을 따라 각각의 일측에 이웃한 유닛으로부터 수신된 메시지프레임을 각각의 다른 일측에 이웃한 유닛으로 송신하는 단계를 더 포함하는 데이터 송수신 방법.
The method according to claim 1,
Wherein a master unit other than a master unit designated as a destination of the message frame among the at least one master unit transmits a message frame received from a unit adjacent to one side of each of the at least one master unit to a neighboring unit Further comprising the steps of:
제 1 항에 있어서,
상기 복수의 유닛 중 적어도 하나가 네트워크검출메시지를 상기 복수의 유닛에 브로드캐스팅하는 단계; 및
상기 네트워크검출메시지의 귀환 여부에 기초하여 상기 네트워크 형태를 검출하는 단계를 더 포함하는 데이터 송수신 방법.
The method according to claim 1,
At least one of the plurality of units broadcasting a network detection message to the plurality of units; And
And detecting the network type based on whether or not the network detection message is returned.
제 1 항에 있어서,
상기 두 개의 네트워크매니저에 대응하는 전달방향은 상호 반대되는 데이터 송수신 방법.
The method according to claim 1,
Wherein the transmission directions corresponding to the two network managers are opposite to each other.
제 1 항에 있어서,
상기 복수의 유닛 중 어느 두 개의 유닛이 네트워크매니저로 선택되는 단계에서, 상기 네트워크가 링 형태이면, 상기 복수의 유닛 중 상기 프로토콜에 따른 소정의 조건에 부합된 어느 하나의 유닛이 선출되고, 상기 선출된 어느 하나의 유닛 및 상기 선출된 유닛에 이웃한 다른 어느 하나의 유닛이 상기 네트워크매니저로 선택되는 데이터 송수신 방법.
The method according to claim 1,
Wherein, in the step of selecting any two units among the plurality of units as a network manager, if the network is ring-shaped, any one of the plurality of units conforming to a predetermined condition according to the protocol is selected, And any other unit adjacent to the selected unit is selected as the network manager.
삭제delete 삭제delete 제 1 항에 있어서,
상기 복수의 유닛 중 어느 두 개의 유닛이 네트워크매니저로 선택되는 단계에서, 상기 네트워크가 라인 형태이면, 상기 복수의 유닛 중 상기 네트워크의 양단에 배치되는 두 개의 유닛이 상기 네트워크매니저로 선택되는 데이터 송수신 방법.
The method according to claim 1,
A data transmission and reception method in which two units disposed at both ends of the network among the plurality of units are selected by the network manager in the step of selecting either of the plurality of units as a network manager .
제 1 항에 있어서,
상기 프로토콜은 RAPIEnet 네트워크에 대응하는 데이터 송수신 방법.
The method according to claim 1,
Wherein the protocol corresponds to a RAPIEnet network.
KR1020180017796A 2018-02-13 2018-02-13 Method for transmitting and receiving data between units connected in series KR101990130B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180017796A KR101990130B1 (en) 2018-02-13 2018-02-13 Method for transmitting and receiving data between units connected in series

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180017796A KR101990130B1 (en) 2018-02-13 2018-02-13 Method for transmitting and receiving data between units connected in series

Publications (1)

Publication Number Publication Date
KR101990130B1 true KR101990130B1 (en) 2019-06-17

Family

ID=67064793

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180017796A KR101990130B1 (en) 2018-02-13 2018-02-13 Method for transmitting and receiving data between units connected in series

Country Status (1)

Country Link
KR (1) KR101990130B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070088338A (en) * 2006-02-24 2007-08-29 아락사라 네트워크 가부시키가이샤 Ring network and master node
KR20110113495A (en) * 2010-04-09 2011-10-17 엘에스산전 주식회사 Method for transmitting up-link data and down-link data of master-slave system, extended apparatus for programmable logic controller system
JP2017184072A (en) * 2016-03-31 2017-10-05 株式会社日立製作所 Transmission method of field network
KR20170122483A (en) * 2016-04-27 2017-11-06 엘에스산전 주식회사 System for detecting communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070088338A (en) * 2006-02-24 2007-08-29 아락사라 네트워크 가부시키가이샤 Ring network and master node
KR20110113495A (en) * 2010-04-09 2011-10-17 엘에스산전 주식회사 Method for transmitting up-link data and down-link data of master-slave system, extended apparatus for programmable logic controller system
JP2017184072A (en) * 2016-03-31 2017-10-05 株式会社日立製作所 Transmission method of field network
KR20170122483A (en) * 2016-04-27 2017-11-06 엘에스산전 주식회사 System for detecting communication network

Similar Documents

Publication Publication Date Title
US8001306B2 (en) Interface unit and communication system having a master/slave structure
US20070147232A1 (en) Redundant supervisory control system, and redundancy switching method of the same
US7944818B2 (en) High-availability communication system
US20090222606A1 (en) Communication system and method for operation thereof
CN102193151B (en) Optical switch and optical-switch control method
US10250406B2 (en) Communication system for allowing one of multiple nodes connected via a network to control hardware of another node by transmitting interrupt data
US10044580B2 (en) Redundantly operable industrial communication system, communication device and method for redundantly operating an industrial communication system
US20140219080A1 (en) Method and apparatus for interworking protection switching
US9100210B2 (en) Redundant gateway system for device level ring networks
US20010050543A1 (en) Control device in a system and method for monitoring a controller
KR101990130B1 (en) Method for transmitting and receiving data between units connected in series
JP2009159636A (en) Data transmission method
CN105490970A (en) Fast link convergence method, apparatus and system
CN103179013A (en) Looped network protection achieving method and system
CN110440391B (en) Loop network protection method and air conditioning system
US8578077B2 (en) Group master communication system and method for serially transmitting data in automation systems
KR101250024B1 (en) Network system and method for determining network path
US8566630B2 (en) Apparatus, methods and computer program products supporting automatic network identification for power supplies
JP4541241B2 (en) Plant control system
JP2010166328A (en) Communication network system, and method for achieving high reliability of path
CN112506457B (en) Seamless realization method and system for LED spliced wall system, storage medium and electronic equipment
CN115277269A (en) Controlled network equipment and network system
KR101310100B1 (en) Parallel controller using CAN communication
JP3268460B2 (en) Transmission line switching control method and device
CN117434877B (en) Redundancy control method for periodic communication system, actuator device, and storage medium

Legal Events

Date Code Title Description
AMND Amendment
E601 Decision to refuse application
AMND Amendment
GRNT Written decision to grant
X701 Decision to grant (after re-examination)