KR101032245B1 - Apparatus and method for downloading os data - Google Patents

Apparatus and method for downloading os data Download PDF

Info

Publication number
KR101032245B1
KR101032245B1 KR1020100026867A KR20100026867A KR101032245B1 KR 101032245 B1 KR101032245 B1 KR 101032245B1 KR 1020100026867 A KR1020100026867 A KR 1020100026867A KR 20100026867 A KR20100026867 A KR 20100026867A KR 101032245 B1 KR101032245 B1 KR 101032245B1
Authority
KR
South Korea
Prior art keywords
data
module
plc
information
downloading
Prior art date
Application number
KR1020100026867A
Other languages
Korean (ko)
Inventor
윤종호
Original Assignee
엘에스산전 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘에스산전 주식회사 filed Critical 엘에스산전 주식회사
Priority to KR1020100026867A priority Critical patent/KR101032245B1/en
Application granted granted Critical
Publication of KR101032245B1 publication Critical patent/KR101032245B1/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
    • 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/14018IN, plc and comparator, error detector, backup, standby plc, switch, update OUT
    • 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/15Plc structure of the system
    • G05B2219/15011Configuration of operating system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE: An apparatus and a method for downloading OS data are provided to safely download the OS data by transmitting the OS data to a PLC module through identity information. CONSTITUTION: In an apparatus and a method for downloading OS data, a PLC(20) transmits the list information of a mounted module to a user terminal. The user terminal(10) receives the list information of the module. The user terminal detects whether the list information of the module is valid or not by reading the ID of the stored OS data. A downloadable module is extracted by comparing the valid OS data module with the list information. The OS data of a downloadable module is transmitted to the CPU module of the PLC.

Description

OS 데이터의 다운로드 장치 및 방법{Apparatus and method for downloading OS data}Apparatus and method for downloading OS data

본 발명은 OS 데이터의 다운로드 장치 및 방법에 관한 것으로, 보다 상세하게는 PLC 상에 마련된 각 모듈에 OS 데이터를 다운로드하는 OS 데이터의 다운로드 장치 및 방법에 관한 것이다.
The present invention relates to an apparatus and method for downloading OS data, and more particularly, to an apparatus and method for downloading OS data for downloading OS data to each module provided on a PLC.

산업 현장에서 공장 설비의 자동화 등 여러 분야에서 적용되고 있는 피엘씨(Programmable Logic Controller : PLC)는 중앙처리장치를 포함하는 CPU 모듈, 센서나 스위치로부터 신호를 입력받는 입력 모듈, 제어 대상인 모터나 밸브에 제어신호를 전달하는 출력 모듈, 고속 카운터, 통신 모듈, PID 제어 모듈, 위치 결정 모듈 및 CPU 모듈과 각 모듈 간의 데이터 통신을 담당하는 베이스의 조합으로 구성된다. Programmable Logic Controller (PLC), which is applied in various fields such as automation of factory equipment in industrial field, is applied to CPU module including central processing unit, input module that receives signal from sensor or switch, and motor or valve to be controlled. It consists of a combination of an output module, a high-speed counter, a communication module, a PID control module, a positioning module, and a CPU module that transfers control signals, and a base that is responsible for data communication between each module.

상기 피엘씨를 구성하고 있는 CPU 모듈과 그 외의 모듈들은 사용자 단말기의 OS 다운로드 툴(tool)에서 생성된 OS(Operating System) 데이터를 다운로드하여 OS를 실행함으로써 각자 담당하는 기능을 수행하였다.The CPU module and other modules constituting the PLC perform their respective functions by downloading operating system (OS) data generated by an OS download tool of the user terminal and executing the OS.

한편, 사용자 단말기에서는 이러한 각 모듈들의 OS 데이터를 관리하기 위해 OS 데이터의 파일명을 구분하여 저장하거나 별도의 설정 파일을 작성하여 OS 데이터 및 이에 대한 버전을 관리하였다.Meanwhile, in order to manage OS data of each of these modules, the user terminal manages OS data and its version by dividing and storing file names of OS data or by creating a separate configuration file.

그러나, 종래에는 OS 데이터의 파일명이 수정되거나 설정 파일이 수정될 경우, OS 데이터의 버전 및 OS 데이터가 다운로드될 모듈의 정보를 잃어버릴 수 있기 때문에 OS 데이터가 훼손될 수 있는 가능성이 존재하였다.However, conventionally, when the file name of the OS data is modified or the configuration file is modified, there is a possibility that the OS data may be damaged because the version of the OS data and the information of the module to which the OS data is to be downloaded may be lost.

특히, 모듈의 내부 프로세서가 같을 경우, 다른 모듈의 OS 데이터가 다운로드될 수 있는 위험성이 존재하였다.In particular, there was a risk that the OS data of other modules could be downloaded if the internal processors of the modules were the same.

