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.