KR100243188B1 - Plc apparatus with data processing function of serial data - Google Patents
Plc apparatus with data processing function of serial data Download PDFInfo
- Publication number
- KR100243188B1 KR100243188B1 KR1019960005693A KR19960005693A KR100243188B1 KR 100243188 B1 KR100243188 B1 KR 100243188B1 KR 1019960005693 A KR1019960005693 A KR 1019960005693A KR 19960005693 A KR19960005693 A KR 19960005693A KR 100243188 B1 KR100243188 B1 KR 100243188B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- unit
- input
- serial data
- output
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Automation & Control Theory (AREA)
- General Engineering & Computer Science (AREA)
- Programmable Controllers (AREA)
Abstract
본 발명은 시리얼 데이터 처리 장치에 관한 것으로서, 특히 피엘씨(PLC: 프로그래머블 로직 제어장치)를 이용한 시리얼 데이터 처리 장치에 관한 것이다. 바코드 리더기와 프린터를 접속하여 데이터를 입력 및 출력시키는 시리얼 데이터 유니트에 의해 시리얼 데이터의 입출력 및 데이터 처리 기능을 갖는 피엘씨 장치는, 상기 바코드리더에서 리드한 바코드 데이터를 수신하는 제1입출력부; 상기 제1입출력부에서 리드한 시리얼 데이터를 병렬데이터 처리하는 제1CPU부; 상기 제1CPU부에서 상기 처리된 데이터를 저장하는 제1메모리부; 상기 제1메모리부에서 저장한 데이터를 처리하는 제2CPU부; 상기 제2CPU부에서 리드하여 처리한 데이터를 저장하는 제2메모리부; 상기 제2메모리부에 저장된 데이터를 유입하여 상기 프린터에 출력하는 제2입출력부를 포함함을 특징으로 한다. 상술한 바와 같이 본 발명에 따른 피엘씨 장치는, 시리얼 데이터를 유입하여 CPU에서 연산 처리함으로써, 피엘씨 기능 이외에 시리얼 데이터 유니트에 프린터 및 바코드리더 등의 주변기기를 접속하여 데이터를 처리하고, 주변 장치에 출력하는 기능을 제공한다.The present invention relates to a serial data processing apparatus, and more particularly, to a serial data processing apparatus using PLC (programmable logic controller). The PLC device having serial data input / output and data processing functions by a serial data unit for inputting and outputting data by connecting a barcode reader and a printer includes: a first input / output unit configured to receive barcode data read from the barcode reader; A first CPU unit performing parallel data processing on the serial data read from the first input / output unit; A first memory unit which stores the processed data in the first CPU unit; A second CPU unit for processing data stored in the first memory unit; A second memory unit for storing data read and processed by the second CPU unit; And a second input / output unit configured to input data stored in the second memory unit and output the data to the printer. As described above, the PLC device according to the present invention inputs serial data and performs arithmetic processing on the CPU, thereby connecting the peripheral device such as a printer and a barcode reader to the serial data unit in addition to the PLC function to process the data, and Provides the function to print.
Description
제1도는 본 발명에 따른 피엘씨 장치를 보인다.1 shows a PL device according to the present invention.
제2도는 본 발명에 따른 시리얼(serial) 데이터의 입출력 및 데이터 처리 기능을 갖는 피엘씨(PLC) 장치의 블록도이다.2 is a block diagram of a PLC device having input / output and data processing functions of serial data according to the present invention.
본 발명은 시리얼 데이터 처리 장치에 관한 것으로서, 특히 피엘씨(PLC: 프로그래머를 로직 제어장치)를 이용한 시리얼 데이터 처리 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial data processing apparatus, and more particularly, to a serial data processing apparatus using PLC (PLC: programmer logic controller).
일반적으로 피엘씨 장치는 생산라인의 자동화 설비나 제어 설비에 적용되며 입력 조건에 따라 단지 스위칭을 작용을 하여 출력을 제어한다. 따라서, 시리얼 데이터를 입력하여 데이터를 처리하고 처리된 데이터를 시리얼 데이터로 출력하여 프린트시키기 위해서는 별도의 컴퓨터 장치가 필요하였다. 또한 생산라인에서 제품에 표시된 바코드 데이터에 따라 콘베이어 벨트에 있는 제품을 분류하고자 할 때, 피엘씨에 바코드 리더기를 접속하여 사용하지 못하고 별도로 컴퓨터에 연결된 바코드 리더 장치가 필요하였다. 따라서, 라인 제어를 위한 피엘씨 이외에 고가의 컴퓨터를 추가로 구입해야 함으로써 설치 비용이 많이 요구되는 문제점이 있었다.In general, the PLC device is applied to an automation facility or a control facility of a production line and controls the output by simply switching according to input conditions. Therefore, a separate computer device was required to process the data by inputting the serial data and to output and print the processed data as the serial data. In addition, when classifying the products in the conveyor belt according to the bar code data displayed on the product in the production line, it was not possible to connect the bar code reader to PLC, but a bar code reader device connected to the computer was needed. Therefore, there is a problem that the installation cost is required to be purchased by additional expensive computers in addition to the PLC for line control.
본 발명은 상기 문제점을 해결하기 위하여 시리얼 데이터를 유입하여 데이터를 처리하고 처리된 데이터를 시리얼 데이터로 출력시키는 시리얼 데이터의 입출력 및 데이터 처리 기능을 갖는 피엘씨 장치를 제공하는 데 목적이 있다.In order to solve the above problems, an object of the present invention is to provide a PLC device having input / output and data processing functions of serial data for inputting serial data to process data and outputting the processed data as serial data.
상기 목적을 달성하기 위한 본 발명에 따른 바코드 리더기와 프린터를 접속하여 데이터를 입력 및 출력시키는 시리얼 데이터 유니트에 의해 시리얼 데이터의 입출력 및 데이터 처리 기능을 갖는 피엘씨 장치는, 상기 바코드리더에서 리드한 바코드 데이터를 수신하는 제1입출력부; 상기 제1입출렵부에서 리드한 시리얼 데이터를 병렬데이터 처리하는 제1CPU부; 상기 제1CPU부에서 상기 처리된 데이터를 저장하는 제1메모리부; 상기 제1메모리부에서 저장한 데이터를 처리하는 제2CPU부; 상기 제2CPU부에서 리드하여 처리한 데이터를 저장하는 제2메모리부; 상기 제2메모리부에 저장된 데이터를 유입하여 상기 프린터에 출력하는 제2입출력부를 포함함을 특징으로 한다.In order to achieve the above object, a PLC device having serial data input / output and data processing functions by connecting a barcode reader and a printer according to the present invention to input and output data is a barcode read by the barcode reader. A first input / output unit configured to receive data; A first CPU unit for performing parallel data processing on the serial data read from the first entry / exit unit; A first memory unit which stores the processed data in the first CPU unit; A second CPU unit for processing data stored in the first memory unit; A second memory unit for storing data read and processed by the second CPU unit; And a second input / output unit configured to input data stored in the second memory unit and output the data to the printer.
이하 첨부 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
제1도는 본 발명에 따른 피엘씨 장치를 보인다.1 shows a PL device according to the present invention.
제1도에 도시된 장치는 동작 전원을 공급하는 전원부(11), 각 슬롯에 장착된 유니트를 제어하는 CPU유니트(12), 시리얼 데이터를 송수신 처리하는 시리얼 데이터 유니트(13), 상기 시리얼 데이터 유니트(13)에 내장된 RS-232C 규격의 시리얼 데이터를 송신 또는 수신하는 제1입출력부(14)와 제2입출력부(15), 슬롯(16,17)을 포함한다.The apparatus shown in FIG. 1 includes a power supply unit 11 for supplying operating power, a CPU unit 12 for controlling a unit mounted in each slot, a serial data unit 13 for transmitting and receiving serial data, and the serial data unit. And a first input / output unit 14, a second input / output unit 15, and slots 16 and 17 for transmitting or receiving serial data of RS-232C standard embedded in (13).
제2도는 본 발명에 따른 시리얼 데이터의 입출력 및 데이터 처리 기능을 갖는 피엘씨 장치의 블록도이다.2 is a block diagram of a PLC device having input / output and data processing functions of serial data according to the present invention.
제2도에 도시된 장치는 바코드리더부(200), 프린터부(203), 시리얼데이터 유니트(210), CPU 유니트(220)를 포함한다.The apparatus shown in FIG. 2 includes a barcode reader unit 200, a printer unit 203, a serial data unit 210, and a CPU unit 220.
시리얼데이터 유니트(210)는 시리얼 데이터를 유입하고 출력하는 제1입력출력부(201)와 제2입출력부(202), 시리얼데이터를 병렬데이터로 전환시키는 제1CPU부(211), 유입된 데이터를 저장하는 제1메모리부(212), 제1메모리부(212)에 저장된 데이터를 CPU유니트(220)에 전송하기 위해 일시 저장하는 공유메모리부(213)를 포함한다.The serial data unit 210 may include a first input output unit 201 and a second input / output unit 202 for inputting and outputting serial data, a first CPU unit 211 for converting serial data into parallel data, and inputted data. The first memory unit 212 stores the data, and the shared memory unit 213 temporarily stores the data stored in the first memory unit 212 to be transferred to the CPU unit 220.
CPU유니트(220)는 제2CPU(221)와 제2메모리부(222)를 포함한다.The CPU unit 220 includes a second CPU 221 and a second memory unit 222.
제2도에 따른 동작을 살펴보면, 바코드리더부(200)에서 바코드를 리드하여 RS-232C 규격으로 데이터를 제1입출력부(201)에 전송하면 수신모드로 설정된 제1입출력부(201)는 수신된 RS-232C 규격의 시리얼데이터를 로직 레벨의 병렬데이터로 변환시켜 제1CPU부(211)에 인가한다. 제1CPU부(211)는 데이터를 제1메모리부(212)에 저장하고 CPU유니트(220)에 전송하기 위해 공유메모리부(213)에 저장한다. CPU유니트(220) 내의 제2CPU부(221)는 공유메모리부(213)의 데이터를 리드한 후 연산처리하여 처리 결과를 제2메모리부(222)에 저장하고, 출력유니트(230)에 전송하면 출력유니트(230)는 유입된 바코드 데이터에 따라 제품을 분류하는 제어신호를 출력한다.Referring to the operation according to FIG. 2, when the barcode reader 200 reads the barcode and transmits the data to the first input / output unit 201 in the RS-232C standard, the first input / output unit 201 set to the reception mode is received. The serial data of the RS-232C standard is converted into parallel data of logic level and applied to the first CPU unit 211. The first CPU unit 211 stores data in the first memory unit 212 and in the shared memory unit 213 for transmission to the CPU unit 220. When the second CPU unit 221 in the CPU unit 220 reads the data of the shared memory unit 213 and then performs calculation processing to store the processing result in the second memory unit 222 and transmits the result to the output unit 230. The output unit 230 outputs a control signal for classifying products according to the barcode data introduced.
한편, CPU유니트(220)에서 처리된 데이터를 프린트하고자 할 경우에는 제2CPU부(221)는 제2메모리부(222)에 처리하여 저장한 데이터를 라이트 명령에 의해 공유메모리부(213)에 임시 저장하면 제1CPU부(211)는 공유메모리부(213)에서 리드한 데이터를 제1메모리부(212)에 저장하고 저장된 데이터를 순차적으로 제2입출력부(202)에 출력한다. 이 때, 송신모드로 설정된 제2입출력부(202)는 유입한 데이터를 RS-232C 통신 레벨의 시리얼 데이터로 변환하여 프린터(203)에 전송하여 프린트시킨다.On the other hand, when the data processed by the CPU unit 220 is to be printed, the second CPU unit 221 temporarily processes the data stored in the second memory unit 222 and stores the data stored in the shared memory unit 213 by a write command. When storing, the first CPU unit 211 stores the data read from the shared memory unit 213 in the first memory unit 212, and sequentially outputs the stored data to the second input / output unit 202. At this time, the second input / output unit 202 set to the transmission mode converts the incoming data into serial data of the RS-232C communication level, and transmits the data to the printer 203 for printing.
상술한 바와 같이 본 발명에 따른 시리얼 데이터의 입출력 및 데이터 처리 기능을 갖는 피엘씨 장치는, 시리얼 데이터를 유입하여 CPU에서 연산 처리함으로써, 일반적으로 입력신호에 따라 스위칭제어하여 출력하는 피엘씨 기능 이외에 시리얼 데이터 유니트에 프린터 및 바코드리더 등의 주변기기를 접속하여 데이터를 처리하고, 주변 장치에 출력하는 기능을 제공한다.As described above, the PLC device having the input / output and data processing functions of the serial data according to the present invention, by inputting the serial data and arithmetic processing in the CPU, in general in addition to the PLC function of switching and outputting the output according to the input signal It connects peripheral devices such as printers and barcode readers to data units to process data and output them to peripheral devices.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960005693A KR100243188B1 (en) | 1996-03-05 | 1996-03-05 | Plc apparatus with data processing function of serial data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960005693A KR100243188B1 (en) | 1996-03-05 | 1996-03-05 | Plc apparatus with data processing function of serial data |
Publications (2)
Publication Number | Publication Date |
---|---|
KR970066919A KR970066919A (en) | 1997-10-13 |
KR100243188B1 true KR100243188B1 (en) | 2000-02-01 |
Family
ID=19452423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019960005693A KR100243188B1 (en) | 1996-03-05 | 1996-03-05 | Plc apparatus with data processing function of serial data |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100243188B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100986988B1 (en) * | 2008-10-22 | 2010-10-11 | 전자부품연구원 | Apparatus and Method for Interface |
-
1996
- 1996-03-05 KR KR1019960005693A patent/KR100243188B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR970066919A (en) | 1997-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5325287A (en) | Decoupled display and control system | |
US4261034A (en) | Remote distributed interrupt control for computer peripherals | |
KR987000111A (en) | Game Machine and Game Machine System Using the Same | |
US4961225A (en) | Fuzzy data communication system | |
US4463417A (en) | Modular, processor-controlled document distribution terminal | |
KR100243188B1 (en) | Plc apparatus with data processing function of serial data | |
EP0067267B1 (en) | Document handling terminal computer system and method of operation thereof | |
US6148358A (en) | Separately-controlled multi-task computer system | |
JPH1145162A (en) | Printer | |
US5574947A (en) | Data communication cable for a data terminal for simultaneously connecting multiple peripheral devices and selecting the peripheral devices based on data rate | |
WO1995006280A3 (en) | Data transfer accelerating apparatus and method | |
JPH07182013A (en) | Method and apparatus for discrimination of input/output module coupled to programmable logic controller | |
US7340543B2 (en) | Device and method for discrete signal conditioning | |
KR200216604Y1 (en) | Multipoint Digital Input Circuit of Controller | |
KR100365467B1 (en) | Device for automatically recognizing and distributing numerical control data communication circuit | |
KR200191356Y1 (en) | Realtime monitoring apparatus of plc data | |
KR970062927A (en) | Communication device for programmable logic controller (PLC) and data format for it | |
KR960014192B1 (en) | Parking facilities controlling system for using pc | |
JPH01199839A (en) | Device for processing data of weighing sale | |
KR100372694B1 (en) | Control room | |
KR0154482B1 (en) | Global bus interface apparatus using buffer | |
JPH0814809B2 (en) | Intelligent I / O device | |
KR100613498B1 (en) | data programing device of read only memory and the same method | |
KR100231487B1 (en) | Self-identification data generator in communication system using common bus | |
KR960003994Y1 (en) | Data setting device of portable communication apparatus |
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: 20121116 Year of fee payment: 14 |
|
FPAY | Annual fee payment |
Payment date: 20131213 Year of fee payment: 15 |
|
LAPS | Lapse due to unpaid annual fee |