KR100354887B1 - Vendingmachine for unmemed polling control fee menage system - Google Patents
Vendingmachine for unmemed polling control fee menage system Download PDFInfo
- Publication number
- KR100354887B1 KR100354887B1 KR1020000005386A KR20000005386A KR100354887B1 KR 100354887 B1 KR100354887 B1 KR 100354887B1 KR 1020000005386 A KR1020000005386 A KR 1020000005386A KR 20000005386 A KR20000005386 A KR 20000005386A KR 100354887 B1 KR100354887 B1 KR 100354887B1
- Authority
- KR
- South Korea
- Prior art keywords
- character
- code
- command
- response
- record
- 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F9/00—Details other than those peculiar to special kinds or types of apparatus
- G07F9/006—Details of the software used for the vending machines
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
제어 컴퓨터(10)와 교신하며 컴퓨터의 제어를 받는 스테이션 제어부(11)는 화폐처리부와 약속된 명령 테이블을 보유하고, 하나이상의 화폐처리기를 각각 제어하기 위한 스테이션 제어부의 명령문에 명령코드를 수록하기 위한 명령문자와, 명령수행에 사용될 데이터를 수록하기 위한 하나이상의 데이터 수록문자와, 데이터 길이 정보를 전달하기 위한 데이터 길이 수록문자를 포함하며, 스테이션 제어부에 명령에 응답하여 전송하는 화폐처리기의 응답문에 화폐처리기의 각종 상태를 회신하기 위한 하나이상의 비트맵 상태수록 문자와, 응답에 대응된 명령 코드를 수록하기 위한 명령코드 수록문자와, 회신에 필요한 데이터를 수록하기 위한 데이터 수록문자와, 데이터 길이를 수록하기 위한 데이터 길이 수록문자를 포함하는 자판기의 폴링제어 요금처리장치이다.The station control unit 11, which communicates with the control computer 10 and is under computer control, holds a command table promised with the money processing unit, and stores a command code in a statement of a station control unit for controlling one or more currency processors, respectively. It includes a statement, one or more data carriers for storing data to be used for command execution, and a data length carrier for conveying data length information, and in response to a currency processor that transmits in response to a command to a station controller. One or more bitmap state recording characters for returning various states of the currency processor, command code recording characters for recording the command code corresponding to the response, data recording characters for storing the data required for the reply, and data length. Polling control request of vending machine including data length A processing unit.
Description
이 발명은 무인 자판기(서비스 시스템)을 위한 폴링(polling) 제어 요금처리장치에 관한 것이다.The present invention relates to a polling control tariff for an unmanned vending machine (service system).
종래 자동판매기의 요금처리제어는 대체로 제어가 간편하고 제어 효율이 높은 인터럽트제어를 채용하고 있다. 인터럽트 요금처리 제어는 지폐 수납기, 지폐지급기, 동전 수납기, 동전지급기 등 자동판매기에 장착된 단말 화폐처리기들이 서비스 이용자의 요구에 반응하여 인터럽트 신호를 발생시킬 때 주 제어부에서 인터럽트 신호를 검출하고 신호에 응답하는 제어를 수행하도록 하는 것으로서 제어부는 화폐처리 단말기들의 구체적인 구성에 대응하는 제어를 수행해야 하는 것으로서 다양한 서비스시스템의 요금처리장치로서 적합치 못한 것이었다.In the conventional vending machine, the fee processing control adopts the interrupt control which is generally easy to control and high in control efficiency. Interrupt fee processing control detects and responds to interrupt signal from main controller when terminal money processors installed in vending machines such as bill acceptor, bill dispenser, coin acceptor, coin dispenser generate interrupt signal in response to service user's request The control unit to perform the control corresponding to the specific configuration of the currency processing terminals, which was not suitable as a charge processing device of various service systems.
최근 무인 판매시스템(KIOSK)의 서비스 기능은 무인 증명서 발급처리 분야에 응용되고 있다. 주목받는 예로서 정부 또는 지방자치 단체들은 대민 서비스 업무 전반에 걸쳐 무인서비스 시스템을 구축하기 위한 투자를 계획하고 있는 것이다. 이 결과 아마도 가까운 장래에 은행, 백화점, 전시장과 같은 사람이 많고 시민이 이용하기 편리한 장소에서 중앙정부 또는 지방정부의 무인 행정 서비스를 받게 될 것이다. 이러한 서비스는 전자 대민 창구로서 터치스크린과 사운드, 그래픽, 통신카드 등 멀티 미디어 기기를 포함하는 시스템에 의해 증명서 발급은 물론 음성 응답서비스, 화상 응답서비스의 형태로 질이 높은 대민 서비스로 제공 될 것이다.Recently, the service function of the unmanned sales system (KIOSK) has been applied to the field of issuing unmanned certificate. As a notable example, the government or local governments are planning to invest in establishing an unmanned service system across civil service operations. As a result, perhaps in the near future, they will receive unattended administrative services from central or local governments in places where many people, such as banks, department stores and exhibition halls, are convenient to citizens. This service will be provided as a high-quality citizen service in the form of voice response service, video response service as well as certificate issuance by a system including multimedia devices such as touch screen, sound, graphics, and communication card as an electronic people's counter.
이와 같은 종합 정보 단말기에 공통으로 포함되는 하나의 장치는 서비스 비용을 수납하고 거스름돈을 돌려주기 위한 요금처리 제어장치이다. 상술한바와 같이 요금처리 장치들은 다양한 서비스 장치간에 호환되지 못하고 있으므로 자판기 또는 정보 단말기들의 제작비용을 증대시키고 운용 관리를 어렵게 하는 한 요인이 되고 있는 것이었다.One device commonly included in such a comprehensive information terminal is a fee processing control device for storing service costs and returning change. As described above, since the fee processing devices are not compatible with various service devices, they are one of the factors that increase the manufacturing cost of the vending machine or the information terminals and make operation management difficult.
이 발명은 자판기 또는 다양한 무인 자판기(서비스시스템)에서 요금수납 처리에 범용적으로 사용할 수 있는 폴링 제어 요금처리 장치를 제공함에 목적이 있다.An object of the present invention is to provide a polling control fee processing apparatus that can be used universally for bill payment processing in a vending machine or various unmanned vending machines (service systems).
구체적으로 이 발명은 주 제어장치에 단말 장치들을 RS232C 통신 케이블로접속하고 주 제어장치가 복수의 단말장치들에 대하여 순차로 제어 명령을 전달하고 서비스요구를 문의하여 제어를 행함으로써 주 제어장치가 다양한 단말장치들을 제어할 수 있게 함을 특징으로 하는 것이다.Specifically, the present invention provides a variety of main control devices by connecting terminal devices to the main control device via an RS232C communication cable, and the main control device sequentially transmits control commands to a plurality of terminal devices and performs a request for service requests. It is characterized in that the terminal devices can be controlled.
도 1은 이 발명 요금처리장치의 블록도1 is a block diagram of the charge processing apparatus of the present invention;
< 도면 주요 부호의 설명 ><Description of Drawing Major Symbols>
10:제어 컴퓨터 11:스테이션 제어부 12:화폐처리기10: control computer 11: station control unit 12: money processor
이 발명을 상세하게 설명하면 다음과 같다.This invention is demonstrated in detail as follows.
제어 컴퓨터(10)와 교신하며 컴퓨터의 제어를 받는 스테이션 제어부(11)는 지폐 수납기(12a), 동전 수납기(12b), 지폐지급기(12c), 동전지급기(12d), 지폐판독기(12e), 등 하나 이상의 화폐처리기(12)들과 각각 직렬통신케이블로 접속되고, 스테이션 제어부(11)는 화폐처리기(12)의 상태를 문의하여 화폐처리기에 제어 명령을 전송하고, 화폐처리기(12)는 제어 명령을 해독하고 명령을 수행한 후 수행 결과를 스테이션 제어부(11)에 전송하도록 하며, 스테이션 제어부(11)는 응답을 해독하여 화폐처리기의 상태를 파악 하도록 하는것에 있어서,The station control unit 11 which communicates with the control computer 10 and is controlled by the computer includes a bill acceptor 12a, a coin acceptor 12b, a bill dispenser 12c, a coin dispenser 12d, a bill reader 12e, and the like. Each of the one or more currency processors 12 is connected with a serial communication cable, and the station controller 11 inquires about the state of the money processor 12 to transmit a control command to the money processor, and the money processor 12 controls the command. In order to decode and perform the command and transmit the result to the station control unit 11, the station control unit 11 to decode the response to determine the state of the currency processor,
스테이션 제어부는 화폐처리부와 약속된 명령 테이블을 보유하고,The station controller holds a command table promised with the currency processor,
하나이상의 화폐처리기를 각각 제어하기 위한 스테이션 제어부의 명령문에 명령코드를 수록하기 위한 명령문자와, 명령수행에 사용될 데이터를 수록하기 위한 하나이상의 데이터 수록문자와, 데이터 길이 정보를 전달하기 위한 데이터 길이 수록문자를 포함하며,A statement for recording the command code in a statement of a station controller for controlling one or more currency processors, one or more data bearing characters for storing data to be used for command execution, and a data length for transmitting data length information Character,
스테이션 제어부에 명령에 응답하여 전송하는 화폐처리기의 응답문에 화폐처리기의 각종 상태를 회신하기 위한 하나이상의 비트맵 상태수록 문자와, 응답에 대응된 명령 코드를 수록하기 위한 명령코드 수록문자와, 회신에 필요한 데이터를 수록하기 위한 데이터 수록문자와, 데이터 길이를 수록하기 위한 데이터 길이 수록문자를 포함하도록 함을 특징으로 하는 자판기의 폴링제어 요금처리장치이다.One or more bitmap state recording characters for returning various states of the currency processor to the response message of the currency processor in response to the command transmitted to the station control unit, command code recording characters for storing the command code corresponding to the response, and replying. Polling control fee processing apparatus of the vending machine, characterized in that it comprises a data recording character for recording the data required for the data length data character for recording the data length.
이 발명을 실시예로서 더욱 상세하게 설명한다.This invention is demonstrated in more detail as an Example.
이 발명 폴링제어 명령문과 응답문에 포함되는 ASCⅡ 직렬통신 제어코드를 인용하면 다음과 같다.Citing the ASCII serial communication control code included in the present invention polling control statement and response message is as follows.
기호 코드 기능Symbol code function
SOH 0x01 데이터의 시작 표지코드문자SOH 0x01 Starting cover code character of data
STX 0x02 데이터 블록의 선두 표지코드문자Leading code character of STX 0x02 data block
ETX 0x03 데이터 블록의 종단표지 코드문자End cover code character in ETX 0x03 data block
EOT 0x04 전송상태 종료표지 코드문자EOT 0x04 Transmission status end sign code character
ENQ 0x05 확인 또는 정보요구코드문자ENQ 0x05 acknowledgment or information request code character
ACK 0x06 긍정응답코드문자ACK 0x06 positive response code character
DC1 0x11 사용자정의 문자DC1 0x11 user-defined characters
DC2 0x12 사용자정의 문자DC2 0x12 user-defined characters
DC3 0x13 사용자정의 문자DC3 0x13 user-defined characters
DC4 0x14 사용자정의 문자DC4 0x14 user-defined characters
NAK 0x15 부정응답코드문자NAK 0x15 Negative Response Code Character
ETB 0X17 전송블럭의 경계표지코드문자ETB 0X17 Landmark code character of transmission block
CAN0 0X18 전송한 것의 무시를 요구하는 코드문자CAN0 0X18 Code character requesting to ignore transmission
이 발명에서 폴링제어 명령문과 응답문에 포함되는 추가코드는 다음과 같다.In the present invention, additional code included in a polling control statement and a response is as follows.
기호 설명Symbol Description
CMD 명령코드수록문자CMD command code character
KND 화폐의 권종코드 수록문자Characters contained in the KND currency code
SA 스테이션주소 수록문자SA station address
UA 유니트주소 수록문자Character of UA unit address
BCC 패리티 수록문자BCC Parity Character
SST1 비트맵 상태 수록문자SST1 Bitmap Status Carrier
SST2 명령코드 수록문자SST2 Command Code Carrier
SST3 비트맵 상태 수록문자SST3 Bitmap Status Carrier
SST4 비트맵 상태 수록문자SST4 Bitmap Status Carrier
SST5 비트맵 상태 수록문자BDP 지폐지불기 플래그 문자KWA 지폐인식기 플래그 문자LGS 동전선별기 플래그 문자HOP 동전지급기 식별문자HOP10 10원권 동전지불기 플래그 문자HOP50 50원권 동전지불기 플래그 문자HOP100 100원권 동전지불기 플래그 문자HOP500 500원권 동전지불기 플래그 문자SST5 Bitmap State Carrier BDP Banknote Flag Flag Character KWA Banknote Recognizer Flag Character LGS Coin Selector Flag Character HOP Coin Dispenser Identifier HOP10 10won Coin Dupper Flag Character HOP50 50won Vol. Text HOP500 500 Won Coin Flag Flag Text
1. 이 발명 폴링제어 명령문 및 응답문을 기능별 항목마다 문자열 구성표를 인용하여 상세하게 설명하면 다음과 같다. 다만 아스키코드에서 기술하고있는 통신 코드에 대한 일반적 기능에 대한 설명은 생략한다.1. The present invention polling control statement and response statement will be described in detail by quoting a string scheme for each function item. However, description of general functions of communication code described in ASCII code is omitted.
2. 스테이션 제어부에서 화폐처리기를 제어하기 위하여 폴링제어로 명령문을 화폐처리기에 전송한다.2. The station controller sends the statement to the currency processor with polling control to control the currency processor.
2.0. 명령문의 기본 구성은 아래와 같다.2.0. The basic structure of the statement is as follows:
사용자정의문자(DC1)에 0x11을 기입(고정)한다. 명령코드문자(CMD)에 해당 명령 코드를 기입한다. 2바이트 '길이'영역 문자에 데이터의 길이를 바이트 수(디지트값)로 기입한다. 데이터가 없을 경우 두 바이트에 제로 값 0x30을 각각 기입한다. 데이터 영역에 명령과 함께 전달하기위한 정보를 기입한다. 패리티문자(BCC)에 사용자정의문자(DC1)로 부터 데이터블록 종단표지문자(ETX)까지 문자열의 비트값을 배타적 논리합의 값으로 연산하여 기입한다. 화폐처리장치에서 패리티 체크는 같은 문자열의 같은 논리연산으 값을 산출한 후 패리티문자(BCC)의 값과 비교하여 행한다. 후술하는 명령문과 응답문에기 기재된 코드는 앞서의 설명과 같이 기재한다. 특히 그 기재의 방법을 달리하거나 새로운 명령문 또는 응답문은 개별 명령문 또는 응답문에서 설명한다.Write (fix) 0x11 to the user-defined character DC1. Enter the command code in the command code character (CMD). Write the length of the data in the number of bytes (digit value) in the 2-byte 'length' area character. If there is no data, zero values 0x30 are written in two bytes. Fill in the data area with information to pass along with the command. In the parity character BCC, the bit value of the character string from the user-defined character DC1 to the data block end marker character ETX is calculated and written as an exclusive logical sum value. The parity check in the money processing device calculates the value of the same logical operation of the same character string and compares it with the value of the parity character (BCC). Codes described in the later-described statements and response statements are described as described above. In particular, the method of description or a new statement or response is described in a separate statement or response.
3. 화폐처리기는 스테이션 제어부의 폴링제어로서 전달하는 명령에 반응하여명령을 실행한 한 후 실행결과를 다음 응답문에 기입하여 스테이션 제어부에 전송한다.3. The money processor executes the command in response to the command transmitted as the polling control of the station controller, and then writes the result in the next response and transmits it to the station controller.
3.0. 화폐처리기 응답문의 기본 구성은 아래와 같다.3.0. The basic composition of a currency processor response is shown below.
공통사항으로 화폐처리기에서 이전 명령의 실행하는 중이거나 또는 서비스이용자의 요구에 반응하여 작업중일 때 새로운 선택명령문(EOT+SA+UA+ENQ)이 수신되면 그 명령을 실행하지 않고 비트맵 상태기입문자 SST1의 비트0에 플레그 1을 기입한 후 부정응답문자 NAK, NAK를 회송 한다.In general, if a new optional statement (EOT + SA + UA + ENQ) is received while executing a previous command or working in response to a request from a service user, the bitmap state writer does not execute the command. After writing flag 1 to bit 0 of SST1, NAC and NAK are returned.
응답문에서 스테이션주소문자 (SA)에 할당된 스테이션 주소(0x4F)를 수록한다. 스테이션 주소는 복수의 스테이션이 화폐처리기를 공유할 때 스테이션을 식별하기위한 코드이다. 패리티 문자(BCC)에 상술한 패리티 값을 기입한다.The response contains the station address (0x4F) assigned to the station casing (SA). The station address is a code for identifying a station when multiple stations share a currency processor. The parity value described above is written in the parity character BCC.
4. 이 발명 스테이션 제어부와 화폐처리기의 제어부에 포함되는 폴링제어를 위한 명령과 응답 코드는 아래와 같다.4. The command and response code for polling control included in the controller of the invention station control unit and the money processor are as follows.
4.a. 명령 및 응답코드표4.a. Command and Response Code Table
4.b. 폴링응답(0x40)문을 아래와 같이 구성한다.4.b. Configure the polling response (0x40) as shown below.
4.b.0. 화폐처리기와 스테이션제어부에서 작업상태를 기입하고 작업상태를 차악하기위하여 상태기술문자 SST1 ~ SST2에 다음 상태를 할당하였다.4.b.0. The following states are assigned to the state descriptors SST1 to SST2 to fill in the work status and to grasp the work status in the currency processor and station control unit.
4.b.1. SST1의 비트맵4.b.1. Bitmap of SST1
4.b.2. SST2 수신된 명령코드 수록문자4.b.2. SST2 Received Command Code Character
4.b.3 SST3문자 비트맵4.b.3 SST3 character bitmap
거스름돈(반환하는돈 포함)지불장치의 상태리스트Status list of change (including returning money) payment devices
4.b.4. SST4문자의 비트맵4.b.4. Bitmap of SST4 Characters
4.b.5. S0ST5문자 비트맵에 할당된 상태리스트4.b.5. Status list assigned to S0ST5 character bitmap
4.0.1. 폴링 응답에서 에러코드를 삽입하면 아래와같다.4.0.1. Inserting the error code in the polling response looks like this:
화폐처리기는 명령수행 후 스테이션주소수록문자(SA)에 할당된 주소(0x4F)를, 상태 수록문자 SST1, SST3, SST4, SST5의 비트맵에 명령 수행결과를 수록한다. 개별 비트맵에 대응되는 화폐처리기의 기능 또는 처리과정이 없을 경우 해당비트맵의 플레그는 무의미하므로 '0'으로 수록한다. 명령코드수록문자(SST2)에 폴링응답코드 0x40을, 4바이트 데이터영역("현제금액")에 10단위 이상의 현재금액 디지트 값을, 나머지 2바이트(ER)에 에러코드를 수록한다. 에러가 없을 경우 에러코드문자 2바이트에 제로문자 값(0x30)을 수록한다.The currency processor stores the address (0x4F) assigned to the station address record character SA after the command is executed and the result of the command execution in the bitmap of the state record characters SST1, SST3, SST4, and SST5. If there is no function or processing of the currency processor corresponding to the individual bitmap, the flag of the bitmap is meaningless and is recorded as '0'. The polling response code 0x40 is stored in the command code recording character SST2, the present value digit value of 10 or more units is stored in the 4-byte data area ("current amount"), and the error code is stored in the remaining two bytes (ER). If there is no error, the zero character value (0x30) is stored in two bytes of error code characters.
이와같은 응답문의 형식은 화폐체리기가 명령코드로 식별되는 명령을 수신하고, 그 명령을 해독하고, 데이터를 수신하여(데이터가 있는 경우) 명령을 수행한 후 수행 결과를 수록하여 스테이션 제어부에 제공하기 위한 것이다.This form of the response is that the money manager receives the command identified by the command code, decodes the command, receives the data (if there is data), executes the command, and stores the execution result and provides it to the station controller. It is for.
스테이션 제어부는 응답문을 수신하여 해독하고 수행결과를 분석하여 실형결과가 만족되면 다음명령을 수행하고 아니면 수행결과를 보정하기위한 명령을 화폐처리기에 전송한다.The station controller receives and decodes the response message, analyzes the performance result, and executes the next command if the actual result is satisfied, or sends a command to the money processor to correct the performance result.
4.1. 리셋(0x41) 명령문을 아래와같이 구성한다.4.1. Configure the reset (0x41) statement as follows:
4.1.0. 레셋 명령문4.1.0. Reset statement
명령문자(CMD)에 리셋명령코드(0x41)를 수록한다.The reset command code (0x41) is stored in the statement (CMD).
이 명령이 전달되면 명령을 수신한 화폐처리기는 가) 화폐처리기의 보드를 리셋시키고, 나) 화폐처리기가 지폐지급기라면 지폐지급기를 인스톨 시키고, 다) 에러상태를 크리어한다.When this command is delivered, the money processor receiving the command: a) resets the board of the money processor; b) if the money processor is a bill dispenser, installs a bill dispenser; and c) clears the error condition.
4.1.1. 리셋 명령에 대한 응답문(0x41)4.1.1. Response to Reset Command (0x41)
화폐처리기는 명령수행 후 스테이션주소수록문자(SA)에 할당된 주소 0x4F를 기입한다. 명령코드수록문자(SST2)에 해당 명령코드 0x41을 기입한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다. 이 응답문을 다음번 폴링 문의시에 전송한다.The currency processor writes the address 0x4F assigned to the station address carrier character (SA) after executing the command. The command code 0x41 is written in the command code containing character SST2. The result of the instruction execution is stored in the bitmap state recording character. Send this response the next time you poll.
4.2. 잠금(0x42) 명령문을 다음과같이 구성한다.4.2. Construct the lock (0x42) statement as follows:
4.2.0. 명령문4.2.0. Statement
명령문자(CMD)에 잠금명령코드(0x42)를 수록한다. 데이터 문자에 언록요구시 '0'을 록 요구시 '1'을 수록한다. 데이터길이를 1바이트로 수록한다.The lock command code (0x42) is stored in the statement (CMD). The data character contains '0' for unlock request and '1' for request. The data length is stored in 1 byte.
4.2.1. 응답문4.2.1. Response
화폐처리기는 명령수행 후 스테이션주소수록문자(SA)에 할당장치의 주소값(0x4F)를 수록한다. 명령코드수록문자 SST2에 잠금응답코드(0x42)를 수록한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor stores the address value (0x4F) of the allocation device in the station address record character (SA) after the command is executed. The lock response code (0x42) is stored in the command code recording character SST2. The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 폴링시에 반송한다. 나) 비트맵상태수록문자 SST4의 비트 3 잠금플레그를 확인한다. 다) 데이터문자에 에러코드를 수록한다. 에러가없을 경우 제로문자 0x30을 수록한다.A) This response shall be returned at the time of polling. B) Check the bit 3 lock flag of the character map SST4. C) The error code is stored in the data character. If there is no error, zero character 0x30 is stored.
4.3. 설정(0x43) 명령문을 다음과 같이 구성한다.4.3. Configure the Set (0x43) statement as follows:
4.3.0. 명령문4.3.0. Statement
명령문자(CMD)에 할당된 코드(0x43)을 기입한다.Write the code (0x43) assigned to the statement (CMD).
가) 입수가능, 입수 불가능, 잔돈반환 및 매상플레그를 크리어한다.(A) Clear available, unavailable, change returns and sales flags.
나) 데이터에 다음 구별에 따라 디지트 값을 수록한다.B) The digits are stored in the data according to the following distinction.
'0' = 입수불가, '1' = 입수가능, '2' = 잔돈반환, '3' = 매상크리어, '4' = 지폐반환( 지폐식별기 내의 지폐반환 )'0' = not available, '1' = available, '2' = change of return, '3' = sales clear, '4' = return of bills (returns of bills in bill identifier)
4.3.1. 응답문4.3.1. Response
화폐처리기는 명령수행 후 명령코드수록문자(SST2)에 항달된 설정명령코드(0x43)를 수록한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다. 스테이션주소기술문자(SA)에 할당된 스테이션 주소(0x4f)를 수록한다.The money processor stores the setting command code (0x43) delivered to the command code recording character (SST2) after the command is executed. The result of the instruction execution is stored in the bitmap state recording character. Contains the station address (0x4f) assigned to the station address descriptor (SA).
가) 이 응답은 다음의 폴링시 전송한다. 나) 비트맵상태수록문자(SST4)의 해당 비트플레그를 확인한다. 다) 데이터에 에러코드를 수록한다. 에러가 없을 경우 제로문자 값을(0x30) 수록한다.A) This response is sent during the next poll. B) Check the corresponding bit flag of the bitmap status recording character (SST4). C) The error code is stored in the data. If there is no error, zero character value (0x30) is stored.
4.4. 제1정보취득명령 (0x44)4.4. First Information Acquisition Order (0x44)
4.4.0. 명령문4.4.0. Statement
명령문자(CMD)에 할당된 코드값 0x44를 수록하여 응답문의 b,c에 해당하는 정보를 요구한다.The code value 0x44 assigned to the statement (CMD) is included to request information corresponding to b and c of the response.
4.4.1. 응답4.4.1. answer
(a)(a)
(b)(b)
(c)(c)
이 응답문의 a,b,c는 계속 연결된 명령문이다. b,c의 괄호속에 쓰인 문자는 바이트 수 이다.The a, b, and c in this response are the statements that are still connected. The characters in parentheses in b and c are the number of bytes.
화폐처리기는 명령수행 후 스테이션주소수록문자(SA)에 할당된 스테이션 주소값(0x4F)을 수록한다. 명령코드수록문자 SST2에 명령코드 0x44를 수록한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor stores the station address value (0x4F) assigned to the station address register character (SA) after the command is executed. The command code 0x44 is stored in the command code recording character SST2. The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 다음의 폴링시에 전송한다. 나) 데이터는 각각 총판매 금액, 총판매 매수, 각각 만원권,오천원권,천원권의 입수매수, 동전 500원, 100원, 50원, 10원의 입수매수와 에러코드를 반환한다. 에러가 없을 경우 제로값 0x30을 반환한다.A) This response is sent during the next poll. B) The data will return the total sales amount, total sales, purchases of 10,000 won, 5,000 won, 1,000 won, 500 won, 100 won, 50 won, and 10 won, respectively, and an error code. If there is no error, 0x30 is returned.
4.5. 제2정보취득명령(0x45)4.5. Second Information Acquisition Order (0x45)
4.5.0. 명령문4.5.0. Statement
명령문자(CMS)에 0x45를 수록하여 응답문의 b,c에 해당하는 정보를 요구한다.0x45 is included in the statement (CMS) to request information corresponding to b and c in the response.
4.5.1. 응답문4.5.1. Response
(a)(a)
(b)(b)
(c)(c)
이 응답문의 a,b,c는 계속 연결된 명령문이다. b,c의 괄호속에 쓰인 문자는 바이트 수를 나타낸다.The a, b, and c in this response are the statements that are still connected. The characters in parentheses in b and c represent the number of bytes.
화폐처리기는 명령수행 후 스테이션주소수록문자(SA)에 할당된 장치의 주소값(0x4F)을 수록한다. 명령코드수록문자 SST2에 명령코드 0x45를 수록한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The money processor stores the address value (0x4F) of the device assigned to the station address sign character (SA) after the command is executed. The command code 0x45 is stored in the command code recording character SST2. The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 다음의 폴링시에 반송한다. 나) 데이터는 각각 총판매금액, 총판매 매수, 각각 만원권,오천원권,천원권의 입수매수, 동전 500원, 100원, 50원, 10원의 입수매수와 에러코드를 반환한다. 에러가 없을 경우 제로값 0x30을 수록한다.This response shall be returned at the next polling. B) The data will return the total sales amount, total sales, purchases of 10,000 won, 5,000 won, 1,000 won, 500 won, 100 won, 50 won, and 10 won, respectively, and an error code. If there is no error, zero value 0x30 is stored.
4.6. 정산명령4.6. Settlement order
4.6.0. 정산 명령문4.6.0. Settlement Statement
명령문자(CMD)에 해당 명령 코드 0x46을 수록하여 정산요구임을 나타낸다.The command code 0x46 is included in the statement (CMD) to indicate the settlement request.
1)을 수록한다.Contains 1).
4.6.1. 정산 응답문4.6.1. Settlement Response
화폐처리기는 명령수행 후 스테이션주소수록문자(SA)에 할당된 주소값 0x4F를 수록한다. 명령코드수록문자 SST2에 정산 코드 0x46을 수록한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다. 4바이트 데이터문자에 10자리 이상의 정산금액을 수록한다. 이 응답문은 다음의 폴링시에 반송한다. 정산금액에 이어진 2바이트 문자 ER에 에러코드를 수록하고 에러가 없을 경우 제로문자를 수록한다.The currency processor contains the address value 0x4F assigned to the station address register character (SA) after executing the command. The settlement code 0x46 is stored in the instruction code recording character SST2. The result of the instruction execution is stored in the bitmap state recording character. The settlement amount of 10 digits or more is stored in the 4-byte data character. This response is returned at the next poll. The error code is stored in the 2-byte character ER following the settlement amount, and zero characters if there is no error.
4.7. 최대투입금액 제한명령4.7. Maximum Input Amount Restriction Order
4.7.0 최대투입금액 제한 명령문4.7.0 Limiting Maximum Input Amount Statement
이 명령문은 최대투입금액을 제한한다. 명령문자(CMD)에 할당된 코드 0x47을 수록하여 최대투입금액 제한 명령임을 나타낸다.This statement limits the maximum input amount. The code 0x47 assigned to the statement (CMD) is included to indicate that the maximum input amount is restricted.
4문자 최대금액문자에 10단위 이상의 최대금액을, 4문자 금지금액문자에 10단위 이상의 금지금액을 수록한다.The maximum amount of 10 units or more is included in the 4-character maximum amount text, and the maximum amount of 10 units or more is included in the 4-character prohibited amount character.
4.7.1. 최대 투입금액 제한 응답문4.7.1. Maximum input limit response
화폐처리기는 명령수행 후 스테이션주소문자(SA)에 주소값0x4f를 수록하고, 명령코드수록문자 SST2에 해당코드 0x47을 수록한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor stores the address value 0x4f in the station main character (SA) after executing the command and the corresponding code 0x47 in the command code recording character SST2. The result of the instruction execution is stored in the bitmap state recording character.
이 응답은 다음의 폴링시에 전송한다. 에러가 발생했을 때 2바이트 에러문자(ER)에 에러코드를 수록하고 에러가없으면 제로값을 수록한다.This response is sent at the next poll. When an error occurs, the error code is stored in the two-byte error character (ER). If there is no error, zero value is stored.
4.8. 준비금설정(0x48)동작4.8. Reserve money setting (0x48) operation
4.8.0. 준비금설정 명령문4.8.0. Reserve statement
명령문자(CMD)에 해당코드 0x48을 수록한다. 권종식별문자(KND)에 권종 코드를 기입한다. 권종코드 0은 10원권, 1은 50원권, 2는 100원권, 3은 500원권, 4는 1000원권으로한다. 4바이트 설정매수(설정매수 0000-9999)를 디지트 값으로 기입한다.The code 0x48 is included in the statement (CMD). Enter the winding code in the winding identifier (KND). Volume code 0 is 10 won, 1 is 50 won, 2 is 100 won, 3 is 500 won and 4 is 1000 won. Enter the 4-byte number of sets (number of sets 0000-9999) as the digit value.
4.8.1. 준비금설정 응답문4.8.1. Reserve Setting Response
화폐처리기는 명령수행 후 스테이션주소문자(SA)에 주소값 0x4F를 수록한다.The currency processor stores the address value 0x4F in the station main character (SA) after executing the command.
명령문자(CMD)에 해당코드 0x48을 기입힌다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.Write the code 0x48 in the statement (CMD). The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 다음의 폴링시에 반송한다. 나) 2바이트 ER 문자에 에러코드를 기입한다. 에러가 없을 때 제로값을 기입한다.This response shall be returned at the next polling. B) Write the error code in the 2-byte ER character. Enter zero value when there is no error.
4.9. 준비금 가산 (0x49)4.9. Reserve amount added (0x49)
4.9.0. 준비금가산 명령문4.9.0. Reserve statement
명령문자 CMD에 해당코드 0x49를 기입한다. 권종식별문자 KND에 권종식별코드를 기입한다. 권종코드 0은 10원권, 1은 50원권, 2는 100원권, 3은 500원권, 4는 1000원권으로 구분한다. 4바이트 데이터문자에 가산매수 값을 기입한다.Write the corresponding code 0x49 in the statement CMD. Enter the volume identification code in the KND identification character KND. Volume code 0 is divided into 10 won, 1 for 50, 2 for 100, 3 for 500 and 4 for 1000. Write the addition number value into the four-byte data character.
4.9.1. 준비금가산 응답문4.9.1. Reserve statement
화폐처리기는 명령수행 후 스테이션주소문자 SA에 주소값 0x4F를 기입한다. 명령코드수록문자 SST2에 준비금가산코드 0x49를 기입한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor writes the address value 0x4F in the station capital letter SA after executing the command. Write the reserve money addition code 0x49 in the command code recorded character SST2. The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 다음의 폴링시 반송한다. 나) 에러코드문자 ER에 에로코드를 기입한다. 에러가 없으면 제로값을 기입한다.This response shall be returned at the next polling. B) Write the error code in the error code character ER. Enter zero if there is no error.
4.10. 준비금 감산 (0x4A)4.10. Reserve reduction (0x4A)
4.10.0. 준비금감산 명령문4.10.0. Reserve Deduction Statement
화폐처리기는 명령수행 후 명령문자 CMD에 해당코드 0x4A를 기입한다. 권종식별문자 KND에 권종코드를 기입한다. 권종코드 0은 10원권, 1은 50원권, 2는 100원권, 3은 500원권, 4는 1000원권으로 구분한다. 4바이트 감산매수 문자에 감산 수 값을 기입한다.The currency processor writes the code 0x4A in the statement CMD after executing the command. Enter the band code in the band identifier KND. Volume code 0 is divided into 10 won, 1 for 50, 2 for 100, 3 for 500 and 4 for 1000. Write the subtraction value in the 4-byte subtraction character.
4.10.1. 준비금감산 응답문4.10.1. Reserve Reduction Response
화폐처리기는 명령수행 후 스테이션주소문자 SA에 스테이션 주소값 0x4F를 기입한다. 명령코드수록문자 SST2에 준비금간산코드 0x4A를 기입한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor writes the station address value 0x4F in the station capital letter SA after executing the command. Write the reserve money calculation code 0x4A in the command code recorded character SST2. The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 다음의 폴링시에 전송한다. 나) 에러코드문자 ER에 에로코드를 기입한다. 에러가 없으면 제로값을 기입한다.A) This response is sent during the next poll. B) Write the error code in the error code character ER. Enter zero if there is no error.
4.11. 동전지급기(호퍼) 테스트 (0x4B)4.11. Coin dispenser (hopper) test (0x4B)
4.11.0. 동전지급기 테스트 명령문4.11.0. Coin Dispenser Test Statement
명령문자 CMD에 동전지급기 테스트명령 코드 0x4B를 기입한다. 다종의 동전지급기를 테스트 할 수 있도록 동전지급기 식별문자 HOP에 식별코드를 기입한다. 동전지급기 식별코드 0은 10원권, 1은 50원권, 2는 100원권, 3은 500원권 동전지급이로 한다.Enter the coin dispenser test command code 0x4B in the statement CMD. Write the identification code on the coin dispenser identifier HOP to test multiple coin dispensers. Coin dispenser identification code 0 is 10 won, 1 is 50 won, 2 is 100 won and 3 is 500 won.
4.11.1. 동전지급기 테스트 응답문4.11.1. Coin Dispenser Test Response
화폐처리기는 명령수행 후 스테이션주소문자 SA에 주소값 0x4F를 기입한다. 명령코드수록문자 SST2에 해당코드 0x4B를 기입한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor writes the address value 0x4F in the station capital letter SA after executing the command. Write the corresponding code 0x4B to the command code recorded character SST2. The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 다음의 폴링시에 전송한다. 데이터 영역에 실제 지불갯수를 기입하고 에러문자 영역에 에러코드를 기입한다. 에러가 없으면 제로값을 기입한다.A) This response is sent during the next poll. Enter the actual number of payments in the data area and the error code in the error text area. Enter zero if there is no error.
4.12. 준비금없음 예보설정 (0x4C)4.12. Reserve No Forecast Forecast (0x4C)
4.12.0. 준비금없음 예보설정 명령문4.12.0. Reserve No Forecast Statement
명령문자 CMD에 해당코드 0x4C를 기입한다.Write the corresponding code 0x4C in the statement CMD.
권종코드수록문자 KND에 권종코드를 기입한다.Write the winding code in the writing code KND.
권종코드 0은 10원권, 1은 50원권, 2는 100원권, 3은 500원권, 4는 1000원권으로 구분한다.Volume code 0 is divided into 10 won, 1 for 50, 2 for 100, 3 for 500 and 4 for 1000.
4.12.1. 준비금 없음예보 응답문4.12.1. No Reserves Forecast Response
화폐처리기는 명령수행 후 스테이션주소수록문자 SA에 해당주소값 0x4F를 기입한다. 명령코드수록문자 SST2에 해당코드값 0x4C를 기입한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor writes the address value 0x4F in the station address bearer SA after executing the command. Write the code value 0x4C to the command code recorded character SST2. The result of the instruction execution is stored in the bitmap state recording character.
가) 이 응답문은 다음 폴링시에 전송한다. 나) 데이터로서 에러코드수록문자 ER에 에러코드를 수록한다. 다) 에러가 없을때에 제로문자 0x30을 기입한다.A) This response is sent at the next poll. B) The error code is stored in the error code recording character ER as data. C) Enter zero character 0x30 when there is no error.
4.13. 환경설정 (0x4D)4.13. Preferences (0x4D)
4.13.0. 환경설정 명령문4.13.0. Preferences statement
명령수록문자 CMD에 환경설정코드 0x4D를 기입한다. 지폐지불기수록문자 BDP에 지폐지불기를 사용할 경우 값 1을 사용하지 않을 경우 값 0을 기입한다. 지폐인식기수록문자 KWA에 지폐인식기를 사용할 경우 값 1을 사용하지 않을 경우 값 0을 기입한다. 동전선별기수록문자 LGS에 사용할 경우 값 1을 사용하지 않을 경우 값 0을 기입한다. 잠금기능 수록문자 첫 바이트에 잠금을 해제하는 개방시간을 분단위로, 둘째 바이트에 10분지1분의 단위로 기입한다. 10원권동전지불기 수록문자 HOP-10에 사용할 경우 값 1을 사용하지 않을 경우 값 0을 기입한다. 50원권동전지불기 수록문자 HOP-50에 사용할 경우 값 1을 사용하지 않을 경우 값 0을 기입한다. 100원권동전지불기 수록문자 HOP-100에 사용할 경우 값 1을 사용하지 않을 경우 값 0을 기입한다. 500원권동전지불기 수록문자 HOP-500에 사용할 경우 값 1을 사용하지 않을 경우 값 0을 기입한다. 이 명령 수행후 반드시 리셋 명령을 수행한다.Write the configuration code 0x4D to the command containing character CMD. Enter the value 0 if the bill payment machine does not use the value 1 when the bill payment machine uses the BDP. Enter the value 0 when the bill acceptor is used for the bill acceptor KWA. Enter a value of 0 if not used in the coin selector LGS. The opening time to release the lock on the first byte of the lock character is written in minutes, and the second byte is written in tenths of minutes. Enter a value of 0 if no value 1 is used for the HOP-10 character set. Enter the value 0 if you do not use the value 1 if you are using the HOP-50. Enter the value 0 if you do not use the value 1 if you are using the HOP-100. Enter the value 0 if you do not use the value 1 if you are using the HOP-500. After executing this command, reset command must be executed.
4.13.1. 환경설정 응답문4.13.1. Preferences response
화폐처리기는 명령수행 후 스테이션주소수록문자 SA에 할당주소 0x4F를 기입한다. 명령코드수록문자 SST2에 해당 코드 0x4D를 기입한다. 비트맵 상태수록문자에 당해 명령수행결과를 기입한다.The currency processor writes the assigned address 0x4F in the station address bearer SA after executing the command. Write the corresponding code 0x4D to the command code recorded character SST2. The result of the instruction execution is written in the bitmap status recorded character.
이 응답문은 다음의 폴링시에 전송한다. 에러수록문자 ER에 에러코드를 기입한다. 에러가 없으면 제로값 0x30을 기입한다.This response is sent at the next poll. Write the error code in the error code character ER. If there is no error, enter zero value 0x30.
4.14. 지불금액 설정 (0x4E)4.14. Set payment amount (0x4E)
4.14.0. 지불금액 설정명령4.14.0. Payment amount setting order
명령수록문자 CMD에 지불금액설정코드 0x4E를 기입한다. 4 바이트 데이터 문자열에 지불금액의 10단위 이상 수자를 기입한다.Enter the payment amount setting code 0x4E in the command-recording character CMD. Write at least 10 digits of the payment amount in the 4-byte data string.
4.14.1. 지불금액설정 응답문4.14.1. Payment Setting Response
화폐처리기는 명령수행 후 스테이션주소수록문자 SA에 할당된 주소값 0x4F를 기입한다. 명령수록문자 CMD에 지불금액설정 코드 0x4E를 기입한다. 비트맵 상태수록문자에 당해 명령수행결과를 수록한다.The currency processor writes the address value 0x4F assigned to the station address bearer SA after executing the command. Write the payment amount setting code 0x4E in the command-embedded character CMD. The result of the instruction execution is stored in the bitmap state recording character.
이 응답은 다음의 폴링시에 전송한다. 4바이트 지불금액 수록영역에 10단위 이상의 지불금액을 기입한다. 2바이트 에러 수록영역에 에러코드를 기입한다. 에러가 없을 때 공백문자 0x30을 기입한다.This response is sent at the next poll. Enter a payment amount of 10 units or more in the 4-byte payment amount recording area. Write the error code in the 2-byte error storage area. When there is no error, enter the space character 0x30.
이와같이 이 발명은 자판기 또는 다양한 무인 서비스시스템에서 요금수납 처리에 범용적으로 사용할 수 있는 폴링 제어 요금처리 장치를 제공하는 것이며, 주 제어장치에 단말 장치들을 RS232C 통신 케이블로 접속하고 주 제어장치가 복수의 단말장치들에 대하여 순차로 제어 명령을 전달하고 서비스요구를 문의하여 제어를행함으로써 주 제어장치가 다양한 단말장치들을 제어할 수 있게 하는 자판기의 폴링 제어 요금처리 장치를 제공하는 것이다.As such, the present invention provides a polling control fee processing device that can be used universally for billing processing in a vending machine or various unmanned service systems, and the terminal devices are connected to the main control device with an RS232C communication cable, It is to provide a polling control fee processing device of a vending machine that allows the main control device to control various terminal devices by sequentially transmitting control commands to the terminal devices and inquiring a service request.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020000005386A KR100354887B1 (en) | 2000-02-03 | 2000-02-03 | Vendingmachine for unmemed polling control fee menage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020000005386A KR100354887B1 (en) | 2000-02-03 | 2000-02-03 | Vendingmachine for unmemed polling control fee menage system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20010077536A KR20010077536A (en) | 2001-08-20 |
KR100354887B1 true KR100354887B1 (en) | 2002-09-30 |
Family
ID=19644120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020000005386A KR100354887B1 (en) | 2000-02-03 | 2000-02-03 | Vendingmachine for unmemed polling control fee menage system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100354887B1 (en) |
-
2000
- 2000-02-03 KR KR1020000005386A patent/KR100354887B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20010077536A (en) | 2001-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8011588B2 (en) | Electronic wallet device and method of using electronic value | |
US3588449A (en) | Electronic check-cashing system | |
EP0933731A1 (en) | Electronic transaction system | |
GB2172731A (en) | Automatic vending machine | |
US8065236B2 (en) | Coin currency conversion systems and methods | |
CN101320498B (en) | Method and device for credit deposit | |
CN200941231Y (en) | Automatic ticks sale machine | |
CN102844796B (en) | Automatic trading apparatus | |
KR100354887B1 (en) | Vendingmachine for unmemed polling control fee menage system | |
WO1994019777A1 (en) | Electronic funds control system | |
CN106971127A (en) | A kind of bank card and bank's card identification method and system | |
CN204204121U (en) | A kind ofly contain public transport payment and IC-card is sold card, filled the public transport vehicle-mounted equipment of card function | |
JP2003135830A (en) | Game ball lending machine and its system | |
JPS5958597A (en) | Automatic deposit paying machine | |
JP2004054346A (en) | Method and apparatus for controlling vending machine | |
CN203386308U (en) | Vehicle-mounted public bus cash fee-paying, IC card reading and cash recharging terminal | |
KR101170567B1 (en) | Automatic teller machine for providing user input information and method thereof | |
JPH097035A (en) | Automatic teller machine system | |
KR101228832B1 (en) | Apparatus for managing money which taxi drivers have to turn over to the company | |
KR100351112B1 (en) | Goods selling system of vending machine and method the same | |
JPH01123390A (en) | Automatic cash handler | |
RU112791U1 (en) | AUTOMATIC MACHINE FOR SALE OF PRINTED PRODUCTS WITH TRANSPORT INFORMATION | |
JP2000251149A (en) | Electronic money system and receiving device for payment | |
TW507171B (en) | System for providing information on land administration | |
GB2324186A (en) | Card charging systems |
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 | ||
LAPS | Lapse due to unpaid annual fee |