또한, 다양한 형상의 다운로드용 통신포트로 인해 다양한 형태의 다운로드 케이블이 필요하였기 때문에 OS 데이터의 다운로드 시 번거롭고 많은 시간이 소요되는 문제점이 있었다.
In addition, since various types of download cables are required due to various types of communication ports for downloading, there is a problem that it takes a lot of time and time when downloading OS data.

본 발명의 사상은 OS 데이터에 삽입된 고유 정보를 이용하여 PLC의 각 모듈로 해당 OS 데이터를 용이하게 전달하여 다운로드할 수 있는 OS 데이터의 다운로드 장치 및 방법을 제공함에 있다.
It is an object of the present invention to provide an apparatus and method for downloading OS data that can easily download and transfer corresponding OS data to each module of a PLC by using unique information inserted in the OS data.

이를 위해 본 발명의 일실시예에 의한 OS 데이터의 다운로드 방법은 PLC의 모듈에 OS 데이터를 다운로드하는 방법에 있어서, PLC에서는 PLC에 장착된 모듈의 리스트 정보를 사용자 단말기로 전송하는 전송단계와, 사용자 단말기에서는 모듈의 리스트 정보를 수신하고, 기 저장된 OS 데이터의 고유 정보를 읽어 유효한 OS 데이터인지 검출하는 유효성 검출단계와, 유효한 OS 데이터의 모듈 정보와 모듈의 리스트 정보를 비교하여 다운로드 가능한 모듈을 검출하는 모듈 검출단계와, 다운로드 가능한 모듈의 OS 데이터를 PLC의 CPU 모듈로 전송하고, CPU모듈에서는 각 모듈로 OS 데이터를 전달하여 OS 데이터를 다운로드하는 다운로드단계를 포함한다.To this end, the OS data download method according to an embodiment of the present invention is a method for downloading OS data to a module of a PLC, the PLC transmitting a list information of the module mounted on the PLC to the user terminal and the user, The terminal receives the list information of the module, reads the unique information of the pre-stored OS data and detects whether it is valid OS data, and compares the module information of the valid OS data with the list information of the module to detect the downloadable module. The module detecting step includes a download step of transmitting OS data of the downloadable module to the CPU module of the PLC, and the CPU module transferring OS data to each module to download the OS data.

여기서, OS 데이터의 고유 정보는 모듈의 종류, OS 데이터의 버전, 데이터의 종류, 모듈의 OS 설명 정보 중 적어도 하나를 포함한다.Here, the unique information of the OS data includes at least one of a type of module, a version of OS data, a type of data, and OS description information of the module.

또한, 다운로드단계는 다운로드 가능한 모듈의 OS 데이터를 CPU 모듈로 전송하고, CPU 모듈에서는 OS 데이터를 수신하여 저장하고, 저장된 OS 데이터를 PLC에 장착된 베이스로 전달하고, 베이스에서는 각 모듈로 OS 데이터를 전달하여 각 모듈에서 OS 데이터를 다운로드하게 한다.In addition, the download step transfers the OS data of the downloadable module to the CPU module, the CPU module receives and stores the OS data, transfers the stored OS data to the base mounted in the PLC, and transfers the OS data to each module in the base. To download the OS data from each module.

그리고, 유효성 검출단계는 OS 데이터에 고유 정보가 삽입되어 있는지의 여부로 유효한 OS 데이터인지를 검출한다.The validity detecting step detects whether valid OS data is inserted into the OS data.

게다가, 사용자 단말기에서는 PLC의 모듈에 상응하는 OS 데이터를 생성하는 생성단계와, OS 데이터를 생성하는 과정에서 OS 데이터의 헤더에 고유 정보를 삽입하여 저장하는 저장단계를 더 포함한다.In addition, the user terminal further includes a generation step of generating OS data corresponding to the module of the PLC and a storage step of inserting and storing unique information in the header of the OS data in the process of generating the OS data.

덧붙여, 다운로드 가능한 모듈을 검출한 후, 다운로드 가능한 모듈의 리스트를 표시하는 표시단계와, 다운로드하고자 하는 모듈의 정보를 입력받는 입력단계와, 입력된 모듈의 정보에 상응하는 OS 데이터를 CPU 모듈로 전송하는 전송단계를 더 포함한다.In addition, after detecting a downloadable module, a display step of displaying a list of downloadable modules, an input step of receiving information of a module to be downloaded, and OS data corresponding to the input module information are transmitted to the CPU module. It further comprises a transmission step.

이를 위해 본 발명의 일실시예에 의한 OS 데이터의 다운로드 장치는 PLC의 모듈에 OS 데이터를 다운로드하는 장치에 있어서, 기 저장된 OS 데이터의 고유 정보를 읽어 유효한 OS 데이터인지 검출하고, 유효한 OS 데이터의 모듈 정보와 PLC에 장착된 모듈의 리스트 정보를 비교하여 다운로드 가능한 모듈을 검출하고, 다운로드 가능한 모듈의 OS 데이터를 PLC로 전송하는 사용자 단말기와, OS 데이터를 CPU 모듈에서 수신하여 각 모듈로 전달하고, 각 모듈에서 OS 데이터를 다운로드하게 하는 PLC를 포함한다.To this end, the OS data download apparatus according to an embodiment of the present invention is a device for downloading OS data to a module of a PLC, and detects whether the OS data is valid by reading the unique information of the pre-stored OS data, and the module of the valid OS data. Compares the information with the list information of the modules installed in the PLC, detects the downloadable module, transfers the OS data of the downloadable module to the PLC, and receives the OS data from the CPU module and delivers the data to each module. Contains a PLC that allows the module to download OS data.

여기서, CPU 모듈은 OS 데이터를 수신하여 저장하고, 저장된 OS 데이터를 PLC에 장착된 베이스로 전달하고, 베이스는 각 모듈로 OS 데이터를 전달하여 각 모듈에서 OS 데이터를 다운로드하게 한다.Here, the CPU module receives and stores OS data, transfers the stored OS data to a base mounted in a PLC, and the base transfers OS data to each module to download OS data from each module.

그리고, 사용자 단말기는 PLC의 모듈에 상응하는 OS 데이터를 생성하고, OS 데이터를 생성하는 과정에서 OS 데이터의 헤더에 고유 정보를 삽입하여 저장한다.
The user terminal generates OS data corresponding to the module of the PLC, and inserts and stores unique information in the header of the OS data in the process of generating the OS data.

상술한 바와 같이 본 발명의 일실시예에 의한 OS 데이터의 다운로드 장치 및 방법에 따르면, OS 데이터의 생성 시 OS 데이터에 고유 정보를 삽입하고, 삽입된 고유 정보를 이용하여 PLC의 각 모듈로 OS 데이터를 잘 전달함으로써 해당 모듈에서 OS 데이터를 안전하게 다운로드할 수 있게 된다.As described above, according to the apparatus and method for downloading OS data according to an embodiment of the present invention, when generating OS data, unique information is inserted into the OS data, and OS data is transmitted to each module of the PLC using the inserted unique information. By passing in, you can safely download OS data from the module.

또한, CPU에 저장된 다양한 모듈의 OS 데이터를 베이스를 통해 각 모듈로 전달함으로써 하나의 통신포트를 통해 다양한 모듈의 OS 데이터를 용이하게 전달할 수 있는 장점이 있다.
In addition, the OS data of the various modules stored in the CPU to each module through the base has the advantage that can easily transfer the OS data of the various modules through a single communication port.

도 1은 본 발명의 일실시예에 의한 사용자 단말기 및 PLC를 포함하는 OS 데이터 다운로드 장치의 제어 블록도이다.
도 2는 본 발명의 일실시예에 의한 OS 데이터를 다운로드하는 과정을 보여주는 동작 흐름도이다.
1 is a control block diagram of an OS data download apparatus including a user terminal and a PLC according to an embodiment of the present invention.
2 is a flowchart illustrating a process of downloading OS data according to an embodiment of the present invention.

도 1은 본 발명의 일실시예에 의한 사용자 단말기 및 PLC를 포함하는 OS 데이터 다운로드 장치의 제어 블록도를 나타낸다.1 is a control block diagram of an OS data download apparatus including a user terminal and a PLC according to an embodiment of the present invention.

도 1에 도시한 바와 같이, OS 데이터 다운로드 장치(1)은 사용자 단말기(10) 및 PLC(20)를 포함하여 구성된다.As shown in FIG. 1, the OS data download apparatus 1 includes a user terminal 10 and a PLC 20.

사용자 단말기(10)는 복수의 OS(Operating System) 데이터를 PLC(Programmable Logic Controller)의 각 모듈에 다운로드할 수 있도록 OS 데이터를 생성하여 PLC(20)에 전달하는 수단으로서, 제어부(12), 통신부(14) 및 저장부(16)를 포함한다.The user terminal 10 is a means for generating and transmitting OS data to the PLC 20 so as to download a plurality of operating system (OS) data to each module of a programmable logic controller (PLC). The control unit 12 and the communication unit 14 and the storage 16.

이러한 사용자 단말기(10)는 PC(Personal Computer), 노트북, PDA(Personal Digital Assistants) 등의 다양한 전자장치가 될 수 있다.The user terminal 10 may be various electronic devices such as a personal computer (PC), a notebook computer, and a personal digital assistant (PDA).

제어부(12)는 사용자 단말기(10)를 전반적으로 제어하는 마이컴으로서, OS 데이터 생성부(12a) 및 OS 데이터 다운로드부(12b)를 포함하여 구성된다.The control unit 12 is a microcomputer that controls the user terminal 10 as a whole, and includes an OS data generation unit 12a and an OS data download unit 12b.

OS 데이터 생성부(12a)는 OS 데이터를 생성하여 사용자 단말기(10)의 저장부(16)에 파일 형식으로 저장하는 수단으로서, OS 데이터의 생성 시 OS 데이터에 고유 정보를 삽입하여 저장한다.The OS data generation unit 12a is a means for generating OS data and storing the OS data in a file format in the storage unit 16 of the user terminal 10. The OS data generation unit 12a inserts and stores unique information in the OS data when generating the OS data.

보다 구체적으로 설명하면, OS 데이터 생성부(12a)는 컴파일 및 링크 과정을 거쳐 OS 데이터를 CPU에서 읽을 수 있는 코드로 변환하고, 이와 함께 OS 데이터의 헤더부에 고유 정보를 삽입하여 저장한다.In more detail, the OS data generation unit 12a converts the OS data into code readable by the CPU through a compilation and linking process, and inserts and stores unique information in the header portion of the OS data.

여기서, 고유 정보는 모듈의 종류, OS 데이터의 버전, 데이터의 종류(OS 데이터인지 OS 데이터의 매핑 정보인지), 모듈의 OS 설명 정보 중 적어도 하나를 포함한다. Here, the unique information includes at least one of a type of module, a version of OS data, a type of data (whether it is OS data or OS data mapping information), and OS description information of the module.

OS 데이터 다운로드부(12b)는 PLC(20)로부터 전송된 모듈의 리스트 정보를 수신한다.The OS data download unit 12b receives list information of the module transmitted from the PLC 20.

여기서, 모듈의 리스트 정보란 현재 PLC(20)의 베이스(24) 상에 장착되어 있는 모듈에 대한 리스트 정보를 말한다. Here, the list information of the module refers to list information on the module currently mounted on the base 24 of the PLC 20.

그리고, OS 데이터 다운로드부(12b)는 OS 데이터의 고유 정보를 읽어 OS 데이터의 유효성을 검사하고, OS 데이터가 유효한 것으로 판단되면, 수신된 모듈의 리스트 정보와 유효성이 존재하는 모듈의 정보를 비교하여 다운로드 가능한 모듈을 검출한다.The OS data download unit 12b reads the unique information of the OS data and checks the validity of the OS data. When the OS data is determined to be valid, the OS data download unit 12b compares the list information of the received module with the information of the module having validity. Detect downloadable modules.

상세하게 설명하면, OS 데이터 다운로드부(12b)는 OS 데이터 파일이 로드된 후, OS 데이터에 삽입된 고유 정보를 읽어 OS 데이터 파일에 유효성이 있는지 판단하는데, 이때, OS 데이터에 고유 정보가 존재하지 않는 경우에는 유효하지 않은 OS 데이터 파일로 판단하여 다운로드가 불가능하게 한다. In detail, the OS data download unit 12b reads the unique information inserted into the OS data after the OS data file is loaded, and determines whether the OS data file is valid. In this case, the unique information does not exist in the OS data. If not, it is determined to be an invalid OS data file and the download is impossible.

만약, OS 데이터 파일이 유효한 것으로 판단되면, OS 데이터 다운로드부(12b)는 OS 데이터에 삽입된 고유 정보 중에서 모듈의 종류를 검사하고, 수신된 모듈의 리스트 정보와 비교하여 현재 다운로드 가능한 모듈의 리스트를 검출하고, 제어부(12)를 통해 현재 다운로드 가능한 모듈의 리스트를 사용자 단말기(10)의 표시부(18) 상에 선택 가능하게 표시한다.If it is determined that the OS data file is valid, the OS data download unit 12b checks the type of the module among the unique information inserted in the OS data, and compares the list of the currently downloadable modules with the list information of the received module. The control unit 12 selects and displays a list of modules currently downloadable on the display unit 18 of the user terminal 10.

다운로드하고자 하는 모듈 정보가 선택 입력되면, 제어부(12)는 입력된 모듈 정보에 따른 OS 데이터를 통신부(14)의 통신포트(14a)를 통해 PLC(20)로 전송되도록 제어한다.When the module information to be downloaded is selected and input, the control unit 12 controls the OS data according to the input module information to be transmitted to the PLC 20 through the communication port 14a of the communication unit 14.

통신부(14)는 PLC(20)와 데이터 통신하는 수단으로서, 본 발명의 일실시예에서는 단일한 형상의 통신포트(14a)를 포함하여 구성된다.The communication unit 14 is a means for data communication with the PLC 20. In one embodiment of the present invention, the communication unit 14 includes a single communication port 14a.

이러한 통신부(14)는 단일한 형상의 통신포트(14a)를 통해 OS 데이터를 PLC(20)로 전송하거나 PLC(20)로부터 전달된 모듈의 리스트 정보를 수신하여 제어부(12)의 OS 데이터 다운로드부(12b)로 전달한다.The communication unit 14 transmits OS data to the PLC 20 through the communication port 14a having a single shape or receives list information of a module transmitted from the PLC 20 to download the OS data of the control unit 12. Deliver at 12b.

