KR970062927A - Communication device for programmable logic controller (PLC) and data format for it - Google Patents

Communication device for programmable logic controller (PLC) and data format for it Download PDF

Info

Publication number
KR970062927A
KR970062927A KR1019960004924A KR19960004924A KR970062927A KR 970062927 A KR970062927 A KR 970062927A KR 1019960004924 A KR1019960004924 A KR 1019960004924A KR 19960004924 A KR19960004924 A KR 19960004924A KR 970062927 A KR970062927 A KR 970062927A
Authority
KR
South Korea
Prior art keywords
data
plc
communication device
computer
response
Prior art date
Application number
KR1019960004924A
Other languages
Korean (ko)
Other versions
KR0170740B1 (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 KR1019960004924A priority Critical patent/KR0170740B1/en
Publication of KR970062927A publication Critical patent/KR970062927A/en
Application granted granted Critical
Publication of KR0170740B1 publication Critical patent/KR0170740B1/en

Links

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/054Input/output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/126Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
    • 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/15019RS232 serial
    • 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/15118Shared memory

Abstract

본 발명은 PLC를 위한 통신장치 및 이를 위한 데이타 포맷을 공개한다. 컴퓨터로부터 입력한 명령 데이타에 응답하여 응답 데이타를 만들어 컴퓨터로 출력하는 PLC를 위한 그 장치는, 통신장치의 동작 수행상태를 표시하는 표시수단과, 명령 및 응답 데이타들의 전송 속도, 비트수, 에러 체크 유무 등을 설정하는 설정수단과, 컴퓨터로부터 명령데이타를 입력하거나, 컴퓨터로 응답 데이타를 출력하는 입출력수단과, 처리할 프로그램을 저장하는 제1저장수단과, 처리할 프로그램을 운용하는 운용 프로그램을 저장하는 제2저장수단과, 가공된 데이타를 저장하는 공유 메모리와, 운용 프로그램에 의해 처리할 프로그램 수행하여 PLC의 다른 장치로부터 데이타를 가공하거나, 제어 데이타를 다른 장치로 출력하는 버스 제어수단과, 및 설정수단에서 설정된 값들 및 명령 데이타에 응답하여 각 수단들을 제어하고 제어 데이타를 출력하며, 버스 제어수단 및 입출력 수단들을 체크하여 표시수단을 제어하는 제어수단으로 구성되는 것이 바람직하고, 컴퓨터와 PLC모니터링 장치를 접속 시켜 사용할 수 있도록 하고, 또한 컴퓨터 프로그래머의 능력에 따라 다양한 화면구성으로 PLC의 정보를 다룰 수 있도록 하고, 컴퓨터로 수신된 PLC데이타를 컴퓨터 랜 또는 상위 컴퓨터로 송수신함으로서 여러곳에서 정보를 공유하여 데이타를 처리할 수 있고, PLC내의 CPU 장치에 전혀 부담을 줄지 않고 독립적인 사용되는 효과가 있다.The present invention discloses a communication device for a PLC and a data format therefor. A device for a PLC, which generates response data in response to command data input from a computer and outputs the data to a computer, comprises display means for displaying an operation performing state of the communication device, Output means for inputting command data from a computer or outputting response data to a computer; first storage means for storing a program to be processed; and an operation program for operating a program to be processed A bus control means for executing a program to be processed by the operation program and processing data from another device of the PLC or outputting control data to another device; In response to the values set in the setting means and the command data, controls each means and outputs the control data And a control means for controlling the display means by checking the bus control means and the input / output means. It is also possible to connect the computer and the PLC monitoring apparatus to each other, And can send and receive PLC data received from a computer to a computer LAN or an upper computer so that data can be processed by sharing information in various places and can be used independently without any burden on CPU devices in the PLC .

Description

프로그래머블 논리 콘트롤러(PLC)를 위한 통신장치 및 이를 위한 데이타 포맷Communication device for programmable logic controller (PLC) and data format for it

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is a trivial issue, I did not include the contents of the text.

제2도는 본 발명에 의한 PLC의 개략적인 구성도를 나타낸 도면이다.FIG. 2 is a schematic block diagram of a PLC according to the present invention; FIG.

제3도는 본 발명에 의한 PLC를 위한 통신장치의 블럭도이다.FIG. 3 is a block diagram of a communication device for a PLC according to the present invention.

제4a도 및 제4b도는 본 발명에 의한 메시지의 데이타 포맷 구성을 나타낸다.4a and 4b show the data format structure of a message according to the present invention.

Claims (7)

컴퓨터로부터 입력한 명령 데이타에 응답하여 응답 데이타를 만들어 상기 컴퓨터로 출력하는 프로그래머블 논리 콘트롤러(PLC)를 위한 통신장치에 있어서, 상기 통신장치의 동작 수행 상태를 표시하는 표시수단; 상기 명령 및 응답 데이타들의 전송 속도, 비트수, 에러 체크 유무등을 설정하는 설정수단; 컴퓨터로부터 상기 명령 데이타를 입력하거나, 상기 컴퓨터로 상기 응답 데이타를 출력하는 입출력수단; 처리할 프로그램을 저장하는 제1저장수단; 상기 처리할 프로그램을 운용하는 운용 프로그램을 저장하는 제2저장수단; 가공된 데이타를 저장하는 공유 메모리; 상기 운용 프로그램에 의해 상기 처리할 프로그램 수행하여 상기 PLC의 다른 장치로부 터의 데이타를 가공하거나, 제어 데이타를 상기 다른 장치로 출력하는 버스 제어수단; 및 상기 설정수단에서 설정된 값들 및 상기 명령 데이타들에 응답하여 상기 각 수단들을 제어하고 상기 제어 데이타를 출력하며, 상기 버스 제어수단 및 상기 입출력 수단들을 체크하여 상기 표시수단을 제어하는 제어수단을 구비하는 것을 특징으로 하는 프로그래머블 논리 콘트롤러를 위한 통신 장치.A communication device for a programmable logic controller (PLC) that generates response data in response to command data input from a computer and outputs the data to the computer, the communication device comprising: display means for displaying an operation state of the communication device; Setting means for setting a transmission rate, a number of bits, and an error check on the command and response data; Input / output means for inputting the command data from a computer or outputting the response data to the computer; First storing means for storing a program to be processed; Second storing means for storing an operating program for operating the program to be processed; A shared memory for storing the processed data; Bus control means for executing the program to be processed by the operation program to process data from another apparatus of the PLC or outputting control data to the other apparatus; And control means for controlling the respective means in response to the values set by the setting means and the command data and outputting the control data and controlling the display means by checking the bus control means and the input and output means Wherein the communication device is a programmable logic controller. 제1항에 있어서, 상기 PLC를 위한 통신 장치는 PLC의 마더보드 접속되는 것을 특징으로하는 프로그래머블 논리 콘트롤러를 위한 통신 장치.The communication device according to claim 1, wherein the communication device for the PLC is connected to a mother board of the PLC. 제1항에 있어서, 상기 공유 메모리는 상기 PLC의 중앙처리장치에서 공유할 수 있는 것을 특징으로 하는 프로그래머블 논리 콘트롤러를 위한 통신 장치.The communication device according to claim 1, wherein the shared memory is shared by the central processing unit of the PLC. 제1항에 있어서, 상기 입출력장치는 RS-232표준 입출력 장치로, 상기 설정수단은 딥(DIP)스위치로 각각 구현될 수 있고, 상기 PLC를 위한 통신 장치는 상기 입출력장치와 상기 컴퓨터를 연결시키는 제1커넥터; 및 상기 버스 제어수단과 상기PLC의 다른 장치를 연결시키는 제2커넥터를 더 구비하는 것을 특징으로 하는 프로그래머블 논리 콘트롤러를 위한 통신 장치.The communication device according to claim 1, wherein the input / output device is implemented as an RS-232 standard input / output device, and the setting device is implemented as a DIP switch, and the communication device for the PLC connects the input / A first connector; And a second connector for connecting the bus control means to another device of the PLC. 제1항에 있어서, 상기 데이타의 송신권은 상기 컴퓨터에 있고, 상기 명령 데이타를 송신한 후, 송신권이 상기 PLC로 넘겨지고, 상기 명령 또는 상기 응답 데이타는 대화형으로 되어 있는 것을 특징으로 하는 프로그래머블 논리 콘트롤러를 위한 통신 장치.2. The apparatus of claim 1, wherein the right to transmit data is in the computer, and after transmitting the command data, a transmission right is passed to the PLC, and the command or the response data is interactive A communication device for a programmable logic controller. 컴퓨터로부터 입력한 명령 메시지에 응답하여 응답 메시지를 만들고, 상기 응답 메시지를 상기 컴퓨터로 출력하는 프로그래머블 논리 콘트롤러(PLC)를 위한 통신장치에서 사용되는 상기 명령 메시지 및 상기 응답 메시지의 데이타 포맷에 있어서, 상기 명령 또는 응답 메시지의 개시를 나타내는 헤더; 상기 명령 메시지를 읽어들일 상기 PLC의 위치를 나타내는 송신처 또는 송신원; 명령 코드 또는 응답 코드, 및 텍스트 데이타가 기록되는 텍스터; 상기 메시지들의 에러를 검출하기 위한 코드가 기록된 에러코드; 상기 명령 메시지 또는 상기 응답 메시지의 종료를 나타내는 터미네이터를 구비하는 것을 특징으로 하는 PLC를 위한 통신장치의 데이타 포맷.A data format of the command message and the response message used in a communication device for a programmable logic controller (PLC) for generating a response message in response to a command message input from a computer and outputting the response message to the computer, A header indicating the start of a command or response message; A transmission source or transmission source indicating a location of the PLC to read the command message; A command code or response code, and text data are recorded; An error code in which a code for detecting an error of the messages is recorded; And a terminator for indicating the end of the command message or the response message. 제1항에 있어서, 상기 명령 메시지가 소정 문자 이상일 때, 상기 텍스트는 복수의 프레임으로 분할되어 송신될 수 있는 것을 특징으로 하는 프로그래머블 논리 콘트롤러를 위한 통신 장치의 데이타 포맷.The data format of a communication device for a programmable logic controller according to claim 1, wherein when the command message is a predetermined character or more, the text can be divided into a plurality of frames and transmitted. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: It is disclosed by the contents of the first application.
KR1019960004924A 1996-02-27 1996-02-27 Communication apparatus for programmable logic controller and data format thereof KR0170740B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960004924A KR0170740B1 (en) 1996-02-27 1996-02-27 Communication apparatus for programmable logic controller and data format thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960004924A KR0170740B1 (en) 1996-02-27 1996-02-27 Communication apparatus for programmable logic controller and data format thereof

Publications (2)

Publication Number Publication Date
KR970062927A true KR970062927A (en) 1997-09-12
KR0170740B1 KR0170740B1 (en) 1999-03-30

Family

ID=19451950

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960004924A KR0170740B1 (en) 1996-02-27 1996-02-27 Communication apparatus for programmable logic controller and data format thereof

Country Status (1)

Country Link
KR (1) KR0170740B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100715915B1 (en) * 2005-07-06 2007-05-08 호서대학교 산학협력단 Method for synchronizing data-memory using shared memory in PLC and HMI
KR101446882B1 (en) * 2013-10-29 2014-10-06 엘에스산전 주식회사 Method for processing message in communication module

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101746528B1 (en) 2014-06-13 2017-06-14 주식회사 신현대 Sectional life-size advertisement plate device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100715915B1 (en) * 2005-07-06 2007-05-08 호서대학교 산학협력단 Method for synchronizing data-memory using shared memory in PLC and HMI
KR101446882B1 (en) * 2013-10-29 2014-10-06 엘에스산전 주식회사 Method for processing message in communication module

Also Published As

Publication number Publication date
KR0170740B1 (en) 1999-03-30

Similar Documents

Publication Publication Date Title
KR910010331A (en) Communication method between multiple programmable logic controllers
KR987000111A (en) Game Machine and Game Machine System Using the Same
KR950004044A (en) Image generation method and apparatus
KR950033962A (en) Image generating device and method
US4660031A (en) System for displaying alphanumeric messages
JPS6113305A (en) Input/output unit for industrial controller
KR970062927A (en) Communication device for programmable logic controller (PLC) and data format for it
KR0154482B1 (en) Global bus interface apparatus using buffer
JP3648996B2 (en) FA system
KR940008362A (en) Remote Equipment Inspection Control Device
JPH0522365A (en) Communication processor
KR200191356Y1 (en) Realtime monitoring apparatus of plc data
KR19980068492A (en) Communication method and communication device of Piel City (PLC)
KR0126577B1 (en) Method for controling input/output of packet data on packet switching system
JP3339556B2 (en) Terminal device for remote monitoring device
KR20000003700A (en) Bus module apparatus
JPH0523098B2 (en)
KR880002693B1 (en) Interface apparatus
KR100496479B1 (en) Address signal decoding circuit
JPH02236757A (en) Remote i/o station
KR20090028260A (en) Method for selecting communication protocol of slave unit
KR970072885A (en) And a method and apparatus for monitoring interprocessor communication messages
JPH0527813A (en) Programmable controller
JPH03246604A (en) Input/output information transmission system for programmable controller system
JPS63123150A (en) Computer system

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: 20091013

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee