KR100951503B1 - Remote Module for Programmable Logic Controller System - Google Patents

Remote Module for Programmable Logic Controller System Download PDF

Info

Publication number
KR100951503B1
KR100951503B1 KR1020070139828A KR20070139828A KR100951503B1 KR 100951503 B1 KR100951503 B1 KR 100951503B1 KR 1020070139828 A KR1020070139828 A KR 1020070139828A KR 20070139828 A KR20070139828 A KR 20070139828A KR 100951503 B1 KR100951503 B1 KR 100951503B1
Authority
KR
South Korea
Prior art keywords
remote module
module
unit
reset
response frame
Prior art date
Application number
KR1020070139828A
Other languages
Korean (ko)
Other versions
KR20090071891A (en
Inventor
송학선
Original Assignee
엘에스산전 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘에스산전 주식회사 filed Critical 엘에스산전 주식회사
Priority to KR1020070139828A priority Critical patent/KR100951503B1/en
Publication of KR20090071891A publication Critical patent/KR20090071891A/en
Application granted granted Critical
Publication of KR100951503B1 publication Critical patent/KR100951503B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • 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/13Plc programming
    • G05B2219/13164Remote and local programming unit, control panel
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14006Safety, monitoring in general

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

본 발명은 피엘시(PLC: Programmable Logic Controller) 시스템에 관한 것으로서, 마스터 모듈과 연동하여 동작하는 리모트 모듈에 이상이 발생하였는지의 여부를 리모트 모듈의 통신 상태를 통해 판단하도록 한다. 이에 따라 리모트 모듈의 동작 상태를 더욱 정확하게 확인할 수 있게 되며, 이상이 발생한 리모트 모듈을 초기화하는 등으로 현장의 안전성을 확보함과 아울러 피엘시 시스템의 신뢰성을 높일 수 있게 된다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PLC (Programmable Logic Controller) system, and it is determined whether or not an error occurs in a remote module operating in cooperation with a master module through a communication state of the remote module. Accordingly, the operation state of the remote module can be confirmed more accurately, and the safety of the field can be ensured by initializing the remote module in which the abnormality has occurred, and the reliability of the PELI system can be enhanced.

피엘시 시스템, 리모트 모듈, 프레임 송신, 워치독 타이머, 리셋, 초기화 Pell City system, remote module, frame transmission, watchdog timer, reset, initialization

Description

피엘시 시스템용 리모트 모듈{ Remote Module for Programmable Logic Controller System }Remote Module for Programmable Logic Controller System < RTI ID = 0.0 >

본 발명은 피엘시 시스템용 리모트 모듈에 관한 것으로서, 특히 피엘시(PLC) 시스템의 마스터 모듈과 연동하여 동작하는 리모트 모듈에 이상이 발생하였는지의 여부를 정확히 판단하여 초기화 등의 조치를 취할 수 있도록 함으로써, 피엘시 시스템을 더욱 안정적으로 운용할 수 있도록 한다.The present invention relates to a remote module for a PEL system, and more particularly, it is possible to precisely determine whether or not an error has occurred in a remote module operating in cooperation with a master module of a PLC system, , Enabling the Pell City system to operate more reliably.

도 1을 참조하자면, 피엘시(PLC: Programmable Logic Controller) 시스템은 마스터 모듈(11)과 여러 리모트 모듈로 이루어진다.Referring to FIG. 1, a PLC (Programmable Logic Controller) system comprises a master module 11 and various remote modules.

원격지에 위치하는 각 리모트 모듈은 통신 네트워크(12)를 통해 마스터 모듈(11)과 연결되어 마스터 모듈(11)의 제어를 받는 슬레이브(Slave)로 동작한다. 각 리모트 모듈은 액추에이터, 밸브, 로봇 등 출력접점에 연결된 다양한 형태의 제어 대상 기기(또는 부하,14)와 연결된다.Each of the remote modules located at a remote location is connected to the master module 11 through the communication network 12 and operates as a slave under the control of the master module 11. Each remote module is connected to various types of control target devices (or loads, 14) connected to output contacts such as actuators, valves, and robots.

도 2를 참조하여, 리모트 모듈(13)의 동작 과정을 살펴보기로 한다.Referring to FIG. 2, the operation of the remote module 13 will be described.

리모트 모듈(13)에 전원이 인가되어 구동을 시작하면(S21), 레지스터와 메모리 등의 초기화가 이루어지고(S22), 리모트 모듈의 종류(예: 입력 또는 출력)를 확인하는 등 하드웨어 정보가 인식된다(S23). 그리고, 마스터 모듈(11)과의 통신 준비가 이루어진다.When the power is applied to the remote module 13 to start driving (S21), the registers and the memory are initialized (S22), and the hardware information is recognized (for example, (S23). Then, preparation for communication with the master module 11 is performed.

한편, 리모트 모듈(13)은 마스터 모듈(11)로부터 프레임이 수신되면(S24), 프레임의 국번을 확인하여 자신에게 온 프레임인 경우에는 해당 프레임을 입력받아 프레임에 포함되어 있는 명령어를 해석한다(S25,S26).On the other hand, when the frame is received from the master module 11 (S24), the remote module 13 checks the station number of the frame and, if it is the frame coming to the remote module 13, receives the frame and interprets the command included in the frame S25, S26).

이때, 마스터 모듈(11)로부터 수신되는 프레임은 맨체스터 코드 등을 이용하여 인코딩되어 있으며, 리모트 모듈(13)은 인코딩되어 있는 프레임을 디코딩하여 해석하고 그에 따라 동작한다. 예로서, 자신과 연결되어 있는 제어 대상 기기(14)의 상태를 보고한다거나, 기기 제어 명령을 해당 기기로 출력하게 된다(S27).At this time, the frame received from the master module 11 is encoded using a Manchester code or the like, and the remote module 13 decodes and analyzes the encoded frame and operates accordingly. For example, it reports the state of the control target device 14 connected to itself or outputs a device control command to the corresponding device (S27).

또한, 리모트 모듈(13)은 자신의 프레임을 수신했음을 알리는 응답 프레임을 생성하여 인코딩한 후 마스터 모듈(11)로 송신한다(S28,S29).In addition, the remote module 13 generates and transmits a response frame indicating that its frame has been received, and transmits it to the master module 11 (S28, S29).

이와 같이 동작하는 리모트 모듈(13)에 이상이 발생하여 통제 불능의 상태에 이르게 되면, 출력접점에 연결된 액추에이터, 밸브, 로봇 등의 제어 대상 기기(14)가 오작동할 수 있으며, 심각한 피해가 발생할 수도 있다.If an abnormality occurs in the remote module 13 operating as described above, the control target device 14 such as an actuator, a valve, or a robot connected to the output contact may malfunction or cause serious damage have.

종래에는 이러한 이상 상태를 방지하기 위한 방법으로 리모트 모듈(13)의 공급 전원을 모니터링하고, 공급 전원의 전압이 일정치 이하로 강하될 경우 리모트 모듈(13)을 강제로 리셋(RESET)시키도록 하고 있다.Conventionally, the supply power source of the remote module 13 is monitored as a method for preventing such an abnormal state, and the remote module 13 is forcibly reset (RESET) when the voltage of the supplied power source drops below a predetermined value have.

그러면, 전압이 불안정하게 되는 이상이 발생하였을 때 리모트 모듈(13)을 초기화할 수 있어 안전한 운용에 도움을 줄 수 있다.Then, when the voltage becomes unstable, the remote module (13) can be initialized and it can help safe operation.

그러나, 이와 같이 전압 레벨에 따라서만 리모트 모듈(13)을 초기화하게 되면, 마스터 모듈(11)에 의한 통제라는 중요한 의미를 갖는 통신 상태의 적정 여부를 판단할 수 없다. 이에 따라, 통신 상태의 이상으로 인한 조치를 취할 수 없게 되므로, 리모트 모듈(11)에 이상이 발생하였을 때 제어 대상 기기(14)를 제어하기 위해 출력하는 데이터를 반드시 초기화해야 하는 산업 현장에 적용될 경우 큰 피해가 발생할 수 있는 문제점이 있다.However, if the remote module 13 is initialized only in accordance with the voltage level as described above, it is impossible to determine whether the communication state having the important meaning of control by the master module 11 is proper or not. Accordingly, when an error occurs in the remote module 11, it is applied to an industrial field in which data to be output to control the control target device 14 must be initialized There is a problem that large damage may occur.

이에 본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 피엘시 시스템의 리모트 모듈에 통신 상태의 이상이 발생한 경우에도 조치를 취할 수 있도록 하여, 피엘시 시스템을 더욱 안정적으로 운용할 수 있는 피엘시 시스템용 리모트 모듈을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION Accordingly, the present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a PEL system that can take action even when a communication error occurs in a remote module of the PEL system, The present invention provides a remote module for a system.

상기와 같은 목적을 달성하기 위하여, 본 발명에 따른 피엘시 시스템용 리모트 모듈은, 피엘시(PLC: Programmable Logic Controller) 시스템의 마스터 모듈에 대해 슬레이브로 동작하고 자신과 연결되어 있는 외부 기기를 제어하는 피엘시 시스템용 리모트 모듈에 있어서, 리셋 신호에 따라 상기 리모트 모듈을 리셋시키는 리셋부; 및 상기 리모트 모듈이 상기 마스터 모듈로 응답 프레임을 송신하는 상태를 감시하고, 상기 감시 결과에 따라 상기 리셋부로 상기 리셋 신호를 전달하는 감시부를 포함하여 구성되는 것을 특징으로 한다.In order to achieve the above object, a remote module for a PEL system according to the present invention is a slave for a master module of a PLC (Programmable Logic Controller) system and controls an external device connected thereto A remote module for a PELI system, comprising: a reset unit for resetting the remote module according to a reset signal; And a monitoring unit monitoring a state in which the remote module transmits a response frame to the master module and transmitting the reset signal to the reset unit according to the monitoring result.

상기 감시부는 상기 리모트 모듈이 상기 응답 프레임을 송신하는 시간이 기 설정된 시간 이상 지속될 때 상기 리셋 신호를 상기 리셋부에 전달하도록 구성될 수 있다.The monitoring unit may be configured to transmit the reset signal to the reset unit when the time for which the remote module transmits the response frame is longer than a predetermined time.

상기 응답 프레임을 송신하는 상기 리모트 모듈의 제어부는 상기 응답 프레임을 송신하고 있는지의 여부를 알리는 신호 단자(ONTX)를 구비할 수 있다.The control unit of the remote module that transmits the response frame may include a signal terminal (ONTX) for indicating whether or not the response frame is being transmitted.

이러한 실시예에서, 상기 감시부는 상기 단자 'ONTX'의 상태를 감시하여 상기 응답 프레임의 송신 지속 시간을 감시하도록 구성될 수 있다.In this embodiment, the monitoring unit may be configured to monitor the status of the terminal 'ONTX' and monitor the transmission duration of the response frame.

또한, 상기 감시부는 상기 단자 'ONTX'의 신호가 상기 응답 프레임을 송신하고 있다는 것을 알리는 값으로 일정 시간 이상 유지될 때 타임 아웃 신호를 상기 리셋 신호로서 출력하는 워치독(Watchdog) 타이머를 포함하여 구성될 수 있다.Also, the monitoring unit includes a watchdog timer for outputting a timeout signal as the reset signal when the signal of the terminal 'ONTX' is maintained for a predetermined time or longer to indicate that the response frame is being transmitted. .

본 발명에 따른 피엘시 시스템용 리모트 모듈은 상기 감시부의 기능을 활성화시키거나 또는 비활성화시키도록 해주는 모드 선택부를 더 포함하여 구성될 수 있으며, 이 경우 리모트 모듈을 상황에 따라 유연하게 동작시킬 수 있다.The remote module for the PEL system according to the present invention may further include a mode selection unit for enabling or disabling the function of the monitoring unit. In this case, the remote module can be flexibly operated according to circumstances.

본 발명에 따르면, 피엘시 시스템의 리모트 모듈에 통신 이상이 발생한 경우에도 리모트 모듈을 초기화시킬 수 있으므로, 피엘시 시스템을 더욱 안정적으로 운용할 수 있어 현장의 안정성을 확보함과 아울러 피엘시 시스템의 신뢰성을 높일 수 있게 된다. 또한, 필요에 따라서는 이러한 초기화 기능을 사용하지 않을 수도 있으며, 리모트 모듈을 상황에 맞게 탄력적으로 운용할 수 있다.According to the present invention, the remote module can be initialized even when a communication error occurs in the remote module of the PEL system, so that the PELL system can be operated more stably, thereby securing the stability of the field, . In addition, this initialization function can be omitted if necessary, and the remote module can be flexibly operated in accordance with the situation.

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

도 3을 참조하자면, 본 발명에 따른 피엘시 시스템용 리모트 모듈(30: 이하, 리모트 모듈이라 한다)은 필요에 따라 다양하게 구성될 수 있는 것으로서, 통신 인터페이스부(31), 메모리(32), 기기 인터페이스부(33), 사용자 인터페이스부(34), 제어부(35) 등을 포함하여 구성될 수 있으며, 특히 리셋부(36)와 감시부(37)를 포함하여 이루어진다.Referring to FIG. 3, a remote module 30 (hereinafter, referred to as a remote module) according to the present invention may be variously configured as needed, and includes a communication interface 31, a memory 32, An interface unit 33, a user interface unit 34 and a control unit 35. The control unit 35 includes a reset unit 36 and a monitor unit 37. [

통신 인터페이스부(31)는 통신 네트워크(12)를 통해 마스터 모듈(11)과 통신하여 프레임을 주고 받을 수 있도록 한다. 즉, 통신 네트워크(12)를 통해 수신되는 프레임을 제어부(35)로 전달하고, 제어부(35)에서 전달하는 응답 프레임을 통신 네트워크(12)를 통해 마스터 모듈(11)로 송신한다.The communication interface unit 31 communicates with the master module 11 through the communication network 12 to exchange frames. In other words, a frame received through the communication network 12 is transmitted to the control unit 35, and a response frame transmitted from the control unit 35 is transmitted to the master module 11 through the communication network 12.

메모리(32)에는 리모트 모듈(30)을 구동시키기 위해 필요한 각종 피엘시 제어 프로그램이나 데이터들이 저장되며, 용도에 따라 휘발성 또는 비휘발성의 성질을 가질 수 있다.Various memory control programs and data necessary for driving the remote module 30 are stored in the memory 32 and may have a volatile or nonvolatile nature depending on the application.

기기 인터페이스부(33)는 각종 제어 대상 기기(14)와의 사이에서 데이터를 주고받는 입출력 단자로서의 접점을 포함하고, 입출력 데이터의 버퍼링(Buffering)이나 임피던스 매칭(Impedance Matching) 등의 기능을 수행한다. 이러한 기기 인터페이스부(33)는 자신과 연결되어 있는 각종 제어 대상 기기(14)에 대해 제어 명령을 출력하고 그 제어 결과 데이터를 수신한다.The device interface unit 33 includes contacts as input / output terminals for exchanging data with various control target devices 14 and performs functions such as buffering of input / output data and impedance matching. The device interface unit 33 outputs a control command to various control target devices 14 connected thereto and receives the control result data.

사용자 인터페이스부(34)는 사용자와의 인터페이스를 담당하는 구성요소로서, 사용자로부터 제어 명령을 수신하거나 제어부(35)로부터 수신한 제어 결과 정보를 사용자에게 표시해 주는 등의 역할을 수행할 수 있다.The user interface unit 34 is a component for interfacing with a user, and can perform a role of receiving a control command from a user or displaying control result information received from the control unit 35 to the user.

제어부(35)는 구동 시작시 관련 하드웨어의 초기화, 자신의 국번 확인, 모듈 상태 확인, 인코딩된 상태로 수신되는 프레임의 디코딩, 송신할 프레임의 생성과 인코딩, 기기 인터페이스부(33)를 통한 각종 제어 대상 기기(14)의 제어와 제어 결과 확인 등의 역할을 수행하며, 리모트 모듈(30)의 총괄적인 제어를 담당한다. 이러한 제어부(35)는 다양한 형태로 구성될 수 있다.The control unit 35 initializes the related hardware, checks its own station number, checks the module status, decodes a frame received in an encoded state, generates and encodes a frame to be transmitted, and performs various control through the device interface unit 33 Performs control of the target device 14 and confirms the control result, and takes charge of the overall control of the remote module 30. The controller 35 may be configured in various forms.

이제 본 발명의 리모트 모듈(30)이 갖는 특징적 구성요소인 리셋부(36)와 감시부(37)에 대해 설명하기로 한다.The reset unit 36 and the monitoring unit 37, which are characteristic components of the remote module 30 of the present invention, will now be described.

리셋부(36)는 감시부(37)에서 전달하는 리셋 신호에 따라 리모트 모듈(30)을 리셋시켜 초기화하는 역할을 수행한다.The reset unit 36 performs a function of resetting the remote module 30 according to a reset signal transmitted from the monitoring unit 37.

감시부(37)는 리모트 모듈(30)이 마스터 모듈(11)로 응답 프레임을 송신하는 상태를 감시하고, 감시 결과에 따라 리셋부(36)로 리셋 신호를 전달한다. 즉, 감시부(37)는 응답 프레임을 송신하는 상태를 감시하여 리모트 모듈(30)에 이상이 발생하였는지의 여부를 판단하는 역할을 수행한다.The monitoring unit 37 monitors the state in which the remote module 30 transmits the response frame to the master module 11 and transmits a reset signal to the reset unit 36 according to the monitoring result. That is, the monitoring unit 37 monitors the state of transmitting the response frame and determines whether or not an error has occurred in the remote module 30.

감시부(37)가 응답 프레임의 송신 상태가 어떠할 때 이상이 발생한 것으로 판단할 것인지는 리모트 모듈(30)의 응답 프레임의 송신 과정이나 성능 또는 구조 등에 따라 다양하게 구성될 수 있다.Whether the abnormality occurs when the monitoring unit 37 is in the transmission state of the response frame can be variously configured according to the transmission process of the response frame of the remote module 30, performance or structure, and the like.

그 하나의 예는 리모트 모듈(30)이 응답 프레임의 송신을 시작한 후 송신 상태가 기 설정된 기준 시간 이상 계속 지속되었을 때 리셋 신호를 리셋부(36)로 전달하도록 구성하는 것이다.One example of such a configuration is to transmit a reset signal to the reset unit 36 when the transmission state continues for a predetermined reference time or longer after the remote module 30 starts transmission of the response frame.

즉, 리모트 모듈(30)이 마스터 모듈(11)로 송신하는 응답 프레임의 크기, 전송 속도 등을 참조하여 응답 프레임의 송신에 요구되는 시간보다 오래 송신이 지속된다면 통신 상태에 이상이 발생한 것으로 인정할 수 있는 것이다.That is, if the transmission is continued longer than the time required for transmission of the response frame by referring to the size and the transmission speed of the response frame transmitted to the master module 11 by the remote module 30, It is.

응답 프레임의 송신이 지속되고 있다는 것을 확인하는 방법은 다양하게 구성할 수 있다. 예를 들자면, 제어부(35)가 응답 프레임을 송신하고 있음을 알리는 신호의 출력 단자(이하, 'ONTX'라 한다)를 구비하도록 하고, 감시부(37)는 이 단자 'ONTX'의 상태를 감시하여 응답 프레임의 송신이 얼마나 지속되는지를 판단하도록 구성할 수 있다.The method of confirming that the transmission of the response frame is continued can be variously configured. For example, the control unit 35 may include an output terminal (hereinafter referred to as ONTX) of a signal indicating that the response frame is transmitted, and the monitoring unit 37 monitors the state of the terminal ONTX And determine how long the transmission of the response frame lasts.

이와 관련하여 제어부(35)를 구성하는 예를 살펴보자면, 제어부(35)는 ASIC(Application Specific Integrated Circuit)의 형태로 구성될 수 있다.In this regard, the control unit 35 may be configured in the form of an application specific integrated circuit (ASIC).

이때 ASIC은 마스터 모듈(11)로부터 수신한 프레임을 해석하여 제어 대상 기기(14)로 제어 명령을 출력하기 위한 단자, 마스터 모듈(11)로 송신할 프레임을 출력하는 단자, 마스터 모듈(11)로부터 수신되는 프레임의 입력 단자 등을 포함하여 구성될 수 있다.At this time, the ASIC includes a terminal for analyzing the frame received from the master module 11 and outputting a control command to the control target device 14, a terminal for outputting a frame to be transmitted to the master module 11, An input terminal of a frame to be received, and the like.

특히, ASIC은 프레임 송신시에만 하이(High) 상태를 유지하는 단자 'ONTX'를 포함하도록 구성될 수 있다. 이러한 단자 'ONTX'는 프레임 수신시에 로우(Low) 상태를 유지하도록 구성될 수 있다.In particular, the ASIC may be configured to include a terminal " ONTX " that remains high only during frame transmission. The terminal 'ONTX' may be configured to maintain a low state at the time of frame reception.

이와 같은 예에서 감시부(37)는 단자 'ONTX'의 상태를 감시하여 프레임 송신이 지속되는 시간을 감시할 수 있다.In such an example, the monitoring unit 37 may monitor the state of the terminal 'ONTX' and monitor the duration of the frame transmission.

한편, 리모트 모듈(30)은 감시부(37)의 기능을 활성화시키거나 또는 비활성화시키는 모드 선택부(38)를 더 포함하도록 구성될 수 있다.On the other hand, the remote module 30 may be configured to further include a mode selection unit 38 for activating or deactivating the function of the monitoring unit 37. [

이러한 실시예를 이용하면, 리모트 모듈(30)의 통신 상태에 이상이 있을 때 초기화를 시킬 것인지 또는 그대로 두어 처리되고 있는 데이터를 유지시킬 것인지의 여부를 사용자가 필요에 따라 선택적으로 적용할 수 있다. 이에 따라 리모트 모듈(30)을 상황에 맞게 설정하여 운용할 수 있는 유연성을 가질 수 있게 된다.With this embodiment, it is possible for the user to selectively apply whether the initialization is to be performed when the communication state of the remote module 30 is abnormal or the data to be held as it is to be maintained. Accordingly, the remote module 30 can be flexibly configured to suit the situation.

또한 별도로 도시하지는 않았으나, 리모트 모듈(30)은 공급 전원의 상태를 감시하여 공급 전압이 일정치 이하로 강하되면 리셋부(36)를 통해 리모트 모듈(30)을 리셋시키는 기능을 포함하여 구성될 수 있다.Although not shown separately, the remote module 30 may include a function of monitoring the state of the power supply and resetting the remote module 30 through the reset unit 36 when the supply voltage drops below a predetermined value have.

도 4는 단자 'ONTX'의 상태를 모니터링하는 워치독 타이머(37-1)를 이용하여 감시부(37)와 모드 선택부(38)를 구성하는 실시예를 나타낸 것으로서, 워치독(Watchdog) 타이머(37-1)는 단자 'ONTX'의 신호가 응답 프레임을 송신하고 있다는 것을 알리는 값으로 일정 시간 이상 유지될 때 타임 아웃 신호를 리셋 신호로서 출력하게 된다.FIG. 4 shows an embodiment in which the monitoring unit 37 and the mode selection unit 38 are configured using the watchdog timer 37-1 for monitoring the state of the terminal 'ONTX'. The watchdog timer 37-1, The terminal 37-1 outputs a timeout signal as a reset signal when the signal of the terminal 'ONTX' is notified that it is transmitting a response frame and is held for a predetermined time or more.

먼저, 모드 선택부(38)는 온/오프 스위치(38-1)를 이용하여 구성될 수 있으며, 온/오프 스위치(38-1)가 오프 상태로 설정되면 'ONTX' 단자 신호가 감시부(37)의 워치독 타이머(37-1)에 입력되지 않는다. 그러므로, 감시부(37)가 동작하지 않아 통신 상태의 이상이 발생하더라도 초기화되지 않는다.The mode selector 38 may be configured by using the on / off switch 38-1. When the on / off switch 38-1 is set to the off state, the 'ONTX' 37 are not input to the watchdog timer 37-1 of the watchdog timer 37-1. Therefore, even if an abnormality in the communication state occurs because the monitoring unit 37 does not operate, it is not initialized.

그러나, 모드 선택부(38)의 온/오프 스위치(38-1)가 온 상태로 설정되면 'ONTX' 단자 신호가 감시부(37)의 워치독 타이머(37-1)에 입력되고, 워치독 타이머(37-1)는 설정되어 있는 기준 시간 동안 'ONTX' 단자 신호가 하이 상태로 유지되는지의 여부에 따라 타임 아웃(Time Out) 상태가 된다. 그리고, 타임 아웃 상태가 되면 워치독 타이머(37-1)는 리셋 신호를 출력하게 된다.However, when the ON / OFF switch 38-1 of the mode selection unit 38 is set to the ON state, an ONTX terminal signal is input to the watchdog timer 37-1 of the monitoring unit 37, The timer 37-1 goes into a time out state depending on whether the ONTX terminal signal is maintained in the high state for the set reference time. In the timeout state, the watchdog timer 37-1 outputs a reset signal.

이 리셋 신호는 리셋부(36)로 전달되고, 리셋부(36)는 리모트 모듈(30)을 리셋시켜 초기화시키게 된다.The reset signal is transmitted to the reset unit 36, and the reset unit 36 resets and initializes the remote module 30.

도 5를 참조하여, 리모트 모듈(30)이 동작하는 전체적인 과정을 개략적으로 살펴보기로 한다.Referring to FIG. 5, a general process of operating the remote module 30 will be schematically described.

리모트 모듈(30)에 전원이 인가되어 구동을 시작하면(S51), 제어부(35)에 의해 레지스터와 메모리 등의 초기화가 이루어지고(S52-1), 리모트 모듈의 종류(예: 입력 또는 출력)를 확인하는 등 하드웨어 정보가 인식된다(S52-2). 그리고, 마스터 모듈(11)과의 통신 준비가 이루어진다.When the power is applied to the remote module 30 to start driving (S51), the controller 35 initializes the registers and the memory (S52-1), and the type of the remote module (e.g., input or output) And hardware information is recognized (S52-2). Then, preparation for communication with the master module 11 is performed.

한편, 마스터 모듈(11)이 송신한 프레임은 통신 인터페이스부(31)를 통해 수신되고, 제어부(35)는 통신 인터페이스부(31)를 통해 수신된 프레임이 자신에게 온 자국 프레임인지를 검사한다(S53).On the other hand, the frame transmitted by the master module 11 is received through the communication interface unit 31, and the control unit 35 examines whether or not the frame received through the communication interface unit 31 is a local station S53).

그리고, 제어부(35)는 마스터 모듈(11)로부터 수신된 자국 프레임을 입력받아 해당 프레임에 포함되어 있는 명령어를 해석한다(S54,S55).The control unit 35 receives the local frame received from the master module 11 and interprets the command included in the frame (S54, S55).

마스터 모듈(11)로부터 수신된 프레임은 맨체스터 코드 등을 이용하여 인코딩되어 있으므로, 제어부(35)는 이 과정에서 인코딩되어 있는 프레임을 디코딩하여 해석하게 된다.Since the frame received from the master module 11 is encoded using the Manchester code or the like, the control unit 35 decodes and decodes the encoded frame in this process.

단계 S55에서의 해석 결과에 따라, 제어부(35)는 기기 인터페이스부(33)를 통해 제어 대상 기기(14)로 기기 제어 명령을 출력하게 된다(S56).According to the result of the analysis in step S55, the control unit 35 outputs the device control command to the control target device 14 via the device interface unit 33 (S56).

또한, 제어부(35)는 자신이 프레임을 정상적으로 수신했음을 알리는 응답 프레임을 생성하여 인코딩한 후 통신 인터페이스부(31)를 통해 마스터 모듈(11)로 송신한다(S57,S58).The control unit 35 generates and transmits a response frame indicating that the frame has been normally received and transmits the encoded response frame to the master module 11 through the communication interface unit 31 at steps S57 and S58.

한편, 제어부(35)가 단계 S58에서 응답 프레임을 마스터 모듈(11)로 송신하기 시작하면, 도 4를 통해 설명한 실시예에서 제어부(35)의 단자 'ONTX'는 하이 상태로 변환되어 응답 프레임의 송신이 완료될 때까지 유지된다.On the other hand, when the control unit 35 starts transmitting the response frame to the master module 11 in step S58, the terminal 'ONTX' of the control unit 35 is converted into the high state in the embodiment described with reference to FIG. 4, And is maintained until transmission is completed.

만일 모드 선택부(38)의 온/오프 스위치(38-1)가 온 상태로 설정되어 있다면, 'ONTX' 단자 신호가 감시부(37)의 워치독 타이머(37-1)에 입력되고, 워치독 타이머(37-1)는 'ONTX' 단자 신호가 하이 상태로 되는 시점에서 카운트를 시작하여 기 설정되어 있는 기준 시간 동안 'ONTX' 단자 신호가 하이 상태로 유지되는지의 여부에 따라 타임 아웃(Time Out) 상태가 된다.If the ON / OFF switch 38-1 of the mode selection unit 38 is set to the ON state, the ONTX terminal signal is input to the watchdog timer 37-1 of the monitoring unit 37, The poison timer 37-1 starts counting at the time when the ONTX terminal signal is turned to the high state and counts the time when the ONTX terminal signal is held high Out state.

그리고, 타임 아웃 상태가 되면 워치독 타이머(37-1)는 리셋 신호를 출력하게 되고, 이 리셋 신호에 따라 리셋부(36)는 리모트 모듈(30)을 리셋하여 초기화시키게 된다. 즉, 단계 S52-1로 진행하게 된다.In the timeout state, the watchdog timer 37-1 outputs a reset signal, and the reset unit 36 resets and initializes the remote module 30 according to the reset signal. In other words, the process proceeds to step S52-1.

그러나, 워치독 타이머(37-1)가 타임 아웃되기 전에 'ONTX' 신호가 하이 상태를 벗어나면, 단계 S53으로 진행하여 마스터 모듈(11)이 전송해주는 프레임을 수신하는 과정을 진행하게 된다. 이때 워치독 타이머(37-1)는 카운트를 중지하고 다시 초기화되며 다음에 다시 'ONTX' 단자 신호가 하이 상태가 되었을 때 카운트를 시작하게 될 것이다.However, if the 'ONTX' signal goes out of the high state before the watchdog timer 37-1 is timed out, the process proceeds to step S53, and the process of receiving the frame transmitted by the master module 11 proceeds. At this time, the watchdog timer 37-1 will stop counting and initialize again, and then start counting when the 'ONTX' terminal signal goes high again.

상술한 각 실시예는 본 발명의 이해를 돕기 위한 것이며, 본 발명은 상술한 실시예에 한정되지 않고 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 당업자에 의해 다양하게 변형하여 실시할 수 있는 것임은 물론이다.It is to be understood that the present invention is not limited to the above-described embodiment, and that various changes and modifications may be made by those skilled in the art without departing from the technical spirit of the present invention Of course.

도 1은 피엘시 시스템의 개요,BRIEF DESCRIPTION OF THE DRAWINGS FIG.

도 2는 종래 리모트 모듈이 동작하는 과정의 예,2 shows an example of a process in which a conventional remote module operates,

도 3은 본 발명에 따른 리모트 모듈의 일 실시예,3 is a block diagram of an embodiment of a remote module according to the present invention,

도 4는 워치독 타이머를 이용하여 감시부를 구성하는 실시예,FIG. 4 shows an embodiment in which a monitoring unit is configured using a watchdog timer,

도 5는 본 발명에 따라 리모트 모듈이 동작하는 과정에 관한 예이다.5 is an example of a process of operating the remote module according to the present invention.

* 도면의 주요부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

11: 마스터 모듈 12: 통신 네트워크11: Master module 12: Communication network

13,30: 리모트 모듈 14: 제어 대상 기기13,30: Remote module 14: Control target device

31: 통신 인터페이스부 32: 메모리31: communication interface unit 32: memory

33: 기기 인터페이스부 34: 사용자 인터페이스부33: device interface section 34: user interface section

35: 제어부 36: 리셋부35: control unit 36:

37: 감시부 38: 모드 선택부37: monitoring unit 38: mode selection unit

37-1: 워치독 타이머 38-1: 모드 선택 스위치37-1: Watchdog timer 38-1: Mode selection switch

Claims (5)

피엘시(PLC: Programmable Logic Controller) 시스템의 마스터 모듈에 대해 슬레이브로 동작하고 자신과 연결되어 있는 외부 기기를 제어하는 피엘시 시스템용 리모트 모듈에 있어서,A remote module for a PEL system that operates as a slave with respect to a master module of a PLC (Programmable Logic Controller) system and controls an external device connected to the slave, 리셋 신호에 따라 상기 리모트 모듈을 리셋시키는 리셋부; 및A reset unit for resetting the remote module according to a reset signal; And 상기 리모트 모듈이 상기 마스터 모듈로 응답 프레임을 송신하는 상태를 감시하고, 상기 감시 결과에 따라 상기 리셋부로 상기 리셋 신호를 전달하는 감시부를 포함하고,And a monitoring unit monitoring the state in which the remote module transmits a response frame to the master module and transmitting the reset signal to the reset unit in accordance with the monitoring result, 상기 감시부는 상기 리모트 모듈이 상기 응답 프레임을 송신하는 시간이 기 설정된 시간 이상 지속될 때 상기 리셋 신호를 상기 리셋부에 전달하도록 구성되는 것을 특징으로 하는 피엘시 시스템용 리모트 모듈.Wherein the monitoring unit is configured to transmit the reset signal to the reset unit when the time for transmitting the response frame by the remote module is longer than a predetermined time. 삭제delete 제 1 항에 있어서,The method according to claim 1, 상기 응답 프레임을 송신하는 상기 리모트 모듈의 제어부는 상기 응답 프레임을 송신하고 있는지의 여부를 알리는 신호 단자(ONTX)를 구비하고, 상기 감시부는 상기 단자 'ONTX'를 감시하여 상기 응답 프레임의 송신 지속 시간을 감시하도록 구성되는 것을 특징으로 하는 피엘시 시스템용 리모트 모듈.Wherein the controller of the remote module that transmits the response frame has a signal terminal (ONTX) for informing whether or not the response frame is being transmitted, and the monitoring unit monitors the terminal 'ONTX' And a remote module for the PELSEC system. 제 3 항에 있어서,The method of claim 3, 상기 감시부는 상기 단자 'ONTX'의 신호가 상기 응답 프레임을 송신하고 있다는 것을 알리는 값으로 일정 시간 이상 유지될 때 타임 아웃 신호를 상기 리셋 신호로서 출력하는 워치독(Watchdog) 타이머를 포함하여 구성되는 것을 특징으로 하는 피엘시 시스템용 리모트 모듈.The monitoring unit includes a watchdog timer for outputting a timeout signal as the reset signal when the signal of the terminal 'ONTX' is maintained at a value indicating that the response frame is being transmitted for a predetermined time or more Remote module for PELI system. 제 1 항에 있어서,The method according to claim 1, 상기 감시부의 기능을 활성화 또는 비활성화시키는 모드 선택부를 더 포함하여 구성되는 것을 특징으로 하는 피엘시 시스템용 리모트 모듈.And a mode selection unit for activating or deactivating the function of the monitoring unit.
KR1020070139828A 2007-12-28 2007-12-28 Remote Module for Programmable Logic Controller System KR100951503B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070139828A KR100951503B1 (en) 2007-12-28 2007-12-28 Remote Module for Programmable Logic Controller System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070139828A KR100951503B1 (en) 2007-12-28 2007-12-28 Remote Module for Programmable Logic Controller System

Publications (2)

Publication Number Publication Date
KR20090071891A KR20090071891A (en) 2009-07-02
KR100951503B1 true KR100951503B1 (en) 2010-04-07

Family

ID=41329173

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070139828A KR100951503B1 (en) 2007-12-28 2007-12-28 Remote Module for Programmable Logic Controller System

Country Status (1)

Country Link
KR (1) KR100951503B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101431301B1 (en) * 2010-01-20 2014-08-20 엘에스산전 주식회사 Safety extention base and its control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09307975A (en) * 1996-05-10 1997-11-28 Meidensha Corp Pc subordinate network transmission system
KR19980025791A (en) * 1996-10-05 1998-07-15 이종수 Synchronization of Uptime of PLC Remote System and Control of Emergency Output
KR20020021860A (en) * 2000-09-18 2002-03-23 구자홍 System resetting apparatus and resetting method
KR100811452B1 (en) 2006-02-20 2008-03-10 엘에스산전 주식회사 Remote module for use in PLC system and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09307975A (en) * 1996-05-10 1997-11-28 Meidensha Corp Pc subordinate network transmission system
KR19980025791A (en) * 1996-10-05 1998-07-15 이종수 Synchronization of Uptime of PLC Remote System and Control of Emergency Output
KR20020021860A (en) * 2000-09-18 2002-03-23 구자홍 System resetting apparatus and resetting method
KR100811452B1 (en) 2006-02-20 2008-03-10 엘에스산전 주식회사 Remote module for use in PLC system and control method thereof

Also Published As

Publication number Publication date
KR20090071891A (en) 2009-07-02

Similar Documents

Publication Publication Date Title
CN101989085B (en) Controller
CN101324855B (en) Method, system, component and multi-CPU equipment for detecting auxiliary CPU operating status
CN100480913C (en) Safety-oriented control system
US8306680B2 (en) Arrangement and method for controlling an automated system, in particular a railway system
JP5348499B2 (en) I / O unit and industrial controller
CN103560050B (en) A kind of relaying protection output switch parameter loop start circuit and method
CN110808908B (en) System and method for switching redundant network in real time across platforms
US20180373213A1 (en) Fieldbus coupler and system method for configuring a failsafe module
CN101604143A (en) The industrial wireless remote control equipment and the method that can initiatively promptly stop
KR100951503B1 (en) Remote Module for Programmable Logic Controller System
CN102077148B (en) Monitoring system
US8274771B2 (en) Safety switching device and modular failsafe control system
US11242065B2 (en) Device and method for controlling a signal connection of a vehicle
CN113721448B (en) Redundant module switching method and device
KR100724495B1 (en) Programmable logic controller duplex system and running method
JP4600771B2 (en) Control device
CN112180906A (en) Fault self-diagnosis communication system and fault self-diagnosis method thereof
JP2008211536A (en) Remote io transmission system
KR101552785B1 (en) real time monitoring system self-healing way and system
CN110545211A (en) Interrupt-free message capture in industrial control systems
JP2017098856A (en) Public line communication device and control monitoring system
US20230101533A1 (en) Connection element for producing a wired connection between a first and second unit
KR100301792B1 (en) Apparatus for managing connection status of lan between the switching system and terminal
CN116802025A (en) Device control system, device control method, and device control program
CN110545270A (en) protocol conversion device, protocol conversion apparatus and method

Legal Events

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

Payment date: 20121221

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131218

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20150106

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20160225

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20170302

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20180201

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20190121

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20200102

Year of fee payment: 11