[go: up one dir, main page]

KR101810196B1 - Communication module in inverter - Google Patents

Communication module in inverter Download PDF

Info

Publication number
KR101810196B1
KR101810196B1 KR1020160025672A KR20160025672A KR101810196B1 KR 101810196 B1 KR101810196 B1 KR 101810196B1 KR 1020160025672 A KR1020160025672 A KR 1020160025672A KR 20160025672 A KR20160025672 A KR 20160025672A KR 101810196 B1 KR101810196 B1 KR 101810196B1
Authority
KR
South Korea
Prior art keywords
register
inverter
address
storing
communication module
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020160025672A
Other languages
Korean (ko)
Other versions
KR20170103206A (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 KR1020160025672A priority Critical patent/KR101810196B1/en
Publication of KR20170103206A publication Critical patent/KR20170103206A/en
Application granted granted Critical
Publication of KR101810196B1 publication Critical patent/KR101810196B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30098Register arrangements
    • G06F9/30105Register structure
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Inverter Devices (AREA)

Abstract

인버터의 통신모듈이 개시된다. 본 발명의 통신모듈은, 읽기 또는 쓰기를 수행할 인버터 레지스터의 주소를 저장하는 제1레지스터와, 읽기를 수행한 또는 쓰기를 수행할 데이터를 저장하는 제2레지스터와, 읽기 또는 쓰기에 대한 커맨드를 저장하는 제3레지스터를 포함한다. The communication module of the inverter is started. The communication module of the present invention includes a first register for storing an address of an inverter register to be read or written, a second register for storing data to be read or written and a command for reading or writing And a third register for storing the second register.

Description

인버터의 통신모듈{COMMUNICATION MODULE IN INVERTER}COMMUNICATION MODULE IN INVERTER < RTI ID = 0.0 >

본 발명은 인버터의 통신모듈에 대한 것이다.The present invention relates to a communication module of an inverter.

일반적으로, 공장자동화(factory automation, FA)에 사용되는 인버터는, 다른 기기들과 다양한 통신방식으로 통신한다. 이와 같은 공장자동화 통신방식에는, 프로피넷(PROFInet), 모드버스(MODBUS), 이더캣(Ethercat) 등의 프로토콜이 있다. Generally, an inverter used in factory automation (FA) communicates with other devices in various communication methods. Such factory automation communication methods include protocols such as PROFINET, MODBUS, and Ethercat.

PROFInet은, 사무실에서 통신 인프라 기술로 사용되고 있는 이더넷 통신기술을 생산 자동화 기술로 활용하기 위한 산업용 개방 네트워크 표준이고, MODBUS는 PLC(programmable logic controller, PLC)용 시리얼 통신 프로토콜이고, Ethercat은 'Ethernet for Control Automation Technology'의 약어로서, 산업용 이더넷 프로토콜이다.PROFInet is an industrial open network standard for utilizing Ethernet communication technology, which is used as office communication infrastructure technology, as production automation technology. MODBUS is a serial communication protocol for PLC (programmable logic controller, PLC) Automation Technology 'and is an industrial Ethernet protocol.

이와 같이 인버터의 통신을 위해서는, 별도의 통신모듈이 인버터에 착탈식으로 부착될 수 있다.In this way, for communication of the inverter, a separate communication module can be detachably attached to the inverter.

도 1은 일반적으로 통신모듈이 인버터에 구현되는 방식을 설명하기 위한 예시도이고, 도 2는 도 1의 통신모듈과 인버터의 연결관계를 설명하기 위한 예시도이다.FIG. 1 is an exemplary diagram for explaining a manner in which a communication module is implemented in an inverter, and FIG. 2 is an exemplary diagram illustrating a connection relationship between the communication module and an inverter in FIG.

통신모듈(200)은 인버터(100)에 착탈식으로 구현되며, 인버터(100)와 제1통신부(230)를 통해 CAN(controller area network, CAN) 방식으로 통신할 수 있으며, 인간-기계 인터페이스(human-machne interface, HMI)(300)와 제2통신부(240)를 통해 100 Base TX와 같은 이더넷(Ethernet) 방식으로 통신할 수 있다.The communication module 200 is detachably installed in the inverter 100 and can communicate with the inverter 100 through the first communication unit 230 using a CAN (Controller Area Network) (HMI) 300 and the second communication unit 240 through an Ethernet method such as 100 Base TX.

이와 같이 구성되는 인버터 시스템에서, 통신모듈(200)은 CAN 인터페이스를 통해 인버터(100)의 레지스터에 접근하게 되는데, 보통 인버터(100)은 수백개의 레지스터(110)를 포함하여 구성된다.In the inverter system configured as described above, the communication module 200 accesses the register of the inverter 100 via the CAN interface. In general, the inverter 100 includes hundreds of registers 110.

종래의 통신모듈(200)의 경우, 인버터(100)의 레지스터(110)의 데이터를 1:1 어드레스 방식으로 접근하게 되므로, 통신모듈(200)은 인버터(100)의 레지스터(110)의 어드레스를 기억하는 어드레스 레지스터(220)를 인버터(100)의 레지스터(110)와 동일한 개수만큼 구비하여야 한다. Since the data of the register 110 of the inverter 100 is accessed by the 1: 1 addressing method in the case of the conventional communication module 200, the communication module 200 sets the address of the register 110 of the inverter 100 to The same number of address registers 220 as the register 110 of the inverter 100 should be provided.

이와 같은 구성에서, 제어부(210)는 통신패킷에 지정되어 있는 주소를 해석하여, 이에 해당하는 인버터(100)의 레지스터(110)에 대하여 읽기 또는 쓰기 동작을 수행하게 된다. 즉, 제2레지스터에 저장되어 있는 데이터를 읽기 위해, 제2레지스터에 대응하는 어드레스 레지스터를 확인하여, 제2레지스터의 주소를 읽은 후, 해당 레지스터의 데이터를 읽는 방식이다. In this configuration, the control unit 210 interprets the address assigned to the communication packet and performs a read or a write operation on the register 110 of the corresponding inverter 100. That is, in order to read the data stored in the second register, the address register corresponding to the second register is checked, the address of the second register is read, and then the data of the corresponding register is read.

그러나, 위와 같은 종래의 시스템에서, 인버터(100)의 레지스터(110)와 통신모듈(200)의 어드레스 관계가 1:1 방식이므로, 통신모듈(200)은 어드레스 레지스터를 인버터(100)의 레지스터에 대응하도록 구현하여야 하는 문제점이 있으며, 또한, 인버터(100)가 변경되는 경우, 변경되는 인버터의 레지스터 매핑을 다시 수행하여야 하는 문제점이 있다. However, in the conventional system as described above, since the address relationship between the register 110 of the inverter 100 and the communication module 200 is 1: 1, the communication module 200 sets the address register in the register of the inverter 100 In addition, when the inverter 100 is changed, there is a problem that the register mapping of the changed inverter must be performed again.

본 발명이 해결하고자 하는 기술적 과제는, 통신모듈의 어드레스 레지스터의 개수를 줄이고, 인버터가 변경되는 경우에도 어드레스 매핑을 요구하지 않고 인버터의 레지스터에 접근가능한, 인버터 통신모듈을 제공하는 것이다. An object of the present invention is to provide an inverter communication module capable of reducing the number of address registers of a communication module and accessing a register of an inverter without requiring address mapping even when the inverter is changed.

상기와 같은 기술적 과제를 해결하기 위해, 본 발명의 일실시예의 통신모듈은, 쓰기를 수행할 인버터 레지스터의 주소를 저장하는 제1레지스터; 쓰기를 수행할 데이터를 저장하는 제2레지스터; 쓰기에 대한 커맨드를 저장하는 제3레지스터; 및 상기 제1레지스터에 저장된 주소와 상기 제2레지스터에 저장된 데이터를 이용하여 상기 제3레지스터에 저장되는 커맨드에 따라, 상기 주소 및 데이터를 상기 인버터에 전송하는 제어부를 포함할 수 있다.According to an aspect of the present invention, there is provided a communication module including: a first register for storing an address of an inverter register to perform writing; A second register for storing data to be written; A third register for storing a command for writing; And a controller for transmitting the address and data to the inverter according to a command stored in the third register using the address stored in the first register and the data stored in the second register.

본 발명의 일실시예의 통신모듈은, 쓰기의 결과인 상태를 저장하는 제4레지스터를 더 포함할 수 있다.The communication module of one embodiment of the present invention may further include a fourth register that stores a state resulting from the writing.

본 발명의 일실시예에서, 상기 제어부는, 상기 주소 및 데이터의 저장 후에, 이전 결과를 삭제하는 상태 메시지를 상기 제4레지스터에 저장할 수 있다.In one embodiment of the present invention, the control unit may store, in the fourth register, a status message for deleting the previous result after storing the address and data.

본 발명의 일실시예에서, 상기 제어부는, 상기 인버터로부터 수신한 동작의 결과에 따라, 상기 제4레지스터에 쓰기가 성공 또는 실패하였는지에 대한 상태를 지정할 수 있다. In one embodiment of the present invention, the control unit may specify a state of whether writing to the fourth register is successful or failed, according to a result of an operation received from the inverter.

또한, 상기와 같은 기술적 과제를 해결하기 위해, 본 발명의 일실시예의 통신모듈은, 읽기를 수행할 인버터 레지스터의 주소를 저장하는 제1레지스터; 읽기를 수행한 데이터를 저장하는 제2레지스터; 읽기에 대한 커맨드를 저장하는 제3레지스터; 및 상기 제1레지스터에 저장된 주소를 이용하여 상기 제3레지스터에 저장되는 커맨드에 따라, 상기 주소를 상기 인버터에 전송하는 제어부를 포함할 수 있다.According to another aspect of the present invention, there is provided a communication module including: a first register for storing an address of an inverter register to be read; A second register for storing the read data; A third register for storing a command for reading; And a controller for transmitting the address to the inverter according to a command stored in the third register using the address stored in the first register.

본 발명의 일실시예의 통신모듈은, 읽기의 결과인 상태를 저장하는 제4레지스터를 더 포함할 수 있다.The communication module of an embodiment of the present invention may further include a fourth register for storing a state as a result of reading.

본 발명의 일실시예에서, 상기 제어부는, 상기 주소의 저장 후에, 이전 결과를 삭제하는 상태 메시지를 상기 제4레지스터에 저장할 수 있다.In one embodiment of the present invention, the control unit may store, in the fourth register, a status message for deleting the previous result after storing the address.

본 발명의 일실시예에서, 상기 제어부는, 상기 인버터로부터 수신한 동작의 결과에 따라, 상기 제4레지스터에 읽기가 성공 또는 실패하였는지에 대한 상태를 지정할 수 있다.In one embodiment of the present invention, the control unit may designate a state of whether or not the read is successful in the fourth register, according to the result of the operation received from the inverter.

본 발명의 일실시예에서, 상기 제어부는, 상기 인버터로부터 상기 주소에 대응하는 데이터를 수신한 경우, 상기 제2레지스터에 데이터를 저장할 수 있다. In one embodiment of the present invention, when the data corresponding to the address is received from the inverter, the control unit may store data in the second register.

상기와 같은 본 발명은, 장착되는 인버터가 변경되는 경우에도, 주소의 매핑을 번복하지 않고 인버터의 레지스터에 접근이 가능하게 하는 효과가 있다.The present invention has the effect of making it possible to access the register of the inverter without reversing the mapping of addresses even when the mounted inverter is changed.

따라서, 통신모듈의 프로그램을 변경하지 않고서도 다양한 인버터에 탈부착하여 사용할 수 있으므로, 사용자의 편의를 제고하는 효과가 있다.Therefore, it is possible to attach and detach to various inverters without changing the program of the communication module, so that the convenience of the user is improved.

도 1은 일반적으로 통신모듈이 인버터에 구현되는 방식을 설명하기 위한 예시도이다.
도 2는 도 1의 통신모듈과 인버터의 연결관계를 설명하기 위한 예시도이다.
도 3은 본 발명의 일실시예의 통신모듈을 개략적으로 설명하기 위한 구성도이다.
도 4는 본 발명의 일실시예의 통신모듈의 제어부의 쓰기 동작을 설명하기 위한 흐름도이다.
도 5는 본 발명의 일실시예의 통신모듈의 제어부의 읽기 동작을 설명하기 위한 흐름도이다.
1 is an exemplary diagram illustrating a manner in which a communication module is generally implemented in an inverter.
2 is an exemplary diagram for explaining a connection relationship between the communication module and the inverter of FIG.
3 is a block diagram schematically illustrating a communication module according to an embodiment of the present invention.
4 is a flowchart for explaining a writing operation of the control unit of the communication module of the embodiment of the present invention.
5 is a flowchart for explaining a reading operation of the control unit of the communication module according to the embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러가지 실시예를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

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

도 3은 본 발명의 일실시예의 통신모듈을 개략적으로 설명하기 위한 구성도로서, 인버터(1)와 연결된 것을 나타낸 것이다.3 is a schematic diagram for explaining a communication module of an embodiment of the present invention, which is connected to the inverter 1.

도면에 도시된 바와 같이, 인버터(1)는 복수의 레지스터(10)를 포함하여 구성될 수 있다. 인버터(1)는, 복수의 레지스터(10) 외에, 정류부, 평활부 및 스위칭소자로 구성되는 인버터부 등 다양한 구성요소를 포함하지만, 본 발명과 무관한 구성요소에 대한 설명은 생략하기로 한다.As shown in the figure, the inverter 1 may be configured to include a plurality of registers 10. The inverter 1 includes various components such as a rectifier portion, a smoothing portion, and an inverter portion including a switching element, in addition to the plurality of resistors 10, but a description of components not related to the present invention will be omitted.

본 발명의 일실시예의 통신모듈(2)은 인버터(1)와 예를 들어 제어영역 네트워크(CAN) 방식으로 제1통신부(40)를 통해 통신할 수 있으며, HMI와 같은 상부기기와 제2통신부(50)를 통해 통신할 수 있다. 예를 들어, 본 발명의 통신모듈(2)은 PROFInet 통신모듈일 수 있지만, 본 발명이 이에 한정되는 것은 아니며, 다양한 프로토콜에 의해 규정되는 통신모듈일 수 있음은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 자명하다.The communication module 2 of the embodiment of the present invention can communicate with the inverter 1 through the first communication unit 40 in a control area network (CAN) manner, for example, Lt; RTI ID = 0.0 > 50 < / RTI > For example, the communication module 2 of the present invention may be a PROFInet communication module, but the present invention is not limited thereto, and it can be a communication module defined by various protocols. It is obvious to those who have knowledge.

또한, 본 발명의 일실시예의 통신모듈은, 레지스터부(20) 및 제어부(30)를 포함할 수 있으며, 레지스터부(20)는 주소 레지스터(address register)(21), 데이터 레지스터(data register)(22), 커맨드 레지스터(command register)(23) 및 상태 레지스터(status register)(24)를 포함할 수 있다. 본 발명의 일실시예의 통신모듈(2) 역시, 위에서 설명한 구성요소 외에 다양한 구성요소를 더 포함할 수 있겠으나, 본 발명과 무관한 구성요소에 대한 설명은 생략하기로 한다.The communication module of the embodiment of the present invention may include a register unit 20 and a control unit 30. The register unit 20 includes an address register 21, A command register 22, a status register 24, and a command register 23. The communication module 2 of the embodiment of the present invention may further include various components in addition to the components described above, but a description of components not related to the present invention will be omitted.

주소 레지스터(21)는 읽거나 또는 쓰기를 하려는 인버터(1)의 레지스터(11) 주소를 저장할 수 있다. 인버터(1)의 레지스터(11)의 주소는 네트워크에 의해 연결된 관리자 서버(도시되지 않음)로부터 제공될 수도 있고, 관리자의 HMI(human-machine interface)에 의한 입력에 의해서도 제공될 수 있을 것이다. 다만, 이는 예시적인 것으로서 본 발명이 이에 한정되는 것은 아니며, 인버터(1)의 레지스터(11) 주소는 다양한 방식으로 통신모듈(2)의 주소 레지스터(21)에 저장될 수 있을 것이다. The address register 21 may store the address of the register 11 of the inverter 1 to read or write. The address of the register 11 of the inverter 1 may be provided from an administrator server (not shown) connected by a network or may be provided by input by an administrator's human-machine interface (HMI). The address of the register 11 of the inverter 1 may be stored in the address register 21 of the communication module 2 in various manners, for example.

데이터 레지스터(22)는 읽기 또는 쓰기를 수행할 때의 읽은 값 또는 쓸 값을 저장할 수 있다. 커맨드 레지스터(23)는 읽기 또는 쓰기 중 어느 것을 수행할 것인지 지시하는 명령어(command)를 저장할 수 있다. 상태 레지스터(24)는 읽기 또는 쓰기 동작의 결과 상태값을 저장할 수 있다.The data register 22 can store a read value or a write value when performing a read or a write. The command register 23 may store a command indicating whether to perform reading or writing. The status register 24 may store the status value of the result of the read or write operation.

이와 같이, 본 발명의 일실시예의 통신모듈(2)은, 간접 어드레스 방식을 채용함으로써, 인버터(1)의 레지스터(10)와 1:1 방식으로 매핑되는 어드레스 레지스터를 포함하지 않고, 주소만을 저장하는 주소 레지스터(21)를 구현함으로써, 인버터가 변경되는 경우에도 어드레스 매핑을 별도로 수행하지 않아도 된다.As described above, the communication module 2 of the embodiment of the present invention does not include the address register mapped in the 1: 1 manner with the register 10 of the inverter 1 by employing the indirect addressing method, The address mapping is not performed separately even when the inverter is changed.

제어부(30)는, 예를 들어 MCU(micro controller unit)로서, 제2통신부(50)를 통해 상위 기기(도시되지 않음)로부터 수신되는 명령어에 의해, 인버터(1)의 레지스터(10)의 읽기 또는 쓰기 동작을 수행할 수 있다.The control unit 30 reads the register 10 of the inverter 1 by a command received from a host device (not shown) via the second communication unit 50, for example, as a micro controller unit (MCU) Or write operation.

도 4는 본 발명의 일실시예의 통신모듈의 제어부의 쓰기 동작을 설명하기 위한 흐름도이고, 도 5는 본 발명의 일실시예의 통신모듈의 제어부의 읽기 동작을 설명하기 위한 흐름도이다. 본 발명의 설명에서, PNU[1000]은 주소 레지스터(21)를, PNU[1001]은 데이터 레지스터(22)를, PNU[1002]는 커맨드 레지스터(23)를, PNU[1003]은 상태 레지스터(24)를 나타내는 것으로 한다. 다만, 본 발명이 이에 한정되는 것은 아니다. FIG. 4 is a flowchart illustrating a write operation of a control unit of a communication module according to an embodiment of the present invention, and FIG. 5 is a flowchart illustrating a read operation of a control unit of the communication module according to an embodiment of the present invention. In the description of the present invention, the PNU [1000] is the address register 21, the PNU [1001] is the data register 22, the PNU [1002] is the command register 23, 24). However, the present invention is not limited thereto.

도 4를 참조로 하면, 제어부(30)는 주소 레지스터 PNU[1000](21)에 인버터(1)의 쓰기 동작을 수행할 레지스터의 주소를 저장하고(S41), 데이터 레지스터 PNU[1001](22)에 쓰기를 수행할 데이터를 저장할 수 있다(S42).4, the controller 30 stores the address of a register to be written into the address register PNU [1000] 21 in step S41, and the data register PNU [1001] 22 (Step S42).

이후 제어부(30)는, 상태 레지스터 PNU[1003](24)에 0을 저장할 수 있다(S43). 상태 레지스터 PNU[1003](24)에 '0'을 저장하는 것은, 이전 결과를 삭제하는 것을 의미할 수 있다. 다만, 본 발명이 이 숫자에 한정되는 것은 아니며, 다양한 수가 미리 설정될 수 있을 것이다. Thereafter, the control unit 30 can store 0 in the status register PNU [1003] 24 (S43). Storing a '0' in the status register PNU [1003] (24) may mean deleting the previous result. However, the present invention is not limited to this number, and various numbers may be set in advance.

커맨드 레지스터 PNU[1002](23)에 쓰기 명령을 저장할 수 있다(S44). 본 발명의 일실시예에서, 쓰기 명령에 해당하는 수는 '1'로 지정될 수 있으며, 다만, 본 발명이 이에 한정되는 것은 아니다. A write command can be stored in the command register PNU [1002] 23 (S44). In an embodiment of the present invention, the number corresponding to the write command may be designated as '1', but the present invention is not limited thereto.

이후 제어부(30)는 상태 레지스터 PNU[1003](24)에 인버터(1)의 제어부(도시되지 않음)로부터 수신한 완료 플래그(flag)가 저장되었는지 확인하여, 완료된 경우 종료하고, 완료되지 않은 경우 대기할 수 있다(S45). 완료 플래그는, '0' 이외의 값일 수 있으며, 시스템에 따라 다양한 수로 지정될 수 있다. 즉, 본 발명의 일실시예에서, 완료 플래그는 예를 들어 지정된 레지스터에 쓰기 작업이 성공적으로 수행된 경우 '1'로 지정될 수 있고, 쓰기 작업이 성공하지 못한 경우 '-1'로 지정될 수 있다. 다만, 이는 예시적인 것으로서 본 발명이 이에 한정되는 것은 아니다.Thereafter, the control unit 30 checks whether or not the completion flag received from the control unit (not shown) of the inverter 1 is stored in the status register PNU [1003] 24, (S45). The completion flag may be a value other than '0', and may be specified in various numbers depending on the system. That is, in one embodiment of the present invention, the completion flag may be set to '1' if the write operation is successfully performed in the designated register, or '-1' if the write operation is not successful . However, it should be understood that the present invention is not limited thereto.

인버터(1)의 레지스터(10) 중 제2레지스터에 인버터 파라미터 중 하나인 주파수 지령을 쓰기를 원하는 경우를 예를 들어 설명하기로 한다. A case where it is desired to write a frequency command which is one of the inverter parameters in the second register among the registers 10 of the inverter 1 will be described as an example.

제어부(30)는 상위 제어기기(도시되지 않음)로부터 제2레지스터에 저장할 주파수 지령을 수신한 경우, 주소 레지스터 PNU[1000](21)에 쓰기 동작을 수행할 제2레지스터의 주소를 저장하고, 데이터 레지스터 PNU[1001](22)에 쓰기를 수행할 지령 주파수를 저장할 수 있다.When receiving a frequency command to be stored in the second register from an upper level control device (not shown), the control unit 30 stores the address of the second register to be written into the address register PNU [1000] 21, The data register PNU [1001] (22) can store the command frequency for writing.

제어부(30)는, 상태 레지스터 PNU[1003](24)에 0을 저장하고, 커맨드 레지스터 PNU[1002](23)에 쓰기 명령에 해당하는 1을 수신하여 저장하면, 이에 의해 제어부(30)는 주소 및 데이터를 제1통신부(40)를 통해 인버터(1)로 전송할 수 있다. 이때, 주소 및 데이터는 소정 형식으로 전송될 수 있을 것이다.The control unit 30 stores 0 in the status register PNU [1003] 24 and receives and stores 1 corresponding to the write command in the command register PNU [1002] 23, whereby the control unit 30 Address and data to the inverter (1) through the first communication unit (40). At this time, the address and the data may be transmitted in a predetermined format.

