KR910007768B1 - Mode controlling method of cash register - Google Patents

Mode controlling method of cash register Download PDF

Info

Publication number
KR910007768B1
KR910007768B1 KR1019890000104A KR890000104A KR910007768B1 KR 910007768 B1 KR910007768 B1 KR 910007768B1 KR 1019890000104 A KR1019890000104 A KR 1019890000104A KR 890000104 A KR890000104 A KR 890000104A KR 910007768 B1 KR910007768 B1 KR 910007768B1
Authority
KR
South Korea
Prior art keywords
mode
code
key
flag
input
Prior art date
Application number
KR1019890000104A
Other languages
Korean (ko)
Other versions
KR900012184A (en
Inventor
이효윤
Original Assignee
삼성전자 주식회사
안시환
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사, 안시환 filed Critical 삼성전자 주식회사
Priority to KR1019890000104A priority Critical patent/KR910007768B1/en
Publication of KR900012184A publication Critical patent/KR900012184A/en
Application granted granted Critical
Publication of KR910007768B1 publication Critical patent/KR910007768B1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0009Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The method is for inputting code to protect the mode change or to release the mode change protect and for checking the possbility of mode change. The method comprises steps: (A) controlling the mode change according to a first and a second flag of next mode; (B) scanning key input to check the code process mode when no mode change or normal mode change is occured and executing the corresponding mode; (C) storing the code of the corresponding mode when code input key is depressed, setting the first flag to mask, and returning to the step (A); and (D) setting the second flag according to the stored code and a received code when the code release key is input and returning to the step (A).

Description

금전등록기의 모드 제어방법Control method of cash register mode

제1도는 본 발명을 수행하기 위한 금전등록기의 시스템 블록도.1 is a system block diagram of a cash register for carrying out the invention.

제2도는 본 발명의 흐름도.2 is a flow chart of the present invention.

제3도는 제2도중 코드입력 처리과정의 흐름도.3 is a flowchart of a code input process in FIG.

제4도는 제2도중 코드해제 처리과정의 흐름도.4 is a flow chart of the decryption process of FIG.

제5도는 제2도중 모드 분석과정의 흐름도.5 is a flowchart of a second middle mode analysis process.

제6도는 본 발명에 이용하는 버퍼 구성도.6 is a buffer configuration diagram used in the present invention.

* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

11 : 중앙처리장치 12 : 롬11: central processing unit 12: ROM

13 : 램 14 : 키보드13: ram 14: keyboard

15 : 표시부 16 : 인자부15: display portion 16: printing portion

본 발명은 금전등록기의 모드 제어방법에 관한 것으로, 특히 소정모드를 마스킹 또는 마스킹해제 할 수 있도록 하여 모드 이동을 제어할 수 있는 방법에 관한 것이다.The present invention relates to a method for controlling a mode of a cash register, and more particularly, to a method for controlling mode movement by enabling masking or unmasking of a predetermined mode.

일반적으로 금전등록기에는 판매시점에서 발생하는 거래정보를 등록처리하는 등록모드(R mode)와, 메모리속에 저장하고 있는 거래정보를 점검할 수 있는 점검모드(X mode) 및 거래정보를 정산할 수 있는 정산모드(Z mode)와, 판매단가, 할인품목 등을 프리세트(preset) 할 수 있는 프로그램모드(P mode) 등을 지정할 수 모드스위치가 있다. 상기 모드중 점검모드에서는 메모리상에 누적하고 있는 정보를 점검만 할수 있는 상태이므로 메모리의 해당 누적정보는 계속 유지하지만, 정산모드에서는 메모리에 누적하고 있는 정보를 정산한 후 이를 변화시키므로(일반적으로 클리어시킴), 특정한 사람(master급)만이 이 모드를 수행할 수 있어야 한다. 또한 프로그램 모드에서는 판매단가, 할인기간에 대한 상품정보 등을 프리셋트 할 수 있으므로 이 모드 또한 특정 일부 사람들만 실행할 수 있도록 하여야 한다.In general, the cash register can register a registration mode (R mode) for registering and processing transaction information generated at the point of sale, an inspection mode (X mode) for checking transaction information stored in the memory, and transaction information. There is a mode switch that can designate a Z mode, a program mode in which the selling price, discount items, and the like can be preset. In the check mode of the above modes, only the accumulated information in the memory can be checked. Therefore, the accumulated information in the memory is maintained. In the settlement mode, the accumulated information in the memory is settled and then changed. Only certain people (master level) should be able to perform this mode. In addition, in the program mode, it is possible to preset the selling price and product information on the discount period, so this mode should also be executed only by certain people.

종래의 금전등록기에서는 상기와 같은 모드선택을 위해 열쇠키 등을 이용한 기계적인 모드 이동방식을 이용하였으며, 이때 키를 여러 가지로 구분해서 모드선택에 제한을 가하는 방식을 택하거나 혹은 모드키 자체를 덮어주는 케이스상에 열쇠를 장착하는 등의 방식을 사용했다.In the conventional cash register, a mechanical mode shifting method using a key key is used for mode selection as described above. In this case, a method of restricting the mode selection by dividing the key into various types or covering the mode key itself is applied. The owner used a key, such as a key on the case.

또다른 방식으로는 슬라이드 스위치(Slide Switch) 등을 이용해서 모드를 선택하는 방식이 있었다. 그러나 전자와 같은 방식은 기계적인 방식이므로 사용방법이 불편했고, 금전등록기에 손상을 줄수 있는 동시에 미관상 좋지 못했으며, 후자와 같은 방식은 누구든지 모드를 자유롭게 변경시켜 사용할 수 있으므로서 거래상태의 임의 변경 등이 용이해져 금전등록기의 사용목적이 손상받는 문제점 등이 있었다.Another method was to select a mode using a slide switch. However, the former method was mechanical, so it was inconvenient to use, and it could damage the cash register and it was not good at all. The latter method could be used by anyone to change the mode freely. There was a problem such that the purpose of use of the cash register is impaired due to the ease.

따라서 본 발명의 목적은 금전등록기의 소정모드에서 모드이동에 제한을 가하는 코드를 입력하거나 입력코드에 의한 모드 이동제한 상태를 해제할 수 있는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for inputting a code for limiting mode movement in a predetermined mode of a cash register or for releasing a mode movement restriction state by an input code.

본 발명의 또다른 목적은 모드변화시 해당 모드에 대한 변화기능 여부를 검사하여 모드이동을 제어할 수 있는 방법을 제공함에 있다.Still another object of the present invention is to provide a method for controlling mode shift by checking whether a function is changed for a corresponding mode when a mode is changed.

이하 본 발명을 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

제1도는 본 발명을 수행하기 위한 금전등록기의 시스템 블록도로서, 금전등록기의 전체적인 동작을 제어하는 중앙처리장치(11)와, 금전등록 프로그램을 저장하고 있는 롬(12)과, 프로그램 수행중에 발생하는 데이타를 저장하는 램(13)과, 각종 키 명령어 및 모드를 지정하는 키보드(14)와, 상기 중앙처리장치(11)의 제어하에 거래정보를 표시하는 표시부(15)와, 상기 중앙처리장치(11)의 제어하에 거래정보에 따른 영수증을 발생하는 인자부(16)로 구성된다.1 is a system block diagram of a cash register for carrying out the present invention, which includes a central processing unit 11 for controlling the overall operation of the cash register, a ROM 12 storing a cash register program, and a program during execution. A RAM 13 for storing data, a keyboard 14 for designating various key commands and modes, a display unit 15 for displaying transaction information under the control of the central processing unit 11, and the central processing unit. Under the control of (11) is composed of a printing unit 16 for generating a receipt according to the transaction information.

제2도는 본 발명의 흐름도로서, 모드변경 유무를 검사하여 변경시 변경할 해당모드의 소정 제1플래그 및 제2플래그 상태에 따라 모드 이동상태를 제어하는 제1과정과, 상기 제1과정에서 모드변경이 아니거나 정상모드 이동일시 키스캔하여 코드처리 모드인가 검사하며 아닐시 해당모드의 기능을 수행하는 제2과정과, 상기 제2과정에서 코드처리 모드일시 입력키가 발생했는가 검사하며, 코드입력키 일시 해당모드의 코드 입력값을 저장하는 동시에 마스킹하기 위한 상기 제1플래그를 세트하고 상기 제1과정으로 되돌아가는 제3과정과, 상기 제3과정에서 코드입력키 일시 코드해제 키인가 검사하며 코드해제키 일시에만 저장코드와 수신코드값의 상태에 따라 해당모드를 해제하기 위한 상기 제2플래그를 세트하고 상기 제1과정으로 되돌아가는 제4과정으로 이루어진다.2 is a flow chart of the present invention, the first step of controlling the mode movement state according to the state of the first flag and the second flag of the corresponding mode to be changed at the time of changing and checking the mode change, and the mode change in the first step The second process of performing a function of the corresponding mode and the second process of performing a function of the corresponding mode, and checking whether a code processing mode temporary input key is generated in the second process. A third step of setting the first flag for masking and simultaneously storing the code input value of the corresponding mode and returning to the first step; and checking the code input key temporary decode key in the third step A fourth step of setting the second flag for releasing the corresponding mode according to the state of the stored code and the received code value only at a key date and time and returning to the first step; Achieved.

제3도는 상기 제2도의 코드입력 처리과정의 상세흐름도이고, 제4도는 상기 제2도의 코드해제 처리과정의 상세흐름도이고, 제5도는 상기 제2도의 모드 변화상태 분석과정의 상세흐름도이다.FIG. 3 is a detailed flowchart of the code input process of FIG. 2, FIG. 4 is a detailed flowchart of the code decryption process of FIG. 2, and FIG. 5 is a detailed flowchart of the mode change state analysis process of FIG.

제6도는 본 발명에 사용되는 버퍼 구성도로서, (6A)에서 FZM(Flag of Z mode Masking)는 Z모드를 제한하기 위한 키(이하 "R"키라 칭함) 입력시 세트되며, FPM(Flag of P mode Masking)는 P모드를 제한하기 위한 키(이하 "S"키라 칭함) 입력시 세트되고, FZC(Flag of Z mode Clear)는 Z모드 제한을 해제하기 위한 키(이하 "T"키라 칭함)입력시 세트되며, FPC(Flag of P mode Clear)는 P모드 제한을 해제하기 위한 키(이하 "Q"키라 칭함) 입력시 세트된다.FIG. 6 is a buffer configuration diagram used in the present invention. In (6A), a flag of Z mode masking (FZM) is set when a key for restricting a Z mode (hereinafter referred to as an "R" key) is input, and a flag of FPM (Flag of P mode Masking) is set when a key for limiting the P mode (hereinafter referred to as the "S" key) is set, and a Flag (Z) (Flag of Z mode clear) key for releasing the Z mode restriction (hereinafter referred to as the "T" key) It is set at the input, and the FPC (Flag of P mode Clear) is set at the time of input of a key (hereinafter referred to as "Q" key) for releasing the P mode restriction.

그러므로 Z모드에서 FZM이 상기 제1플래그가 되고, FZC가 상기 제2플래그가 되며, P모드에서는 FPM이 상기 제1플래그가 되고, FPC가 상기 제2플래그가 된다. 또한 "T"키 또는 "Q"키 입력시 코드입력값(즉 저장하고 있는 비밀번호 : an1-an4)과 수신코드값(am1-am4)이 동일한 경우에만 FZC 또는 FPC 가 세트된다. (6B)는 코드버퍼로서 Z코드버퍼는 Z모드를 제한하기 위한 코드입력값을 저장하는 영역이며, P코드버퍼는 P모드를 제한하기 위한 코드입력값을 저장하는 영역이다. 여기서 코드입력이란 각 모드를 제어하기 위해 메모리에 기억되는 4자기 숫자 이하의 10진수(an1-an4)를 의미하며 키입력 조합에 따라 발생된다. (6C)는 각 모드에 해당하는 플래그값을 저장하는 버퍼(이하 F모드 버퍼라 칭함)로서 모드스위치 이동시 모드검사에 의해 정상적인 이동으로 판단되었을 때 해당 모드스위치를 인식시키기 위해 세팅된다.Therefore, in Z mode, FZM becomes the first flag, FZC becomes the second flag, in P mode, FPM becomes the first flag, and FPC becomes the second flag. In addition, FZC or FPC is set only when the code input value (that is, the stored password: an1-an4) and the reception code value (am1-am4) are the same when the "T" key or the "Q" key is pressed. Reference numeral 6B denotes a code buffer, in which the Z code buffer is an area for storing code input values for limiting the Z mode, and the P code buffer is an area for storing code input values for restricting the P mode. Here, the code input means a decimal number (an1-an4) less than 4 magnetic digits stored in a memory to control each mode and is generated according to a key input combination. 6C is a buffer for storing a flag value corresponding to each mode (hereinafter referred to as F mode buffer), which is set to recognize the mode switch when it is determined that the movement is normal by the mode check when the mode switch is moved.

상술한 구성에 의거 본 발명을 제1,2,3,4,5,6도를 참조하여 상세히 설명한다.Based on the above configuration, the present invention will be described in detail with reference to the first, second, third, fourth, fifth, and sixth degrees.

금전등록기의 키보드(14)는 각종 키명령를 발생하는 키매트릭스와 금전등록기의 모드를 지정하는 모드스위치로 구성되어 있다. 상기 키보드(14)의 모드스위치는 (1A)와 같이 전술한 바와 같은 R모드, X모드, Z모드 및 P모드 기능을 지정할 수 있다.The cash register keyboard 14 is composed of a key matrix for generating various key commands and a mode switch for designating a cash register mode. The mode switch of the keyboard 14 can designate the R mode, X mode, Z mode and P mode functions as described above as in 1A.

최초 전원 온(power on)시 (A1)단계에서 중앙처리장치(11)는 금전등록기를 초기화 시킨 후, (A2)단계에서 모드변경이 있었는가를 검사하며 모드변경이 있었을시 해당 변화모드가 정상상태에서 이동했는가 아니면 모드이동 제한 상태에서 이동했는가 분석한다. 상기 (A2)단계의 동작과정은 후술하는 제5도의 흐름도에 상세히 후술하기로 하며, 이 단계에서 정상적인 모드 이동이거나 모드변화가 없었을시에는 (A3)단계에서 키스캔한 후 (A4)단계에서 현재의 모드가 코드처리 모드인가를 검사한다. 여기서 코드처리 모드는 모드스위치상에 별도의 코드처리 모드를 부가할 수도 있고, 기존의 모드 중 임의 모드를 지정하여 사용할 수도 있는데, 본 발명에서는 X모드에서 실행할 수 있다고 가정하여 설명한다. 그러므로 상기 (A4)단계에서 모드 스위치가 X모드에 위치하지 않은 상태일시에는 (A5)단계에서 해당 모드의 기능을 처리한다. 즉 R모드, Z모드 또는 P모드를 수행할 수 있는데 이때 발생하는 정보는 표시부(15) 및 인자부(16)를 통해 표시된다.At the first power-on, the central processing unit 11 initializes the cash register in step (A1) and checks whether there is a mode change in step (A2). It is analyzed whether it has moved from the state or the mode movement limit state. The operation process of step (A2) will be described in detail later in the flowchart of FIG. 5 to be described later. In this step, if there is no normal mode shift or mode change, the operation can be performed in step (A3) and then in step (A4). Check if the mode of is in code processing mode. Here, the code processing mode may add a separate code processing mode on the mode switch, or may be used by designating an arbitrary mode among the existing modes. The present invention will be described on the assumption that it can be executed in the X mode. Therefore, when the mode switch is not in the X mode in step (A4), the function of the mode is processed in step (A5). That is, the R mode, the Z mode, or the P mode may be performed. Information generated at this time is displayed through the display unit 15 and the print unit 16.

상기 (A4)단계에서 모드스위치가 X모드에 위치하고 있을시에는 (A6)단계에서 코드입력을 위한 "R", "S"키 인가를 검사하는데, 키보드(14)를 통해 "R", "S"키가 입력된 경우에는 (A7)단계에서 제3도와 같은 흐름으로 코드입력을 처리한다. 먼저 (B1)단계에서 중앙처리장치(11)는 키보드(14)를 통해 모드이동 제한을 위한 비밀번호를 지정할 수 있도록 숫자키가 입력됐는가 검사하는데, 4자리 이하의 숫자키가 입력한 경우 (B2)단계에서 "R", "S"키 입력에 따라 (6A)의 FZM 및 FPM을 세트하고, 입력 숫자키를 (6B)의 Z코드버퍼 및 P코드버퍼에 저장한다. 이때 상기 (A6)단계에서는 "R", "S"키를 동시에 입력할 수도 있고, "R" 또는 "S"키 1개만을 입력할 수 있는데, R키는 Z모드 입력키이고, S키는 P코드 입력키이므로 (B2)단계에서는 코드입력에 따라 모드 마스킹을 위한 FZM, FPM을 세트시키고, 입력 숫자키값을 Z,P코드버퍼에 저장한 후 메인루틴으로 복귀한다.When the mode switch is located in the X mode in the step (A4), it is checked in the step (A6) that the "R", "S" key for the code input, the "R", "S" through the keyboard 14 If a key is input, the code input is processed in the flow of FIG. 3 in the step (A7). First, in step (B1), the central processing unit 11 checks whether a numeric key has been entered so that a password for mode shift restriction can be specified through the keyboard 14, and if four or fewer numeric keys are entered (B2). In step S, the FZM and FPM of (6A) are set according to the "R" and "S" key inputs, and the input numeric keys are stored in the Z code buffer and the P code buffer of (6B). At this time, in step (A6), the "R" and "S" keys may be simultaneously input, and only one "R" or "S" key may be input. The R key is a Z mode input key and the S key is As it is a P code input key, in step (B2), FZM and FPM for mode masking are set according to the code input, and the input numeric key values are stored in the Z and P code buffers, and then returned to the main routine.

이때 상기 (B1)단계에서 입력 숫자키가 없는 경우(an=0)에는 모드변경시 모드위치 이동에 제한을 두지 않고자 하는 경우이므로, (B3)단계에서 R,S코드 입력키의 상태에 따라 FZM, FPM을 리세트시키고 Z,P코드버퍼에 "0"을 기록한 후 메인루틴으로 리턴한다. 이러한 경우에는 모드스위치를 조작하여 누구나 원하는 모드로 이동할 수 있게 된다.At this time, if there is no input number key in step (B1) (an = 0), it is the case that there is no restriction on mode position movement when changing mode, and according to the state of R, S code input key in step (B3). Reset FZM and FPM, write "0" to Z, P code buffer and return to main routine. In this case, anyone can operate the mode switch to the desired mode.

이때 상기 (A6)단계에서 코드 입력키가 아닐시에는 (A8)단계에서 코드해제를 위한 "T", "Q"키 입력인가 검사하는데, 상기 코드해제키 발생시에는 (C1)단계 코드입력 처리과정에서 (6B)의 Z코드버퍼 및 P코드버퍼에 저장하고 있는 숫자값(an1-an4)과 현 입력숫자값(am1-am4)이 동일한가 비교하며, 동일할시에는 (C2)단계에서 해당 모드해제를 위한 플래그인 FZC, FPC를 세트시키고 메인루틴으로 리턴한다. 이 경우 상기 (A8)단계에서는 코드해제키 발생시 "T" 및 "Q"키를 동시에 발생할 수 있고, "T" 또는 "Q"키 1개만 발생할 수 있는데, "T"키는 Z코드 해제키이고, "Q"키는 P코드 해제키이므로 코드해제키에 따라 모드 이동제한 해제를 위한 FZC, FPC를 세트시킨 후 메인루틴으로 복귀한다.At this time, if the code input key is not in step (A6), it is checked whether the "T" and "Q" keys are input for code release in step (A8), and if the code release key is generated, step (C1) Compares the numerical value (an1-an4) stored in Z code buffer and P code buffer of (6B) with the current input numerical value (am1-am4) in (6B), and if it is the same, release the mode in (C2) Set the flags for FZC, FPC and return to the main routine. In this case, in step (A8), when the code release key is generated, the "T" and "Q" keys may be simultaneously generated, and only one "T" or "Q" key may be generated. The "T" key is a Z code release key. Since "Q" key is P code release key, FZC and FPC are set to release mode movement restriction according to code release key and then return to main routine.

이때 상기 (C1)단계에서 Z코드버퍼, P코드버퍼에 저장하고 있는 코드값과 현 수신값이 상이할시에는 코드해제 입력이 잘못된 경우이므로, 해당플래그 리세트시키고 경고음(error tone)을 발생시킨 후 메인루틴으로 복귀한다.In this case, when the code value stored in the Z code buffer and the P code buffer is different from the current reception value in the step (C1), the code release input is incorrect. Therefore, the corresponding flag is reset and an error tone is generated. Then return to the main routine.

상기 (A8)단계에서 코드해제키가 아닌 경우에는 코드처리 모드인 X모드에서 코드입력 및 해제키가 발생하지 않은 상태이므로 (A10)단계에서 X모드의 기능을 수행하게 된다.If it is not the code release key in step (A8), since the code input and release keys are not generated in the X mode which is the code processing mode, the function of the X mode is performed in step (A10).

상기와 같은 흐름을 수행하는 중에 모드변화 상태는 전술한 바와 같이 제5도와 같은 흐름으로 분석한다. 먼저 (D1)단계에서 중앙처리장치(11)는 전상태와 현상태의 모드변화가 발생했는가 검사하며, 모드변화가 발생하지 않았을시에는 메인루틴으로 복귀한다.While performing the above flow, the mode change state is analyzed as the flow as shown in FIG. 5 as described above. First, in step (D1), the central processing unit 11 checks whether a mode change of the previous state and the present state has occurred, and returns to the main routine when no mode change occurs.

이때 상기 (D1)단계에서 모드변화 발생시에는 (D2)단계에서 R 또는 X모드로 변화했는가 검사하며, R 또는 X모드로 변화했을시에는 (D3)단계에서 (6A)의 FZC 및 FPC를 클리어시키고, (D4)단계에서 (6C)의 F모드버퍼에 R 또는 X를 입력한다. 이때 R모드는 등록모드이므로 누구나 실행할 수 있도록 모드이동을 제한하지 않으며, X모드는 점검모드로 램(13)에 누적하고 있는 거래정보를 점검만 하지 변화시키지는 않으므로 두 모드로 이동시에는 모드이동을 제한시키지 않는다. 또한 R 또는 X모드로 변경시에는 FZC 및 FPC를 리세트 시키는 이유는 Z모드 또는 P모드의 모드변경을 제한할 수 있는 마스터급의 사용자가 전상태에서 Z 모드 또는 P모드 기능으로 금전등록기를 사용한 후 X나 R모드로 돌아온 경우에 전상태의 모드(P 또는 Z모드) 기능을 해제하기 위함이다.At this time, when the mode change occurs in the step (D1), it is checked whether it is changed to the R or X mode in the step (D2). When the mode is changed to the R or X mode, the FZC and FPC of (6A) are cleared in the (D3) step. In step (D4), input R or X to F mode buffer of (6C). At this time, since the R mode is a registration mode, it does not restrict the mode movement so that anyone can execute it, and the X mode does not change only the inspection information accumulated in the RAM 13 as the inspection mode, but does not change the mode movement when moving to both modes. Don't let that happen. In addition, when changing to R or X mode, the reason of resetting FZC and FPC is that the master user who can limit the mode change in Z mode or P mode uses the cash register as Z mode or P mode function in all states. This is to cancel the previous mode (P or Z mode) function when returning to X or R mode.

이때 상기 (D2)단계에서 R 또는 X모드가 아닐시에는 (D5)단계에서 Z모드로 변경됐는가 검사하는데, Z 모드 일시에는 (D6)단계에서 (6A)의 FZC를 분석하여 Z모드의 이동제한 해제상태인가 분석하며, 해제상태(FZC의) 일시에는 (D7)단계에서 (6C)의 F모드버퍼에 Z를 입력하여 금전등록기를 Z모드로 동작할 수 있게 한 후 메인루틴으로 리턴한다. 그러나 상기 (D6)단계에서 FZC가 리세트 상태일시에는 (D8)단계에서 Z모드 이동제한 상태인가 분석하기 위한 FZM의 상태를 분석하며, FZM이 세트상태 일시에는 Z모드로의 이동이 마스킹되어 있는 상태이므로 에러처리하고 메인루틴으로 리턴한다.At this time, if it is not in R or X mode in step (D2), it is checked whether it is changed to Z mode in step (D5), and in Z mode date and time, the FZC of (6A) is analyzed in step (D6). In the release state (FZC), enter Z into the F mode buffer of (6C) in step (D7) to enable the cash register to operate in Z mode and return to the main routine. However, when the FZC is in the reset state in step (D6), the state of the FZM is analyzed to analyze whether the Z mode movement is restricted in the step (D8), and the movement to the Z mode is masked when the FZM is in the set state. Since it is a state, it handles an error and returns to the main routine.

이때 상기 (D6) 및 (D7)단계에서 FZC 및 FZM이 리세트상태 일시에는 사용자가 Z모드를 마스킹 시키지 않은 경우이므로 모든 사람이 공동으로 금전등록기의 모드변화를 실행할 수 있다.At this time, since in step (D6) and (D7), the user does not mask the Z mode in the reset state date and time in the FZC and FZM everyone can jointly change the mode of the cash register.

이때 상기 (D5)단계에서 Z모드가 아닐시에는 P모드로 변경된 경우이므로 (D9)단계에서는 (6A)의 FPC상태를 분석하여 FPC가 세트상태 일시에는 (D10)단계에서 F모드 버퍼에 P를 저장하여 금전등록기를 P모드로 동작할 수 있게 하고 메인루틴으로 되돌아간다. 그러나 상기 (D9)단계에서 FPC가 리세트상태 일시에는 (D11)단계에서 FPM이 세트상태인가 검사하는데, FPM이 세트상태 일시에는 P모드를 이동 제한하도록 마스킹된 상태이므로 에러처리를 실행하며, FPM이 리세트상태 일시에는 상기와 마찬가지로 P모드로의 이동을 하지 않은 상태이므로 F모드에 P를 저장하여 P금전등록기가 P모드로 동작할 수 있도록 하고 메인루틴으로 복귀한다.At this time, if the mode is not changed to the P mode in step (D5), the mode is changed to the P mode. In step (D9), the FPC state of (6A) is analyzed. Save to enable the cash register to operate in P mode and return to the main routine. However, in step (D9), the FPC checks whether the FPM is in the set state at the time of the reset state. In step (D11), the FPM is masked to limit the movement of the P mode at the set state. In this reset state, the mobile station does not move to the P mode as described above, so that P is stored in the F mode so that the P cash register can operate in the P mode and returns to the main routine.

그러므로 모드변화 분석과정에서는 상기 (A7)단계의 코드입력 처리과정에서 코드값이 입력되고 상기 (A9)단계의 코드해제 처리과정에서 제어되는 Z,P모드중 원하는 위치로 이동하기 위해 기억된 CODE값과 동일한 숫자를 입력시켜 놓은 상태 등을 분석하여 Z모드와 P모드의 이동상태를 허용할 것인가, 허용하지 않을 것인가를 분석하며 각 해당 모드에서의 정상적인 동작을 판정하기 위한 흐름도로서, 먼저 X모드에서는 이전상태가 다른 모드에서 X모드로 전환된 경우 모드해제 플래그(FZC,FPC)를 클리어 시켜준다. 한편 다른 모드에서 Z모드로 이동된 경우 X모드에서 FZC플래그가 세트되었으면 F모드에 Z를 입력시켜 Z모드에서의 동작을 허용하고, P모드로 이동된 경우 FPC플래그가 세트되었으면 F모드에 P를 입력시켜 P모드에서의 동작을 허용한다.Therefore, in the mode change analysis process, a code value is input in the code input process of step (A7), and a code value stored to move to a desired position among Z and P modes controlled in the code release process of step (A9). Analyze whether or not to allow the movement state of Z mode and P mode by analyzing the state of inputting the same number as, and to determine the normal operation in each mode. If the previous state is changed to X mode from another mode, clear the mode release flag (FZC, FPC). On the other hand, if the FZC flag is set in X mode when it is moved to Z mode in another mode, it is allowed to operate in Z mode by entering Z in F mode.If the FPC flag is set when P mode is set, P is set in F mode. Input to allow operation in P mode.

상술한 바와 같이 자유 이동방식의 모드선택(슬라이드 스위치 등)을 사용하는 금전등록기에서 모드지정시 필요에 따라 모드사용을 제한할 수 있으므로서 금전등록기를 효율적으로 이용할 수 있으며, 모든 사용 제한시 기구적인 장치없이 플래그를 이용하여 실행할 수 있으므로 용이하게 모드사용을 제한할 수 있는 동시에 신뢰성을 향상시킬 수 있는 이점이 있다.As described above, in the cash register using the free-moving mode selection (slide switch, etc.), the use of the mode can be restricted as needed when the mode is designated, and thus the cash register can be efficiently used. Since it can be executed using a flag without a device, there is an advantage that it is possible to easily limit the use of the mode and to improve reliability.

Claims (1)

금전등록기의 모드 제어방법에 있어서, 모드변경 유무를 검사하여 변경시 변경할 해당모드의 소정 제1플래그 및 제2플래그 상태에 따라 모드 이동상태를 제어하는 제1과정과, 상기 제1과정에서 모드변경이 아니거나 정상모드 이동일시 키스캔하여 코드처리 모드인가 검사하며 아닐시 해당모드의 기능을 수행하는 제2과정과, 상기 제4과정에서 코드처리 모드일시 입력키가 발생했는가 검사하며, 코드입력키 일시 해당모드의 코드입력값을 저장하는 동시에 마스킹하기 위한 상기 제1플래그를 세트하고 상기 제1과정으로 되돌아가는 제3과정과, 상기 제3과정에서 코드입력키 일시 코드해제 키인가 검사하며 코드해제키 일시에만 저장코드와 수신코드값의 상태에 따라 해당모드를 해제하기 위한 상기 제2플래그를 세트하고 상기 제1과정으로 되돌아가는 제4과정으로 이루어짐을 특징으로 하는 금전등록기의 모드 제어방법.A method of controlling a cash register in a mode, the method comprising: a first step of controlling a mode moving state according to a predetermined first flag and a second flag state of a corresponding mode to be changed when the mode is changed and the mode is changed; The second process of performing the function of the corresponding mode and the second process of performing the function of the corresponding mode, and checking whether or not the code processing mode date and time input key is generated in the fourth process. A third step of setting the first flag for masking and simultaneously storing the code input value of the corresponding mode and returning to the first step; and checking whether the code input key is temporarily decoded at the third step A fourth step of setting the second flag for releasing the corresponding mode according to the state of the stored code and the received code value only at a key date and time and returning to the first step Mode control method of the cash register, characterized in that made in the process.
KR1019890000104A 1989-01-07 1989-01-07 Mode controlling method of cash register KR910007768B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890000104A KR910007768B1 (en) 1989-01-07 1989-01-07 Mode controlling method of cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890000104A KR910007768B1 (en) 1989-01-07 1989-01-07 Mode controlling method of cash register

Publications (2)

Publication Number Publication Date
KR900012184A KR900012184A (en) 1990-08-03
KR910007768B1 true KR910007768B1 (en) 1991-10-02

Family

ID=19283047

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890000104A KR910007768B1 (en) 1989-01-07 1989-01-07 Mode controlling method of cash register

Country Status (1)

Country Link
KR (1) KR910007768B1 (en)

Also Published As

Publication number Publication date
KR900012184A (en) 1990-08-03

Similar Documents

Publication Publication Date Title
US4651279A (en) Information recording system with multiple levels of data access
US4502119A (en) Electronic register
GB2038515A (en) Programmable calculator with a device for controlling the reading of programme data
US4217656A (en) Electronic calculator
KR910007768B1 (en) Mode controlling method of cash register
US5355125A (en) Electronic register with macro key and security
JPS5896368A (en) Electronic cash register
KR0155072B1 (en) Pos system
JPS5836388B2 (en) electronic cash register
JPH04308995A (en) Cash register with memory card
KR950003799B1 (en) Function-key handling method of electronic cash register
JPS58144966A (en) Electronic cash register
JPS59183464A (en) Electronic cash register
Henneman et al. Model-Based Interface Design for Transaction-Processing Tasks
JP2549753Y2 (en) Sales data processing device
JPH0413757B2 (en)
JPS59173871A (en) Electronic cash register
JPH06274762A (en) Commodity sales data processor
JPS63145566A (en) Schedule management equipment
JPH05346989A (en) Data processor with spooler function
JPS59191669A (en) Electronic cash register
JPH04241092A (en) Sales data processor
JPS5833983B2 (en) electronic cash register
JPH05233929A (en) Selling price setting device for automatic vending machine
JPH02129792A (en) Merchandise sale data processor

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030929

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee