WO2022215888A1 - 통신 기반 제어 시스템의 효율적 슬레이브 파라미터 관리 방법 및 그 장치 - Google Patents

통신 기반 제어 시스템의 효율적 슬레이브 파라미터 관리 방법 및 그 장치 Download PDF

Info

Publication number
WO2022215888A1
WO2022215888A1 PCT/KR2022/003666 KR2022003666W WO2022215888A1 WO 2022215888 A1 WO2022215888 A1 WO 2022215888A1 KR 2022003666 W KR2022003666 W KR 2022003666W WO 2022215888 A1 WO2022215888 A1 WO 2022215888A1
Authority
WO
WIPO (PCT)
Prior art keywords
slave
parameter
slave device
master
parameters
Prior art date
Application number
PCT/KR2022/003666
Other languages
English (en)
French (fr)
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 CN202280008369.XA priority Critical patent/CN116670601A/zh
Priority to JP2023544486A priority patent/JP2024507445A/ja
Priority to EP22784798.5A priority patent/EP4321950A1/en
Publication of WO2022215888A1 publication Critical patent/WO2022215888A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/052Linking several PLC's
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/12Plc mp multi processor system
    • G05B2219/1215Master slave system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/12Plc mp multi processor system
    • G05B2219/1216Interlock problem, avoid sending data to slave when slave processes data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/22Pc multi processor system
    • G05B2219/2231Master slave
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a control system, and more particularly, to a method for managing a control system of a master-slave structure.
  • a control system such as a programmable logic controller (PLC) is developing in a modularized form based on communication.
  • PLC programmable logic controller
  • the master device controls the slave devices.
  • information defining various operations of the slave device is a parameter, and this parameter must be stored in the slave device in advance so that the slave device can operate normally.
  • the slave devices are mainly located at the end of the control system, the number of slave devices increases exponentially as the scale of the system increases. Therefore, if the maintenance method of the slave is inconvenient or dangerous, the maintenance cost will also increase.
  • the master controller 1 is connected to the slave devices 2 and 3 through communication to control the slave devices 2 and 3 . There may be more than one master controller.
  • the inventors of the present invention have made research efforts to solve the problem of such prior art slave device setting. After much effort, the present invention was completed after much effort to complete a communication-based control system management method and device that can reduce the setup time of multiple complex slave devices and reduce maintenance difficulties.
  • control unit including one or more processors and memory; and a storage unit including a non-volatile memory for parameter storage, wherein the control unit receives parameters for all connected slave devices from a setting device and stores the received parameters in the storage unit.
  • the control unit generates a parameter ID (ID) for each of the received parameters, and stores the generated parameter IDs together in the storage unit.
  • ID parameter ID
  • the control unit transmits the parameter stored in the storage unit to the slave device by requesting status information of the slave device and when the slave device needs parameter reset and is not occupied by another master device.
  • the control unit may periodically repeat the request for status information when the slave device is occupied by another master device.
  • the storing of the parameters is characterized in that an ID for each of the parameters is generated and stored together.
  • the status information request is periodically repeated.
  • the present invention it is possible to reduce the slave device setting time by managing the complicated and difficult settings of several slaves of different types in one place.
  • FIG. 1 shows a connection structure of a control system according to the prior art.
  • FIG. 2 is a schematic structural diagram of a slave parameter management apparatus according to a preferred embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a slave parameter management method according to another preferred embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a slave parameter management apparatus according to a preferred embodiment of the present invention.
  • the slave parameter management apparatus 100 may include a control unit 110 , a communication unit 120 , an input unit 130 , an output unit 140 , and a storage unit 150 .
  • a PLC device or the like may be used as the slave parameter management device 100 that can be used as a master device in a communication-based control system.
  • the controller 110 includes one or more processors 112 and a memory 114 , the processor 112 executes instructions for managing slave parameters, and the memory 114 contains program codes for driving the processor 112 .
  • the data I need is stored.
  • the input unit 130 is used to receive input data from devices corresponding to the input module among the connected slave devices. Using the input data, the control unit 110 executes programs set by the user.
  • the output unit 140 is used to transmit program execution result values to devices corresponding to the output module among the connected slave devices.
  • the output data is transmitted to each slave output module through the output unit 140 .
  • the communication unit 120 is used to exchange data with the setting device 200 such as the slave device 300 or a PC or to control the state.
  • the storage unit 150 receives and stores parameters of all connected slave devices from the setting device 200 , and is used to transmit the stored parameters to the slave devices if necessary. To this end, the storage unit 150 is formed of a non-volatile memory.
  • the control unit 110 receives parameters of all connected slave devices from the setting device 200 and stores them in the storage unit 150 .
  • an ID ID: Identification
  • the control unit 110 may determine which parameter is applied to each slave device by using the parameter ID, and may transmit an appropriate parameter to each slave device if necessary.
  • the control unit 110 determines the state of the slave device 300 by requesting status information of the connected slave device 300, and when a parameter reset is required, such as a failure or error, the ID of the parameter stored in the storage unit 150 Check and transmit the corresponding parameter to the slave device (300).
  • the slave device 300 If the slave device 300 is in a state occupied by another master device, it may be possible to check whether the occupied state is released by periodically sending a request.
  • the slave parameter management device 100 by managing the parameters of the slave devices in one place, the inconvenience and risk of setting parameters by directly connecting a setting device such as a PC or a laptop computer to each slave device can be eliminated.
  • FIG. 3 is a schematic flowchart of a slave parameter setting method according to another preferred embodiment of the present invention.
  • the control unit of the master device 100 first receives all parameters of the master device 100 and each slave device from a setting device such as a PC. It is stored in a storage unit consisting of a non-volatile memory. At this time, the control unit generates a parameter ID that can distinguish the parameters and stores them together.
  • the master device 100 transmits a request for reading information of the slave device 300 to the slave device (S10).
  • the slave device 300 transmits information of the slave device 300 in response to the request, and the master device 100 receives it (S12).
  • the information of the slave device 300 includes state information indicating errors or failure information of the slave device 300 , information necessary for parameter setting, master information, and various parameter setting states.
  • the status information includes whether the slave device 300 is normal or an error has occurred. Errors include both hardware and software errors.
  • Information necessary for parameter setting includes an I/O (Input/Output) type or I/O size of the slave device 300 .
  • An example of the slave device 300 may be an extension driver device such as XGL-DBDT.
  • the extension driver device can mount a plurality of I/O modules, and each I/O module has individual parameters. Therefore, the master device 100 should select an appropriate parameter according to the type of the slave device 300 or the type of module mounted on the slave device 300 and transmit it to the slave device 300 to be applied.
  • parameters applied to the I/O module may include operating channel, input/output voltage (current) range, input/output data type, average processing method, channel output status, average value, and the like.
  • the master information may include information such as whether the slave device 300 is in a state occupied by the master device and to which master device it is connected.
  • Various parameter setting states may also include parameter IDs generated by the master device 100 .
  • the master device 100 determines whether the slave device can occupy it according to the received slave information and then requests a slave lock (S20).
  • the slave device 300 When the slave device 300 receives a lock request, if it is not occupied by another master, it sends an ACK (Acknowledge) response, and if it is already occupied by another master device, it transmits a NACK (Negative Acknowledge) response to the master device 100 do (S22).
  • ACK Acknowledge
  • NACK Negative Acknowledge
  • the master device 100 basically sends a lock request only when the slave device 300 is not in the occupied state. That is, the lock request is not sent to the slave device 300 occupied by another master device. However, since the method of implementing the software of the master device 100 and the slave device 300 is different for each developer, or occupancy by another master device may occur between the occupancy confirmation and the lock request, a NACK response to the lock request This may happen. Therefore, the master device 100 proceeds to the next step after checking the response to the lock request again even after checking the occupancy status of the slave device 300 .
  • the master device 100 When the master device 100 receives a normal ACK response from the slave device 300, the master device 100 transmits the parameters together with the parameter ID to the slave device 300 (S30).
  • the parameter ID is checked in the slave information received from the slave device 300 and is the same as the parameter ID received from the setting device, the parameter may not be transmitted. Since the parameter ID is a unique value, the identity of all parameters can be confirmed by the parameter ID even if all parameters are not compared.
  • the slave device 300 Since the parameter ID is a unique value that the master device 100 recalculates and generates whenever a parameter is changed, the slave device 300 should not change the parameter ID. In addition, in consideration of the power on/off situation, the parameter and the parameter ID may be stored together in the nonvolatile memory of the slave device 300 .
  • the slave device 300 When the slave device 300 receives the parameter, it transmits a reception completion response to the master device (S32).
  • the master device 100 transmits a message inquiring whether the slave device is ready for operation (S40).
  • the slave device 300 may apply parameters necessary for operation to the internal system, back up the received parameters, and then transmit a ready response (S42).
  • NAK response can be transmitted first, and then an ACK response can be transmitted again when preparation is complete.
  • the master device 100 When the master device 100 receives an ACK response for preparation completion from all slave devices, it starts controlling the entire system.
  • the apparatus and method for managing slave parameters of the present invention by intensively storing and managing parameters for the slave devices in the master device, the settings for the slave devices in locations that are difficult or dangerous for the operator to access are stored in the master device. Since it can be set by , maintenance of the slave device is simplified and the user's safety can be guaranteed.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 통신 기반의 마스터 슬레이브 제어 시스템의 파라미터 관리 방법에 관한 것으로, 마스터 장치에 모든 슬레이브 장치들의 파라미터를 비휘발성 메모리에 저장하고 적용함으로써 작업자가 접근하기 어렵거나 위험한 위치의 슬레이브 장치에 대한 설정을 마스터 장치에 저장된 파라미터에 의해 설정할 수 있으므로 슬레이브 장치 유지 보수가 간편해지고 사용자의 안전을 보장할 수 있는 효과가 있다.