저장부(16)는 OS 데이터 생성부(12a)에서 생성된 OS 데이터 파일을 저장한다. 이러한 저장부(16)는 디램(Dynamic Random Access Memory: DRAM), 에스디램(Syncronous DRAM: SDRAM), 알디램(Rambus DRAM: RDRAM), 디디알램(Double data rate DRAM: DDRAM), 에스램(Static Random Access Memory: SRAM)과 같이 OS 데이터를 저장할 수 있는 저장매체이다.The storage unit 16 stores the OS data file generated by the OS data generation unit 12a. The storage unit 16 may include dynamic random access memory (DRAM), syncronous DRAM (SDRAM), rambus DRAM (RDRAM), double data rate DRAM (DDRAM), and static (SRAM). It is a storage medium that can store OS data such as Random Access Memory (SRAM).

입력부(17)는 다운로드 원하는 모듈의 정보를 제어부(12)의 OS 데이터 다운로드부(12b)에 입력한다. 이때, 입력부(17)는 사용자로부터 선택된 모듈의 정보를 입력하거나 사용자 단말기(10) 상에 미리 설정된 모듈의 정보를 입력할 수 있다.The input unit 17 inputs information of a module to be downloaded to the OS data download unit 12b of the controller 12. In this case, the input unit 17 may input information of a module selected from a user or input information of a module preset on the user terminal 10.

표시부(18)는 제어부(12)와 접속되며, 제어부(12)로부터의 표시 제어 신호에 따라 현재 다운로드 가능한 모듈의 리스트를 표시하는 수단으로, 예컨대 액정 표시 수단(Liquid Crystal Display)이나 발광 표시 소자(Light Emitting Device) 등으로 구성될 수 있다. The display unit 18 is connected to the control unit 12. The display unit 18 is a means for displaying a list of modules currently downloadable according to a display control signal from the control unit 12. For example, the liquid crystal display unit or the light emitting display element ( Light Emitting Device).

이하, 본 발명의 일실시예에 의한 PLC의 구성 요소에 대하여 상세히 설명하도록 한다.Hereinafter, the components of the PLC according to an embodiment of the present invention will be described in detail.

PLC(20)는 전원모듈 PLC 시스템 전체에 전원을 공급하는 전원 모듈(21)과, PLC 시스템 전체의 전반적인 제어 동작을 수행하는 CPU 모듈(22)과, CPU 모듈(22)에 마련된 통신포트(22a), 입력/출력 및 통신 등의 특수 기능을 담당하는 제1 내지 제N 모듈(23a~23n) 및 CPU 모듈(22)과 제1 내지 제N 모듈(23a~23n)들이 장착되어 CPU 모듈(22)과 각 모듈(23a~23n)들간의 데이터 통신을 담당하는 베이스(24)를 포함하여 구성된다.The PLC 20 includes a power module 21 for supplying power to the entire power module PLC system, a CPU module 22 for performing overall control operations of the entire PLC system, and a communication port 22a provided in the CPU module 22. ), The first to Nth modules 23a to 23n and the CPU modules 22 and the first to Nth modules 23a to 23n, which are in charge of special functions such as input / output and communication, are mounted. ) And a base 24 in charge of data communication between the modules 23a to 23n.

CPU 모듈(22)은 사용자 단말기(10)에서 전송된 OS 데이터를 CPU 모듈(22)의 저장수단(미도시)에 저장하고, OS 데이터가 다운로드될 모듈의 동작을 정지시키며 베이스(24)로 OS 데이터를 전달하여 베이스(24)로 하여금 각 모듈로 OS 데이터를 전달할 수 있도록 제어한다.The CPU module 22 stores the OS data transmitted from the user terminal 10 in a storage means (not shown) of the CPU module 22, stops the operation of the module to which the OS data is to be downloaded, and sends the OS to the base 24. The data is transferred to control the base 24 to deliver OS data to each module.

다시 말해, 베이스(24)는 도 1의 화살표에서 나타낸 바와 같이, CPU 모듈(22)로부터 복수의 OS 데이터를 전달받고, 각 모듈로 해당 OS 데이터를 전달한다.In other words, the base 24 receives a plurality of OS data from the CPU module 22 and delivers the corresponding OS data to each module, as indicated by the arrow of FIG. 1.

여기서, CPU 모듈(22)의 저장수단은 다른 모듈(23a~23n)과의 통신을 위해 사용되는 자체 버퍼 영역을 의미한다. Here, the storage means of the CPU module 22 means its own buffer area used for communication with the other modules 23a to 23n.

또한, CPU 모듈(22)의 통신포트(22a)는 사용자 단말기(10)의 통신포트(14a)와 대응되는 단일한 형상의 통신포트로 구성된다.In addition, the communication port 22a of the CPU module 22 is composed of a communication port of a single shape corresponding to the communication port 14a of the user terminal 10.

제1 내지 제N 모듈(23a~23n) 중에서 OS 데이터를 전달받은 모듈(일례로 23a)은 자신의 저장수단(미도시)에 OS 데이터를 저장하고, 모듈의 초기화 및 재기동 명령이 입력되면, 모듈의 초기화 및 재기동 명령에 따라 모듈을 초기화시키고 재기동한다.The module (for example, 23a) that receives OS data among the first to Nth modules 23a to 23n stores OS data in its storage means (not shown), and when an initialization and restart command of the module is input, the module Initialize and restart the module according to the initialization and restart command.

그리고, 모듈(일례로 23a)은 OS 데이터를 다운로드하여 OS를 실행한다.The module (23a, for example) downloads OS data and executes the OS.

하기에서는 본 발명의 일실시예에 의한 OS 데이터를 다운로드하는 과정을 설명하도록 한다.Hereinafter, a process of downloading OS data according to an embodiment of the present invention will be described.

도 2는 본 발명의 일실시예에 의한 OS 데이터를 다운로드하는 과정을 보여주는 동작 흐름도를 나타낸다.2 is an operation flowchart showing a process of downloading OS data according to an embodiment of the present invention.

도 2를 참조하면, PLC(20)에서 PLC(20)에 장착된 모듈의 리스트 정보를 사용자 단말기(10)로 전송(S200)하면, 사용자 단말기(10) 즉, OS 데이터 다운로드부(12a)에서는 모듈의 리스트 정보를 수신한다(S201). Referring to FIG. 2, when the PLC 20 transmits list information of a module mounted on the PLC 20 to the user terminal 10 (S200), the user terminal 10, that is, the OS data download unit 12a may transmit the list information. The list information of the module is received (S201).

그리고, OS 데이터 다운로드부(12a)에서는 OS 데이터에 삽입된 고유 정보를 읽어(S202) OS 데이터가 유효한지 판단한다(S203).The OS data download unit 12a reads the unique information inserted in the OS data (S202) and determines whether the OS data is valid (S203).

203단계에서의 판단결과, OS 데이터에 유효성이 검출되면(203단계의 '예'), 201단계에서 수신된 모듈의 리스트 정보와 유효성이 존재하는 OS 데이터의 모듈 정보를 비교하여 현재 다운로드 가능한 모듈의 리스트를 검출(S204)하고, 검출된 모듈의 리스트를 표시부(18)로 표시한다(S205).As a result of the determination in step 203, if validity is detected in the OS data (YES in step 203), the list information of the module received in step 201 is compared with the module information of the OS data having validity, and thus, The list is detected (S204), and the list of detected modules is displayed on the display unit 18 (S205).

입력부(17)로 입력되는 신호를 통해 다운로드하고자 하는 모듈이 선택되었는지 판단(S206)하여 다운로드하고자 하는 모듈이 선택되면(206단계의 '예'), 선택된 모듈의 OS 데이터를 PLC(20)의 CPU 모듈(22)로 전송한다(S207). If the module to be downloaded is selected through the signal input to the input unit 17 (S206) and the module to be downloaded is selected (YES in step 206), the OS data of the selected module is transferred to the CPU of the PLC 20. The module 22 transmits to the module 22 (S207).

207단계를 수행한 후, OS 데이터를 전송받은 CPU 모듈(22)에서는 OS 데이터를 임시 저장(S208)하고, 임시 저장된 데이터를 베이스(24)를 통해 각 모듈로 전달(S209)하면, 각 모듈에서는 OS 데이터를 실행하여 다운로드된 OS로 모듈이 동작하게 한다(S210).After performing step 207, the CPU module 22 having received OS data temporarily stores OS data (S208), and transfers the temporarily stored data to each module through the base 24 (S209). The module is operated by the downloaded OS by executing OS data (S210).

한편, 203단계에서 OS 데이터가 유효하지 않으면(203단계의 '아니오'), 유효하지 않은 OS 데이터로 판단되어 다운로드가 불가능하게 된다(S211).
On the other hand, if the OS data is not valid in step 203 (No in step 203), it is determined that the OS data is not valid (S211).

1...OS 데이터 다운로드 장치 10...사용자 단말기
12...제어부 12a...OS 데이터 생성부
12b...OS 데이터 다운로드부 14...통신부
14a...통신포트 20...PLC
22...CPU 모듈 22a...통신포트
23a~23n...제1 모듈 내지 제N 모듈 24...베이스
1 ... OS data download device 10 ... User terminal
12 ... control unit 12a ... OS data generator
12b ... OS data download section 14 ... Communication section
14a ... Communication port 20 ... PLC
22 ... CPU module 22a ... Communication port
23a to 23n ... 1st module to Nth module 24 ... base

Claims (9)

PLC의 모듈에 OS 데이터를 다운로드하는 방법에 있어서,
상기 PLC에서는 상기 PLC에 장착된 모듈의 리스트 정보를 사용자 단말기로 전송하는 전송단계;
상기 사용자 단말기에서는 상기 모듈의 리스트 정보를 수신하고, 기저장된 OS 데이터의 고유 정보를 읽어 유효한 OS 데이터인지 검출하는 유효성 검출단계;
상기 유효한 OS 데이터의 모듈 정보와 상기 모듈의 리스트 정보를 비교하여 다운로드 가능한 모듈을 검출하는 모듈 검출단계;
상기 다운로드 가능한 모듈의 OS 데이터를 상기 PLC의 CPU 모듈로 전송하고, 상기 CPU모듈에서는 각 모듈로 OS 데이터를 전달하여 상기 OS 데이터를 다운로드하는 다운로드단계를 포함하는 OS 데이터의 다운로드 방법.
In the method of downloading OS data to a module of a PLC,
A transmission step of transmitting, by the PLC, list information of modules mounted in the PLC to a user terminal;
A validity detection step of receiving, by the user terminal, list information of the module, reading unique information of pre-stored OS data, and detecting whether valid OS data is present;
A module detection step of detecting a downloadable module by comparing the module information of the valid OS data with the list information of the module;
And downloading the OS data of the downloadable module to the CPU module of the PLC, wherein the CPU module downloads the OS data by transferring OS data to each module.
제 1 항에 있어서, 상기 OS 데이터의 고유 정보는,
모듈의 종류, OS 데이터의 버전, 데이터의 종류, 모듈의 OS 설명 정보 중 적어도 하나를 포함하는 OS 데이터의 다운로드 방법.
The method of claim 1, wherein the unique information of the OS data,
A method of downloading OS data comprising at least one of a type of module, a version of OS data, a type of data, and OS description information of the module.
제 1 항에 있어서, 상기 다운로드단계는,
상기 다운로드 가능한 모듈의 OS 데이터를 상기 CPU 모듈로 전송하고,
상기 CPU 모듈에서는 상기 OS 데이터를 수신하여 저장하고,
상기 저장된 OS 데이터를 상기 PLC에 장착된 베이스로 전달하고,
상기 베이스에서는 각 모듈로 OS 데이터를 전달하여 각 모듈에서 상기 OS 데이터를 다운로드하게 하는 것을 포함하는 OS 데이터의 다운로드 방법.
The method of claim 1, wherein the downloading step,
Transmit OS data of the downloadable module to the CPU module,
The CPU module receives and stores the OS data,
Transfer the stored OS data to a base mounted on the PLC,
And transmitting the OS data to each module in the base to download the OS data from each module.
제 1 항에 있어서, 상기 유효성 검출단계는,
상기 OS 데이터에 상기 고유 정보가 삽입되어 있는지의 여부로 유효한 OS 데이터인지를 검출하는 OS 데이터의 다운로드 방법.
The method of claim 1, wherein the validity detecting step comprises:
And detecting whether the unique information is inserted in the OS data.
제 1 항에 있어서,
상기 사용자 단말기에서는 상기 PLC의 모듈에 상응하는 상기 OS 데이터를 생성하는 생성단계;
상기 OS 데이터를 생성하는 과정에서 상기 OS 데이터의 헤더에 고유 정보를 삽입하여 저장하는 저장단계를 더 포함하는 OS 데이터의 다운로드 방법.
The method of claim 1,
A generating step of generating, at the user terminal, the OS data corresponding to the module of the PLC;
And a storing step of inserting and storing unique information in the header of the OS data in the process of generating the OS data.
제 1 항에 있어서,
상기 다운로드 가능한 모듈을 검출한 후, 상기 다운로드 가능한 모듈의 리스트를 표시하는 표시단계;
상기 다운로드하고자 하는 모듈의 정보를 입력받는 입력단계;
상기 입력된 모듈의 정보에 상응하는 상기 OS 데이터를 상기 CPU 모듈로 전송하는 전송단계를 더 포함하는 OS 데이터의 다운로드 방법.
The method of claim 1,
Displaying the list of downloadable modules after detecting the downloadable module;
An input step of receiving information of the module to be downloaded;
And transmitting the OS data corresponding to the information of the input module to the CPU module.
PLC의 모듈에 OS 데이터를 다운로드하는 장치에 있어서,
기 저장된 상기 OS 데이터의 고유 정보를 읽어 유효한 OS 데이터인지 검출하고, 상기 유효한 OS 데이터의 모듈 정보와 상기 PLC에 장착된 모듈의 리스트 정보를 비교하여 다운로드 가능한 모듈을 검출하고, 다운로드 가능한 모듈의 OS 데이터를 상기 PLC로 전송하는 사용자 단말기;
상기 OS 데이터를 CPU 모듈에서 수신하여 각 모듈로 전달하고, 상기 각 모듈에서 상기 OS 데이터를 다운로드하게 하는 PLC를 포함하는 OS 데이터의 다운로드 장치.
In the device for downloading OS data to the module of the PLC,
Reads unique information of the stored OS data and detects whether it is valid OS data, detects a downloadable module by comparing the module information of the valid OS data with the list information of the module mounted in the PLC, and detects the OS data of the downloadable module. A user terminal for transmitting to the PLC;
And a PLC configured to receive the OS data from the CPU module, transfer the OS data to each module, and download the OS data from each module.
제 7 항에 있어서, 상기 CPU 모듈은,
상기 OS 데이터를 수신하여 저장하고,
상기 저장된 OS 데이터를 상기 PLC에 장착된 베이스로 전달하고,
상기 베이스는 각 모듈로 OS 데이터를 전달하여 각 모듈에서 상기 OS 데이터를 다운로드하게 하는 OS 데이터의 다운로드 장치.
The method of claim 7, wherein the CPU module,
Receiving and storing the OS data,
Transfer the stored OS data to a base mounted on the PLC,
And the base transmits OS data to each module to download the OS data from each module.
제 7 항에 있어서, 상기 사용자 단말기는,
상기 PLC의 모듈에 상응하는 OS 데이터를 생성하고,
상기 OS 데이터를 생성하는 과정에서 상기 OS 데이터의 헤더에 고유 정보를 삽입하여 저장하는 OS 데이터의 다운로드 장치.
The method of claim 7, wherein the user terminal,
Generate OS data corresponding to the module of the PLC,
The apparatus for downloading OS data for storing the OS data by inserting the unique information into the header of the OS data in the process of generating the OS data.
KR1020100026867A 2010-03-25 2010-03-25 Apparatus and method for downloading os data KR101032245B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100026867A KR101032245B1 (en) 2010-03-25 2010-03-25 Apparatus and method for downloading os data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100026867A KR101032245B1 (en) 2010-03-25 2010-03-25 Apparatus and method for downloading os data