이후, 상태 레지스터 PNU[1003](24)에 인버터(1)의 제어부(도시되지 않음)로부터 수신한, 성공 또는 실패를 나타내는 완료 플래그가 저장되는 경우, 쓰기 동작을 종료할 수 있다. Thereafter, when the completion flag indicating success or failure received from the control unit (not shown) of the inverter 1 is stored in the status register PNU [1003] 24, the write operation can be terminated.

한편, 도 5를 참조로 하면, 제어부(30)는 주소 레지스터 PNU[1000](21)에 인버터(1)의 읽기 동작을 수행할 레지스터의 주소를 저장하고(S51), 상태 레지스터 PNU[1003](24)에 0을 지정하여, 이전 저장된 결과를 삭제할 수 있다(S52). 5, the control unit 30 stores the address of a register to perform the read operation of the inverter 1 in the address register PNU [1000] 21 (S51), and the state register PNU [1003] 0 " may be assigned to the entry 24 to delete the previously stored result (S52).

이후, 제어부(30)는 커맨드 레지스터 PNU[1002](23)에 읽기 명령을 저장할 수 있다(S43). 본 발명의 일실시예에서, 읽기 명령에 해당하는 수는 '2'를 예를 들어 설명하고 있으나, 본 발명이 이에 한정되는 것은 아니다. Thereafter, the control unit 30 can store the read command in the command register PNU [1002] 23 (S43). In an embodiment of the present invention, the number corresponding to the read command is '2', but the present invention is not limited thereto.