Description

통신 기반 제어 시스템의 효율적 슬레이브 파라미터 관리 방법 및 그 장치
본 발명은 제어 시스템에 관한 것으로, 특히 마스터 슬레이브 구조의 제어 시스템의 관리 방법에 관한 것이다.
PLC(Programmable Logic Controller)와 같은 제어 시스템은 통신 기반으로 모듈화된 형태로 발전하고 있다. 이와 같은 제어 시스템은 그 규모가 커지고 복잡도도 증가하면서 마스터 장치가 슬레이브 장치들을 제어하게 된다. 이때 슬레이브 장치의 여러 동작을 정의한 정보가 파라미터이고 이 파라미터는 사전에 슬레이브 장치에 저장되어 있어야 슬레이브 장치가 정상적으로 동작할 수 있다.
슬레이브 장치는 주로 제어 시스템의 말단에 위치하므로 규모가 큰 시스템일수록 슬레이브 장치의 수가 기하급수적으로 증가한다. 따라서 슬레이브의 유지 보수 방법이 불편하거나 위험하다면 유지보수 비용도 함께 상승하게 되는 것이다.
도 1은 종래 PLC 시스템의 한 예이다.
마스터 제어기(1)는 슬레이브 장치들(2, 3)과 통신을 통해 연결되어 슬레이브 장치들(2, 3)을 제어한다. 마스터 제어기는 둘 이상일 수 있다.
종래의 제어 시스템 설정 방법은 슬레이브 장치마다 설정하는 파라미터의 형태나 크기가 다르기 때문에 개별적으로 PC(5, 6, 7) 등을 연결하여 프로그램이나 설정을 해야 했다.
이렇게 각 슬레이브 장치에 개별적으로 파라미터를 다운로드 해야 한다면 각 슬레이브 장치간 거리가 멀거나 위험한 곳에 위치한 경우 설정 작업을 하는데 너무 오랜 시간이 걸리거나 사고가 발생할 수 있는 문제점이 있다.
본 발명의 발명자들은 이러한 종래 기술의 슬레이브 장치 설정의 문제의 해결을 위해 연구 노력해 왔다. 복잡한 여러 슬레이브 장치의 설정 시간을 줄이고 유지보수의 어려움을 줄일 수 있는 통신 기반 제어 시스템의 관리 방법 및 장치를 완성하기 위해 많은 노력 끝에 본 발명을 완성하기에 이르렀다.
본 발명의 목적은 멀리 떨어져 있는 여러 슬레이브 장치의 파라미터를 한곳에서 관리하고 설정함으로써 작업자의 이동시간을 줄이고 보다 안전하게 관리할 수 있는 방법을 제공하는 것이다.
한편, 본 발명의 명시되지 않은 또 다른 목적들은 하기의 상세한 설명 및 그 효과로부터 용이하게 추론 할 수 있는 범위 내에서 추가적으로 고려될 것이다.
본 발명에 따른 슬레이브 파라미터 관리 장치는,
하나 이상의 프로세서 및 메모리를 포함하는 제어부; 및 파라미터 저장을 위한 비휘발성 메모리로 이루어지는 저장부;를 포함하되, 상기 제어부는 연결된 모든 슬레이브 장치에 대한 파라미터를 설정 장치로부터 수신하여 상기 저장부에 저장하는 것을 특징으로 한다.
상기 제어부는 상기 수신한 파라미터에 대해 각각 파라미터 아이디(ID)를 생성하여 상기 저장부에 함께 저장하는 것을 특징으로 한다.
상기 제어부는 슬레이브 장치의 상태 정보를 요청하여 상기 슬레이브 장치가 파라미터 재설정이 필요하고 다른 마스터 장치에 의해 점유되지 않은 상태이면 상기 저장부에 저장된 파라미터를 상기 슬레이브 장치에 전송하는 것을 특징으로 한다.
상기 제어부는 상기 슬레이브 장치가 다른 마스터 장치에 의해 점유중인 경우 상기 상태 정보 요청을 주기적으로 반복하는 것을 특징으로 한다.
본 발명의 다른 실시예에 따른 마스터-슬레이브 시스템의 파라미터 관리 방법은,
상기 마스터 장치가 상기 마스터 장치에 연결된 모든 슬레이브 장치에 대한 파라미터를 파라미터 설정 장치로부터 수신하는 단계; 상기 마스터 장치가 연결된 슬레이브 장치로 슬레이브 장치 정보를 요청하는 단계; 상기 슬레이브 장치가 상기 요청에 응답하여 상기 마스터 장치로 슬레이브 장치 정보를 전송하는 단계; 상기 마스터 장치가 상기 슬레이브 장치 정보에 의해 상기 수신한 슬레이브 장치에 대한 파라미터가 적용 가능하고 상기 슬레이브 장치가 다른 마스터에 의해 점유되어 있지 않으면 상기 슬레이브 장치로 락(Lock) 요청을 전송하는 단계; 상기 슬레이브 장치가 상기 락 요청에 대한 응답을 상기 마스터 장치로 전송하는 단계; 상기 마스터 장치가 수신한 상기 락 요청에 대한 응답이 긍정(Ack)이면 상기 슬레이브 장치에 상기 파라미터 설정 장치로부터 수신한 파라미터를 전송하는 단계; 및 상기 슬레이브 장치가 상기 파라미터를 수신하면 파라미터 수신 완료 응답을 상기 마스터 장치로 전송하는 단계;를 포함한다.
본 발명의 또 다른 실시예에 따른 슬레이브 파라미터 관리 방법은,
연결된 모든 슬레이브 장치에 대한 파라미터를 파라미터 설정 장치로부터 수신하는 단계; 상기 수신한 파라미터를 비휘발성 메모리로 구성된 저장부에 저장하는 단계; 상기 연결된 슬레이브 장치에 상태 정보를 요청하는 단계; 및 상기 연결된 슬레이브 장치에 파라미터 재설정이 필요하고 다른 마스터장치에 점유되어 있지 않으면 상기 저장부에 저장된 파라미터를 상기 연결된 슬레이브 장치에 전송하는 단계를 포함한다.
상기 파라미터를 저장하는 단계는 상기 파라미터 각각에 대한 아이디를 생성하여 함께 저장하는 것을 특징으로 한다.
상기 상태 정보를 요청하는 단계 이후에 상기 슬레이브 장치가 다른 마스터 장치에 의해 점유중인 경우 상기 상태 정보 요청을 주기적으로 반복하는 것을 특징으로 한다.
본 발명에 따르면 타입이 다른 여러 슬레이브의 복잡하고 어려운 설정을 한 곳에서 관리함으로써 슬레이브 장치 설정시간을 줄일 수 있는 효과가 있다.
또한 서로 멀리 떨어진 슬레이브 장치들을 직접 설정할 필요가 없으므로 작업자의 이동시간을 줄여 작업 시간을 절약하고 위험한 상황을 예방할 수 있는 효과도 있다.
한편, 여기에서 명시적으로 언급되지 않은 효과라 하더라도, 본 발명의 기술적 특징에 의해 기대되는 이하의 명세서에서 기재된 효과 및 그 잠정적인 효과는 본 발명의 명세서에 기재된 것과 같이 취급됨을 첨언한다.
도 1은 종래 기술에 따른 제어 시스템의 연결 구조를 나타낸다.
도 2는 본 발명의 바람직한 어느 실시예에 따른 슬레이브 파라미터 관리 장치의 개략적인 구조도이다.
도 3은 본 발명의 바람직한 다른 실시예에 따른 슬레이브 파라미터 관리 방법의 개략적인 흐름도이다.
※ 첨부된 도면은 본 발명의 기술사상에 대한 이해를 위하여 참조로서 예시된 것임을 밝히며, 그것에 의해 본 발명의 권리범위가 제한되지는 아니한다.
이하, 도면을 참조하여 본 발명의 다양한 실시예가 안내하는 본 발명의 구성과 그 구성으로부터 비롯되는 효과에 대해 살펴본다. 본 발명을 설명함에 있어서 관련된 공지기능에 대하여 이 분야의 기술자에게 자명한 사항으로서 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다.
'제1', '제2' 등의 용어는 다양한 구성요소를 설명하는데 사용될 수 있지만, 상기 구성요소는 위 용어에 의해 한정되어서는 안 된다. 위 용어는 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용될 수 있다. 예를 들어, 본 발명의 권리범위를 벗어나지 않으면서 '제1구성요소'는 '제2구성요소'로 명명될 수 있고, 유사하게 '제2구성요소'도 '제1구성요소'로 명명될 수 있다. 또한, 단수의 표현은 문맥상 명백하게 다르게 표현하지 않는 한, 복수의 표현을 포함한다. 본 발명의 실시예에서 사용되는 용어는 다르게 정의되지 않는 한, 해당 기술분야에서 통상의 지식을 가진 자에게 통상적으로 알려진 의미로 해석될 수 있다.
이하, 도면을 참조하여 본 발명의 다양한 실시예가 안내하는 본 발명의 구성과 그 구성으로부터 비롯되는 효과에 대해 살펴본다.
도 2는 본 발명의 바람직한 어느 실시예에 따른 슬레이브 파라미터 관리 장치의 개략적인 구조도이다.
본 발명에 따른 슬레이브 파라미터 관리 장치(100)는 제어부(110), 통신부(120), 입력부(130), 출력부(140) 및 저장부(150)로 구성될 수 있다.
통신 기반의 제어 시스템에서 마스터 장치로 쓰일 수 있는 슬레이브 파라미터 관리 장치(100)로는 PLC 장치 등이 쓰일 수 있다.
제어부(110)는 하나 이상의 프로세서(112) 및 메모리(114)를 포함하고, 프로세서(112)는 슬레이브 파라미터를 관리하기 위한 명령어들을 수행하고 메모리(114)에는 프로세서(112)를 구동하기 위한 프로그램 코드나 필요한 데이터들이 저장된다.
입력부(130)는 연결된 슬레이브 장치들 중 입력 모듈에 해당하는 장치들로부터 입력 데이터들을 전달받는데 사용된다. 입력 데이터들을 이용하여 제어부(110)는 사용자가 설정한 프로그램들을 수행하게 된다.
출력부(140)는 연결된 슬레이브 장치들 중 출력 모듈에 해당하는 장치들로 프로그램 수행 결과 값들을 전달하기 위해 사용된다. 출력 데이터는 출력부(140)를 통해 각 슬레이브 출력 모듈에 전달된다.
통신부(120)는 슬레이브 장치(300)나 PC 등의 설정 장치(200)와 데이터를 주고받거나 상태를 제어하기 위해 사용된다.
저장부(150)는 설정 장치(200)로부터 연결된 모든 슬레이브 장치들의 파라미터를 전달받아 저장하고, 필요한 경우 슬레이브 장치로 저장된 파라미터를 전달하기 위해 사용된다. 이를 위해 저장부(150)는 비휘발성 메모리로 이루어진다.
제어부(110)는 설정 장치(200)로부터 연결된 모든 슬레이브 장치들의 파라미터를 전달받아 저장부(150)에 저장한다. 이때 각 파라미터가 어떤 슬레이브 장치에 적용되는 파라미터인지 구분하기 위한 아이디(ID: Identification)가 함께 저장될 수 있다. 제어부(110)는 이 파라미터 아이디를 이용하여 각 슬레이브 장치에 어떤 파라미터가 적용되었는지 파악할 수 있고 적절한 파라미터를 필요시 각 슬레이브 장치에 전송할 수 있다.
제어부(110)는 연결된 슬레이브 장치(300)의 상태 정보를 요청하여 슬레이브 장치(300)의 상태를 파악하고, 고장이나 오류발생 등 파라미터 재설정이 필요한 상황이면 저장부(150)에 저장된 파라미터의 아이디를 확인하여 대응하는 파라미터를 슬레이브 장치(300)에 전송한다.
만일 슬레이브 장치(300)가 다른 마스터 장치에 의해 점유되어 있는 상태이면 주기적으로 요청을 보내 점유 상태가 해제되었는지를 확인할 수 있을 것이다.
이렇게 본 발명에 따른 슬레이브 파라미터 관리 장치(100)에 의하면 슬레이브 장치들의 파라미터를 한 곳에서 관리함으로써 종래 슬레이브 장치마다 PC나 노트북 등의 설정장치를 직접 연결해서 파라미터를 설정하던 불편과 위험을 해소할 수 있는 장점이 있다.
도 3은 본 발명의 바람직한 다른 실시예에 따른 슬레이브 파라미터 설정 방법의 개략적인 흐름도이다.
본 발명에 따른 슬레이브 파라미터 설정 장치인 마스터 장치(100)와 슬레이브 장치(300) 사이에 수행되는 슬레이브 파라미터 관리 방법의 구체적인 예를 나타낸다.
마스터 장치(100)의 제어부는 우선 PC등의 설정 장치로부터 마스터 장치(100)와 각 슬레이브 장치들의 모든 파라미터를 수신한다. 이는 비휘발성 메모리로 구성되는 저장부에 저장된다. 이때 제어부는 파라미터를 구분할 수 있는 파라미터 아이디를 생성하여 함께 저장한다.
마스터 장치(100)는 슬레이브 장치(300)의 정보를 읽기 위한 요청을 슬레이브 장치로 전송한다(S10).
슬레이브 장치(300)는 요청에 응답하여 슬레이브 장치(300)의 정보들을 전송하고 마스터 장치(100)가 이를 수신한다(S12).
슬레이브 장치(300)의 정보로는 슬레이브 장치(300)의 오류나 고장 정보들을 나타내는 상태정보와, 파라미터 설정에 필요한 정보들과 마스터 정보, 각종 파라미터 설정상태 등이 포함된다.
상태정보로는 슬레이브 장치(300)가 정상인지 아니면 오류가 발생한 상태인지 등이 포함된다. 오류는 하드웨어 오류와 소프트웨어 오류가 모두 포함된다.
파라미터 설정에 필요한 정보로는 슬레이브 장치(300)의 I/O(Input/Output) 타입이나 I/O 사이즈 등이 포함된다.
슬레이브 장치(300)의 예로는 XGL-DBDT와 같은 증설 드라이버 장치가 있을 수 있다. 증설 드라이버 장치는 복수개의 I/O 모듈을 장착할 수 있고, 각각의 I/O 모듈은 개별적인 파라미터를 가지게 된다. 따라서 마스터 장치(100)는 슬레이브 장치(300)의 종류, 또는 슬레이브 장치(300)에 장착된 모듈의 종류에 따라 적합한 파라미터를 선택하여 슬레이브 장치(300)에 전송하여 적용될 수 있도록 해야한다. I/O 모듈에 적용되는 파라미터의 예로는 운전 채널, 입/출력 전압(전류)의 범위, 입/출력 데이터 타입, 평균 처리 방식, 채널 출력 상태, 평균값 등이 있을 수 있다.
마스터 정보는 슬레이브 장치(300)가 마스터 장치에 의해 점유된 상태인지, 어떤 마스터 장치에 연결되었는지 등의 정보가 포함될 수 있다.
각종 파라미터 설정 상태에는 마스터 장치(100)가 생성한 파라미터 아이디 또한 포함될 수 있다.
마스터 장치(100)는 수신한 슬레이브 정보에 의해 슬레이브 장치가 점유 가능한지 판단한 후 슬레이브 락(Lock)을 요청한다(S20).
점유 가능한지 판단하는 요건으로는 슬레이브 장치 정보에서 슬레이브 상태가 정상이고, 설정 장치에서 수신한 파라미터가 적용 가능한지 수신한 파라미터 설정 정보와 비교하여, 슬레이브가 다른 마스터에 점유된 상태인지 마스터 정보를 확인하는 것 등이다.
이런 요건들이 만족된다면 슬레이브 장치(300)를 점유하기 위한 락 요청을 송부한다.
만일 다른 요건은 만족하지만 다른 마스터에 의해 이미 점유된 상태라면 주기적으로 슬레이브 정보 요청을 전송하여 슬레이브 장치(300)의 점유 상태가 해지되었는지를 확인할 수 있다.
슬레이브 장치(300)는 락 요청을 받으면 다른 마스터에 의해 점유되지 않은 상태이면 ACK(Acknowledge) 응답을, 이미 다른 마스터 장치에 의해 점유된 상태이면 NACK(Negative Acknowledge) 응답을 마스터 장치(100)로 전송한다(S22).
마스터 장치(100)는 슬레이브 장치(300)가 점유 상태가 아닌 경우에만 락 요청을 보내는 것이 기본이다. 즉, 다른 마스터 장치에 점유된 슬레이브 장치(300)에는 락 요청을 보내지 않는다. 하지만 개발자 마다 마스터 장치(100)와 슬레이브 장치(300)의 소프트웨어를 구현하는 방식이 다르기도 하고, 또는 점유 확인과 락 요청 사이에 다른 마스터 장치에 의한 점유가 발생할 수도 있으므로, 락 요청에 대한 NACK 응답이 발생할 수도 있다. 따라서 마스터 장치(100)는 슬레이브 장치(300)의 점유 상태 확인 후에도 락 요청에 대한 응답을 다시 확인한 후 다음 단계를 진행하게 된다.
마스터 장치(100)는 슬레이브 장치(300)로부터 정상적인 ACK 응답을 수신하면 파라미터를 파라미터 아이디와 함께 슬레이브 장치(300)로 전송한다 (S30).
이때 슬레이브 장치(300)로부터 수신한 슬레이브 정보에서 파라미터 아이디를 확인하여 설정 장치로부터 수신한 파라미터의 아이디와 동일한 경우 파라미터를 전송하지 않을 수 있다. 파라미터 아이디는 고유한 값이므로 전체 파라미터를 비교하지 않더라도 파라미터 아이디에 의해 전체 파라미터의 동일성을 확인할 수 있는 것이다.
파라미터 아이디는 마스터 장치(100)가 파라미터가 바뀔 때마다 다시 계산해서 생성하는 고유의 값이므로 슬레이브 장치(300)는 파라미터 아이디를 변경해서는 안된다. 또한 전원 온/오프 상황을 고려하여 슬레이브 장치(300)의 비휘발성 메모리에 파라미터와 파라미터 아이디를 함께 저장할 수 있다.
슬레이브 장치(300)는 파라미터를 수신하면 수신 완료 응답을 마스터 장치로 송신한다(S32).
파라미터 전송과 설정이 완료되면 마스터 장치(100)는 슬레이브 장치가 동작 준비가 완료되었는지 문의하는 메시지를 전송한다(S40).
슬레이브 장치(300)는 파라미터를 수신한 후 내부 시스템에 동작에 필요한 파라미터들을 적용하고 수신한 파라미터를 백업한 후 준비 완료 응답을 전송할 수 있다(S42).
파라미터 적용과 백업에 시간이 오래 걸리는 경우 NAK 응답을 먼저 송신한 후 준비가 완료되면 다시 ACK 응답을 전송할 수 있다.
마스터 장치(100)는 모든 슬레이브 장치들로부터 준비 완료에 대한 ACK 응답을 받으면 전체 시스템 제어를 시작한다.
이상과 같은 본 발명의 슬레이브 파라미터 관리 장치 및 방법에 따르면 마스터 장치에서 집중적으로 슬레이브 장치들에 대한 파라미터를 보관하고 관리함으로써 작업자가 접근하기 어렵거나 위험한 위치의 슬레이브 장치에 대한 설정을 마스터 장치에 저장된 파라미터에 의해 설정할 수 있으므로 슬레이브 장치 유지 보수가 간편해지고 사용자의 안전을 보장할 수 있는 효과가 있다.
본 발명의 보호범위가 이상에서 명시적으로 설명한 실시예의 기재와 표현에 제한되는 것은 아니다. 또한, 본 발명이 속하는 기술분야에서 자명한 변경이나 치환으로 말미암아 본 발명이 보호범위가 제한될 수도 없음을 다시 한 번 첨언한다.