Publications (1)

Publication Number Publication Date
KR101032245B1 true KR101032245B1 (en) 2011-05-02

Family

ID=44365484

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100026867A KR101032245B1 (en) 2010-03-25 2010-03-25 Apparatus and method for downloading os data

Country Status (1)

Country Link
KR (1) KR101032245B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178151A (en) 2002-11-26 2004-06-24 Digital Electronics Corp Display control device, program, and recording medium to which this program is recorded
KR20070003176A (en) * 2005-06-30 2007-01-05 엘에스산전 주식회사 Method for downloading plc os and apparatus therefor
JP2009080736A (en) 2007-09-27 2009-04-16 Koyo Electronics Ind Co Ltd Plc construction method
JP2009282934A (en) 2008-05-26 2009-12-03 Mitsubishi Electric Corp Programmable controller system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178151A (en) 2002-11-26 2004-06-24 Digital Electronics Corp Display control device, program, and recording medium to which this program is recorded
KR20070003176A (en) * 2005-06-30 2007-01-05 엘에스산전 주식회사 Method for downloading plc os and apparatus therefor
JP2009080736A (en) 2007-09-27 2009-04-16 Koyo Electronics Ind Co Ltd Plc construction method
JP2009282934A (en) 2008-05-26 2009-12-03 Mitsubishi Electric Corp Programmable controller system

Similar Documents

Publication Publication Date Title
KR102358470B1 (en) Boot loader update firmware, method for updating boot loader
US11494494B2 (en) Apparatus with exchangeable communication module and application module, application module, and method
CN103942061A (en) Battery firmware updating method, portable electronic device and rechargeable battery module
CN105324726A (en) Method for parameterizing a field device
US9548867B2 (en) Method and apparatus for secure distribution of embedded firmware
US10162328B2 (en) Controller and control system
CN102707963A (en) Device flags
CN101221509A (en) Bus arbitration starting method of reliable embedded platform
CN106155706B (en) System and method for saving electronic equipment starting information
KR101032245B1 (en) Apparatus and method for downloading os data
EP3297300A1 (en) Sensor management system
US20190090080A1 (en) System and method for dynamically adding capabilities of sensors and actuators to cloud driver
CN105471703A (en) Message sending method and device
US11334055B2 (en) Method for configuring automation apparatus, automation apparatus, and reader apparatus
EP3070571B1 (en) Programmable display and control method
CN104205071A (en) Information processing system, information processing method, communications terminal, server, control method therefor, and control program
ES2747703T3 (en) Human-machine interface system
KR20220075652A (en) Method and apparatus for managing program data of programmable logic controller, and the plc system using the same
CN110959102A (en) Sensor management unit, sensor device, sensor management method, and sensor management program
KR20050046932A (en) System for checking state of slave devices using i2c bus
JP2014085766A (en) Version management device, apparatus, information processing system, version management method, and computer program
US11516029B2 (en) Process measuring device having a plug-in memory unit
US11263163B2 (en) Processing control of a sensor system
EP2876518B1 (en) System for dynamic connection of distributed advanced process control components with control level applications
KR20170106797A (en) Plc module and plc system for firmware multiple download and method for firmware multiple download using the same

Legal Events

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

Payment date: 20140620

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160401

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170403

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20180423

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20190401

Year of fee payment: 9