제어부(30)는 상태 레지스터 PNU[1003](24)에 인버터(1)의 제어부(도시되지 않음)로부터 수신한 읽기의 성공 또는 실패를 나타내는 완료 플래그(0 이외의 값)가 있는지 확인하여, 완료되지 않은 경우 대기하고, 완료된 경우 데이터 레지스터 PNU[1001](22)에 저장된 값을 읽을 수 있다.The control unit 30 checks whether or not there is a completion flag (a value other than 0) indicating the success or failure of reading received from the control unit (not shown) of the inverter 1 in the status register PNU [1003] If not, it can wait and read the value stored in data register PNU [1001] (22) when it is completed.

인버터(1)의 레지스터(10) 중 제1레지스터에 저장된 인버터 슬립 주파수를 읽기를 원하는 경우를 예를 들어 설명하기로 한다. A case where it is desired to read the inverter slip frequency stored in the first register among the registers 10 of the inverter 1 will be described as an example.

제어부(30)는 상위 제어기기(도시되지 않음)로부터 제1레지스터에 저장된 인버터(1)의 슬립 주파수를 읽기 명령을 수신한 경우, 주소 레지스터 PNU[1000](21)에 읽기 동작을 수행할 레지스터의 주소를 저장하고, 상태 레지스터 PNU[1003](24)에 0을 지정할 수 있다. When the control unit 30 receives a read command for reading the slip frequency of the inverter 1 stored in the first register from an upper level control device (not shown), the control unit 30 sets a register , And 0 can be assigned to the status register PNU [1003] (24).

이후 제어부(30)는 커맨드 레지스터 PNU[1002](23)에 읽기 명령에 해당하는 수인 2를 상위 제어기기(도시되지 않음)로부터 수신하여 저장하면, 인버터(1)로부터 해당 레지스터의 데이터를 수신하여 데이터 레지스터 PNU[1001](22)에 저장하고, 상태 레지스터 PNU[1003](24)에 인버터(1)로부터 수신한 완료 플래그(0 이외의 값)가 있는지 확인하여, 완료되지 않은 경우 대기하고, 완료된 경우 데이터 레지스터 PNU[1001](22)에 저장된 슬립 주파수를 읽을 수 있다. 제어부(30)는 데이터 레지스터(22)에 저장된 인버터(1)의 데이터를 상위 제어기기로 제2통신부(50)를 통해 전송할 수 있을 것이다.Thereafter, the control unit 30 receives the data corresponding to the read command in the command register PNU [1002] (23) from the host controller (not shown) and stores the data in the register from the inverter 1 It is stored in the data register PNU [1001] 22 and the status register PNU [1003] 24 is checked to see if there is a completion flag (a value other than 0) received from the inverter 1, When completed, the sleep frequency stored in the data register PNU [1001] 22 can be read. The control unit 30 may transmit the data of the inverter 1 stored in the data register 22 to the host control unit through the second communication unit 50. [

이와 같이, 본 발명의 일실시예의 통신모듈은, 커맨트 레지스터(23)에 커맨드가 저장되면, 주소 레지스터(21)의 주소 및 데이터 레지스터(22)의 데이터를 이용하여 커맨드 레지스터(23)에 지시된 명령에 따라, 인버터(1)에 데이터를 전송하면, 인버터(1)의 제어부(도시되지 않음)가 해당 레지스터(10)에 접근하여 읽기 또는 쓰기 동작을 수행하고, 해당 동작의 결과를 통신모듈(2)로 전송하면, 그 결과를 상태 레지스터(24)에 지정할 수 있다. As described above, in the communication module of the embodiment of the present invention, when the command is stored in the command register 23, the communication module instructs the command register 23 using the address of the address register 21 and the data of the data register 22 A control unit (not shown) of the inverter 1 accesses the register 10 to perform a read or a write operation and sends the result of the operation to the communication module (not shown) 2), the result can be assigned to the status register 24.

이와 같은 본 발명의 일실시예의 통신모듈에 의하면, 장착되는 인버터가 변경되는 경우에도, 주소의 매핑을 번복하지 않고 인버터의 레지스터에 접근이 가능하다. According to the communication module of the embodiment of the present invention, even when the mounted inverter is changed, it is possible to access the register of the inverter without reversing the mapping of addresses.

이상에서 본 발명에 따른 실시예들이 설명되었으나, 이는 예시적인 것에 불과하며, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 범위의 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 다음의 특허청구범위에 의해서 정해져야 할 것이다.While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined by the appended claims. Accordingly, the true scope of the present invention should be determined by the following claims.

1: 인버터 2: 통신모듈
10: 레지스터 21: 주소 레지스터
22: 데이터 레지스터 23: 커맨드 레지스터
24: 상태 레지스터 30: 제어부
40, 50: 통신부
1: Inverter 2: Communication module
10: Register 21: Address register
22: Data register 23: Command register
24: status register 30:
40, 50:

Claims (9)

복수의 인버터 레지스터 중 어느 하나의 레지스터에 데이터를 쓰기 위한 인버터의 통신모듈에 있어서,
쓰기를 수행할 상기 어느 하나의 인버터 레지스터의 주소를 저장하는 제1레지스터;
쓰기를 수행할 데이터를 저장하는 제2레지스터;
쓰기에 대한 커맨드를 저장하는 제3레지스터;
쓰기의 결과인 상기 제1레지스터 내지 제3레지스터 중 어느 하나의 상태를 저장하는 제4레지스터; 및
상기 제1레지스터에 상기 쓰기를 수행할 인버터 레지스터의 주소를 저장하고, 상기 제2레지스터에 상기 쓰기를 수행할 데이터를 저장하고, 상기 제4레지스터에 이전 결과를 삭제하는 상태 메시지를 저장하고, 상기 제3레지스터에 저장된 커맨드에 따라 상기 주소 및 데이터를 상기 인버터에 전송하고, 상기 인버터로부터 수신한 동작결과에 따라, 상기 제4레지스터에 저장될 성공 또는 실패에 대한 상태를 나타내는 플래그를 지정하는 제어부를 포함하는 통신모듈.
A communication module of an inverter for writing data into a register of any one of a plurality of inverter registers,
A first register for storing an address of one of the inverter registers to be written;
A second register for storing data to be written;
A third register for storing a command for writing;
A fourth register for storing a state of any one of the first register to the third register as a result of writing; And
Storing an address of an inverter register to perform the write in the first register, storing data to be written in the second register, and storing a status message in the fourth register to delete the previous result, A control unit for transmitting the address and data to the inverter according to a command stored in a third register and designating a flag indicating a state of success or failure to be stored in the fourth register according to an operation result received from the inverter Comprising a communication module.
삭제delete 삭제delete 삭제delete 복수의 인버터 레지스터 중 어느 하나의 인버터 레지스터에 저장된 데이터를 읽기 위한 인버터의 통신모듈에 있어서,
읽기를 수행할 상기 어느 하나의 인버터 레지스터의 주소를 저장하는 제1레지스터;
읽기를 수행한 데이터를 저장하는 제2레지스터;
읽기에 대한 커맨드를 저장하는 제3레지스터;
읽기의 결과인 상기 제1 내지 제3레지스터 중 하나의 상태를 저장하는 제4레지스터; 및
상기 제1레지스터에 상기 읽기를 수행할 상기 어느 하나의 인버터 레지스터의 주소를 저장하고, 상기 제4레지스터에 이전 결과를 삭제하는 상태 메시지를 저장하고, 상기 제3레지스터에 저장되는 커맨드에 따라 상기 주소를 상기 인버터에 전송하고, 상기 인버터로부터 수신한 동작결과에 따라, 상기 제4레지스터에 저장될 성공 또는 실패에 대한 상태를 나타내는 플래그를 지정하는 제어부를 포함하는 통신모듈.
A communication module of an inverter for reading data stored in an inverter register of any one of a plurality of inverter registers,
A first register for storing an address of any one of the inverter registers to be read;
A second register for storing the read data;
A third register for storing a command for reading;
A fourth register for storing a state of one of the first to third registers as a result of reading; And
A status register for storing an address of one of the inverter registers to perform the reading in the first register and a status message for deleting the previous result in the fourth register; To the inverter and designates a flag indicating a status of success or failure to be stored in the fourth register according to an operation result received from the inverter.
삭제delete 삭제delete 삭제delete 제5항에 있어서, 상기 제어부는,
상기 인버터로부터 상기 주소에 대응하는 데이터를 수신한 경우, 상기 제2레지스터에 수신한 데이터를 저장하는 통신모듈.
6. The apparatus of claim 5,
And stores data received in the second register when data corresponding to the address is received from the inverter.
KR1020160025672A 2016-03-03 2016-03-03 Communication module in inverter Active KR101810196B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160025672A KR101810196B1 (en) 2016-03-03 2016-03-03 Communication module in inverter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160025672A KR101810196B1 (en) 2016-03-03 2016-03-03 Communication module in inverter

Publications (2)

Publication Number Publication Date
KR20170103206A KR20170103206A (en) 2017-09-13
KR101810196B1 true KR101810196B1 (en) 2017-12-18

Family

ID=59967611

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160025672A Active KR101810196B1 (en) 2016-03-03 2016-03-03 Communication module in inverter

Country Status (1)

Country Link
KR (1) KR101810196B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102848817B1 (en) 2018-11-08 2025-08-20 삼성전자주식회사 backlight unit and holographic display apparatus including the same

Also Published As

Publication number Publication date
KR20170103206A (en) 2017-09-13

Similar Documents

Publication Publication Date Title
KR970076287A (en) Printer communication system and method
CN101405666A (en) Method and control and data transmission system for verifying the installation location of a secure communications component
US10216664B2 (en) Remote resource access method and switching device
WO2018164107A1 (en) Management device, relay device, field wireless system, setting method, program, and recording medium
EP1701271A1 (en) Electronic apparatus system with master node and slave node
CN212486527U (en) Slave station conversion device based on MODBUS protocol
KR101810196B1 (en) Communication module in inverter
WO2012056537A1 (en) Programmable controller
CN113961496A (en) Communication circuit system, method, chip and storage medium
US11973652B2 (en) Field detection device for a fieldbus network
US7443886B1 (en) Communication protocol system and method
US12085904B2 (en) Engineering device, engineering method, and information storage medium
CN114095303B (en) Communication device, data transmission method and electronic device
JP2021027435A (en) Network control device, image forming apparatus, method for controlling network control device, and program for controlling network control device
US8554966B2 (en) Method for data exchange
US8126008B2 (en) Communication system and communication apparatus
CN114500145B (en) Data communication system, method, terminal equipment and medium of driving and controlling integrated controller
KR102244297B1 (en) Plc analog module with hart pass-through interface
JP3870890B2 (en) Operation board, remote I/O communication control method
JP2003058257A (en) Temperature controller
KR20110052271A (en) Protocol interface device, system and method using text file
KR100584583B1 (en) Serial bus control device and method
CN111800435A (en) Motion controller and communication method of motion controller and equipment
KR100705162B1 (en) Recognition method of controlled devices in multiple control system
KR101876636B1 (en) Apparatus and Method for transmitting/receiving message

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

D13-X000 Search requested

St.27 status event code: A-1-2-D10-D13-srh-X000

D14-X000 Search report completed

St.27 status event code: A-1-2-D10-D14-srh-X000

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

AMND Amendment
E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

E601 Decision to refuse application
PE0601 Decision on rejection of patent

St.27 status event code: N-2-6-B10-B15-exm-PE0601

AMND Amendment
E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

PX0901 Re-examination

St.27 status event code: A-2-3-E10-E12-rex-PX0901

PX0701 Decision of registration after re-examination

St.27 status event code: A-3-4-F10-F13-rex-PX0701

X701 Decision to grant (after re-examination)
GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

R17-X000 Change to representative recorded

St.27 status event code: A-5-5-R10-R17-oth-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9