Claims (7)

  1. 하나 이상의 프로세서 및 메모리를 포함하는 제어부에 의해 수행되는 슬레이브 파라미터 관리 방법에 있어서:
    연결된 모든 슬레이브 장치에 대한 파라미터를 파라미터 설정 장치로부터 수신하는 단계;
    상기 수신한 파라미터를 비휘발성 메모리로 구성된 저장부에 저장하는 단계;
    상기 연결된 슬레이브 장치에 상태 정보를 요청하는 단계; 및
    상기 연결된 슬레이브 장치에 파라미터 재설정이 필요하고 다른 마스터장치에 점유되어 있지 않으면 상기 저장부에 저장된 파라미터를 상기 연결된 슬레이브 장치에 전송하는 단계;를 포함하는 것을 특징으로 하는, 슬레이브 파라미터 관리 방법.
  2. 제1항에 있어서,
    상기 파라미터를 저장하는 단계는 상기 파라미터 각각에 대한 아이디를 생성하여 함께 저장하는 것을 특징으로 하는, 슬레이브 파라미터 관리 방법.
  3. 제1항에 있어서,
    상기 상태 정보를 요청하는 단계 이후에 상기 슬레이브 장치가 다른 마스터 장치에 의해 점유중인 경우 상기 상태 정보 요청을 주기적으로 반복하는 것을 특징으로 하는, 슬레이브 파라미터 관리 방법.
  4. 마스터 장치 및 하나 이상의 슬레이브 장치를 포함하는 마스터-슬레이브 시스템의 파라미터 관리 방법에 있어서:
    상기 마스터 장치가 상기 마스터 장치에 연결된 모든 슬레이브 장치에 대한 파라미터를 파라미터 설정 장치로부터 수신하는 단계;
    상기 마스터 장치가 연결된 슬레이브 장치로 슬레이브 장치 정보를 요청하는 단계;
    상기 슬레이브 장치가 상기 요청에 응답하여 상기 마스터 장치로 슬레이브 장치 정보를 전송하는 단계;
    상기 마스터 장치가 상기 슬레이브 장치 정보에 의해 상기 수신한 슬레이브 장치에 대한 파라미터가 적용 가능하고 상기 슬레이브 장치가 다른 마스터에 의해 점유되어 있지 않으면 상기 슬레이브 장치로 락(Lock) 요청을 전송하는 단계;
    상기 슬레이브 장치가 상기 락 요청에 대한 응답을 상기 마스터 장치로 전송하는 단계;
    상기 마스터 장치가 수신한 상기 락 요청에 대한 응답이 긍정(Ack)이면 상기 슬레이브 장치에 상기 파라미터 설정 장치로부터 수신한 파라미터를 전송하는 단계; 및
    상기 슬레이브 장치가 상기 파라미터를 수신하면 파라미터 수신 완료 응답을 상기 마스터 장치로 전송하는 단계;를 포함하는, 마스터-슬레이브 시스템의 파라미터 관리 방법.
  5. 하나 이상의 프로세서 및 메모리를 포함하는 제어부; 및
    파라미터 저장을 위한 비휘발성 메모리로 이루어지는 저장부;를 포함하되,
    상기 제어부는 연결된 모든 슬레이브 장치에 대한 파라미터를 설정 장치로부터 수신하여 상기 저장부에 저장하는 것을 특징으로 하는, 슬레이브 파라미터 관리 장치.
  6. 제5항에 있어서,
    상기 제어부는 상기 수신한 파라미터에 대해 각각 파라미터 아이디(ID)를 생성하여 상기 저장부에 함께 저장하는 것을 특징으로 하는, 슬레이브 파라미터 관리 장치.
  7. 제5항에 있어서,
    상기 제어부는 슬레이브 장치의 상태 정보를 요청하여 상기 슬레이브 장치가 파라미터 재설정이 필요하고 다른 마스터 장치에 의해 점유되지 않은 상태이면 상기 저장부에 저장된 파라미터를 상기 슬레이브 장치에 전송하는 것을 특징으로 하는, 슬레이브 파라미터 관리 장치.
PCT/KR2022/003666 2021-04-06 2022-03-16 통신 기반 제어 시스템의 효율적 슬레이브 파라미터 관리 방법 및 그 장치 WO2022215888A1 (ko)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202280008369.XA CN116670601A (zh) 2021-04-06 2022-03-16 基于通信的控制系统的高效的从机参数管理方法及其装置
JP2023544486A JP2024507445A (ja) 2021-04-06 2022-03-16 通信基盤制御システムの効率的スレーブパラメータ管理方法およびその装置
EP22784798.5A EP4321950A1 (en) 2021-04-06 2022-03-16 Effective slave parameter management method and device of communication-based control system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210044557A KR102543841B1 (ko) 2021-04-06 2021-04-06 통신 기반 제어 시스템의 효율적 슬레이브 파라미터 관리 방법 및 그 장치
KR10-2021-0044557 2021-04-06

Publications (1)

Publication Number Publication Date
WO2022215888A1 true WO2022215888A1 (ko) 2022-10-13

Family

ID=83546174

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/003666 WO2022215888A1 (ko) 2021-04-06 2022-03-16 통신 기반 제어 시스템의 효율적 슬레이브 파라미터 관리 방법 및 그 장치

Country Status (5)

Country Link
EP (1) EP4321950A1 (ko)
JP (1) JP2024507445A (ko)
KR (1) KR102543841B1 (ko)
CN (1) CN116670601A (ko)
WO (1) WO2022215888A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067014A (ja) * 2001-08-30 2003-03-07 Howa Mach Ltd モニタリングシステムにおける通信システム
JP2007020150A (ja) * 2005-06-09 2007-01-25 Omron Corp 通信マスタ局の起動時制御方法
KR20090071918A (ko) * 2007-12-28 2009-07-02 엘에스산전 주식회사 피엘시 네트워크에서 파라미터 설정 방법
JP5115815B2 (ja) * 2008-06-17 2013-01-09 横河電機株式会社 温調計システム
KR20150047396A (ko) * 2013-10-24 2015-05-04 삼성전자주식회사 분산 파일 시스템 관리 장치, 그것을 포함하는 분산 컴퓨팅 시스템, 및 분산 파일 시스템의 작동 방법

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5115815B2 (ko) * 1971-12-31 1976-05-19
JP2016076183A (ja) * 2014-10-09 2016-05-12 アズビル株式会社 調節計制御システム、調節計、および制御パラメータの設定方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067014A (ja) * 2001-08-30 2003-03-07 Howa Mach Ltd モニタリングシステムにおける通信システム
JP2007020150A (ja) * 2005-06-09 2007-01-25 Omron Corp 通信マスタ局の起動時制御方法
KR20090071918A (ko) * 2007-12-28 2009-07-02 엘에스산전 주식회사 피엘시 네트워크에서 파라미터 설정 방법
JP5115815B2 (ja) * 2008-06-17 2013-01-09 横河電機株式会社 温調計システム
KR20150047396A (ko) * 2013-10-24 2015-05-04 삼성전자주식회사 분산 파일 시스템 관리 장치, 그것을 포함하는 분산 컴퓨팅 시스템, 및 분산 파일 시스템의 작동 방법

Also Published As

Publication number Publication date
JP2024507445A (ja) 2024-02-20
CN116670601A (zh) 2023-08-29
KR20220138640A (ko) 2022-10-13
EP4321950A1 (en) 2024-02-14
KR102543841B1 (ko) 2023-06-14

Similar Documents

Publication Publication Date Title
US5740368A (en) Method and apparatus for providing information on a managed peripheral device to plural agents
US4720784A (en) Multicomputer network
KR920001552B1 (ko) 다중 컴퓨터 시스템이 접속된 로컬 에어리어 네트워크 시스템
US5544329A (en) Interface system with memory map locations for holding flags indicating a priority for executing instructions held within messages received by the interface
CN110799912B (zh) 安全关键和非安全关键的过程的控制系统
CA1190654A (en) Device for reporting error conditions occurring in adapters to the data processing equipment central control unit
US7836233B2 (en) Multi-processor system
WO2016148483A1 (ko) 홈에너지 관리 시스템에서 비콘을 이용한 홈에너지 관리 장치 및 방법
WO2010008251A2 (en) Apparatus for controlling a power and method thereof
CN114500472B (zh) 一种rs485通信地址自动分配的方法
JP2009048289A (ja) フィールド通信システム
WO2022215888A1 (ko) 통신 기반 제어 시스템의 효율적 슬레이브 파라미터 관리 방법 및 그 장치
EP0504414B1 (en) Message control system in a data communication system
US6675245B1 (en) Apparatus and method for providing round-robin arbitration
CN115297187B (zh) 一种网络通讯协议与总线协议的转换装置及集群系统
US20150237145A1 (en) Information processing system and method
US20240184263A1 (en) Effective slave parameter management method and device of communication-based control system
WO2013115537A1 (ko) 건설장비와 관제서버 간의 통신 방법
EP0577431B1 (en) Method of resetting coupled modules and a system using the method
JPS61255461A (ja) マルチcpu通信装置
WO2020209441A1 (ko) 게이트웨이를 이용한 차량의 네트워크 해킹 방지 장치 및 방법
WO2018111017A1 (ko) 캐스케이드 히팅 시스템 제어 방법
JPH07325747A (ja) 分散データベースの管理方法
KR0146669B1 (ko) 컴퓨터네트워크계에서 단말기의 상태점검방법
KR0143970B1 (ko) 복수의 시스템과 통신하는 단일 프로세서의 통신포트제어방법 및 그 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22784798

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202280008369.X

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2023544486

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 18284984

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2022784798

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022784798

Country of ref document: EP

Effective date: 20231106