KR100622828B1 - Communication Method of Serial Communication System - Google Patents
Communication Method of Serial Communication System Download PDFInfo
- Publication number
- KR100622828B1 KR100622828B1 KR1020040008012A KR20040008012A KR100622828B1 KR 100622828 B1 KR100622828 B1 KR 100622828B1 KR 1020040008012 A KR1020040008012 A KR 1020040008012A KR 20040008012 A KR20040008012 A KR 20040008012A KR 100622828 B1 KR100622828 B1 KR 100622828B1
- Authority
- KR
- South Korea
- Prior art keywords
- field
- command
- checksum
- communication
- field part
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 63
- 238000000034 method Methods 0.000 title claims abstract description 26
- 102100031082 Choline/ethanolamine kinase Human genes 0.000 claims 1
- 101000777313 Homo sapiens Choline/ethanolamine kinase Proteins 0.000 claims 1
- 230000004044 response Effects 0.000 description 42
- 239000011521 glass Substances 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000001179 sorption measurement Methods 0.000 description 4
- 238000013507 mapping Methods 0.000 description 3
- 238000013475 authorization Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
Abstract
본 발명은 마스터 장치와 슬레이브 장치 간 데이터를 송, 수신시키는 직렬 통신 시스템의 통신 방법에 있어서, 상기 마스터 장치와 슬레이브 장치간에 주고받는 패킷이 통신 문자열의 시작점을 알려주는 헤더의 시작 필드부; 통신 문자열의 길이를 알려주는 문자열 길이 필드부; 실제 인덱서 동작의 명령을 나타내는 커맨드 필드부; 마스터 장치와 슬레이브 장치간 정상적으로 통신이 이루어졌는지의 여부를 확인하는 체크섬 필드부; 및 통신 문자열의 끝점을 알려주는 헤더의 종료 필드부를 포함하여 이루어지는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a communication method of a serial communication system for transmitting and receiving data between a master device and a slave device, the method comprising: a start field part of a header indicating a start point of a communication string between packets transmitted and received between the master device and the slave device; A string length field unit for indicating a length of a communication string; A command field portion representing an instruction of an actual indexer operation; A checksum field unit for confirming whether communication between the master device and the slave device is normally performed; And an end field part of the header indicating the end point of the communication string.
RS-232C, 패킷, 마스터 장치, 슬레이브 장치RS-232C, Packet, Master Device, Slave Device
Description
도 1은 일반적인 직렬통신 시스템의 구성도이다.1 is a block diagram of a general serial communication system.
도 2는 본 발명에 따른 마스터 장치와 슬레이브 장치 상호간에 전송되는 패킷의 포맷을 타나내는 도면이다.2 is a diagram illustrating a format of a packet transmitted between a master device and a slave device according to the present invention.
도 3 내지 도 10b는 본 발명의 일실시예에 따른 마스터 장치와 슬레이브 장치 상호간에 전송되는 패킷을 나타내는 도면이다.3 to 10b are diagrams illustrating packets transmitted between a master device and a slave device according to an embodiment of the present invention.
본 발명은 직렬통신 시스템의 통신 방법에 관한 것으로, 보다 상세하게는 마스터 장치와 슬레이브 장치의 상태와 제어를 보다 용이하고 간결하게 이루어지는 직렬통신 시스템의 통신 방법에 관한 것이다.The present invention relates to a communication method of a serial communication system. More particularly, the present invention relates to a communication method of a serial communication system, which makes the status and control of a master device and a slave device easier and more concise.
상기 직렬 통신 방식은 데이터 통신에서 복수 비트로 구성되어 있는 데이터를 비트열로 치환하여 하나의 데이터선을 통해 직렬 송수신하는 방식이다. 이러한 직렬 통신 방식은 전송장비에 직접 연결하여 장비의 상태를 알기 위한 데이터 통신 등에 적용된다. The serial communication method is a method of serially transmitting and receiving data through a single data line by replacing data consisting of a plurality of bits with a bit string in data communication. This serial communication method is directly connected to the transmission equipment is applied to the data communication to know the status of the equipment.
도 1을 참조하여 일반적인 직렬통신 시스템에 대해 보다 상세히 설명하면 다음과 같다.Hereinafter, a general serial communication system will be described in detail with reference to FIG. 1.
도 1에 도시된 바와 같이, 일반적인 비동기 직렬통신시스템에서는 마스터 장치(master device)(10)와 슬레이브 장치(slave device)(20)가 통신선에 연결되고, 상기 마스터 장치(10)는 중앙연산장치(CPU;12)와 그 중앙연산장치(12)에 연결된 메모리(11)와 사용자 인터페이스(13)와 버퍼(14) 그리고 슬레이브 장치(20)와 데이터를 송수신하기 위한 통신모듈(15)을 구비하며, 상기 슬레이브 장치(20)는 중앙연산장치(CPU;22)와 그 중앙연산장치(22)에 연결된 메모리(21)와 시스템부하구동부(23)와 버퍼(24), 그리고 마스터 장치(10)와 데이터를 송수신하기 위한 통신모듈(25)을 구비한다. 여기서 통신모듈(15)(25)은 약정된 통신 프로토콜(일예로 RS-232C)을 지원하도록 되어 있다.As shown in FIG. 1, in a general asynchronous serial communication system, a
상기 장치(10)(20)들은 약정된 통신 프로토콜에 따라 데이터를 송신 및 수신하는 경우 전송 데이터의 충돌을 피하고 장치들 간의 안정적인 데이터 송수신을 위해서 전송 데이터에 대한 흐름제어(flow control)의 권한을 마스터 장치(10)에서 소유하도록 되어 있다.When the
그러나, 종래에는 상기와 같은 직렬통신 방식을 사용하는 데 있어서, 각 업체마다 다양하게 변형시켜 자사 고유의 통신 프로토콜(Protocol)을 가지고 있다. 이에 따라, 직렬통신을 실행하는 데 있어서, 장치간 전송되는 패킷의 형태와 커맨 드(Command)가 체계화되어 있지 않아 해당 업체마다 혼선이 야기되고 있는 실정이다.However, conventionally, in using the serial communication method as described above, each company has various modifications and has its own communication protocol (Protocol). As a result, in performing serial communication, there is a situation in which the types and commands of packets transmitted between devices are not organized, and confusion is caused for each company.
본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 그 목적은 하나의 패킷의 포맷을 제공하여 다양한 형태의 장비를 취급하는 회사들 간 보다 용이하게 데이터 전송이 이루어지도록 하고, 마스터 장치와 슬레이브 장치의 상태와 제어를 보다 용이하고 간결하게 이루어지도록 하는 데 있다.The present invention has been made to solve the above problems, the object of which is to provide a format of one packet to facilitate data transmission between companies handling various types of equipment, the master device and the slave It is to make the state and control of the device easier and more concise.
마스터 장치와 슬레이브 장치 간 데이터를 송, 수신시키는 직렬 통신 시스템의 통신 방법에 있어서,In the communication method of the serial communication system for transmitting and receiving data between the master device and the slave device,
상기 마스터 장치와 슬레이브 장치간에 주고받는 패킷이 통신 문자열의 시작점을 알려주는 헤더의 시작 필드부; 통신 문자열의 길이를 알려주는 문자열 길이 필드부; 실제 인덱서 동작의 명령을 나타내는 커맨드 필드부; 마스터 장치와 슬레이브 장치간 정상적으로 통신이 이루어졌는지의 여부를 확인하는 체크섬 필드부; 및 통신 문자열의 끝점을 알려주는 헤더의 종료 필드부를 포함하여 이루어지는 것을 특징으로 한다.A start field part of a header indicating a start point of a communication string of a packet transmitted and received between the master device and a slave device; A string length field unit for indicating a length of a communication string; A command field portion representing an instruction of an actual indexer operation; A checksum field unit for confirming whether communication between the master device and the slave device is normally performed; And an end field part of the header indicating the end point of the communication string.
상기 통신문자열 길이는 커맨드와 체크섬의 길이인 것이 바람직하다.Preferably, the communication string length is a length of a command and a checksum.
상기 체크섬을 계산하는 방법은 (a)헤더의 시작 필드부, 문자열 길이 필드부, 커맨드 필드부의 내용을 아스키코드로 변환하여 그 값을 합산하는 단계와, (b)상기 단계 a에서 합산된 값이 세 자리 이상인 경우 하위 두 자리만 남겨 놓는 단계 및 (c)상기 단계 b에서 남은 두 자리 수를 상위, 하위로 구분하여 통신 문자열(String)에 넣는 단계를 포함하여 이루어지는 것을 특징으로 한다.The method for calculating the checksum includes (a) converting the contents of the header field, the string length field, and the command field of the header into an ASCII code and summing the values, and (b) adding the values added in step a. In the case of three or more digits, the method comprises the steps of leaving only two lower digits and (c) dividing the two remaining digits in step b into upper and lower positions into a communication string.
이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하고자 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명에 따른 마스터 장치와 슬레이브 장치 상호간에 전송되는 패킷의 포맷을 타나내는 도면이다.2 is a diagram illustrating a format of a packet transmitted between a master device and a slave device according to the present invention.
도 2를 참조하면, 본 발명의 직렬통신 시스템에서의 마스터 장치와 슬레이브 장치 상호간에 전송되는 패킷의 포맷은 헤더의 시작(SOH : Start of Header) 필드부와, 문자열 길이(LEN : Length) 필드부와, 커맨드(Command) 필드부와, 체크섬(CHK : CHecKsum) 필드부와, 헤더의 종료 필드부(EXT :EXTend)를 포함하여 이루어진다.Referring to FIG. 2, the format of a packet transmitted between a master device and a slave device in a serial communication system according to the present invention includes a Start of Header (SOH) field part and a String Length (LEN) field part. And a command field portion, a checksum (CHK: CHecKsum) field portion, and a header end field portion (EXT: EXTend).
본 발명에서는 일반적인 직렬통신 방식을 사용한다. 즉, 본 발명의 일실시예에서는 통신속도는 9600bps이고, 스타트 비트는 '0'의 값을 가지며, 데이터 비트는 8비트이고, 패리티 비트는 없으며, 스톱 비트는 1비트인 직력통신 방식을 사용한다.In the present invention, a general serial communication method is used. That is, in one embodiment of the present invention, the communication speed is 9600bps, the start bit has a value of '0', the data bit is 8 bits, there is no parity bit, and the stop bit is 1 bit. .
먼저, 본 명세서에서는 상기 헤더의 시작(SOH) 필드부에 대해 설명하겠다.First, in this specification, the start (SOH) field portion of the header will be described.
상기 헤더의 시작(SOH) 필드부는 통신 문자열의 시작점을 알려준다.The start (SOH) field of the header informs the start of the communication string.
상기 헤더의 시작(SOH) 필드부는 일례로, 아스키코드로 '01H'로 나타낼 수 있다. 물론, 상기 아스키코드 값은 사용자마다 달리 설정해서 사용할 수 있다.The header (SOH) field part of the header may be, for example, represented as '01H' in ASCII code. Of course, the ASCII code value can be set differently for each user.
상기 문자열 길이(LEN) 필드부는 통신 문자열의 길이를 알려준다.The string length (LEN) field part informs the length of the communication string.
상기 통신 문자열 길이는 커맨드(Command)와 체크섬(CHK)의 길이로 나타낼 수 있다. 이에 따라, 수신측(예 : 슬레이브 장치)에서는 송신측(예 : 마스터 장치)에서 보낸 패킷이 올바르게 송신이되었는지의 여부를 상기 문자열 길이 필드부를 보고도 판단이 가능하다.The communication string length may be represented by a length of a command and a checksum CHK. Accordingly, the receiving side (eg, slave device) can determine whether the packet transmitted from the transmitting side (eg, master device) is correctly transmitted by looking at the string length field part.
일례로, 커맨드(Command)가 'SX'이고, 체크섬 상위 비트(CHKH)가 '3'이며, 체크섬 하위 비트(CHKL)가 'F'라고 했을 때, 상기 통신 문자열(String)의 길이는 4가 된다.For example, when the command is 'SX', the checksum high bit (CHKH) is '3', and the checksum low bit (CHKL) is 'F', the length of the communication string is four. do.
상기에도 간단히 설명되었지만, 상기 체크섬(CHK) 필드부는 체크섬 상위 비트부(CHKH : CHecKsum High)와 체크섬 하위 비트부(CHKL : CHecKsum Low)로 나눌 수 있다.Although briefly described above, the checksum (CHK) field unit may be divided into a checksum upper bit unit (CHKH: CHecKsum High) and a checksum lower bit unit (CHKL: CHecKsum Low).
상기 체크섬 상위 비트부(CHKH)는 통신 문자열의 체크섬 2비트 중 상위 비트를 말하며, 상기 체크섬 하위 비트부(CHKL)는 통신 문자열의 체크섬 2비트 중 하위 비트를 말한다.The checksum upper bit part CHKH refers to an upper bit of two bits of a checksum of a communication string, and the checksum lower bit part CHKL refers to a lower bit among two bits of a checksum of a communication string.
상기 체크섬은 다음 단계에 의해 구해진다.The checksum is obtained by the following steps.
(a)헤더의 시작(SOH) 필드부, 문자열 길이(LEN) 필드부, 커맨드(COMMAND) 필드부의 내용을 아스키코드로 변환하여 그 값을 합산한다.(a) The contents of the header start (SOH) field part, the character string length (LEN) field part, and the command (COMMAND) field part are converted into ASCII codes and the values are summed.
여기서, 아스키코드는 16진수인 것이 바람직하다.Here, the ASCII code is preferably hexadecimal.
(b)상기 단계 b에서 합산된 값이 세 자리 이상인 경우 하위 두 자리만 남겨 놓는다.(b) If the value added in step b is three or more digits, only the lower two digits are left.
(c)상기 단계 b에서 남은 두 자리 수를 상위, 하위로 구분하여 통신 문자열(String)에 넣는다. 즉, 상위로 구분된 값은 체크섬 상위 비트부(CHKH)에 삽입이 되며, 하위로 구분된 값은 체크섬 하위 비트부(CHKL)에 삽입이 된다.(c) The remaining two digits in step b are divided into upper and lower parts and put into a communication string. That is, the value divided by the upper part is inserted into the checksum upper bit part CHKH, and the value divided into the lower part is inserted into the checksum lower bit part CHKL.
일례로, 헤더의 시작(SOH) 필드부의 내용(값)이 '01H'이고, 문자열 길이(LEN) 필드부의 내용(값)이 '03H'이며, 커맨드(COMMAND) 필드부의 내용(값)이 'S'이다고 가정하면, 상기 단계 a에 의해 합산된 값은 57(16진수)이 된다. 이에 따라, 상기 단계 b와 단계 c에 의해 체크섬 상위 비트(CHKH)는 '5'가 되고, 체크섬 하위 비트(CHKL)는 '7'이 된다.For example, the content (value) of the header (SOH) field part is' 01H ', the content (value) of the string length (LEN) field part is' 03H', and the content (value) of the command (COMMAND) field part is' Assuming S ', the value summed up by step a is 57 (hexadecimal). Accordingly, the checksum high bit CHKH becomes '5' and the checksum low bit CHKL becomes '7' by the steps b and c.
상기 일실시예에 의해 전송되는 패킷은 도 3에 도시된 바와 같이 된다.The packet transmitted according to the embodiment is as shown in FIG.
상기 헤더의 종료 필드부(EXT)는 통신 문자열의 끝점을 알려준다.The end field section EXT of the header informs the end point of the communication string.
상기 헤더의 종료 필드부(EXT)는 일례로, 아스키코드로 '126H'로 나타낼 수 있다. 물론, 상기 아스키코드 값은 상기 헤더의 시작(SOH) 필드부와 마찬가지로 사용자마다 달리 설정해서 사용할 수 있다.The end field section EXT of the header may be, for example, represented as '126H' in an ASCII code. Of course, the ASCII code value may be set differently for each user as in the start (SOH) field of the header.
상기 커맨드(Command) 필드부는 실제 인덱서 동작의 명령을 나타내는 필드이다.The Command field portion is a field representing a command of an actual indexer operation.
이하, 본 명세서에서는 상기 커맨드에 대해 일례를 들어 보다 상세히 설명하겠다.In the following description, the command will be described in more detail with an example.
본 발명의 일실시예에 따른 프로토콜 사양은 기본적으로 4포트(Port)를 기준으로 한다.Protocol specification according to an embodiment of the present invention is basically based on four ports.
다음 표 1에서는 본 발명의 일실시예에 따른 커맨드(Command : 명령어)의 종류를 나타내는 것이다.Table 1 shows the types of commands (commands) according to an embodiment of the present invention.
<표 1> 커맨드 종류<Table 1> Command Type
또한, 본 발명의 일실시예에 따른 응답 및 보고(Reply, 인덱서(Indexer→M/C)의 패킷의 포맷은 도 4에 도시된 바와 같다.In addition, the format of the packet of the response and report (Reply, Indexer → M / C) according to an embodiment of the present invention is shown in FIG.
즉, 마스터 장치(M/C)에서 슬레이브 장치(Indexer:인덱서)로 패킷이 전송되면(도 2참조), 응답 및 보고 패킷이 슬레이브 장치에서 마스터 장치로 전송된다(도 4참조). That is, when a packet is transmitted from the master device M / C to a slave device (indexer) (see FIG. 2), a response and report packet is transmitted from the slave device to the master device (see FIG. 4).
도 4에 도시된 바와 같이, 본 발명의 일실시예에 따른 슬레이브 장치에서 마스터 장치로의 응답 및 보고의 패킷의 포맷은 헤더의 시작(SOH : Start of Header) 필드부와, 문자열 길이(LEN : Length) 필드부와, 응답(Reply) 필드부와, 체크섬(CHK : CHecKsum) 필드부와, 헤더의 종료 필드부(EXT :EXTend)를 포함하여 이루어진다.As shown in FIG. 4, the format of a packet of a response and a report from a slave device to a master device according to an embodiment of the present invention includes a start of header (SOH) field part and a string length (LEN). Length field portion, a reply field portion, a checksum (CHK: CHecKsum) field portion, and a header end field portion (EXT: EXTend).
다음 표 2는 상기 응답(Reply) 필드부의 내용을 나타낸다.Table 2 below shows the contents of the reply field unit.
<표 2> 응답 필드부의 내용<Table 2> Contents of response field part
다음으로, 상기 커맨드에 대해 보다 상세히 설명하겠다.Next, the command will be described in more detail.
(1)커맨드 'B'는 바 코드 리더(Bar Code Reader)의 결과 값을 알려주라는 명령어이다. (1) Command 'B' is a command to tell the result value of Bar Code Reader.
상기 커맨드 'B'는 해당 롯 스타트(Lot Start) 되기 전에 인덱서(Indexer)로 반드시 보내주어야 하며, 바 코드(Bar Code) 결과 값은 인덱서 장비(슬레이브 장치)내의 디스플레이부(모니터 등)에 디스플레이된다.The command 'B' must be sent to the indexer before the corresponding lot start, and the bar code result value is displayed on the display unit (monitor, etc.) in the indexer device (slave device). .
상기 커맨드 'B'가 포함된 패킷의 포맷(M/C →인덱서)은 도 5(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'B' is as shown in FIG.
도 5(a)를 참조하면, 커맨드 'B'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(B) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 5A, a packet including a command 'B' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (B) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(B) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 ID 필드부와, DATA 필드부가 더 포함된다.An ID field part and a DATA field part are further included between the command B field part and the checksum upper bit part CHKH.
상기 ID 필드부는 포트(Port)를 말하며, 상기 DATA 필드부는 바 코드의 결과 값을 의미한다. The ID field part refers to a port, and the DATA field part means a result value of a bar code.
본 발명에서는 상기 DATA 필드부의 자리수는 제한이 없는 것이 바람직하다.In the present invention, the number of digits in the DATA field portion is preferably unlimited.
도 5(b)는 상기 도 5(a)에 대한 응답 패킷의 포맷이다.FIG. 5B is a format of a response packet to FIG. 5A.
도 5(b)를 참조하면, 커맨드 'B'가 포함된 마스터 장치(M/C)에서 슬레이브 장치(Indexer)로의 패킷 전송에 대한 응답 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 응답(Reply) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 5B, a response packet for a packet transmission from a master device M / C including a command 'B' to a slave device (Indexer) includes a start (SOH) field part of a header and a string length ( LEN) field portion, reply field portion, checksum (CHKH, CHKL) field portion, and header end field portion (EXT).
도시된 도 5(b)에서 응답(Reply) 필드부의 'A'는 '정상적으로 전송이 되었다'는 것을 의미한다(표 2참조).In FIG. 5 (b), 'A' in the reply field part means 'normally transmitted' (see Table 2).
(2)커맨드 'C'는 클램프 온(ON), 흡착 온(ON)을 하라는 명령어이다.(2) Command 'C' is a command to clamp ON and adsorption ON.
상기 커맨드 'C'가 포함된 패킷의 포맷(M/C →인덱서)은 도 6(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'C' is as shown in FIG.
도 6(a)를 참조하면, 커맨드 'C'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(C) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 6A, a packet including a command 'C' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (C) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(C) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 N1 필드부가 더 포함된다.An N1 field part is further included between the command C field part and the checksum upper bit part CHKH.
상기 N1 필드부는 포트(Port)번호 또는 흡착 암 설정을 말하며, 표 3에 나타난 바와 같다.The N1 field part refers to a port number or adsorption arm setting, as shown in Table 3.
<표 3> N1 필드부의 내용<Table 3> Contents of N1 field part
도 6(b)는 상기 도 6(a)에 대한 응답 패킷의 포맷이다.FIG. 6B is a format of a response packet to FIG. 6A.
상기 도 6(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 6 (b) is the same as the format shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(3)커맨드 'D'는 인덱서 내의 포트 상태를 지정해주는 명령어이다.(3) Command 'D' is a command to specify the port state in the indexer.
상기 커맨드 'D'가 포함된 패킷의 포맷(M/C →인덱서)은 도 7(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'D' is as shown in FIG.
도 7(a)를 참조하면, 커맨드 'D'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(D) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 7A, a packet including a command 'D' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (D) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(D) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 n개의 P 필드부(P1 ~ Pn)가 더 포함된다.N P field parts P1 to Pn are further included between the command D field part and the checksum upper bit part CHKH.
상기 P1 내지 Pn 필드부는 해당 포트에 대한 작업 상태를 나타내고 있으며, 다음 표 4에 그 내용이 보다 상세히 나타난다.The P1 to Pn field parts indicate operation states for the corresponding ports, and the contents thereof are shown in more detail in Table 4 below.
<표 4> 1 내지 Pn 필드부의 내용<Table 4> Contents of 1 to Pn field part
상기 포트 번호 0에 해당하는 '엠티(Empty)'이라는 것은, '어떤 카세트(Cassette)도 로드(Load)되지 않았다'라는 것을 나타낸다(Load REQ).'Empty' corresponding to the
상기 포트 번호 1에 해당하는 '아이들(Idle)'이라는 것은, 카세트가 로드되었지만 클램프가 오프(Clamp OFF) 상태인 것을 나타낸다.'Idle' corresponding to the
상기 포트 번호 2에 해당하는 '기다림(Waiting)'이라는 것은, 카세트 클램프가 온(Cassette Clamp ON), 비씨알(BCR) 읽음, 맵핑(Mapping)의 종료를 의미한다.'Waiting' corresponding to the port number 2 means that the cassette clamp is turned on, the CCR is read, the BCR is read, and the mapping is terminated.
상기 포트 번호 3에 해당하는 '리저브드(Reserved)'이라는 것은, 프로세스 스타트(Process Start) 명령을 받았고, 본체에 유리(Glass)의 투입을 기다리는 상태라는 것을 나타낸다.The term 'reserved' corresponding to the port number 3 indicates that a process start command has been received and the body waits for glass to be injected into the main body.
상기 포트 번호 4에 해당하는 '비지(Busy)'이라는 것은, 유리가 이재중라는 것을 나타낸다.'Busy' corresponding to the port number 4 indicates that the glass is being transferred.
상기 포트 번호 5에 해당하는 '완료(Completed)'이라는 것은, 카세트 내의 유리가 모두 이재되었다는 것을 나타낸다.(Unload REQ)'Completed' corresponding to the
상기 포트 번호 6에 해당하는 '취소됨(Cancelled)'이라는 것은, 프로세스가 시작되기 전에 카세트의 프로세스가 취소되었다는 것을 나타낸다'Cancelled' corresponding to the port number 6 indicates that the cassette's process was canceled before the process started.
상기 포트 번호 7에 해당하는 '어보티드(Aborted)'이라는 것은, '프로세스가 처리되는 동안 『Abort』 스위치가 눌리어 지거나 호스트 명령에 의해 프로세스가 취소되었다'는 것을 의미한다.The term 'Aborted' corresponding to the
상기 포트 번호 8에 해당하는 '일시정지(Paused)'이라는 것은, 호스트의 일시정지(Pause) 명령에 의해 유리(Glass)의 이재를 일시 정지한 상태를 말한다. The term 'Paused' corresponding to the
상기 포트 번호 9에 해당하는 '미알림(Unknown)'이라는 것은, 어떤 상태인지 알 수 없다는 것을 나타낸다.'Unknown' corresponding to the port number 9 indicates that the state is unknown.
도 7(b)는 상기 도 7(a)에 대한 응답 패킷의 포맷이다.FIG. 7B shows the format of the response packet of FIG. 7A.
상기 도 7(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 7 (b) is the same as the format shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(4)커맨드 'E'는 인덱서(Indexer) 내의 상태를 모두 삭제하고, 최초 인덱서 구동 당시의 상태로 재설정하라는 명령어이다.(4) The command 'E' is a command for deleting all the states in the indexer and resetting it to the state when the first indexer was started.
상기 커맨드 'E'가 포함된 패킷의 포맷(M/C →인덱서)은 도 8(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'E' is as shown in FIG.
도 8(a)를 참조하면, 커맨드 'E'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(E) 필드부와, 체크섬(CHKH, CHKL) 필드부 와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 8A, a packet including a command 'E' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (E) field part, and a checksum (CHKH, CHKL). ) Field part and header end field part (EXT).
상기 커맨드(E) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 R 필드부, A 필드부, S 필드부, E 필드부가 더 포함된다.An R field part, an A field part, an S field part, and an E field part are further included between the command E field part and the checksum upper bit part CHKH.
여기서, 'E 필드부, R 필드부, A 필드부, S 필드부, E 필드부'는 'ERASE(삭제)'를 하라는 것을 나타낸다.Here, the 'E field part, the R field part, the A field part, the S field part, and the E field part' indicates to perform 'ERASE'.
도 8(b)는 상기 도 8(a)에 대한 응답 패킷의 포맷이다.FIG. 8B is a format of a response packet to FIG. 8A.
상기 도 8(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 8 (b) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(5)커맨드 'H'는 기존에 설정된 홈 포지션(Home Position : 대기위치)으로 이동하라는 명령어로, 로더(Loader)에서 발생된다.(5) The command 'H' is a command to move to the previously set home position (Home Position: Standby position). It is generated in the loader.
상기 커맨드 'H'가 포함된 패킷의 포맷(M/C →인덱서)은 도 9(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'H' is as shown in FIG. 9 (a).
도 9(a)를 참조하면, 커맨드 'H'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(H) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 9A, a packet including a command 'H' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (H) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(H) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 3개의 필드부(N1 ~ N3)가 더 포함된다.Three field parts N1 to N3 are further included between the command H field part and the checksum upper bit part CHKH.
상기 필드부(N1)는 홈 포지션(Home Position : 대기위치)을 나타내며, 표 5에 나타난 바와 같다.The field portion N1 represents a home position (home position), as shown in Table 5.
<표 5> N1 필드부의 내용<Table 5> Contents of N1 field part
본 발명에서는 상기 홈 포지션으로의 이동 시 택 타임(Tack Time)을 조금이라도 줄이기 위해 다음 유리를 쉽게 취할 수 있는 위치로 이동하는 것이 바람직하다. In the present invention, it is preferable to move to the position where the next glass can be easily taken in order to reduce the tack time even a little when moving to the home position.
상기 필드부(N2, N3)는 슬롯의 위치(00 ~ 20)를 나타낸다.The field portions N2 and N3 indicate the positions 00 to 20 of the slots.
도 9(b)는 상기 도 9(a)에 대한 응답 패킷의 포맷이다.FIG. 9B is a format of a response packet to FIG. 9A.
상기 도 9(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 9 (b) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(6)커맨드 'I'는 인덱서(Indexer) 장비 전체의 상태(Status)를 초기화하되, 상기 초기화 내용은 반드시 현재 인덱서 상태로 돌아와야 한다는 명령어이다.(6) The command 'I' initializes the status of the entire indexer equipment, but the initialization contents must return to the current indexer status.
예를 들어, 포트 1 위에 카세트가 있지만 일시적으로는 카세트가 없는 것으로 초기화하지만 초기화가 끝난 후에는 카세트가 있음으로 표시해야 한다.For example, if there is a cassette above
상기 커맨드 'I'가 포함된 패킷의 포맷(M/C →인덱서)은 도 10(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'I' is as shown in FIG.
도 10(a)를 참조하면, 커맨드 'I'가 포함된 패킷은 헤더의 시작(SOH) 필드부 와, 문자열 길이(LEN) 필드부와, 커맨드(I) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 10A, a packet including a command 'I' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (I) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(I) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 3개의 필드부(N, I, T)가 더 포함된다.Three field parts (N, I, T) are further included between the command (I) field part and the checksum higher bit part (CHKH).
상기 3개의 필드부(N, I, T)는 슬레이브장치에서 보다 쉽게 인식하기 위해 부가된 필드부이다. 즉, 상기 커맨드(I) 필드부는 상기 3개의 필드부(N, I, T)와 함께 영단어 'INIT'를 나타낸다.The three field parts N, I, and T are field parts added for easier recognition by the slave device. That is, the command (I) field part represents the English word 'INIT' together with the three field parts (N, I, T).
도 10(b)는 상기 도 10(a)에 대한 응답 패킷의 포맷이다.FIG. 10B shows the format of the response packet for FIG. 10A.
상기 도 10(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.The response packet shown in FIG. 10 (b) is the same as the format shown in FIG. 5 (b), and thus a detailed description thereof will not be provided herein.
(7)커맨드 'K'는 마스터 장치(M/C)와 사용자(Customer : SEC or HD, ETC...)와의 온라인(Online) 형태를 표시해주는 명령어이다. 즉, 상기 커맨드 'K'는 M/C와 Customer와의 Online 형태가 변경될 때 반드시 인덱서 장비로 알려주어야 하며, 변경된 사항은 인덱서 장비내의 디스플레이부(모니터 등)에 디스플레이해야 한다는 명령어이다.(7) Command 'K' is a command to display the online form between the master device (M / C) and the user (Customer: SEC or HD, ETC ...). That is, the command 'K' must be notified to the indexer equipment when the online form between the M / C and the customer is changed, and the changed command is to be displayed on the display unit (monitor, etc.) in the indexer equipment.
상기 커맨드 'K'가 포함된 패킷의 포맷(M/C →인덱서)은 도 11(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'K' is shown in FIG. 11 (a).
도 11(a)를 참조하면, 커맨드 'K'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(K) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 11A, a packet including a command 'K' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (K) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(K) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 ID 필드부가 더 포함된다.An ID field part is further included between the command K field part and the checksum upper bit part CHKH.
상기 ID 필드부 온라인 상태 코드를 나타내며, 보다 상세한 내용은 표 6에 나타난 바와 같다.The ID field part indicates an online status code, and details thereof are as shown in Table 6.
<표 6> ID 필드부의 내용<Table 6> Contents of ID field part
도 11(b)는 상기 도 11(a)에 대한 응답 패킷의 포맷이다.FIG. 11B is the format of the response packet to FIG. 11A.
상기 도 11(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 11 (b) is the same as the format shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(8)커맨드 'M'은 유리를 반송하라는 명렁어이다.(8) Command 'M' is a command to return glass.
상기 커맨드 'M'이 포함된 패킷의 포맷(M/C →인덱서)은 도 12(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'M' is as shown in FIG.
도 12(a)를 참조하면, 커맨드 'M'이 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(M) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 12A, a packet including a command 'M' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (M) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(M) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 필드부(M1, P1, S1, P2, S2)가 더 포함된다.Field portions M1, P1, S1, P2, and S2 are further included between the command M field portion and the checksum higher bit portion CHKH.
상기 필드부(M1)은 유리를 반송하는 형태를 나타내며, 보다 상세한 내용은 표 7에 나타난 바와 같다.The said field part M1 shows the form which conveys glass, and the detail is as showing in Table 7.
<표 7> M1 필드부의 내용<Table 7> Contents of M1 field part
상기 필드부(P1, P2)는 포트번호를 나타내며, 보다 상세한 내용은 표 8에 나타난 바와 같다.The field parts P1 and P2 represent port numbers, and the details thereof are shown in Table 8.
<표 8> 필드부(P1, P2)의 내용<Table 8> Contents of field part P1, P2
상기 필드부(S1, S2)는 슬롯의 번호를 나타내며, 보다 상세한 내용은 표 9에 나타난 바와 같다.The field parts S1 and S2 represent slot numbers, and the details thereof are shown in Table 9.
<표 9> 필드부(S1, S2)의 내용<Table 9> Contents of the field parts S1 and S2
도 12(b)는 상기 도 12(a)에 대한 응답 패킷의 포맷이다.FIG. 12B shows the format of the response packet for FIG. 12A.
상기 도 12(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 12 (b) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(9)커맨드 'O'는 인덱서(Indexer) 장비내의 구동축을 원점으로 이동하라는 명령어이다.(9) Command 'O' is a command to move the drive shaft in the indexer to the origin.
상기 커맨드 'O'는 장비의 초기(Initial) 단계 또는 작동 패널(Operation Panel)에서 'Origin'버튼을 눌렀을 경우 발생한다.The command 'O' occurs when the 'Origin' button is pressed at the initial stage of the equipment or at the operation panel.
본 발명에서는 따로 커맨드 'INIT'가 발생하지 않으므로 커맨드 'O'가 발생할 경우 인덱서 장비(장치)의 모든 상태가 초기화되는 것이 좋다.In the present invention, since the command 'INIT' does not occur separately, it is preferable that all states of the indexer equipment (device) are initialized when the command 'O' occurs.
상기 커맨드 'O'가 포함된 패킷의 포맷(M/C →인덱서)은 도 13(a)에 도시된 바와 같다.The format (M / C → indexer) of the packet including the command 'O' is as shown in FIG. 13 (a).
도 13(a)를 참조하면, 커맨드 'O'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(O) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 13A, a packet including a command 'O' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (O) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(O) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 N1 필드부가 더 포함된다.An N1 field part is further included between the command (O) field part and the checksum upper bit part CHKH.
본 발명에서는 상기 N1 필드부에 의해 원점 이동시킬 대상을 선택할 수 있다.In the present invention, the target to be moved to the origin can be selected by the N1 field portion.
다음 표 10은 N1 필드부의 내용이다.Table 10 below shows the contents of the N1 field part.
<표 10> N1 필드부의 내용<Table 10> Contents of N1 field part
도 13(b)는 상기 도 13(a)에 대한 응답 패킷의 포맷이다.FIG. 13 (b) shows the format of the response packet for FIG. 13 (a).
상기 도 13(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 13 (b) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(10)커맨드 'P'는 카세트의 로드(Load) 또는 언로드(Unload)를 승인하라는 명령어이다. (10) Command 'P' is a command to approve the loading or unloading of a cassette.
상기 커맨드 'P'가 포함된 패킷의 포맷(M/C →인덱서)은 도 14(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'P' is as shown in FIG.
도 14(a)를 참조하면, 커맨드 'P'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(P) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 14A, a packet including a command 'P' includes a start (SOH) field part of a header, a string length (LEN) field part, a command P field part, a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(P) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 필드부(ST, ID)가 더 포함된다.Field portions ST and ID are further included between the command P field portion and the checksum higher bit portion CHKH.
상기 ST 필드부는 포트 번호를 나타내며, 보다 상세한 내용은 표 11에 나타난 바와 같다.The ST field part represents a port number, and details thereof are as shown in Table 11.
<표 11> ST 필드부의 내용<Table 11> Contents of ST field part
상기 ID 필드부는 승인 코드를 나타내며, 보다 상세한 내용은 표 12에 나타난 바와 같다.The ID field part represents an authorization code, and details thereof are as shown in Table 12.
<표 12> ID 필드부의 내용<Table 12> Contents of ID field part
도 14(b)는 상기 도 14(a)에 대한 응답 패킷의 포맷이다.FIG. 14B shows the format of the response packet shown in FIG. 14A.
상기 도 14(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 14 (b) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(11)커맨드 'R'는 인덱서 장비에 경도(輕度) 에러(Error)가 발생하였을 경우 인덱서 장비는 일시정지(Pause)하라는 명령어이다. (11) Command 'R' is a command to pause the indexer device when a hardness error occurs in the indexer device.
상기 커맨드 'R'는 상기 일시정지 상태에서 일시정지 전의 동작을 계속시키려고 할 때도 사용된다.The command 'R' is also used to continue the operation before the pause in the pause state.
상기 커맨드 'R'이 포함된 패킷의 포맷(M/C →인덱서)은 도 15(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'R' is as shown in FIG. 15 (a).
도 15(a)를 참조하면, 커맨드 'R'이 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(R) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 15A, a packet including a command 'R' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (R) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(R) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 N1 필드부가 더 포함된다.An N1 field part is further included between the command R field part and the checksum upper bit part CHKH.
상기 N1 필드부는 재시도(Retry) 형태를 지정하며, 보다 상세한 내용은 표 13에 나타난 바와 같다.The N1 field part specifies a retry type, and more details are shown in Table 13.
<표 13> N1 필드부의 내용<Table 13> Contents of N1 field part
도 15(b)는 상기 도 15(a)에 대한 응답 패킷의 포맷이다.FIG. 15B is a format of a response packet to FIG. 15A.
상기 도 15(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 15 (b) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(12)커맨드 'SS'는 에러 발생시 상태를 확인하라는 명령어이다.(12) Command 'SS' is a command to check the status when an error occurs.
상기 커맨드 'SS'가 포함된 패킷의 포맷(M/C →인덱서)은 도 16(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'SS' is as shown in FIG.
도 16(a)를 참조하면, 커맨드 'SS'가 포함된 패킷은 헤더의 시작(SOH) 필드 부와, 문자열 길이(LEN) 필드부와, 커맨드(S, S) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 16A, a packet including a command 'SS' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (S, S) field part, and a checksum (CHKH). , CHKL) field portion, and a header end field portion (EXT).
도 16(b)는 상기 도 16(a)에 대한 응답 패킷의 포맷이다.FIG. 16B shows the format of the response packet to FIG. 16A.
상기 도 16(b)에 나타난 응답 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 응답(A) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.The response packet shown in FIG. 16 (b) includes a header start (SOH) field part, a string length (LEN) field part, a response (A) field part, a checksum (CHKH, CHKL) field part, And an end field section EXT.
상기 응답(A) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 8행의 필드부(E1 ~E8)가 더 포함된다.Eight field fields E1 to E8 are further included between the response A field portion and the checksum higher bit portion CHKH.
상기 8행의 필드부(E1 ~E8)는 도 16(c)에 도시된 바와 같다.The field portions E1 to E8 in the eighth rows are as shown in Fig. 16C.
다음 표 14는 E1 필드부의 내용을 상세히 나타낸 것이다.Table 14 shows details of the E1 field part.
<표 14> E1 필드부의 내용<Table 14> Contents of E1 field part
다음 표 15는 E2 필드부의 내용을 상세히 나타낸 것이다.Table 15 below shows the contents of the E2 field part in detail.
<표 15> E2 필드부의 내용<Table 15> Contents of E2 field part
다음 표 16은 E3 필드부의 내용을 상세히 나타낸 것이다.Table 16 below shows the contents of the E3 field part in detail.
<표 16> E3 필드부의 내용<Table 16> Contents of E3 field part
다음 표 17은 E4 필드부의 내용을 상세히 나타낸 것이다.Table 17 below shows the contents of the E4 field part in detail.
<표 17> E4 필드부의 내용<Table 17> Contents of E4 field part
다음 표 18은 필드부(E5 ~ E8)의 내용을 상세히 나타낸 것이다.Table 18 below shows the contents of the field parts E5 to E8 in detail.
<표 18> 필드부(E5 ~ E8)의 내용<Table 18> Contents of the field part (E5 ~ E8)
(13)커맨드 'SZ'는 장비 상태를 확인하라는 명령어이다.(13) Command 'SZ' is a command to check the equipment status.
상기 커맨드 'SZ'가 포함된 패킷의 포맷(M/C →인덱서)은 도 17(a)에 도시된 바와 같다.The format (M / C → indexer) of the packet including the command 'SZ' is as shown in FIG.
도 17(a)를 참조하면, 커맨드 'SZ'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(S, Z) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 17A, a packet including a command 'SZ' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (S, Z) field part, and a checksum (CHKH). , CHKL) field portion, and a header end field portion (EXT).
도 17(b)는 상기 도 17(a)에 대한 응답 패킷의 포맷이다.FIG. 17B shows the format of the response packet shown in FIG. 17A.
상기 도 17(b)에 나타난 응답 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 응답(A) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.The response packet shown in FIG. 17 (b) includes a header start (SOH) field part, a string length (LEN) field part, a response (A) field part, a checksum (CHKH, CHKL) field part, and a header. And an end field section EXT.
상기 응답(A) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 29행의 필드부가 더 포함된다.A field section of 29 rows is further included between the response (A) field portion and the checksum higher bit portion (CHKH).
상기 29행의 필드부는 도 17(c)에 도시된 바와 같다.The field section of row 29 is as shown in Fig. 17C.
상기 29행의 필드부의 각 필드별로 그 내용을 살펴보면 다음과 같다.The contents of each field of the field section in line 29 are as follows.
먼저, 상기 필드부(C1 ~ C4)는 해당 포트 내의 카세트 유무를 알려주며, 보다 상세한 내용은 표 19에 나타낸다.First, the field parts C1 to C4 indicate the presence or absence of a cassette in the corresponding port, and the details thereof are shown in Table 19.
<표 19> 필드부(C1 ~ C4)의 내용<Table 19> Contents of the field part (C1 to C4)
상기 표 19에서 2포트인 경우에는 나머지 포트는 모두 '1'로 하는 것이 바람직하다.In the case of two ports in Table 19, all the remaining ports are preferably set to '1'.
상기 필드부(C5 및 C6)는 암(Arm)위에 유리의 유무를 알려주며, 보다 상세한 내용은 표 20에 나타낸다.The field parts C5 and C6 indicate the presence or absence of glass on the arm, and more details are shown in Table 20.
<표 20> 필드부(C5 및 C6)의 내용<Table 20> Contents of the field parts C5 and C6
상기 표 20에서 싱글 암(Single Arm)인 경우에는 C6의 값을 '0'으로 설정하는 것이 바람직하다.In the case of the single arm in Table 20, it is preferable to set the value of C6 to '0'.
상기 N1 필드부는 인덱서(로봇) 장비의 동작 상태를 알려주며, 보다 상세한 내용은 표 21에 나타낸다.The N1 field part informs the operation state of the indexer (robot) equipment, and details are shown in Table 21.
<표 21> N1 필드부의 내용<Table 21> Content of N1 field part
상기 N2 필드부는 에러 발생시 로봇의 위치를 나타내며, 보다 상세한 내용은 표 22에 나타낸다.The N2 field part indicates the position of the robot when an error occurs, and Table 22 shows details.
<표 22> N2 필드부의 내용<Table 22> Contents of N2 field part
상기 N3 필드부는 현재 인덱서 장비 내에서 동작하고 있는 동작축 명칭을 표시하며, 보다 상세한 내용은 표 23에 나타낸다.The N3 field part displays the operation axis name currently operating in the indexer equipment, and details thereof are shown in Table 23.
<표 23> N3 필드부의 내용<Table 23> Content of N3 field part
상기 N4 필드부는 에러코를 나타내며, 보다 상세한 내용은 표 24에 나타낸다.The N4 field portion represents an error code, and details are shown in Table 24.
<표 24> N4 필드부의 내용<Table 24> Contents of N4 field part
상기 MD 필드부는 M/C장치(마스터 장치)로부터 최종적으로 수신된 내용을 표시한다.The MD field portion displays the content finally received from the M / C device (master device).
상기 MD 필드부는 기본적으로 8자리이지만 최종 수신 내용이 8자리보다 작을 경우 나머지 남는 자리는 모두 아스키코드 '20H'로 채우는 것이 바람직하다.The MD field part is basically 8 digits, but if the final received content is less than 8 digits, it is preferable to fill all remaining spaces with ASCII code '20H'.
예를 들면, 최종 수신 명령이 'M1101A00'일 경우에는 도 17(d)에 도시된 바와 같이 나타낸다.For example, when the last received command is 'M1101A00', it is shown as shown in Fig. 17 (d).
또한, 최종 수신 명령이 '01'일 경우에는 도 17(e)에 도시된 바와 같이 나타낸다.In addition, when the last reception command is '01', it is shown as shown in Fig. 17 (e).
여기서, 아스키코드 값 '20H'는 블랭크(blank)를 의미한다.Here, the ASCII code value '20H' means blank.
상기 S1 필드부는 AGV 컨트롤러 장치 상태를 나타내며, 보다 상세한 내용은 표 25에 나타낸다.The S1 field portion represents an AGV controller device state, and Table 25 shows more details.
<표 25> S1 필드부의 내용<Table 25> Contents of S1 field part
상기 필드부(D1 ~ D4)는 해당 포트의 카세트 로딩/언로딩 방식을 설정하며, 보다 상세한 내용은 표 26에 나타낸다.The field units D1 to D4 set the cassette loading / unloading method of the corresponding port, and the details thereof are shown in Table 26.
<표 26> 필드부(D1 ~ D4)의 내용<Table 26> Contents of field part (D1-D4)
상기 표 26에서 2포트를 사용하는 경우에는 나머지 포트는 모두 'D'로 설정하는 것이 바람직하다.In the case where two ports are used in Table 26, all the remaining ports are preferably set to 'D'.
①본 발명의 일실시예에서는 프로토콜(Protocol) 사양은 기본적으로 4 포트(Port)를 기준으로 한다. ① In one embodiment of the present invention, the protocol specification is basically based on four ports.
이에 따라, 본 명세서를 이용하여 2 Port용 인덱서에는 ①C1 ~ C4 중 사용하지 않는 포트의 해당 비트를 '1'로 채우고, ②D1 ~ D4 중 사용하지 않는 포트의 해당 비트를 'D'로 채운다. 물론, D1 ∼ D4는 'Z' Command 에 의해 설정되지만, 기본적으로 프로그램 시작시 디폴트로 D1 ∼ D4에 'D'를 채운다. ③그리고, 마지막으로 D9 ~ D12 중 사용하지 않는 포트는 '!'로 채운다.Accordingly, using the present specification, the 2 port indexer fills the corresponding bit of the unused port of the C1 ~ C4 with '1', and fills the corresponding bit of the unused port of the D1 ~ D4 with the 'D'. Of course, D1 to D4 are set by the 'Z' Command, but basically fill D1 to D4 by default at the start of the program. ③ And, finally, unused port among D9 ~ D12 is filled with '!'.
본 발명의 일실시예에서는 상기 필드부(D5 ~ D8)는 정의하지 않는다.In one embodiment of the present invention, the field units D5 to D8 are not defined.
상기 필드부(D9 ~ D12)는 카세트 포트의 상태(P커맨드를 사용하지 않음)를 나타내며, 크게 P 커맨드가 무효인 경우와, 유효인 경우로 나눌 수 있다.The field portions D9 to D12 represent the state of the cassette port (without using the P command), and can be divided into a case where the P command is invalid and a case where the P command is invalid.
상기 P 커맨드가 무효인 경우에 대한 보다 상세한 내용은 표 27에 나타난 바와 같다.Details of the case where the P command is invalid are shown in Table 27.
<표 27>TABLE 27
상기 P 커맨드가 유효인 경우에 대한 보다 상세한 내용은 표 28에 나타난 바와 같다.More details of the case where the P command is valid are shown in Table 28.
<표 28>TABLE 28
다음 표 29에서는 상기 D13 필드부에 대한 상세히 나타내고 있다.Table 29 shows details of the D13 field part.
<표 29>TABLE 29
다음 표 30에서는 상기 D14 필드부에 대한 상세히 나타내고 있다.Table 30 below shows the details of the D14 field part.
<표 30>TABLE 30
(14)커맨드 'U'는 클램프 오프(OFF), 흡착 오프(OFF)를 하라는 명령어이다.(14) Command 'U' is a command to clamp off and to turn off suction.
상기 커맨드 'U'가 포함된 패킷의 포맷(M/C →인덱서)은 도 18(a)에 도시된 바와 같다.The format (M / C-> indexer) of the packet including the command 'U' is as shown in FIG. 18 (a).
도 18(a)를 참조하면, 커맨드 'U'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(U) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 18A, a packet including a command 'U' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (U) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(U) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 N1 필드부가 더 포함된다.An N1 field part is further included between the command U field part and the checksum upper bit part CHKH.
상기 N1 필드부는 포트(Port)번호 또는 흡착 암 설정을 나타내며, 표 31에 나타난 바와 같다.The N1 field part represents a port number or an adsorption arm setting, as shown in Table 31.
<표 31> N1 필드부의 내용<Table 31> Content of N1 field part
상기 표 31에서 암 흡착 오프시 해당 암 위에 유리가 존재한다면 이 커맨드 는 무시된다.In Table 31 above, this command is ignored if glass is present on the arm at the time of arm adsorption off.
도 18(b)는 상기 도 18(a)에 대한 응답 패킷의 포맷이다.FIG. 18B is a format of a response packet to FIG. 18A.
상기 도 18(b)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 18 (b) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
(15)커맨드 'W'는 유리 검색의 시작 명령어이다.(15) The command 'W' is the start command for rational search.
상기 커맨드 'W'가 포함된 패킷의 포맷(M/C →인덱서)은 두가지 종류가 있다.There are two types of packet format (M / C? Indexer) including the command 'W'.
첫째, 도 19(a)에 도시된 바와 같이, 커맨드 'W'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(W, S, N1) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.First, as shown in Fig. 19A, a packet including a command 'W' includes a start (SOH) field part of a header, a string length (LEN) field part, and a command (W, S, N1) field. And a checksum (CHKH, CHKL) field portion, and a header end field portion (EXT).
상기 첫째인 경우는 오토 맵핑(Auto mapping)이 아닌 경우에 사용된다.The first case is used when it is not Auto mapping.
둘째, 도 19(b)에 도시된 바와 같이, 커맨드 'W'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(W, D, N1) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다. Second, as shown in Fig. 19B, the packet including the command 'W' includes a start (SOH) field part of a header, a string length (LEN) field part, and a command (W, D, N1) field. And a checksum (CHKH, CHKL) field portion, and a header end field portion (EXT).
상기 둘째인 경우는 오토 맵핑(Auto mapping)인 경우에 사용된다.The second case is used in the case of auto mapping.
다음 표 32는 상기 N1 필드부에 내용을 나타낸 것이다. 여기서, 상기 N1 필드부는 포트번호를 나타낸다.Table 32 shows the contents of the N1 field part. Here, the N1 field portion represents a port number.
<표 32> N1 필드부에 내용<Table 32> Contents of N1 field part
도 19(c)는 상기 도 19(a)에 대한 응답 패킷의 포맷이다.19 (c) is a format of a response packet to FIG. 19 (a).
상기 도 19(c)에 나타난 응답 패킷은 도 5(b)에 나타난 포맷과 같으므로, 여기서는 그에 대한 상세한 설명은 하지 않기로 한다.Since the response packet shown in FIG. 19 (c) has the same format as shown in FIG. 5 (b), a detailed description thereof will not be provided herein.
도 19(d)는 상기 도 19(b)에 대한 응답 패킷의 포맷이다.FIG. 19D shows the format of the response packet shown in FIG. 19B.
상기 도 19(d)에 나타난 응답 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 응답(A) 필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.The response packet shown in FIG. 19 (d) includes a header start (SOH) field part, a string length (LEN) field part, a response (A) field part, a checksum (CHKH, CHKL) field part, and a header. And an end field section EXT.
상기 응답(A) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 20행의 필드부(D1 ~ D20)가 더 포함된다.The field portions D1 to D20 of 20 rows are further included between the response A field portion and the checksum higher bit portion CHKH.
상기 20행의 필드부(D1 ~ D20)는 도 19(e)에 도시된 바와 같으며, 상세한 내용은 표 33에 나타난다.The field portions D1 to D20 of the 20th row are as shown in FIG. 19E, and the details are shown in Table 33.
<표 33> 필드부(D1 ~ D20)의 내용<Table 33> Contents of field part (D1-D20)
(16)커맨드 'Z'는 카세트를 로딩/언로딩할 장치를 선택하는 명령어이다.(16) Command 'Z' is a command for selecting a device to load / unload a cassette.
상기 커맨드 'Z'가 포함된 패킷의 포맷(M/C →인덱서)은 도 20(a)에 도시된 바와 같다.The format (M / C? Indexer) of the packet including the command 'Z' is as shown in FIG. 20 (a).
도 20(a)를 참조하면, 커맨드 'Z'가 포함된 패킷은 헤더의 시작(SOH) 필드부와, 문자열 길이(LEN) 필드부와, 커맨드(Z)필드부와, 체크섬(CHKH, CHKL) 필드부와, 헤더의 종료 필드부(EXT)를 포함하여 이루어진다.Referring to FIG. 20A, a packet including a command 'Z' includes a start (SOH) field part of a header, a string length (LEN) field part, a command (Z) field part, and a checksum (CHKH, CHKL). ) Field portion and the end field portion EXT of the header.
상기 커맨드(Z) 필드부와 체크섬 상위 비트부(CHKH) 사이에는 4개의 필드부(D1 ~ D4)가 더 포함된다.Four field parts D1 to D4 are further included between the command Z field part and the checksum upper bit part CHKH.
상기 필드부(D1 ~ D4)는 카세트를 로딩/언로딩할 장치를 선택하는 것을 나타내며, 표 34에 나타난 바와 같다.The field parts D1 to D4 indicate selecting a device for loading / unloading a cassette, as shown in Table 34.
<표 34> 필드부(D1 ~ D4)의 내용<Table 34> Contents of field part (D1-D4)
상기와 같이, 마스터 장치와 슬레이브 장치간 하나의 패킷의 포맷을 제공함으로써 다양한 형태의 장비를 취급하는 회사들 간 보다 용이하게 데이터 전송이 이루어지며, 마스터 장치와 슬레이브 장치의 상태와 제어를 보다 용이하고 간결하게 이루어질 수 있다.As described above, by providing a format of one packet between the master device and the slave device, data transmission is more easily performed between companies dealing with various types of equipment, and the status and control of the master device and the slave device are easier. It can be done concisely.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040008012A KR100622828B1 (en) | 2004-02-06 | 2004-02-06 | Communication Method of Serial Communication System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040008012A KR100622828B1 (en) | 2004-02-06 | 2004-02-06 | Communication Method of Serial Communication System |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050079526A KR20050079526A (en) | 2005-08-10 |
KR100622828B1 true KR100622828B1 (en) | 2006-09-18 |
Family
ID=37266448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040008012A KR100622828B1 (en) | 2004-02-06 | 2004-02-06 | Communication Method of Serial Communication System |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100622828B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101649790B1 (en) * | 2014-05-12 | 2016-08-19 | 엘에스산전 주식회사 | Feeder terminal unit |
WO2018062722A1 (en) * | 2016-09-28 | 2018-04-05 | 주식회사 비온시이노베이터 | Acupuncture training simulation system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19980047473A (en) * | 1996-12-14 | 1998-09-15 | 박정옥 | Device type classification method by communication protocol |
-
2004
- 2004-02-06 KR KR1020040008012A patent/KR100622828B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19980047473A (en) * | 1996-12-14 | 1998-09-15 | 박정옥 | Device type classification method by communication protocol |
Also Published As
Publication number | Publication date |
---|---|
KR20050079526A (en) | 2005-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101068380B1 (en) | A multi-function peripheral device, corresponding method and electronic system having a peripheral and a host communicating via a single interface | |
US6745267B2 (en) | Multi-functional mini-memory card suitable for SFMI and USB interfaces | |
CN107168754B (en) | System and method relating to multi-module compilation | |
CN1595381B (en) | Bridge controllers, bridge and method for operating the bridge | |
CN111240238B (en) | Chip control system | |
EP0496177A1 (en) | Method of transmitting data by buffer chaining between a host computer and a communication controller | |
CN101814058A (en) | Commonly-used storing device | |
CN101013464A (en) | Method for information interaction between host computer and smart card | |
CN109782153A (en) | A kind of method, apparatus of chip testing, chip and computer storage medium | |
CN100468440C (en) | Method and device for information interaction between host and smart card | |
KR100622828B1 (en) | Communication Method of Serial Communication System | |
US20080046615A1 (en) | Computer system providing endian information and method of data transmission thereof | |
CN100414556C (en) | Method and apparatus for host machine and smart card to conduct information interaction | |
US6606524B1 (en) | System and method for controlling an in-line apparatus | |
CN107302522B (en) | USB-based SpaceWire network plug and play base protocol | |
CN111443930B (en) | Upgrading method and device of cascade terminal, storage medium and electronic terminal | |
CN113434089B (en) | Data moving method and device and PCIE system | |
JP2000285036A (en) | Interface test device | |
CN101197959A (en) | Terminal control method, system and equipment | |
CN101261585A (en) | Method and system for updating microcontroller firmware | |
US7137564B2 (en) | Communication protocol for multi-functional mini-memory card suitable for small form memory interface and usb interfaces | |
US20040252649A1 (en) | Dual mode wireless network card link parameter setting device and method of the same | |
JP3851729B2 (en) | Wiring management system and wiring management method | |
CN112988202B (en) | System and method for upgrading FC (fiber channel) module | |
KR20060096737A (en) | Apparatus and method for checking and downloading terminal using multi interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20110826 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |