KR930005700B1 - Microcomputer controlled locking system - Google Patents

Microcomputer controlled locking system Download PDF

Info

Publication number
KR930005700B1
KR930005700B1 KR1019860700043A KR860700043A KR930005700B1 KR 930005700 B1 KR930005700 B1 KR 930005700B1 KR 1019860700043 A KR1019860700043 A KR 1019860700043A KR 860700043 A KR860700043 A KR 860700043A KR 930005700 B1 KR930005700 B1 KR 930005700B1
Authority
KR
South Korea
Prior art keywords
key
microcomputer
code
subroutine
open
Prior art date
Application number
KR1019860700043A
Other languages
Korean (ko)
Other versions
KR860700327A (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 컴퓨터라이즈드 시큐리티 시스템즈, 인코포레이티드
Publication of KR860700327A publication Critical patent/KR860700327A/en
Application granted granted Critical
Publication of KR930005700B1 publication Critical patent/KR930005700B1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • G07C9/00904Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for hotels, motels, office buildings or the like
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00658Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by passive electrical keys
    • G07C9/00722Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by passive electrical keys with magnetic components, e.g. magnets, magnetic strips, metallic inserts

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)
  • Selective Calling Equipment (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)
  • Electronic Switches (AREA)
  • Preparation Of Compounds By Using Micro-Organisms (AREA)
  • Regulating Braking Force (AREA)

Abstract

A locking system which comprises a microcomputer controlled lock (10) with multiple level keying, i.e. multiple keys (34) having different functions in the locking system. A key reader (38), for example punch card or magnetic type, reads key code into the microcomputer. A read/write memory (217) has a predetermined number of assigned key codes stored therein and a read-only memory (215) has a control program stored therein for control of the microcomputer. An electrically controlled actuator (42) for the locking means is coupled with an unlocking output of the microcomputer. The control program comprises a main program and a plurality of subroutines each stored at a different location in the read-only memory. A function table (219) has a number of pointers each of which points to the memory address of one of the subroutines. The number of pointers in the function table (219) is equal to the number of locations in the key code memory (217). Decoding means operative under program control in conjunction with a control code (102) on the key (34) points to selected locations in the key code memory (217) and the function table (218) corresponding to the control code (102). A microcomputer (112), under control of the main program, compares the primary (104) and secondary key codes (106) from the selected key (34) with the assigned key at the location in the key code memory (214). If there is a match, the microcomputer then operates under the control of the subroutine at the memory address pointed to by the function table (219) to execute the function of the selected key (34).

Description

[발명의 명칭][Name of invention]

마이크로컴퓨터 제어 쇄정 시스템Microcomputer Control Locking System

[도면의 간단한 설명][Brief Description of Drawings]

제1도는 문에 설치된 본 발명을 구체화한 도어자물쇠의 사시도이고,1 is a perspective view of a door lock embodying the present invention installed on the door,

제2a도는 도어노브와 마이크로컴퓨터 제어 쇄정을 포함한 자물쇠 하우징의 일부 절단 측면도이며,2a is a partial cutaway side view of the lock housing including the door knob and microcomputer controlled lock,

제2b도는 쇄정 제어장치의 일부를 보여주는 배면도이며,Figure 2b is a rear view showing a part of the lock control device,

제2c도는 키이상의 대표적인 코드배치도이고,Figure 2c is a representative code layout of more than a key,

제3a도는 마이크로컴퓨터와 전자 제어회로도이며,3a is a microcomputer and an electronic control circuit diagram,

제3b 및 3c도는 마이크로컴퓨터부의 기능 블럭도이고,3b and 3c are functional block diagrams of a microcomputer unit,

제4 및 5, 6a 및 6b, 7 내지 14도는 본 발명의 제1실시예인 마이크로컴퓨터의 제어프로그램을 나타내는 플로우차트이며,4 and 5, 6a and 6b, 7 to 14 are flowcharts showing the control program of the microcomputer as the first embodiment of the present invention.

제15도는 본 발명의 제2실시예에 사용하기 위한 자기적으로 부호화된 키이의 개략 정면도이고,15 is a schematic front view of a magnetically encoded key for use in the second embodiment of the present invention,

제16도는 본 발명의 제2실시예에 대한 전자회로도이며,16 is an electronic circuit diagram according to a second embodiment of the present invention.

제17a, b 및 18 내지 21도는 본 발명의 제2실시예인 마이크로컴퓨터에 대한 부가적인 제어프로그램을 나타내는 플로우챠트이고,17a, b and 18 to 21 are flow charts showing an additional control program for a microcomputer as a second embodiment of the present invention;

제22도는 마이크로컴퓨터의 정확한 상세도이며,22 is an accurate view of the microcomputer,

제23도는 본 발명의 제3실시예에 대한 마이크로컴퓨터와 전자회로도이고,23 is a microcomputer and an electronic circuit diagram according to a third embodiment of the present invention.

제24도는 제3실시예의 등속 호출기억장치(RAM)부의 기능 블럭도이며,24 is a functional block diagram of a constant speed call memory (RAM) unit of the third embodiment;

제25a 및 b도는 새로운 키이를 유효화시키기 위한 링크코드 프로그램을 나타내는 플로우챠트이고,25a and b are flowcharts showing a link code program for validating a new key;

제26a, 26b, 27, 28a, 및 29도는 본 발명의 제3실시예에 있어서 키이기능에 대한 제어프로그램을 나타내는 플로우챠트이며,26A, 26B, 27, 28A, and 29 are flowcharts showing control programs for key functions in the third embodiment of the present invention;

제30a, b 및 c도는 제3실시예에 있어서, 자물쇠의 온-라인 재프로그램용 제어프로그램을 나타내는 플로우챠트이고,30A, 30B and 30C are flowcharts showing a control program for on-line reprogramming of a lock according to the third embodiment,

제31도는 문개방 기록용 시간 베이스를 제공하기 위한 실 시간 클록을 나타내는 플로우챠트이다.Fig. 31 is a flowchart showing a real time clock for providing a time base for door opening recording.

[발명의 상세한 설명]Detailed description of the invention

본 출원은 1984년 3월 28일자로 출원되어, 현재는 포기된 미국특허출원 제594,471호의 일부 계속(CIP) 출원인 1984년 8월 17일자로 출원된 미국특허출원 제641,792호의 CIP 출원이다.This application is a CIP application of US Patent Application No. 641,792, filed Mar. 28, 1984, filed Aug. 17, 1984, which is a part of CIP application of US Patent Application No. 594,471, now abandoned.

[발명의 분야][Field of Invention]

본 발명은 안전장치, 특히 문의 자물쇠 (door lock)로 사용하기에 특히 적합한 컴퓨터제어 쇄정 시스템에 관한 것 이다The present invention relates to a computer controlled lockout system particularly suitable for use as a safety device, in particular as a door lock.

[발명의 배경][Background of invention]

호텔, 사무실 빌딩 및 이와 유사한것 등의 다수의 객실에는 도어자물쇠가 필요하다. 예컨대, 호텔객실의 도어자물쇠는 계속되는 고객에 대해 상이한 키이(열쇠)를 가져야만 한다. 또한, 소정시간에 객실 도어자물쇠는 종업원, 지배인 및 호텔경영자와 같은 호텔 직원에게 할당된 상이한 키이에 의해 동작가능하여야만 한 다. 또한 안전 목적을 위하여, 각각의 자물쇠에 대한 키이는 쉽게 변경가능하여야만 한다.Many rooms, such as hotels, office buildings, and the like, require door locks. For example, door locks in hotel rooms must have different keys (keys) for subsequent customers. Also, at any given time the cabin door locks must be operable by different keys assigned to hotel employees such as employees, managers and hotel managers. Also for safety purposes, the key for each lock must be easily changeable.

종래에 있어서, 호텔등의 쇄정 시스템은 자물쇠 기구의 동작을 위해 전자 코드 응답논리회로를 이용한 것이 개발되어 왔다.Background Art In the past, lockout systems such as hotels have been developed that use electronic code response logic circuits for the operation of lock mechanisms.

1979년 12월 11일자로 아이딘에게 허여된 특허 제4,177,657호에는 키이에서 코드를 감지하고 그것을 메모리내에 기억된 코드와 비교하는 전자 쇄정 시스템이 기술되어 있다. 키이코드가 기억된 코드와 일치될때, 자물쇠는 클러치 작동보울트를 작동시키며, 또한 기억된 코드를 새로운 코드로 변경할 수도 있다. 아이딘의 특허는 자물쇠를 위한 마이크로컴퓨터 제어시스템을 기술하였다. 각각의 키이는 그곳에 기억된 제어코드, 제1키이코드 및 제2키이로드를 가지고 있다. RAM은 소정수의 할당된 키이코드를 기억하며, ROM은 마이크로컴퓨터의 제어를 위하여 그곳에 기억된 제어프로그램을 가지고 있다. 키이판독기(reader)는 마이크로컴퓨터와 결합되어 있으며, 마이크로컴퓨터내에 기억된 코드를 읽기 위하여 임의의 키이와 상호 작용하도록 되어 있다. 키이상의 제어코드에 따라서 상이한 억세스레벨에는 상이한 키이가 사용된다; 억세스케벨은 고객키이, 플로어 마스터, 섹션 마스터, 안전 마스터 등으로 지정되어 있다. 만약 코드의 일치가 이루어진 경우, 시스템은 중요한 두가지 기능, 즉 클러치가 문을 개방시키도록 하거나, 메모리내에 기억된 코드를 변경시키는 것을 수행한다. 더우기, 코드 변경을 가능케하는 개방을 금지하는 어떤 보조기능, 즉 단지 1회만 사용될 수 있는 특수 키이 및 이중키이 기능이 있다.Patent No. 4,177,657, issued to Aydin on December 11, 1979, describes an electronic lockout system that detects a code in a key and compares it with the code stored in memory. When the keycode matches the memorized code, the lock activates the clutch actuation bolt and can also change the memorized code to a new code. Aydin's patent describes a microcomputer control system for a lock. Each key has a control code, a first key code and a second key rod stored therein. The RAM stores a predetermined number of assigned key codes, and the ROM has a control program stored there for the control of the microcomputer. The key reader is coupled to the microcomputer and is adapted to interact with any key to read the code stored in the microcomputer. Different keys are used for different access levels depending on the control codes above the keys; Accessibility levels are assigned to customer keys, floor masters, section masters, and safety masters. If a code match is made, the system performs two important functions: let the clutch open the door, or change the code stored in memory. Furthermore, there are some auxiliary functions that prohibit opening to allow code changes, ie special key and double key functions that can only be used once.

삽세이의 특허 제3,821,704호에는 호텔등에 적합한 다중레벨의 마스터 키이를 갖는 전자 쇄정 시스템이 기술되어 있다. 각각의 쇄정기구는 변경가능한 2진 메모리를 가진 디코딩 회로에 의해 제어된다. 키이는 2개의 해독가능한 정보계, 즉 키이계(key field)와 허가계(authorization field)를 갖는다. 키이계가 디코딩 회로 메모리내에 기억된 조합과 일치할 경우 자물쇠는 열리게 된다. 만약, 알치하지 않을 경우는 허가계와 조합계가 비교되며, 만약 그들이 동일할 경우에는 키이계가 메모리에 기억되어 자물쇠가 열리게 된다.Sapsey Patent No. 3,821,704 describes an electronic lockout system having a multilevel master key suitable for hotels and the like. Each lock mechanism is controlled by a decoding circuit having a changeable binary memory. The key has two reversible information systems, a key field and an authorization field. If the key sequence matches the combination stored in the decoding circuit memory, the lock is opened. If not known, the permission system and the combination system are compared. If they are the same, the key system is stored in memory and the lock is opened.

디미트리아디스의 특허 제3,797,936호에는 광학엔코딩 키이를 갖는 전자 쇄정이 기술되어 있다. 키이상의 로드가 기억된 코드와 일치할 경우, 회로는 자물쇠를 개방시키는 기구를 작동시킨다. 애스틴의 특허 제4,396,914호에는 마이크로프로세서 제어 쇄정이 기술되어 있다. 이 시스템에서, 전자회로는 메모리의 내용과 조합코드를 비교하여 만약 일치할 경우에는 쇄정장치를 개방시킨다. 만약, 키이카드가 새로운 것일 경우, 회로는 새로운 조합코드를 계산하고, 만약 새로운 조합코드가 키이카드상의 것과 일치할 경우는 새로운 조합코드가 메모리에 부하된다.Dimitriadis patent 3,797,936 describes an electronic crystal with an optical encoding key. If the load over the key matches the stored code, the circuit activates the mechanism to open the lock. Asin patent 4,396,914 describes a microprocessor control decision. In this system, the electronic circuit compares the contents of the memory with the combination code and opens the locking device if there is a match. If the key card is new, the circuit calculates a new combination code, and if the new combination code matches that on the key card, the new combination code is loaded into the memory.

본 발명의 목적은 도어쇄정기구를 레어하는데 사용하기에 특히 적합하며 종래 기술의 단점들을 극복할 수 있는 개량된 안전장치를 제공하는데 있다.It is an object of the present invention to provide an improved safety device which is particularly suitable for use in rare door locking mechanisms and which can overcome the disadvantages of the prior art.

[발명의 요약][Summary of invention]

발명에 따르면, 높은 안전도를 제공하고, 사용 및 작동이 간단하며, 상이한 적용에 있어서 높은 융통성을 제공할뿐 아니라, 제조 및 설치비용이 경제적인 전자 쇄정 시스템이 제공된다. 본 발명의 쇄정 시스템은 다중레벨키이, 즉 쇄정 시스템에서 상이한 기능을 갖는 다중키이를 제공한다. 셋트 또는 라이브러리의 키이기능 프로그램은 각각의 쇄정 시스템에 설치될 수도 있다. 작동 셋트의 선택 키이 기능은 특별한 응용에 따른 쇄정 시스템에서 프로그램 가능하다. 상이하게 코드화된 키이가 각각의 키이기능을 위해 발행된다. 쇄정 시스템은 많은 상이한 경우에 사용될 수 있으며 특히 호텔 도어자물쇠에 적합하다.According to the invention, an electronic correction system is provided that provides high safety, is simple to use and operate, provides high flexibility in different applications, and is economical to manufacture and install. The lockout system of the present invention provides a multilevel key, that is, a multikey with different functions in the lockdown system. The key function program of a set or library may be installed in each lockout system. Selection keys of the operating set This function is programmable in the locking system according to the particular application. Differently coded keys are issued for each key function. Locking systems can be used in many different cases and are particularly suitable for hotel door locks.

본 발명의 쇄정 시스템은 마이크로컴퓨터의 제어하에 있는 자물쇠와, 마이크로컴퓨터와 결합되어 있는 키이판독기, 및 각각의 형태마다 쇄정 시스템 내에서 상이한 기능을 제공하는 상이한 형태인 다수의 코드키이로 구성된다. 읽기/쓰기 메모리는 그 내에 기억되는 소정수의 할당된 키이코드를 가지며, ROM은 마이크로컴퓨터의 프로그램 제어를 위하여 그 내에 기억된 제어프로그램을 갖는다. 쇄정 수단용 전기 작동기는 마이크로컴퓨터의 비잠금 출력과 결합된다. 제어프로그램은 주프로그램과 각각의 서브루틴이 ROM내의 상이한 위치에 기억된 다수의 서브루틴으로 이루어진다. 메모리중 어느 하나의 메모리에 기억된 기능테이블은 다수의 포인터를 갖는데, 각각의 포인터는 서브루틴중 하나의 서브루틴의 메모리 어드레스에 지시한다. 기능테이블내의 포인터의 수는 키이코드 메모리내의 위치수와 동일하다. 프로코램 제어하에 작동되는 디코딩 수단은 키이코드 메모리내의 선택된 위치 및 선택된 키이상의 제어코드에 대응하는 기능테이블을 지시한다. 마이크로컴퓨터는 주프로그램의 프로그램 제어하에 선택된 키이로 부터의 제1 및 제2키이코드와 상기 디코딩 수단에 의해 지시된 상기 키이코드 메모리내의 위치에 할당된 코드클 비교하도록 동작한다. 만약 일치할 경우에는, 마이크로컴퓨터는 기능테이블에 의해 지정된 메모리 어드레스에 있는 서브루틴의 제어에 따라 동작하므로, 쇄정 시스템은 선택된 키이의 기능에 따라서 작동된다.The lockout system of the present invention consists of a lock under the control of a microcomputer, a key reader coupled to the microcomputer, and a plurality of code keys of different forms, each providing a different function within the lockout system. The read / write memory has a predetermined number of assigned keycodes stored therein, and the ROM has a control program stored therein for program control of the microcomputer. The electrical actuator for the locking means is coupled with the unlocked output of the microcomputer. The control program consists of a main program and a number of subroutines in which each subroutine is stored at a different location in the ROM. The function table stored in any one of the memories has a plurality of pointers, each of which points to a memory address of one of the subroutines. The number of pointers in the function table is equal to the number of positions in the keycode memory. Decoding means operated under program control indicates a function table corresponding to a selected position in the keycode memory and a control code above the selected key. The microcomputer is operable to compare the first and second keycodes from the selected key under the program control of the main program with the codecs assigned to the positions in the keycode memory indicated by the decoding means. If there is a match, the microcomputer operates under the control of the subroutine at the memory address specified by the function table, so that the locking system operates according to the function of the selected key.

또한, 본 발명에 따르면, 마이크로컴퓨터는 개시프로그램의 제어에 따라 작동하여 상기 기능테이블를 설정하거나 프로그램시켜서 키이코드 메모리내에 그것에 대응하는 키이코드를 기억시킨다. 시스템은 요망된 키이 기능에 대응하는 포인터를 기능테이볼내의 각각의 위치에 할당시키기 위한 수단과, 개시프로그램의 페이즈-인(phase-in) 시퀀스에 따라 마이크로컴퓨터를 제어하기 위하여 그 위에 코드를 갖고 있는 개시 페이즈-인 키이로 구성되어, 마이크로컴퓨터는 연속적인 키이형태의 키이판독기로부터 입력을 받아들여 그곳에 있는 제어코드에 대응하는 키이코드 메모리내의 위치에 키이코드를 기억시킨다. 기능테이블에 한 형태의 포인터를 할당하는 수단은 개시프로그램내의 고장 루틴이다. 바꿔말하면, 기능테이블의 임의의 요망 프로그래밍은 기능테이블내의 각각의 상이한 위치에 기억될 포인터를 갖는 프로그래밍 키이를 사용하므로써 수행될 수 있다.Further, according to the present invention, the microcomputer operates under the control of the starting program to set or program the function table so as to store the corresponding keycode in the keycode memory. The system has means for assigning a pointer corresponding to the desired key function to each position in the function table, and a code thereon for controlling the microcomputer according to the phase-in sequence of the initiator. The microcomputer accepts input from a continuous key-type key reader and stores the keycode in a location in the keycode memory that corresponds to the control code therein. The means for assigning a pointer of one type to a function table is a fault routine in the starting program. In other words, any desired programming of the function table can be performed by using a programming key having a pointer to be stored at each different position in the function table.

또한, 본 발명에 따르면, 본 쇄정 시스템은 정규의 쇄정 볼트와 데드볼트(dead bolt) 형태인 쇄정수단을 갖는 종래의 장부구멍(motise) 쇄정장치로 사용될 수 있다. 또한, 이 쇄정 시스템에는 높은 안전도를 제공하기 위하여 콤퓨터내에 논리 데드볼트가 제공된다. 더우기, 마이크로컴퓨터는 쇄정수단이 작동되었는지, 예컨대, 정규 볼트가 노브의 회전에 의해 작동되었는지를 판정하기 위해서 쇄정 수단 검출기로 부터의 입력을 받아들인다.Further, according to the present invention, the present locking system can be used as a conventional moth locking device having locking means in the form of a regular locking bolt and a dead bolt. In addition, this locking system is provided with a logic deadbolt in the computer to provide a high degree of safety. Moreover, the microcomputer accepts an input from the locking means detector to determine whether the locking means have been activated, for example whether the normal bolt has been operated by the rotation of the knob.

또한, 마이크로컴퓨터는 실제데드볼트가 투여되었는지, 즉 잠김상태에 있는지를 판정하기 위하여 실제데드볼트 검출기로부터의 입력을 받아들인다. 또한, 마이크로컴퓨터는 로우(low) 밧테리 상태에 대한 적절한 경고를 나타내도록 밧테리 전압 센서로 부터듸 입력을 받아들인다. 이러한 입력들은 프로그램 제어하에서 마이크로컴퓨터에 의해 이용되어 상이한 기능에 해당하는 프로그램 서브루틴에 따라서 상이한 키이기능을 실행한다The microcomputer also accepts input from the actual deadbolt detector to determine if the actual deadbolt has been administered, i.e. locked. The microcomputer also accepts input from the battery voltage sensor to issue a proper warning of a low battery condition. These inputs are used by the microcomputer under program control to execute different key functions according to program subroutines corresponding to different functions.

또한, 본 발명에 따르면 키이기능 서브루틴의 라이브러리 (library)는 컴퓨터의 ROM에 기억되며, 서브루틴중 선택된 셋트의 임의의 하나의 셋트는 기능테이블 할당 및 대응하는 키이에 따라서 마이크로컴퓨터에 의해 작동된다. 이와같은 키이기능 서브루틴은 다음 사항을 포함한다 : 손님용 키이는 논리 데드볼트가 설정되지 않거나 실제데드볼트가 투여되지 않으면, 문을 잠그지 않도록 동작하지만, 관리인 키이에 의해 설정된 금지비트에 의해 금지되도록 동작한다. 관리인 키이는 개방 또는 비개방 키이일 수도 있다. 만약 개방키이인 경우, 그것은 논리 데드볼트 및 실제데드볼트에 해당한다. 만약 그것이 비개방 키이일 경우, 그것은 마지막 손님키이에 의한 개방을 금지하는데 사용될 수 있다. 만약 금지비트가 설정될 경우, 새로운 키이인 현재 발행된 손님키이는 금지비쓰를 소거하며 문을 열것이다. 종업원 키이가 개방키이일 경우 그것은 논리 데드볼트 및 실제데드볼트에 해당한다.Further, according to the present invention, a library of key function subroutines is stored in a ROM of a computer, and any one set of selected sets of subroutines is operated by the microcomputer according to the function table assignment and the corresponding key. . Such key function subroutines include the following: The guest key operates to not lock the door if no logical deadbolts are set or no actual deadbolts are administered, but is prohibited by the inhibit bit set by the custodian key. It works. The custodian key may be an open or non-open key. If it is an open key, it corresponds to logical dead bolts and real dead bolts. If it is an unopened key, it can be used to prohibit opening by the last guest key. If the inhibit bit is set, the new key, the currently issued guest key, will open the door, clearing the inhibit bit. When an employee key is an open key, it corresponds to logical dead bolts and real dead bolts.

그러나, 종업원 키이에 대한 서브루틴이 밧테리를 점검하고 만약 그것이 로우(low)이며 종업원 키이를 마지막으로 4번 사용하기 위하여 로우이었다면, 그것은 종업원 키이가 계속하여 2회 삽입되지 않는다면 문을 잠글 것이다. 일발 키이(one-shot key)가 개방키이일 경우, 그것은 논리 및 실제데드볼트에 해당하며, 그것이 새로운 키이일 경우 즉 첫번째로 사응되는 경우일 때에만 문을 개방할 것이다. 비상 키이는 논리 데드볼트를 설정하도록 작응하여 데드볼트 상태에 관계얼이 문을 개방할 것이다. 만약 노브가 회전되면 그것은 논리 테드볼트를 소거시킬 것이다. 리페이즈(rephase) 키이는 논리 데드볼트를 설정하며 잔여 사이클 시간을 확장하여 리페이즈 절차를 설정시켜서 새로운 코드가 다른 키이의 삽입에 의해서 키이코드 메모리에 기억될 수 있다.However, if the subroutine for the employee key checks the battery and it is low and was low to use the employee key the last four times, it will lock the door if the employee key is not inserted two times in a row. If a one-shot key is an open key, it corresponds to logical and actual deadbolts, and will only open the door if it is a new key, ie if it is the first match. The emergency key will respond by setting a logic deadbolt, opening the door relative to the deadbolt state. If the knob is rotated it will clear the logic ted bolt. The rephase key sets the logic deadbolt and extends the remaining cycle time to set the reorder procedure so that new code can be stored in keycode memory by insertion of another key.

제1안전키이와 제2안전키이의 조합은 높은 안전도 레벨을 제공한다 : 제1안전키이가 우선 사용되어야만하며 논리 데드볼트를 설정하도록 동작하며, 만약 다음 키이가 제2안전키이인 경우, 그것이 개방키이일 경우에 자물쇠를 개방시킬 것이다. 호텔통과 키이에는 호텔 코드가 제공되며 수영장, 오락실등과 같은 사전에 설정한 호텔지역에 들어가도록 하기 위하여 어떤 문을 개방시키도록 동작한다.The combination of the first safety key and the second safety key provides a high level of safety: the first safety key must be used first and operates to set the logic deadbolt, if the next key is the second safety key, If the key is open, it will open the lock. The hotel pass key is provided with a hotel code and operates to open a door to enter a pre-set hotel area such as a swimming pool or a game room.

또한, 본 발명에 따르면, 종전에 발행된 키이가 사응된 적이 없을지라도 새로운 키이코드가 새로운 키이에 대한 메모리에 기억될 수 있도록 한 수단을 제공한다. 이것은 키이상의 제1코드, 제2코드, 및 링크 코드를 사용하므로써 제공된다. 또한, 자물쇠를 온-라인 재프로그래밍 시키기 위한 수단이 제공되고, 자물쇠의 후속 동작을 기록하기 위한 시간 베이스가 제공되며, 자물쇠의 후속 동작을 기록하기 위한 시간 베이스가 제공되며, 부가적인 키이기능 서브루틴이 ROM에 기억된다. 이와같은 부가 키이기능은 사무실 도어자물쇠에 특히 적합한 래치, 비래치 및, 토글 동작을 가진 사무실 키이기능과, 단일 키이 시퀀스를 사용하는 안전키이 기능, 및 일시적으로 비작동상태로 되는 소정 레벨이상 또는 이하의 레벨에서 키이로 열 수 있도록 한 개방기능을 포함한다.In addition, the present invention provides a means by which a new keycode can be stored in the memory for a new key even if a previously issued key has never been matched. This is provided by using a first code, a second code, and a link code above the key. Also provided are means for on-line reprogramming of the lock, a time base for recording subsequent actions of the lock, a time base for recording subsequent actions of the lock, and additional keying subroutines. This is stored in the ROM. These additional key functions include office key functions with latches, latches, and toggles that are particularly suitable for office door locks, safety key functions using a single key sequence, and above or below a predetermined level that temporarily becomes inoperative. Includes an open function to open with a key at the level of.

본 발명을 첨부도면에 의거하여 상세히 기술하면 다음과 같다.The present invention will be described in detail with reference to the accompanying drawings.

[발명의 최선의 실시형태]BEST MODE FOR CARRYING OUT THE INVENTION

도면에는 호텔의 도어자물쇠에 사용하기 위한 본 발명인 마이크로컴퓨터 쇄정제어 시스템이 도시되어 있다. 본 발명은 다른곳에 응용할 수도 있으며 다른 실시예가 이용될 수도 있다.The figure shows a microcomputer lock control system of the present invention for use in a hotel door lock. The present invention may be applied elsewhere and other embodiments may be used.

먼저 펀치카드 열쇠를 사용하는 본 발명의 제1실시예를 기술한 다음, 자기적으로 부호화된 열쇠를 사용한 제2실시예를 기술한후, 쇄정작동과, 온라인 재프로그래밍, 및 부가 열쇠기능을 기록하기 위한 시간 베이스를 포함하는 제3실시예를 기술할 것이다.First, a first embodiment of the present invention using a punch card key will be described, and then a second embodiment using a magnetically encoded key will be described, and then a lock operation, online reprogramming, and additional key functions will be described. A third embodiment will be described which includes a time base for recording.

제1도는 호텔에 사용되는 도어자물쇠에 설치된 본 발명의 쇄정 시스템 또는 제어시스템을 도시한 것이다. 도어자물쇠(10)는 도어(12)에 설치된다. 대체로, 그것은 도어에 설치된 종래의 장부구멍 자물쇠(14)와 외측 도어노브(16)와, 내측 도어노브(18), 및 쇄정 제어 시스템(22)으로 구성된다. 그 자물쇠에는 내측 도어노브(18)에 의해 직접 작동되거나 외측 노브(16)에 의해 쇄정 제어시스템(22)을 통해 작동될 수도 있는 종래의 후퇴볼트(24)의 형태인 쇄정수단이 제공된다. 또한, 그 자물쇠에는 데드볼트축(34)을 통해 도어의 내측에 있는 데드볼트손잡이(32)에 의해서 작동가능한 데드볼트(28)가 제공된다. 또한, 종래의 자물쇠(14)에 제공된 바와 같이, 데드볼트(28)는 내측 또는 외측 도어노브의 작동에 의해서 볼트(24)의 후퇴와 동시에 후퇴한다. 펀치카드의 형태인 열쇠 (34)는 자물쇠의 수동제어를 하기위한 쇄정 제어시스템(22)의 일부이다.1 shows the locking system or control system of the present invention installed in a door lock used in a hotel. The door lock 10 is installed in the door 12. Generally, it consists of a conventional tenon lock 14 and an outer door knob 16, an inner door knob 18, and a lock control system 22 installed in the door. The lock is provided with locking means in the form of a conventional retracting bolt 24 which may be operated directly by the inner door knob 18 or may be operated via the locking control system 22 by the outer knob 16. The lock is also provided with a dead bolt 28 operable by a dead bolt handle 32 on the inside of the door via a dead bolt shaft 34. In addition, as provided in the conventional lock 14, the dead bolt 28 is retracted simultaneously with the retraction of the bolt 24 by the operation of the inner or outer door knob. The key 34 in the form of a punch card is part of the lockout control system 22 for manual control of the lock.

쇄정 제어시스템(22)은 제2a 및 b도에 상세히 도시되어 있다. 대체로, 쇄정 제어시스템은, 키이판독기(38)와, 전자 제어작동기 또는 쇄정제어기구(42), 및 마이크로컴퓨터 회로판(44)을 집어넣는 자둘쇠(36)로 구성된다. 또한, 그곳에는 초록색 LED(46)와, 황색 LED(48), 및 적색 LED(52)로 구성되는 지시 램프가 들어가는데 이러한 램프는 자물쇠에 있는 윈도우(54)를 통해 볼 수 있다. 한쌍의 건전지(55)가 자물쇠 (36)에 장치된다.The decision control system 22 is shown in detail in Figures 2a and b. In general, the lock control system is composed of a key reader 38, an electronic control actuator or lock control mechanism 42, and a lock 36 into which the microcomputer circuit board 44 is inserted. There is also an indicator lamp consisting of a green LED 46, a yellow LED 48, and a red LED 52, which can be seen through the window 54 in the lock. A pair of batteries 55 are installed in the lock 36.

키이판독기(38)는 열쇠(34)를 수응하기 위한 슬로트(56)와, 열쇠를 완전히 삽입시킬때 폐쇄상태로 작동하며 열쇠를 추출시킬때 개방상태로 작동하는 키이스위치(58)로 구성된다. 키이판독기(38)는 열쇠(34)에 펀치된 구멍이 있는가 없는가를 탐지하도록 한 광판독기이며 이후 상세히 기술할 것이다.The key reader 38 consists of a slot 56 for accepting the key 34 and a key switch 58 that operates in the closed state when the key is fully inserted and in the open state when the key is extracted. . The key reader 38 is a light reader which detects whether there is a punched hole in the key 34 and will be described in detail later.

쇄정제어기구(42)는 쇄정핀 수용기(62)와, 왕복 쇄정핀(62), 및 쇄정핀을 작동시키기 위한 솔레노이드(66)로 구성된다. 쇄정핀 수응기(62)는 도어노브축(26)에 비회전적으로 장치된 디스크형 부재이다. 제2b도에 도시한 바와같이, 쇄정핀 수용기(62)의 상반부에는 확대된 반경을 가지며 그의 중립 위치에 있는 도어노브와 함께 쇄정핀(64)과 정렬된 원형홈(68)이 제공된다. 쇄정핀(64)이 홈(68) 안으로 확장될 경우, 도어노브축(26)은 도어노브에 의해 회전될 수 없으며 데드볼트(24)는 후퇴되지 않으므로, 도어는 잠금상태를 유지할 것이다. 쇄정핀(64)은 상측단부에서 헤드(72)를 갖는 원통형임, 피봇 결합장치(74)에 의해서 솔레노이드(66)의 접촉자(76)와 연결되어 있다. 쇄정핀(64)은 자물쇠에 장치된 안내브라켓(78)을 통해 연장되어 있으며, 쇄정핀의 헤드(72)는 쇄정핀이 강하되었을때 브라켓에 안착된다. 또한, 쇄정제어기구(42)는 도어노브가 회전되었을때 신호를 제공하도록 한 도어노브탐지기(82)의 형태인 쇄정탐지수단을 포함한다. 도어노브탐지기(82)는 회로판(44)에 장치된 리드스위치(84)와, 도어노브축(26)과 회전가능한 아암(86)을 포함하며, 영구 자석(88)을 지지한다. 도어노브(16)가 회전했을때, 아암(86)은 축(26)과 함께 움직여서 자석(88)을 리드스위치 (94)로 부터 원격되게 위치시켜서, 정상적으로 개방된 리드스위치(84)가 폐쇄되도록 한다.The lock control mechanism 42 is composed of a lock pin receiver 62, a reciprocating lock pin 62, and a solenoid 66 for operating the lock pin. The lock pin receiver 62 is a disc-shaped member which is mounted non-rotatively on the door knob shaft 26. As shown in FIG. 2B, the upper half of the locking pin receiver 62 is provided with a circular groove 68 having an enlarged radius and aligned with the locking pin 64 with the door knob in its neutral position. When the locking pin 64 extends into the groove 68, the door knob shaft 26 cannot be rotated by the door knob and the dead bolt 24 is not retracted, so the door will remain locked. The locking pin 64 is cylindrical with the head 72 at the upper end, and is connected to the contact 76 of the solenoid 66 by the pivot coupling device 74. The locking pin 64 extends through the guide bracket 78 mounted on the lock, and the head 72 of the locking pin is seated on the bracket when the locking pin is lowered. The lock control mechanism 42 also includes lock detection means in the form of a door knob detector 82 which provides a signal when the door knob is rotated. The door knob detector 82 includes a reed switch 84 mounted on a circuit board 44, a door knob shaft 26 and a rotatable arm 86, and supports a permanent magnet 88. When door knob 16 is rotated, arm 86 moves with shaft 26 to position magnet 88 remotely from reed switch 94 so that normally open reed switch 84 is closed. do.

또한 쇄정제어기구는 데드볼트가 전진 또는 후퇴되는지를 표시하는 신호를 제공하도록 한 데드볼트탐지기(92)와, 회로판(44)에 장치된 리드스위치(94), 및 페드볼트축(34)과 함께 회전하기 위해 장치된 아암(96)을 포함한다. 아암(96)은 데드볼트가 후퇴위치에 있을때 리드스위치(94)에 인접한 위치에 있는 영구자석(98)을 지지한다. 리드스위치(94)는 정상적으로 개방되며, 데드볼트는 축(34)을 회전시키므로써 전진되고, 자석(98)은 리드스위치(94)로 부터 멀어져서 폐쇄상태로 작동된다.The lock control mechanism also includes a dead bolt detector 92 for providing a signal indicating whether the dead bolt is advanced or retracted, a reed switch 94 provided on the circuit board 44, and a fed bolt shaft 34. An arm 96 arranged for rotation. Arm 96 supports permanent magnet 98 in a position adjacent to reed switch 94 when the dead bolt is in the retracted position. The reed switch 94 is normally opened, the dead bolt is advanced by rotating the shaft 34, and the magnet 98 is operated in a closed state away from the reed switch 94.

전술한 열쇠(34)를 제20도를, 참조하여 상세히 기술하기로 한다. 제2c도에 도시한 다중키이(열쇠)는 동일한 자물쇠에 사용하기 위한 것이며 어떤것은 자물쇠이외의 것에 사용될 것이다. 호텔 쇄정 시스템에 있어서, 손님을 포함한 몇몇의 사람은 주어진 자물쇠의 상이한 작동을 위한 열쇠를 필요로 한다. 도시한 시스템에 있어서, 다음과 같은 8개의 상이한 형태의 키이가 있다. 즉, 손님용키이, 종업원키이, 관리인키이, 수행원키이, 일발(one-shot)키이, 고장-안전키이, 마스터키이, 및 비상/리페이즈(rephase)키이가 있다. 각각의 키이는 불투명한 카드이며, 세개의 상이한 코드계(102.104,106)가 제공된다.The above-described key 34 will be described in detail with reference to FIG. 20. The multiple keys (keys) shown in Figure 2c are intended for use with the same lock and some may be used for something other than a lock. In hotel lockout systems, some people, including guests, require keys for different operations of a given lock. In the illustrated system, there are eight different types of keys as follows. That is, there are a guest key, an employee key, a manager key, an attendant key, a one-shot key, a fail-safe key, a master key, and an emergency / rephase key. Each key is an opaque card, and three different code systems 102.104 and 106 are provided.

제2c도에 도시한 카드에서 각각의 적은 직사각형은 비트위치를 표시한다. 만약 비트위치가 펀치된 구멍이라면, 그것은 1비트이다. 즉 펀치되지 않을 경우 그것은 0비트이다. 코드계(102)는 니블 또는 4비트 문자를 포함하는 제어코드로 부호화된다. 상측으로 부터 세개의 비트는 열쇠의 기능 또는 레벨을 표시하며, 네번째의 비트는 개방비트라고도 부르며, 그것이 1일때 키이는 개방키이며, 그것이 0일때 열쇠는 비개방시키일 것이다. 코드계(104)는 니블의 4행으로 배치된 16비트 키이코드 또는 문자를 포함하며 자물쇠를 위한 제1키이코드를 표시한다. 코드계(106)는 또한 니블의 4행으로 배치된 16비트 키이코드 또는 문자를 포함하며 자물쇠에서의 제2코드를 표시한다. 비트의 하측열은 키이판독기의 자체클럭을 위한 동기비트이다. 1비트는 특정행에 1비트가 없을 때에만 동기비트 위치에 이용된다. 상이한 형태의 키이의 기능과 작동을 기술하기전에 마이크로컴퓨터 제어회로를 기술하고자 한다.In the card shown in Fig. 2C, each small rectangle represents a bit position. If the bit position is a punched hole, it is 1 bit. It is zero bits if not punched. The code system 102 is encoded with a control code containing nibble or 4-bit characters. The three bits from the top indicate the function or level of the key, the fourth bit is also called the open bit, and when it is 1 the key is an open key and when it is 0 the key will be unlocked. The code system 104 includes 16-bit keycodes or characters arranged in four rows of nibbles and indicates the first keycode for the lock. The code system 106 also includes 16-bit keycodes or characters arranged in four rows of nibbles and indicates the second code in the lock. The lower row of bits is the sync bit for the self-clock of the key reader. One bit is used for the sync bit position only when there is no one bit in a particular row. Before describing the function and operation of different types of keys, a microcomputer control circuit is described.

제3a도를 참조하여 마이크로컴퓨터 쇄정제어회로를 설명하기로 한다. 마이크로컴퓨터(112)는 단일칩의 4비트 마이크로컴퓨러 즉, 일본의 후지쯔 리미티드가 만든 MB88400 및 MB88500 시리이즈이다. 키이판독기(38)는 다음과 같이 마이크로컴퓨터 (112)에 의해 제어되며 마이크로컴퓨터에 대한 입력을 제공한다. 키이판독기(38)는 키이상에 있는 코드계의 제1 및 제2열의 데이터 비트를 각각 판독하는데 사용하기 위한 제1쌍의 적외선 LED(114,116)가 제공된 광판독기이다. 제2쌍의 LED(118,112)는 제3 및 제4열의 데이터비트를 판독하는데 사용하기 위하여 위치되어 있다. LED(124)는 키이에 있는 코드계의 동기 데이터비트를 판독하기 위하여 위치되어 있다.A microcomputer lock control circuit will be described with reference to FIG. 3A. The microcomputer 112 is a single-chip 4-bit microcomputer, namely MB88400 and MB88500 series made by Fujitsu Limited of Japan. The key reader 38 is controlled by the microcomputer 112 and provides input to the microcomputer as follows. The key reader 38 is an optical reader provided with a first pair of infrared LEDs 114, 116 for use in reading the data bits of the first and second columns of the code system above the keys, respectively. The second pair of LEDs 118, 112 are positioned for use in reading the data bits of the third and fourth columns. LED 124 is positioned to read the synchronous data bits of the code system in the key.

전술한 LED는 그의 베이스가 저항(128)을 통해 컴퓨터의 핀(R3)에 연결된 스위칭 트랜지스터(126)를 통해 활성화된다. 트랜지스터 (126)의 에미터는 밧테리의 +단자에 연결되어 있으며 콜렉터는 저항(132,134,136)을 통해 세개의 LED와 연결되어 있다. 키이판독기(38)는 다섯개의 광트랜지스(142,144,146,148,152)를 포함한다. 광트랜지스터(142,144)는 LED(114,l16)와 광학적으로 각각 정렬되며, 마이크로컴퓨터의 데이터 핀(D2,Dl)과 연결되어 있다. 광트랜지스터(146,148)는 LED(118,112)와 광학적으로 정렬되며, 그의 콜렉터는 데이터 핀(D2,D3)과 각각 연결되어 있다. 광트랜지스터 (152)는 LED(124)와 정렬되며 그의 콜렉터는 마이크로컴퓨터의 보조플럭(Auxiliary clock)핀과 연결되어 있다.The LED described above is activated through a switching transistor 126 whose base is connected to pin R3 of the computer via a resistor 128. The emitter of transistor 126 is connected to the + terminal of the battery and the collector is connected to three LEDs through resistors 132, 134, 136. The key reader 38 includes five phototransistors 142, 144, 146, 148 and 152. The phototransistors 142 and 144 are optically aligned with the LEDs 114 and 16, respectively, and are connected to the data pins D2 and Dl of the microcomputer. Phototransistors 146 and 148 are optically aligned with LEDs 118 and 112, the collectors of which are connected to data pins D2 and D3, respectively. The phototransistor 152 is aligned with the LED 124 and its collector is connected to the auxiliary clock pin of the microcomputer.

데드볼트 탐지기스위치(94)는 접지와 핀(R1O) 사이에 연결되어 있으며, 도어노브 탐지기스위치(84)는 접지와 핀(R9) 사이에 연결되어 있다. 키이스위치 (58)는 전압원과, 저항(156)을 통해 접지되는

Figure kpo00001
핀에 있는 START핀 사이에 연결되어 있다. 마이크로컴퓨터의 RESET핀은 전압원을 지나 직렬로 연결된 저항(158)과 캐패시터 (162)의 접속부에 연결되어 있다. 저항(164)은 클럭발생기 외부핀(X,EX) 사이에 연결되어 있으며, 캐패시터(166)는 핀rEX)과 접지 사이에 연결되어 있다.The dead bolt detector switch 94 is connected between ground and pin R10, and the door knob detector switch 84 is connected between ground and pin R9. The key switch 58 is grounded via a voltage source and a resistor 156.
Figure kpo00001
It is connected between the START pin on the pin. The RESET pin of the microcomputer is connected to a connection of a resistor 158 and a capacitor 162 connected in series across a voltage source. The resistor 164 is connected between the clock generator external pins X and EX, and the capacitor 166 is connected between pin rEX and ground.

공급전압선(168)은 스위칭 트랜지스터(172)를 통해 밧테리전압에 연결되어 있고, 스위칭트랜지스터 (172)의 베이스는 저항(174)을 통쌔 핀(R2)에 연결되어 있으며, 핀(RO)은 저항(176)을 통해 접지와 연결되어 있다. 솔레노이드(66)는 마이크로컴퓨터에 의해서 핀(04,05)을 포함하는 해제출력단을 통해서 제어된다. 이런 목적을 위해서, 솔레노이드(66)의 상측단자는 밧테리에 연결되어 있으며, 하측단자는 스위칭트랜지스터(178)를 통해 접지와 연결되어 있다. 스위칭트랜지스터(178)는 스위칭트랜지스터(182)에 의해 제어되는데, 스위칭트랜지스터 (182)는 그의 콜렉터가 저항(184)을 통해 공급전압선(168)에 연결되며, 그의 에미터는 트랜지스터 (178)의 베이스에 연결되어 있다. 트랜지스터 (182)의 베이스는 핀(04)에 연결되어 있다. 핀(04)이 하이 (high)일때, 트랜지스터 (182,178)는 턴온되며, 풀-인(Pull-in)전류는 도어를 해제하기 위하여 쇄정핀(64)을 충분히 수축시키도록 솔레노이드(66)에 공급된다. 또한, 솔레노이드(66)의 하측단자는 스위칭트랜지스터 (186)를 통해 핀(05)에 연결되어 있다.The supply voltage line 168 is connected to the battery voltage through the switching transistor 172, the base of the switching transistor 172 is connected to the resistor (174) to pin R2, the pin (RO) is a resistor ( 176) is connected to ground. The solenoid 66 is controlled by a microcomputer via a release output stage comprising pins 04 and 05. For this purpose, the upper terminal of the solenoid 66 is connected to the battery, the lower terminal is connected to the ground through the switching transistor 178. The switching transistor 178 is controlled by the switching transistor 182, which has its collector connected to the supply voltage line 168 through a resistor 184, whose emitter is at the base of the transistor 178. It is connected. The base of transistor 182 is connected to pin 04. When pin 04 is high, transistors 182 and 178 are turned on, and pull-in current is supplied to solenoid 66 to sufficiently retract lock pin 64 to release the door. do. In addition, the lower terminal of the solenoid 66 is connected to the pin 05 through the switching transistor 186.

특히, 솔레노이드는 저항(188)을 통해 트랜지스터 (186)의 콜렉터에 연결되어 있는데, 그 트랜지스터는 그의 에미터자 접지와 연결되어 있으며, 그의 베이스가 핀(05)과 연결되어 있다. 핀(05)이 하이일때, 트랜지스터 (186)는 턴온되며, 솔레노이드는 수축위치로 쇄정핀(64)을 유지하기 위하여 유지전류를 충분히 제거한다.In particular, the solenoid is connected to the collector of transistor 186 via a resistor 188, which is connected to its emitter ground and its base is connected to pin 05. When pin 05 is high, transistor 186 is turned on, and the solenoid removes enough of the holding current to hold clamping pin 64 in its retracted position.

각각의 초록색. 황색, 적색 LED(46,48,52)는 0-포트를 통해 제어된다. 초록색 LED(46)는 비교기(192)를 통해 핀(0ø)에 의해 제어된다. 특히, 초록색 LED(46)는 저항(194)을 통해서 밧테리와 비교기의 출력단사이에 연결되어 있다. 핀(0ø)은 비교기(192)의 비반전압력단에 연결되어 있고, 전압공급선(168)은 저항(196)과 직렬 다이오우드(198)를 지나 연결되어 있으며, 다이오우드를 통과한 전압은 기준전압으로써 비교기(192)의 반전입력단에 인가된다. 황색 LED(48)는 직렬저항(202)을 통해 LED(48)에 증가된 전류능력을 위해 각각 병렬로 연결된 핀(01,02.03)에 의해 제어된다. 적색 LED(52)는 저항(204)을 통해 LED(52)에 병렬로 연결된 핀(06,07)에 의해 제어된다.Each green. Yellow and red LEDs 46, 48 and 52 are controlled through the 0-port. The green LED 46 is controlled by pin 0 ø via comparator 192. In particular, the green LED 46 is connected between the battery and the output of the comparator via a resistor 194. The pin (0 ø ) is connected to the non-reflective force terminal of the comparator 192, the voltage supply line 168 is connected through the resistor 196 and the series diode 198, the voltage passed through the diode is the reference voltage Is applied to the inverting input terminal of the comparator 192. The yellow LED 48 is controlled by pins 01 and 02.03, respectively, connected in parallel for increased current capability to the LED 48 via the series resistor 202. Red LED 52 is controlled by pins 06 and 07 connected in parallel to LED 52 through resistor 204.

낮은 밧테리전압을 감지하기 위한 낮은 밧테리탐지기는 마이크로컴퓨터의 핀(Rll)에 의해 제어되는데 비교기(206)를 포함한다. 특히, 한쌍의 전압분배기 저항(208,211)은 전압공급선(168)과 접지 사이에 연결되어 있다. 전압분배기 저항의 접속부는 비교시(206)의 비반전 입력에 연결되어 있다. 반전입력은 다이오우드(198)를 지나 분배된 기준전압에 연결되어 있다. 핀(Rl2)은 저항(213)을 통해 접지와 연결되어 있다. 비교기(206)의 비반전 입력단에서 전압이 반전입력상의 기준전압이하로 강하되면, 비교기(206)의 출력은 낮으며, 그의 출력은 핀(Rll)에 인가된다.The low battery detector for detecting low battery voltage is controlled by pin Rll of the microcomputer and includes a comparator 206. In particular, a pair of voltage divider resistors 208 and 211 are connected between the voltage supply line 168 and ground. The connection of the voltage divider resistor is connected to the non-inverting input of the comparison 206. The inverting input is connected to a reference voltage distributed across diode 198. Pin Rl2 is connected to ground through a resistor 213. When the voltage at the non-inverting input terminal of the comparator 206 drops below the reference voltage on the inverting input, the output of the comparator 206 is low, and its output is applied to the pin Rll.

제3b 및 c도를 참조하여 마이크로컴퓨터(112)를 좀 더 상세히 기술하고자 한다. 마이크로컴퓨터는 도면에 도시한 플로우차트에 의해 표시되는 것과 같은 쇄정 시스템을 작동프로그램을 기억시키는 ROM(215)을 포함한다. ROM(215)은 제22도에서 상세히 기술될 것이다. 또한, 마이크로컴퓨터는 여러가지의 레지스터, 카운터, 및 메모린 블럭을 위해 이용되는 RAM을 갖는다.The microcomputer 112 will be described in more detail with reference to FIGS. 3b and c. The microcomputer includes a ROM 215 for storing a program for operating a lockout system as indicated by the flowchart shown in the figure. ROM 215 will be described in detail in FIG. In addition, the microcomputer has RAM used for various registers, counters, and memory blocks.

특히, 제3b도에 도시한 바와같이, RAM은 레벨당 4문자를 가진 8개의 상이한 레벨로 분리되는 32문자를 내장한 키이코드 메모리(217)를 포함한다. 이 메모리는 키이코드를 키이의 8개의 상이한 레벨의 각각에 해당하는 카각의 레벨에 기억한다. 키이상에서의 제1코드 또는 제2코드가 키이의 특정레벨을 위한 키이코드와 일치할때 자물쇠는 그러한 지시에 따라 작동한다. 또한, RAM은 키이상에 있는 제어코드에 따라 키이코드메모리(217)에 있는 키이를 위한 적당한 레벨을 어드레스하기 위해 지정되는 8개의 문자를 포함하는 기능테이블(219)를 포함한다. 여분메모리블럭(221)은 후비메모리로서의 작동 데이터를 기억시키는데 이용된다. 그것은 키이코드메모리, 기능테이블, 개방비트 따위를 기억한다. 작동상태제어메모리(223)는 RAM에 제공되며, 주기타이머 및 상태레지스터를 포함한다. 이러한 상태레지스터는 적색, 초록색, 황색 LED와 솔레노이드의 불꽃을 포함한다.In particular, as shown in FIG. 3B, the RAM includes a keycode memory 217 containing 32 characters divided into eight different levels with four characters per level. This memory stores the keycode at the level of the carbage corresponding to each of the eight different levels of the key. When the first code or the second code above the key matches the key code for the particular level of the key, the lock operates according to such instructions. The RAM also includes a function table 219 containing eight characters which are designated to address the appropriate level for the key in the keycode memory 217 according to the control code above the key. The spare memory block 221 is used to store operation data as a back memory. It stores keycode memory, function tables and open bits. The operation state control memory 223 is provided in a RAM and includes a periodic timer and a state register. These state registers include red, green and yellow LEDs and solenoid flames.

또한, RAM은 제3c도에 도시한 바와 같은 레지스터완 카운터를 포함한다. 4비트 레지스터(225)는 새로운 비트 플래그(227)와, 논리 데드볼트 플래그(229)와, 제방 플래그 또는 비트(231), 및 메모리 비교플래그(233)를 포함한다. 작동시, 이러한 비트의 용도는 이후 상세히 기술될 것이다. 또한, 금지 레지스터 (235)는 종전에 발행된 손님키이의 사용을 방지하기 위하여 관리인 키이의 작동에 의해 사용하기 위한 4개의 상이한 금지비트를 포함한다. 종업원키이 카운터(237)는 안내자 키이가 활성화 되는 낮은 밧테리 경고등으로 도어를 개방하는데 사용되는 여러번의 트랙을 유지하는데 사용된다. 오 판독 카운터(239)는 자물쇠의 키이 코드 메모리와 일치하지 않는 키이를 사용하도록한 후속계수를 유지한다. 히스토리버퍼(history buffer)는 키이형 레지스터 (241)를 포함하는데 키이형 레지스터는 사용된 마지막 몇몇의 키이유형 (비개방 키이를 제외한)을 기록한다. 또한, 그것은 최종 개방키이의 반복수를 계수하는 반복 카운터 (243)를 포함한다. 형태 및 포매트 레지스터 (245)는 마지막으로 사용된 키이 (개방키이 또는 비개방 키이든지)의 상태 및 포매트의 기록을 유지한다. 이러한 레지스터의 용도 및 작동은 이후 기술될 것이다.The RAM also includes a register completion counter as shown in FIG. 3C. The 4-bit register 225 includes a new bit flag 227, a logic deadbolt flag 229, a dike flag or bit 231, and a memory comparison flag 233. In operation, the use of these bits will be described in detail later. In addition, the inhibit register 235 includes four different inhibit bits for use by the operation of the manager key to prevent the use of previously issued guest keys. The employee key counter 237 is used to maintain multiple tracks used to open the door with a low battery warning light to activate the guide key. The false read counter 239 maintains a subsequent coefficient that causes the lock to use a key whose key does not match the code memory. The history buffer includes a keyed register 241, which records the last few key types (except for the non-open key) used. It also includes an iteration counter 243 that counts the number of iterations of the last open key. The type and format register 245 keeps a record of the state and format of the last key used (whether it is an open key or a non-open key). The use and operation of these registers will be described later.

마이크로컴퓨터의 ROM과 RAM은 제22도에 상세히 기술되어 있다. ROM(215)은 프로그램메모리(800)를 포함한다. 이 메모리는 주프로그램과 다수의 서브루틴을 불연속 위치에 기억한다. 또한, ROM은 제1데코더 또는 색인표(802)와 제2데코더 또는 색인표(804)를 기억한다. 이러한 색인표의 기능과 작동은 이후 기술될 것이다. 마이크로컴퓨터의 RAM은 처리될 키이로 부터 판독된 제어 코드를 유지토록한 제어 코드레지스터(806)를 포함한다. 전술한 바와같이, RAM은 기능테이블(219)과 키이코드메모리(217)를 포함한다. 도시한 바와같이, 기능테이블(219)은 각각의 레벨에서 상이한 문자를 가진 0-7로 표시된 8개의 상이한 레벨 또는 위치를 갖는 8문자 테이블이다. 각각의 문자는 프로그램 메모리(800)에 있는 서브루틴중 하나의 서브루틴의 메모리어드레스에 지정시키기 위해 색인표(802)와 관련된 기능을 하는 4비트 포인터이다. 키이코드메모리(217)은 0에서부터 7로 표시된 8개의 상이한 레벨을 갖는 것으로 도시된다. 각각의 레벨 또는 위치는 16비트 키이코드를 기억한다. 또한, RAM은 호텔코드 레지스터(808), 주기시간 플래그(812), 및 노브-회전 플래그(814)와 같은 쇄정수단의 작동을 표시하기 위한 플래그를 포함한다.The ROM and RAM of the microcomputer are described in detail in FIG. The ROM 215 includes a program memory 800. This memory stores the main program and a number of subroutines in discrete locations. The ROM also stores a first decoder or index table 802 and a second decoder or index table 804. The function and operation of this index table will be described later. The microcomputer's RAM includes a control code register 806 to hold the control code read from the key to be processed. As described above, the RAM includes a function table 219 and a key code memory 217. As shown, the function table 219 is an eight character table with eight different levels or positions, labeled 0-7, with different characters at each level. Each character is a 4-bit pointer that functions in conjunction with index table 802 to assign to the memory address of one of the subroutines in program memory 800. Keycode memory 217 is shown having eight different levels, labeled 0 through 7. FIG. Each level or location stores a 16 bit keycode. The RAM also includes a flag for indicating the operation of the locking means, such as the hotel code register 808, the cycle time flag 812, and the knob-turn flag 814.

키이코드가 키이판독기로 부터 마이크로컴퓨터 안에서 판독될 경우, 제어코드는 제어코드레지스터 (806)에 잠정적으로 기억된다. 4비트 제어코드는 포인터로더 이용되며, 기능테이블(219)에서의 8레벨중 하나의 레벨과, 키이코드메모리 (217)에서의 해당레벨에 지정되도록 작동하는 색인표(802)에 의해 해독된다. 따라서, 제어코드는 키이코드메모리(217)에 있는 키이코드를 지정하기위해 작동하는데, 그 메모리는 키이로 부터 판독된 코드와 비교된다. 제어 코드에 의해 지정된 기능테이블(219)에 있는 4비트 포인터는 지정된 키이코드와 동일한 레벨에 있게된다. 이 4비트 포인터는 제2색인표(804)를 사용하여 진행되어 키이기능에 해당하는 프로그램메모리의 서브루틴의 어드레스를 얻도록한다. 자물쇠의 작동은 제4도 내지 제14도에 도시한 플로우 차트를 참조로하여 기술하고자 한다. 이 플로우차트는 마이크로컴퓨터(112)의 ROM(222)에 기억된 작동 프로그램을 표시 한다.When the key code is read from the key reader in the microcomputer, the control code is temporarily stored in the control code register 806. The 4-bit control code is used as a pointer loader and is decoded by an index table 802 that operates to be assigned to one of eight levels in the function table 219 and the corresponding level in the key code memory 217. Thus, the control code operates to specify the key code in key code memory 217, which memory is compared with the code read from the key. The 4-bit pointer in the function table 219 specified by the control code is at the same level as the designated key code. This 4-bit pointer is advanced using the second index table 804 to obtain the address of the subroutine of the program memory corresponding to the key function. The operation of the lock will be described with reference to the flow chart shown in FIGS. 4 to 14. This flowchart displays the operating program stored in the ROM 222 of the microcomputer 112.

제4도는 쇄정 개시프로그램을 표시한 플로우차트이다. 작동시스템개시블럭(210)은 마이크로컴퓨터(112)와 전자제어회로(44)를 작동시킨다. 이 작동상태는 쇄정회로에 있는 밧데리의 연결시 발생하며, 시스템의 콜드스타트(cold start)를 구성한다. 전원의 ON되었을때, 프로그램은 시스템의 어떤부분이 고장났는가를 결정하는 시험블럭(212)으로 진행한다. 만약 고장났다면, 프로그램은 작동 시스템개시 블럭(210)으로 궤환되며 고장나지 않았을 경우, 프로그램은 레벨을 할당하기 위한 수단, 즉 키이코드메모리에 있는 할당레벨의 불이행 구성을 설정하는 블럭(214)으로 진행된다. 전술한 바와같이, RAM에 있는 키이코드메모리(217)는 8개의 상이한 위치 또는 레벨을 갖으며 각각의 레벨은 키이코드를 기억한다. 또한, RAM내에 있는 기능테이블(219)는 8개의 상이한 위치 또는 레벨을 갖는데, 8개 위치중 각가의 위치는 그러한 레벨에 해당하는 키이에 따라 실행되는 특정의 기능을 표시한다. 도시된 실시예에서, 8개의 상이한 할당 레벨의 불이행 구성은 다음과 같다.4 is a flowchart showing a decision start program. The operating system start block 210 operates the microcomputer 112 and the electronic control circuit 44. This operating condition occurs when the battery in the lockout circuit is connected and constitutes a cold start of the system. When the power is turned on, the program proceeds to a test block 212 which determines which part of the system has failed. If it fails, the program is returned to the operating system initiation block 210 and, if it is not broken, the program goes to block 214 to set the means for assigning the level, i.e., the default configuration of the assignment level in the keycode memory. Proceed. As mentioned above, the keycode memory 217 in the RAM has eight different positions or levels, each level storing a keycode. In addition, the function table 219 in RAM has eight different positions or levels, with each of the eight positions indicating a particular function to be executed according to the key corresponding to that level. In the illustrated embodiment, the default configuration of eight different allocation levels is as follows.

메모리레벨 1 : 카드형태 C, 손님수 1 :Memory level 1: card type C, number of guests 1:

메모리레벨 2 : 카드형태 B, 일발 ;Memory level 2: Card Type B, one shot;

메모리리벨 3 : 카드형태 4, 고장-안전 :Memory level 3: Card type 4, fault-safe:

메모리레벨 4 : 카드형태 D, 관리인/금지된손님 :Memory level 4: card type D, custodian / banned guest:

메모리레벨 5 : 카드형태 A, 할당된 영역을 위한 지배인 :Memory level 5: card type A, ruler for allocated area:

메모리레벨 6 : 카드형태 F, 비상/리페이즈 ;Memory level 6: Card Type F, Emergency / Rephase;

메모리레벨 7 : 카드형태 C, 손님수 2(수행원) :Memory Level 7: Card Type C, Number of Customers 2 (Executive):

메모리레벨 8 : 카드형태 E, 종업원 :Memory level 8: card type E, employee:

전술한 바와같이 설정된 불이행구성과 더불어, 프로그램은 시즈템이 키이입력을 위해 대기하는 입력블럭(216)으로 진행된다. 개시 과정중 이 위치에서, 효과적인 키이 입력만이 제1 또는 개시변경 키이이며, 그것은 특정키이 코드를 상이한 메모리레벨에 할당하는 전단계로서 사용된다.In addition to the default configuration set as described above, the program proceeds to an input block 216 where the system waits for key input. At this location during the initiation process, only the effective key entry is the first or initiation change key, which is used as a pre-step to assign a particular key code to different memory levels.

만약 시험블럭 (218)이 입력키이가 리페이즈키이가 아님을 결정할 경우, 프로그램은 블럭 (216)으로 되돌아가서 또 다른 입력을 기다린다. 만약 입력키이가 리페이즈 키이일 경우, 프로그램은 블럭 (218)에서 논리 데드볼트를 삽입하는, 즉 논리데드볼트비트를 1로 설정하는 블럭 (220)으로 진행한다음, 입력블럭 (222)으로 진행하여 키이입력을 기다린다. 개시 과정이 이루어지는 동안 이 위치에서, 자물쇠는 할당된 메모리레벨에 따라 기능테이블(219)에 의해 사용되는것과 동일한 포인터에 의해 할당된 위치에서의 키이코드 메모리(217)에 쓰여진 할당된 키이코드를 위해 준비된다.If the test block 218 determines that the input key is not a phase key, the program returns to block 216 and waits for another input. If the input key is a phase key, the program proceeds to block 220 which inserts a logical deadbolt at block 218, i.e., sets the logical deadbolt bit to 1, and then proceeds to input block 222. Wait for key input. At this position during the start-up process, the lock is assigned for the assigned keycode written to the keycode memory 217 at the position assigned by the same pointer as used by the function table 219 according to the allocated memory level. Ready

바꿔말하면, 어떤 키이코드는 한사람의 손님 기능을 위해서 레벨 1에 해당하는 위치에서 메모리에 기입되며 어떤 키이코드는 일발 기능과 같은것을 위해서 레벨 2에 대한 메모리에 기입된다. 시스템이 키이입력을 수신할때, 프로그램은 블럭 (224)으로 진행하며, 키이로 부터의 제2코드는 키이상에서 부호화된 키이레벨 또는 제어코드에 해당하는 레벨에서 키이코드메모리(217)에 기입된다.In other words, some keycodes are written to the memory at level 1 for one guest function and some keycodes are written to the memory for level 2 for the same function as the primary function. When the system receives a key input, the program proceeds to block 224, where the second code from the key is written to the key memory 217 at a level corresponding to the key level or control code encoded above the key. do.

블럭 (224)에 의해 표시되는 것과 같은 이 과정은 각각의 키이입력에 대해 반복된다. 키이가 입력된후, 그것은 블럭(224)에 의해 처리된다음, 정지 루틴(234)은 시스템을 대기상태로 유지한다 시험블럭(226)은 모든 레벨이 수행될때를 결정한다. 상이한 메모리레벨에 해당하는 상이한 키이는 소정의 시퀀스로 입력될수도 있다.This process, as indicated by block 224, is repeated for each keystroke. After the key is entered, it is processed by block 224, and then the stop routine 234 keeps the system idle. The test block 226 determines when all levels are performed. Different keys corresponding to different memory levels may be input in a predetermined sequence.

키이코드 페이즈-인의 이러한 작동은 자물쇠를 리페이징 (한개이상의 레벨에서의 키이코드를 변경)하는 것과 근본적으로 롱일하다. 블럭 (224)에 의해서 페이즈-인 시퀀스가 완결된후에, 프로그램은 다음 키이를 위해 시스템을 기다리도록 대기하는 블럭 (234)로 진행된다. 키이가 입력단(228)에 입력되었을때, 프로그램은 입력된키이가 비상키이인가를 결정하는 시험블럭 (230)으로 진행된다.This operation of the keycode phase-in is fundamentally long with rephasing the lock (changing the keycode at more than one level). After the phase-in sequence is completed by block 224, the program proceeds to block 234, waiting to wait for the system for the next key. When a key is entered at the input 228, the program proceeds to a test block 230 which determines whether the entered key is an emergency key.

만약 비상키이가 아니라면, 마이크로컴퓨터는 키이가 삽입되었을 때에도 진행될 것이지만, 프로그램은 입력단(228)로 되돌아 온다. 입력된 키이가 비상키이라면, 프로그램은 논리 데드볼트를 클리어(clear)시키는 블럭(232)으로 진행된다. 이것은 자물쇠를 사용하기에 용이하게 위치시키며, 프로그램은 시스템을 다음키이를 기다리는 대기상태로 위치시키는 정지루틴(234)으로 진행된다 따라서, 자물쇠를 위한 개시과정이 완성되며, 자물쇠는 용이하게 사용된다. 일반적으로, 이 개시과정은 자물쇠가 도어에 설치되었을때 용이하게 사용하도록하기 위해서 공장에서 수행된다. 필요하다면, 개시과정은 자물쇠가 설치된 후에 수행될 수도 있다.If it is not an emergency key, the microcomputer will proceed even when the key is inserted, but the program returns to the input stage 228. If the key entered is an emergency key, the program proceeds to block 232 which clears the logical deadbolts. This makes the lock easy to use and the program proceeds to a stop routine 234 that places the system in a waiting state waiting for the next key. Thus, the initiation process for the lock is completed and the lock is readily used. In general, this initiation process is performed at the factory to facilitate the use of the lock when it is installed in the door. If necessary, the initiation process may be performed after the lock is installed.

제5도에는 자물쇠의 작동이 기술되어있다. 전술한 바와같이, 개시과정은 자물쇠에 잠겨진 여러개의 키이에 의해서 용이하게 사용하기 위한 자물쇠를 위치하는 것이다. 개시과정이 이루어진후, 자물쇠는 대기상태에 있으며, 키이 입력을 기다린다. 제5도의 플로우차트에 의해 포시한 바와같은 작동은 자물쇠와 함께 사용되는 여러개의 모든 키이에 대해 동일하다. 어떤 키이가 입력츨럭 (240)에 입력되면, 프로그램은 마이크로컴퓨터에 있는 주기 타이머를 시작하는 블럭(242)으로 진행된다. 키이가 삽입된후 개시 스위치가 작동되며, 클럭되어질 키이로 부터의 9니블의 데이터와, 회전되어질 노브를 위한 주기 타이머에 의해 5초가 허용된다. 전형적으로, 키이는 취출속도에 따라 1초이하에서 판독된다(나머지 시간동안에 일어나는 작동은 이후 기술될 것이다). 프로그램은 블럭(242)으로 부터, 기억상태의 집적을 시험하기 위해 마이크로컴퓨터의 중앙연상장치(CPU)를 작동시키는 블럭(244)을 진향된다. 이 시험에서, 현재의 상태는 자물쇠가 대기 상태로 진행되었을때 기억된 상태와 비교된다.5, the operation of the lock is described. As mentioned above, the initiation process is to locate a lock for ease of use by multiple keys locked. After the initiation process, the lock is on standby and waits for key entry. The operation as indicated by the flowchart of FIG. 5 is the same for all of the multiple keys used with the lock. If a key is entered in input block 240, the program proceeds to block 242 which starts a periodic timer in the microcomputer. After the key is inserted, the start switch is activated, allowing 5 seconds by 9 nibbles of data from the key to be clocked and the periodic timer for the knob to be rotated. Typically, the key is read in less than one second depending on the ejection rate (operations that occur during the rest of the time will be described later). The program is advanced from block 242 to block 244 which operates the central memory unit (CPU) of the microcomputer to test the integration of the memory state. In this test, the current state is compared with the state memorized when the lock proceeds to standby.

만약 에러가 있다면, CPU는 회복을 하도록 시도하며, 프로그램은 LED를 ON상태로 도달하도록하기 위한 시간지연을 제공하는 블럭(246)으로 진행된다음 블럭(248)은 데이터변경을 위해 기다린후, 입력블럭(250)에서 키이는 개시스위치를 개방하도록 취출된다. 이것은 프로그램을 키이로 부터의 코드를 입력시키는 블럭(252)으로 진행시킨다. 이 블럭은 제어코드와, 제1코드, 및 코드 판독기로 부터의 제2코드를 표시하는 아홉개의 문자를 포함한다.If there is an error, the CPU attempts to recover and the program proceeds to block 246 which provides a time delay for the LED to reach the ON state. Block 248 then waits for data changes and then enters the input block. At 250 the key is taken out to open the start switch. This proceeds to block 252 where the program enters code from the key. This block contains the control code, the first code, and nine characters representing the second code from the code reader.

그런다음 프로그램은 타당한 열번째의 문자가 입력되었는가를 결정한다. 이러한 목적을 위해서 프로그램은 키이상의 아홉 개의 부호화된 문자의 양호한 판독이 이루어진 후에 코드판독기의 정확한 상태인 각각의 비트위치에서 하나를 갖는 10번째의 문자를 코드 판독기가 탐지하는 가를 결정하는 시험블럭(254)으로 진행된다. 환언하면, 키이의 취출시에 아홉 개의 문자가 연속적으로 탐지되는 동안 카드판독기는 불투명키이가 판독기를 클리어할 때 아홉번째의 문자 다음에 모두1(모든 비트위치가 명확한)을 탐지해야한다. 따라서, 10번째의 문자가 모두 1이 아닐 경우, 오판독은 카드와 같은 것의 불규칙운동으로부터 여기될 수 있다는 것을 표시한다. 만약 문자가 모두 1이 아니라면, 프로그램은 에러(오판독) 카운터(239)를 증가시키는 블럭(255)으로 진행한 다음 시스템을 대기시켜 다음 키이를 기다리도록 하는 정지루틴(234)으로 진행한다. 키이의 오판독일 경우, 키이는 재삽입도리 수 있으며, 프로그램은 블럭(240)으로부터 반복될 것이다. 만약 10번째의 문자 모두 1이라면, 프로그램은 밧데리 상태를 할당하는 블럭(255)으로 징행한다. 밧데리의 상태가 로우(low)가 아니면, 프로그램은 제6a도의 블럭(260)으로 진행하며, 밧테리의 상태가 로우이면, 프로그램은 적색 LED에 의한 로우 밧테리 표시를 위한 상태를 설정하는 블럭(257)으로 진행한다음 제6a도의 블럭(260)으로 진행된다.The program then determines if the tenth valid character has been entered. For this purpose, the program checks whether the code reader detects the tenth character with one at each bit position that is the correct state of the code reader after good reading of nine encoded characters above the key. Proceeds to). In other words, the card reader should detect all 1s (all bit positions are clear) after the ninth character when the opaque key clears the reader while nine characters are detected consecutively at the time of key extraction. Thus, if the tenth character is not all 1s, the misread indicates that it can be excited from the irregular motion of something like a card. If the characters are not all 1's, the program proceeds to block 255 which increments the error (misread) counter 239 and then to the stop routine 234 which waits for the system to wait for the next key. In the case of a misjudgment of the key, the key can be reinserted and the program will be repeated from block 240. If the tenth character is all 1, the program proceeds to block 255 which allocates battery status. If the state of the battery is not low, the program proceeds to block 260 of FIG. 6A. If the state of the battery is low, the program sets the state for the low battery display by the red LED. The process then proceeds to block 260 of FIG. 6A.

제6a 및 b도의 플로루우챠트에 의해 표시된 프로그램은 제5도 프로그램의 계속이다. 또한 그것은 키이코드메모리의 상이한 레벨에서 페이즈되는 상이한 키이에 의한 쇄정 작동에 이용된다. 환언하면, 레벨1-8중 하나에서 유형 A-F인 키이는 제5도와 제6a 및 b도의 계속 프로그램에 따라 마이크로컴퓨터의 작동을 야기시킬 것이다. 제5도를 참조로 하여 기술한 바와같이. 키이상에서 부호화된 9개의 문자의 유효판독을 내장시킬때에 프로그램은 제5도의 블럭(257)으로부터 제6a도의 블럭(260)으로 진행된다. 블럭 (260)은 레벨코드를 표시하는 제1문자와, 키이코드메모리(217)에 기억된 키이코드의 위치를 위해 포인터 또는 어드레스를 얻기위한 메모리에 있는 기능케이블(219)를 사용한다. 그런다음 시험블럭(261)은 최정키이가 리페이즈 키이인가를 결정한다.The program indicated by the flow chart of FIGS. 6A and 6B is a continuation of the FIG. 5 program. It is also used for lockout operations by different keys phased at different levels of keycode memory. In other words, a key of type A-F at one of levels 1-8 will cause the microcomputer to operate according to the continuing program of FIGS. 5 and 6a and b. As described with reference to FIG. When embedding valid reading of nine characters encoded above the key, the program proceeds from block 257 of FIG. 5 to block 260 of FIG. 6a. Block 260 uses a first character representing the level code and a functional cable 219 in memory to obtain a pointer or address for the location of the key code stored in key code memory 217. The test block 261 then determines whether the most significant key is the rephase key.

최종키이가 리페이즈 키이일 경우, 프로그램은 시험블럭(254)으로 진행하지만, 그렇지 않을경우에는 키이의 제1코드가 키이코드메모리에 기억된 코드와 일치하는 가를 결정하는 시험블럭(262)으로 진행한다. 제1코드가 메모리에 기억된 코드와 일치할 경우, 프로그램은 제2코드가-1인가를 결정하는 시험블럭(264)으로 진행한다. 모두 1인 제2코드는 비상/리페이스키이와 접속할때에만 사용된다. 시험블럭(264)이, 제2코드가 모두 1이 아닌 것을 결정한다면 프로그램은 키이코드메모리가 모두 1로세트되는가를 결정하는 시험블럭(266)으로 진행한다. (키이코드메모리는 자물쇠를 사용치 못하도록 하기위해 모두 1로 세트되며 다른 어떠한 것도 타당한 코드로써 사용되지 않는다.)만약 시험블럭(266)이 키이코드메모리가 모두-1이 아닌 것을 결정하면, 프로그램은 키이로부터의 제2코드를 키이코드메모리에 라이트(write)하는 블럭(268)으로 진행되며, 그것은 전에 기억된 키이코드를 대치한다.If the last key is a reverse key, the program proceeds to test block 254, but otherwise proceeds to test block 262 which determines whether the first code of the key matches the code stored in key code memory. do. If the first code matches the code stored in the memory, the program proceeds to test block 264 which determines whether the second code is -1. The second code, which is all 1, is used only to connect to the emergency / refakey. If the test block 264 determines that the second code is not all ones, the program proceeds to a test block 266 which determines whether the key code memory is all set to one. (The keycode memory is set to all 1's to disable the lock and nothing else is used as a valid code.) If the test block 266 determines that the keycode memory is not all-1, the program It proceeds to block 268 which writes the second code from the key to the keycode memory, which replaces the previously stored keycode.

그런다음 프로그램은 키이가 새로운가 즉, 첫 번째로 사용되는 가를 표시하기위한 새로운 플래그(227)을 셋트한는 블럭(270)으로 진행한다. 프로그램은 블럭(270)으로부터, 제2코드가 메모리에 기억된 키이코드와 일치하는 지를 결정하는 시험블럭(272)으로 진행된다. 제2코드가 키이코드와 일치할 경우, 프로그램은 상기에 기술한 오판독 카운터(239)를 클리어하는 블럭(274)으로 진행한다(오판독 카운터의 용도는 곧 기술할 것이다.) 에러카운터를 클리어시킨후에 프로그램은 블럭(260)에 의해 얻어진 포인터에 해당하는 레벨을 위해 특정 서브루틴에 프로그램을 분기시키는 블럭(276)으로 진행된다.The program then proceeds to block 270 which sets a new flag 227 to indicate whether the key is new, that is, the first one used. The program proceeds from block 270 to a test block 272 that determines whether the second code matches the key code stored in the memory. If the second code matches the keycode, the program proceeds to block 274 for clearing the misread counter 239 described above (the purpose of the misread counter will be described soon). Clearing the error counter After execution, the program proceeds to block 276 which branches the program to a particular subroutine for the level corresponding to the pointer obtained by block 260.

따라서 제6도를 참조하여 기술한 작동에 있어서 프로그램일 블럭(260)에서 불터 블럭(276)까지 직선적으로 진행된다는 상태를 가정하였다. 시험블블럭(262)에서, 제1코드가 메모리내에서 기억된 키이코드와 동일하지 않다는 것을 결정한다면, 프로그램은 그로부터 제2코드가 메모리와 일치하는지를 결정하는 시험블럭(272)으로 진행될 것이다.Therefore, it is assumed that the program proceeds linearly from the program block 260 to the bulter block 276 in the operation described with reference to FIG. In test block 262, if it is determined that the first code is not the same as the key code stored in memory, the program will proceed from there to test block 272 which determines whether the second code matches memory.

만약에 제2코드가 메모리와 동일하다면, 프로그램은 먼저 블럭(274)으로 진행된다음 프로그램이 분기되는 블럭(276)으로 진행된다. 전술하지 않은 또다른 상태가 있는데, 그것은 작동을 프로그램이 분기되는 곳인 블럭(276)으로 진행시킨다. 이러한 다른 상태는 다음과 같다.If the second code is the same as the memory, the program first proceeds to block 274 and then to block 276 where the program branches. There is another state not described above, which proceeds operation to block 276 where the program is forked. These other states are as follows.

만약 시험블럭(262)이 제1코드가 메모리와 일치하고 제2코드가 블럭(264)에 의해 결정되는 것과 같이모두 -1이라면, 프로그램은 개방형의 최종키이가 비상키이인가를 결정하는 시험블럭(278)으로 진행할 것이며, 그렇지 않을 경우 프로그램은 삽입된 최종키이가 리페이즈키이인가를 결정하는 시험블럭(280)으로 진행된다. 최종키이가 리페이즈 키이일경우, 프로그램은 제2코드를 메모리에 기입하는 블럭(268)으로 진행된 다음, 블럭(270,272,274)을 지나서 프로그램이 분기되는 블럭(276)으로 진행된다. 상기의 상태는 키이코드 메모리레벨에 모두 1을 기입하므로써 주어진 레벨을 위해 사용할 수 없는 자물쇠를 필요로할 때 얻어지는 것이다. 제6도의 프로우챠트에 따라 시스템의 작동시 또다른 상태가 있는데, 그 상태에서 프로그램은 블럭(276)으로 진행될 것이다. 시험블럭(262)이 제1코드가 메모리와 일치하는 가를 결정하고, 시험블럭(276)이 제2코드가 모두1이 아니다라는 것을 결정하고, 시험블럭(266)이 키이코드 메모리가 모두 1이 아니다라는 것을 결정할 경우, 프로그램은 최종 개방키이가 비상키이인가를 결정하는 시험블럭(278)으로 진행될 것이다. 최종키이가 비상키이일경우, 시험블럭(280)은 삽입된 최종키이가 리페이즈키이인가를 결정한다. 최종키이가 리페이즈키이일경우, 프로그램은 제2코드를 메모리에 기입하는 블럭(268)으로 진행한다음, 블럭(270,272,274)을 경유하여 상기에 기술한 바와 같이 프로그램이 분기되는 블럭(276)으로 진행될 것이다.If the test block 262 is all -1 as the first code matches the memory and the second code is determined by block 264, then the program determines whether or not the test block determines whether the open final key is an emergency key. 278), otherwise the program proceeds to a test block 280 that determines whether the last key inserted is a phase key. If the last key is a phase key, the program proceeds to block 268 which writes the second code into memory, and then to block 276 where the program branches past blocks 270, 272 and 274. The above state is obtained by writing all 1's to the keycode memory level and requiring a lock that cannot be used for the given level. There is another state in the operation of the system in accordance with the procedure of FIG. 6, in which the program will proceed to block 276. The test block 262 determines whether the first code matches the memory, the test block 276 determines that the second code is not all 1, and the test block 266 determines that the key code memory is all 1's. If not, the program will proceed to test block 278 which determines whether the last open key is an emergency key. If the last key is an emergency key, the test block 280 determines whether the inserted last key is a rephase key. If the last key is a phase key, the program proceeds to block 268 which writes the second code into memory, and then to block 276 where the program branches as described above via blocks 270, 272 and 274. It will proceed.

이 후자의 상태는 메모리가 특정레벨에서 사용치 못하는 자물쇠를 모두 1로 셋트를 시킬 경우 얻어질 수 있다.This latter state can be obtained if the memory sets all locks that are not available at a particular level to one.

그러나 , 시험블럭(274)이 제2코드가 모두 1인 것을 결정하거나 시험블럭(266)이 메모리가 모두 1인 것을 결정하고, 시험블럭 (278)이 최종 개방키이가 비상키이가 아닌 것을 결정하거나, 시험블럭(280)이 최종키이가 리페이즈키이가 아닌 것을 결정할경우, 이것은 자물쇠가 사용한다는 것을 표시하고, 전에 사용치 못한 자물쇠는 리페이즈되지 않는다.However, the test block 274 determines that the second code is all 1 or the test block 266 determines that the memory is all 1, and the test block 278 determines that the last open key is not an emergency key. If test block 280 determines that the last key is not a rephase key, this indicates that the lock is to be used, and the previously unused lock is not phased.

따라서 프로그램은 블럭(278)에서부터 정지루틴(234)으로 진행되어 시스템을 대기상태로 유지한다.Thus, the program proceeds from block 278 to stop routine 234 to keep the system in standby.

제6도의 프로그램에서 프로그램이 시험블럭(272)으로 진행되고, 제2코드가 메모리와 일치하지 않는다는 것을 결정한다면, 프로그램은 에러카운터(239)를 증가시키는 블럭(282)으로 진행할 것이다. 전술한 바와 같이, 에러카운터는 키이가 메모리와 제2코드가 일치하지 않는 자물쇠에 사용되는 횟수를 기록하기 위하여 사용된다. 이것은 맞지않는 키이를 사용하므로써 야기될 수 있거나 제5도의 프로그램에서 참조한바와 같은 오데이터 판독으로부터 야기될 수 있다. 키이가 코드를 일치시키기 위하여 8번의 실패와 함께 여덟번이상 삽입된다면, 아주 성가신 것이다. 이런 이유 때문에 프로그램은 블럭(282)으로부터 에러의 계수가 8이상인가를 결정하는 시험블럭(284)으로 진행된다. 에러계수가 8이하일 경우, 프로그램은 시스템을 대기상태로 있게하여 다음키이를 기다리는 정지루틴(234)으로 진행된다. 만약 에러계수가 8이상이라면 프로그램은 5초가 경과할 때까지 제5도의 클럭(252)에 의한 키이로부터 데이터를 판독치 못하게하기위해 5초동안 작동상태 제어메코리(223)에 있응 지역 타이머를 셋트시키는 블럭(288)으로 진행된다. 에러카운터(230)으로 코드의 일치가 블럭(272)에 의해 결정될 때마다 블럭(274)에서 클리어 된다.If the program in FIG. 6 determines that the program proceeds to the test block 272 and that the second code does not match the memory, the program will proceed to block 282 which increments the error counter 239. As mentioned above, the error counter is used to record the number of times the key is used for a lock whose memory and second code do not match. This may be caused by using a mismatched key or may result from a misreading of data as referenced in the program of FIG. If a key is inserted more than eight times with eight failures to match the code, it is very annoying. For this reason, the program proceeds from block 282 to test block 284, which determines whether the coefficient of error is eight or more. If the error coefficient is less than or equal to 8, the program proceeds to a stop routine 234 that puts the system in standby waiting for the next key. If the error factor is greater than or equal to 8, the program sets a local timer in the operational state control memory 223 for 5 seconds to prevent reading data from the key by clock 252 in FIG. 5 until 5 seconds have elapsed. The process proceeds to block 288. Each time a match of the code with the error counter 230 is determined by block 272, it is cleared at block 274.

전술한 바와 같이 제6a 및 b도의 프로그램이 블럭(276)에 도달했을 때, 프로그램은 블럭(260)에 의해 얻어진 포인터에 해당한 레벨을 위한 서브루틴으로 분기된다. 상이한 레벨에 해당하는 서브루틴은 이후 기술할 것이다.When the program of FIGS. 6A and 6B reaches block 276 as described above, the program branches to the subroutine for the level corresponding to the pointer obtained by block 260. Subroutines corresponding to different levels will be described later.

제5도의 블럭(240)에 입력된 키이가 레벨 1에서 손님수가 1이고 레벨 7에서 손님수가 2인 손님키이일 경우, 프로그램은 제6b도의 블럭(276)에서 제7도의 블럭(300)으로 진행할 것이다. 제7도는 손님키이용 프로그램 또는 서브루틴을 표시한 것이다. 손님키이는 실제데드볼트가 투여되지 않고, 논리 데드볼트가 셋트되지 않거나, 쇄정작동이 금지비트가 입력된 키이의 레벨을 위해 셋트되기 때문에 금지되지 않는한 자물쇠를 열기위한 것이다. 금지비트는 관리인키이를 이미 입력(비개방상태)시키므로써 셋트되어 먼저 손님 키이를 사용하여 열지못하도록 할 수 있다.If the key entered in block 240 of FIG. 5 is a guest key of 1 guest at level 1 and 2 guest at level 7, the program proceeds from block 276 of FIG. 6b to block 300 of FIG. will be. 7 shows a guest key usage program or subroutine. The guest key is for unlocking unless the actual deadbolt is administered, the logical deadbolt is not set, or the lockout operation is set for the level of the key on which the inhibit bit is entered. The prohibit bit can be set by already entering (non-opening) the admin key so that it cannot be opened using the guest key first.

그러한 과정은 객실을 출입하는 손님을 보호하기 위해 안전장치로써 이용될 수도 있는데, 관리인키이에 의한 시스템의 작동은 이후 상세히 기술될 것이다. 이러한 관점에 비추어, 관리인 키이(비개방상태)는 금지비트의 모든 것을 금지레지스터(235)에 셋트하는데 효과적이다. 전술한 바와 같이 금지 레지스터는 기술한 바와 같은 자물쇠를 위해서 기능 테이블에 할당된 두 개의 손님레벨 즉 레벨(1,7)만이 있기 때문에 단지 두 개의 능동 금지비트를 갖는다.Such a procedure may be used as a safeguard to protect the guest entering and leaving the room, the operation of the system by the supervisor key will be described in detail later. In view of this, the manager key (non-open state) is effective to set all of the inhibit bits in the inhibit register 235. As mentioned above, the inhibit register has only two active inhibit bits because there are only two guest levels, i.e., levels (1,7), assigned to the function table for the lock as described.

새로운 손님키이 예컨대, 블럭(240)에 입력된 키이가 할당되었을 때, 만약 그러한 금지비트가 셋트된다면 그 키이는 그의 레벨을 위해 금지비트를 클리어시키도록 작동해야만 한다.When a new guest key is assigned, e.g., a key entered in block 240, the key must operate to clear the inhibit bit for its level if such a inhibit bit is set.

손님키이 프로그램은 제7도에 도시되어 있다. 전술한 바와 같이 한 개 이상의 레벨은 손님키이기능을 위해 할당된다. 금지레지스터는 4비트를 내장하는데, 각각의 비트는 손님키이레벨중 하나를 레벨을 위해 선택적으로 셋트될 수도 있다. 따라서 아웃셋에서 금지레지스터는 입력된 손님키이에 해당하는 금지비트를 결정해야만 한다. 이런 목적을 위해서 초기 블럭(300)은 그 자신의 레벨밑에 있는 손님기능을 기능테이블에서 계수한다. 해당금지 비트는 손님 키이레벨과 동일한 상대 위치에 있다. 그때 프로그램은 금지비트가 진행될 키이의 레벨을 위해 셋트되는 가를 결정하는 시험블럭(302)으로 진행된다. 금지비트가 셋트되었을경우, 프로그램은 새로운 플래그가 셋트되는가를 결정하는 시험블럭(304)으로 진행된다. 만약에 새로운 플래그가 셋트되지 않을 경우, 즉, 진행될 키이가 새로운 키이가 아닐 경우, 프로그램은 키이코드가 일치되지만, 도어가 열리지 않을 것이라는 것을 표시하는 황색 LED를 점등하는 블럭(306)으로 진행된다. 시험블럭(304)이 새로운 플래그가 셋트되는 것을 결정할 경우, 프로그램은 진행될 키이의 레벨을 위한 금지 비트를 클리어시키는 블럭(308)으로 진행된다음 논리 데드볼트가 셋트되는가를 결정하는 시험블럭(310)으로 진행한다. 만약에 시험블럭(302)이 금지비트가 셋트되지 않는다는 것을 결정할 경우, 프로그램은 논리 데드볼트가 셋트되는 가를 결정하는 시험블럭(310)으로 직접 진행한다. 논리 데드볼트가 셋트되었을경우, 프로그램은 황색LED를 점등하는 블럭(306)으로 진행한다. 논리 데드볼트가 셋트되지 않았을 경우, 프로그램은 실제데드볼트가 셋트되는가를 결정하는 시험블럭(312)으로 진행한다. 실제데드볼트가 셋트되었을경우, 블럭(306)은 황색 LED를 점등하며 그렇지 않을 경우, 프로그램은 솔레노이드를 활성화시키는 블럭(314)으로 진행된다음, 주기시간이 경과되었는가를 결정하는 시험블럭(316)으로 진행된다. 주기시간이 경과되었을 경우, 프로그램은 정지루틴을 시작하는 블럭(234)으로 직접 진행되는데, 이는 제8도를 참조하여 기술할 것이다. 만약 주기 시간이 다 소요되지 않았다면, 프로그램은 노브가 회전되었는가를 결정하는 시험블럭(318)으로 진행된다. 노브가 회전되지 않았을 경우, 프로그램은 시험블럭(316)으로 궤환되는 반면 노브가 회전되었을 경우에는 정지루틴(234)으로 진행한다.The guest key program is shown in FIG. As mentioned above, one or more levels are allocated for the guest key function. The inhibit register contains 4 bits, each of which may optionally be set for one of the guest key levels. Therefore, in the offset, the forbidden register must determine the forbidden bit corresponding to the entered guest key. For this purpose, the initial block 300 counts the guest functions below its own level in the function table. The prohibition bit is at the same relative position as the guest key level. The program then proceeds to a test block 302 which determines whether the inhibit bit is set for the level of the key to be advanced. If the inhibit bit is set, the program proceeds to a test block 304 that determines if a new flag is set. If a new flag is not set, i.e., if the key to be advanced is not a new key, the program proceeds to block 306 which lights a yellow LED indicating that the keycode matches but the door will not open. When the test block 304 determines that a new flag is to be set, the program proceeds to block 308 which clears the inhibit bit for the level of the key to be advanced and then to the test block 310 which determines whether a logical deadbolt is set. Proceed. If the test block 302 determines that the inhibit bit is not set, the program proceeds directly to the test block 310 which determines whether the logical deadbolt is set. If a logic deadbolt has been set, the program proceeds to block 306 which lights the yellow LED. If no logic deadbolts have been set, the program proceeds to a test block 312 that determines whether the actual deadbolts are set. If the actual deadbolt is set, block 306 illuminates an amber LED; otherwise, the program proceeds to block 314 to activate the solenoid and then to test block 316 to determine if the cycle time has elapsed. Proceed. If the cycle time has elapsed, the program proceeds directly to block 234 where the stop routine starts, which will be described with reference to FIG. If the cycle time has not elapsed, the program proceeds to test block 318 which determines if the knob has been rotated. If the knob is not rotated, the program is fed back to the test block 316 while the knob is rotated to the stop routine 234.

제8도에는 정치루틴이 도시되어있다. 대체로 정지루틴은 쇄정작동의 최근의 일(history)에 관여된 어떤 데이터를 기록하거나 기억시켜 자물쇠를 대기상태로 위치시키고자 의도한 것이다.In Fig. 8, a political routine is shown. Generally, stop routines are intended to place a lock in standby by recording or storing some data involved in the recent history of the lockout operation.

쇄정메모리에 있는 쇄정작동의 히스토리는 분석, 안전, 또는 진단목적을 위해서 연속적인 메모리 덤프(dump)를 허용한다. 이 메모리덤프는 8개의 개방형키이가 문을 실질적으로 개방하는데 사용하기 위한 식별을 포함한다. 개방반복 카운터(243)는 자물쇠를 개방하는데  사용된 여러개(예컨데, 5개)의 상이한 키이를 위해 최대한 15개까지 도어개방수를 기록하기위해 제공된다. 정지루틴(234)은 노브가 도어를 개방시키기 위해 회전되었는가 즉, 도어가 열렸는가를 결정하는 블럭(328)에서 시작된다. 노브가 회전되지 않았다면, 프로그램은 지연 타이머가 시간을 다소비했는가를 결정하는 시험블럭(329)으로 진행된다. 시간이 종료되었다면, 프로그램은 블럭(334)으로 직접 진행되고 기록 단계를 바이-패스한다. 만약 지연타이머가 시간을 다소 비하지 않았다면, 프로그램은 블럭(328)으로 궤환된다. 블럭(328)이 노브가 회전된 것을 결정한다면, 프로그램은 키이형 레지스터(241)로 부터, 진행될 키이가 문을 개방시키기 위해 사용된 최종키와 동일한 레벨인가를 결정하는 블럭(330)으로 진행된다. 상기의 키이가 최종 키이와 동일한 레벨에 있지 않다면, 프로그램은 반복 카운터(243)를 포함하며 진행될 키이의 레벨을 위해 0을 기록하는 히스토리버퍼내에 새로운 데이터를 편이시키는 블럭(332)으로 진행한다음, 블럭(334)으로 진행한다. 시험블럭(330)에 대한 반응이 예라면, 프로그램은 진행될 키이의 레벨에 관계된 반복 카운터(243)가 15인가를 결정하는 시험블럭(336)으로 진행한다. 반봅 카운터가 15이면, 프로그램은 블럭(334)으로 진행하고, 반복카운터가 15가 아니라면, 프로그램은 카운터를 증가시키는 블럭(338)으로 진행된다음 블럭(334)으로 진행된다. 블럭(334)은 솔레노이드와 LED로 구성된 외부장치에 대한 전력을 차단한다.The history of lockout operations in lockout memory permits a continuous memory dump for analysis, safety, or diagnostic purposes. This memory dump contains an identification for eight open keys to use to actually open the door. An open repeat counter 243 is provided for recording up to 15 door openings for several (eg five) different keys used to open the lock. Stop routine 234 begins at block 328 where the knob is rotated to open the door, i.e., the door is opened. If the knob has not been rotated, the program proceeds to a test block 329 that determines if the delay timer has timed out. If the time is up, the program proceeds directly to block 334 and bypasses the write step. If the delay timer did not somewhat time out, the program is fed back to block 328. If block 328 determines that the knob is rotated, the program proceeds from keyed register 241 to block 330 which determines whether the key to be advanced is at the same level as the last key used to open the door. . If the key is not at the same level as the last key, the program proceeds to block 332 which includes a repeat counter 243 and shifts the new data into the history buffer which writes zero for the level of the key to be advanced. Proceed to block 334. If the response to test block 330 is YES, then the program proceeds to test block 336 which determines whether the iteration counter 243 related to the level of the key to be advanced is 15. If the half bob counter is 15, the program proceeds to block 334. If the repeat counter is not 15, the program proceeds to block 338 which increments the counter and then to block 334. Block 334 shuts off power to an external device comprised of solenoids and LEDs.

그런다음 프로그램은 자물쇠의 현재상태를 기억시키기 위해서 RAM의 상태제어 메모리 (223)에 데이터를 기입하는 블럭(340)으로 진행한다. 이렇게 기억된 상태는 기준데이터로써 이용되어, 자물쇠가 다음에 작동될 때 기억상태를 재차세트 되도록 한다. 블럭(340)을 통과한후에 프로그램은 다음의 키이를 위해 기다리도록 대기상태로 자물쇠를 위치시키는 블럭(342)으로 진행된다. 상기에 기술한 정지루틴은 다른 키이와 연결되어 사용되는데, 그의 작동은 이후 기술할 것이다.The program then proceeds to block 340 which writes data to the state control memory 223 of the RAM to store the current state of the lock. This stored state is used as reference data to cause the lock state to be reset the next time the lock is activated. After passing block 340, the program proceeds to block 342 where the lock is placed in a waiting state to wait for the next key. The stop routine described above is used in conjunction with another key, the operation of which will be described later.

종업원키이가 블럭(240)에 입력될 경우, 프로그램은 블럭(276에서 제9도의 프로우챠트에 표시된 종업원키이 서브루틴으로 분기된다. 기능테이블에서 레벨번호 8로 할당된 종업원 키이는 다수의 객실, 예컨대, 호텔의 동일한 층에 있는 모든 객실을 위한 개방키이로서 사용하기위한 것이다. 또한 종업원키이는 그것을 현재 유행하는 것으로 대치할 수 있도록 하기 위해, 자물쇠의 낮은 밧테리상태를 종업원에게 경보하는데 쓰인다.When an employee key is entered in block 240, the program branches to the subroutine of the employee key shown in the pro- cess chart of Figure 9 in block 276. The employee key assigned to level number 8 in the function table is a number of rooms, For example, it is intended to be used as an open key for all rooms on the same floor of a hotel, and an employee key is used to alert the employee of the low battery condition of the lock, so that it can be replaced with the current fashion.

종업원 키이프로그램은 밧테리가 로우상태인가를 결정하는 블럭(360)에서 시작한다. 밧테리가 로우이면, 프로그램은 전술한 바와같이, 밧테리가 로우상태일동안에 종업원 키이에 의한 도어의 개방횟수를 계수하는 종업원 키이카운터를 증가시키는 블럭(362)으로 진행한다.The employee key program starts at block 360 to determine if the battery is low. If the battery is low, the program proceeds to block 362, which increments an employee key counter that counts the number of times the door is opened by the employee key while the battery is low, as described above.

프로그램은 종업원키이 카운터가 4인가를 결정하는 블럭(364)으로 진행한다. 그 카운터가 4일 경우, 프로그램은 최종키이가 종업원키이인가를 결정하는 시험블럭(366)으로 진행하며, 그렇지 않을 경우, 프로그램은 전술한 바와같이 정지루틴(234)으로 진행하며 다음키이를 위해 기다린다.The program proceeds to block 364 which determines whether the employee key counter is four. If the counter is 4, the program proceeds to a test block 366 that determines whether the final key is an employee key, otherwise the program proceeds to the stop routine 234 as described above and waits for the next key. .

따라서, 종업원키이의 최초삽입은 솔레노이드가 활성화 되었을때에는 문을 개방할 수 없을 것이며, 문(노브)은 낮은 밧테리와 함께 종업원키이에 의해 4번 개방된다(회전된다). 이런상황하에서 도어를 열기위하여, 종업원키이는 두번 삽입 되어야만 한다. 시험블럭(366)이 최종키이가 종업원 키이임을 결정한다면, 블럭(368)은 적색LED를 점등한 다음, 시험블럭(370)으로 진행한다. 시험블럭(370)은 논리데드볼트가 셋트되었는가를 결정한다. 논리데드볼트가 셋트될 경우, 블럭(372)은 황색 LED를 점등한다. 논리데드볼트가 셋트되지 않을경우, 프로그램은 실제데드볼트가 셋트되었는가를 결정하는 블럭(374)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 블럭(372)은 황색 LED를 점등한다. 실제데드볼트가 셋트되지 않았을 경우, 프로그램은 솔레노이드를 활성화시키는 블럭(376)으로 진행한다음 정지루틴(234)으로 진행한후, 다음 키이를 기다린다. 시험블럭(360)이 밧테리가 하이(high)일때, 프로그램은 종업원 키이카운터를 클리어시키는 블럭(378)으로 진행한다음, 블럭(370)으로 진행하여 상기와 같이 진행한다.Thus, the initial insertion of the employee key will not be able to open the door when the solenoid is activated, and the door (knob) is opened (rotated) four times by the employee key with a low battery. In this situation, in order to open the door, the employee key must be inserted twice. If test block 366 determines that the last key is an employee key, block 368 lights up the red LED and then proceeds to test block 370. The test block 370 determines whether the logic dead bolt is set. If logic dead bolts are set, block 372 lights an amber LED. If no logical deadbolts are set, the program proceeds to block 374 which determines whether the actual deadbolts have been set. If the actual dead bolt has been set, block 372 illuminates a yellow LED. If no actual dead bolt has been set, the program proceeds to block 376 to activate the solenoid, then to the stop routine 234, and waits for the next key. When the test block 360 has a high battery, the program proceeds to block 378 which clears the employee key counter, and then proceeds to block 370 as described above.

관리인 키이가 블럭(240)에 입력된다면, 프로그램은 블럭(276)에서 제10도의 플로우챠트에 도시한 관리인키이 서브루틴으로 분기된다. 관리인 키이는 두개의 상이한 상태 즉, 개방과 비개방상태로 제공된다. 키이의 두가지 상태는 다수의 상이한 자물쇠, 예컨대 호텔의 모든 객실을 위한 자물쇠에 사용되어진다. 관리인 키이의 개방상태는 도어를 개방하는 객실에 들어가기 위해 쓰인다.If a custodian key is entered in block 240, the program branches to a custodian key subroutine shown in the flowchart of FIG. The custodian key is provided in two different states, open and unopened. The two states of the key are used for a number of different locks, such as locks for all rooms in a hotel. The manager's key is used to enter the door opening the door.

잠금상태는 새로운 손님키이가 문을 여는데 쓰이도록 금지비트를 1로 셋팅하므로써 먼저번의 손님이 사용치 못하도록 쇄정하는데 쓰인다. 관리인 키이 서브루틴은 개방비트(제1문자인 하나의 비트가가 1인가를 결정하는 블럭(390)에서 시작한다. 개방비트가 1일 경우, 키이는 개방상태이며, 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 시험블럭(392)으로 진행한다. 논리데드볼트가 셋트될 경우, 프로그램은 황색 LED를 점등하는 블럭(394)으로 진행된 후 정지루틴(234)으로 진행한다. 논리데드볼트가 셋트되지 않을경우, 프로그램은 블럭(392)으로 부터 실제데드볼트가 셋트되어는가를 결정하는 블럭(396)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등하는 블럭(394)으로 진행한다. 실제데드볼트가 셋트되지 않았을 경우, 프로그램은 솔레노이드를 활성화시키는 블럭(398)으로 진행한다. 시험블럭(390)에서 개방비트가 1이 아니라는 것을 결정할 경우, 프로그램은 모든 금지비트를 1로 셋트시키는 블럭(400)으로 진행한후, 황색LED를 점등하는 블럭(394)로 진행하여 정지루틴(234)으로 진행한다.The lock state is used to lock the first guest from being used by setting the inhibit bit to 1 so that the new guest key can be used to open the door. The custodian key subroutine starts with an open bit (block 390, which determines whether one bit, which is the first character, is 1.) If the open bit is 1, the key is open and the program is set to a logical deadbolt. If the logic dead bolt is set, the program proceeds to block 394, which lights up an amber LED, and then to the stop routine 234. The logic dead bolt is not set. If not, the program proceeds from block 392 to block 396, which determines whether the actual dead bolt is set, and if the actual dead bolt is set, the program proceeds to block 394, which lights an amber LED. If no actual deadbolts have been set, the program proceeds to block 398, which activates the solenoid, and if the test block 390 determines that the open bit is not 1, the program After proceeding to block 400 to set all prohibition bits to 1, to block 394, which illuminates the yellow LED, and to stop routine 234.

일발키이가 입력 블럭(240)에 입력될 경우, 프로그램은 블럭(276)에서 일발키이 서브루틴으로 분기될 것이다. 이 서브루틴은 제11도의 플로우챠트에 의해 표시된다. 일발키이는 한번씩만 문을 열기위한 목적을 갖는다. 예컨대 그것을 보호되는 객실에 수리공이 한번만 들어가지만, 여러번 연속적으로 들어가지 못하도록 사용될 수 있다. 일발키이 서브루틴은 새로운 플래그가 셋트되는가를 결정하는 시험블럭(410)에서 시작한다. 새로운 플래그가 셋트되지 않을경우, 즉 이 키이가 이미 사용되었을 경우, 프로그램은 정지루틴(234)으로 진행한다. 새로운 플래그가 셋트되면, 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 시험블럭(414)으로 진행한다. 논리 데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등하는 블럭(412)으로 진행하며, 그렇지 않을경우, 프로그램은 실제데드볼트가 셋트되었는가를 결정하는 시험블럭(416)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 황색 LED는 발광하며, 그렇지 않을 경우, 프로그램은 솔레노이드를 활성화 시키는 블럭(418)으로 진행하여 정지루틴(234)으로 진행한다.If a primary key is entered at the input block 240, the program will branch to the primary key subroutine at block 276. This subroutine is represented by the flowchart of FIG. One shot is intended to open the door only once. For example, a repairman may enter a protected cabin only once, but may not be able to enter several times in succession. The one-keyed subroutine starts at test block 410 which determines if a new flag is set. If no new flag is set, that is, this key has already been used, the program proceeds to stop routine 234. Once the new flag is set, the program proceeds to test block 414 to determine whether the logic deadbolt has been set. If a logic deadbolt is set, the program proceeds to block 412, which lights up a yellow LED, otherwise the program proceeds to test block 416, which determines if the actual deadbolt has been set. If the actual dead bolt is set, the yellow LED will light up, otherwise the program proceeds to block 418 to activate the solenoid and to the stop routine 234.

여분의 키이가 입력블럭(240)에 입력되었다면, 프로그램은 블럭(276)에서 제12도의 플로우챠트에 표시된 여분의 서브루틴으로 분기된다. 여분의 키이는 할당영역 또는 객실의 그룹을 위한 지배인 열쇠로 사용하기 위한 키이카드 메모리표에서 레벨 5로 할당된다. 또한 여분의 키이는 메모리표에서 레벨 3으로 할당되며, 그러한 경우, 고장-안전키이, 예컨대, 장비의 고장 또는 호텔에서의 단전과 같은 비상사태로 인하여 발생될 수 없는 손님 키이와 같은 기능을 하는데 쓰인다. 고장-안전 또는 영역이든간에 여분의 키이는 논리 또는 실제데드볼트가 셋트되지 않는 도어를 개방하는 기능을 갖는다. 관리인 키이는 여분의 키이에 의한 개방을 금지하지 않는다.If an extra key has been entered in the input block 240, the program branches to an extra subroutine indicated in the flowchart of FIG. 12 at block 276. The extra key is assigned level 5 in the keycard memory table for use as the dominant key for the allocation area or group of rooms. The spare key is also assigned to level 3 in the memory table, in which case the fail-safe key is used to function as a guest key that cannot be generated due to an emergency, such as equipment failure or power outages in the hotel. . The spare key, whether fail-safe or zoned, has the function of opening a door in which no logical or actual deadbolts are set. The custodian key does not prohibit opening by an extra key.

여분의 서브루틴은 논리 데드볼트가 셋트되었는가를 결정하는 시험블럭(430)에서 개시한다. 논리 데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등하는 블럭(432)으로 진행하여 정지루틴(234)으로 진행한다. 논리 데드볼트가 셋트되지 않았을 경우, 프로그램은 실제데드볼트가 셋트되었는가를 결정하는 시험블럭(434)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 황색LED는 발광되며 그렇지 않을경우, 프로그램은 솔레노이드를 활성화시키는 블럭(436)으로 진행하여 정지루틴(234)으로 진행한다.The extra subroutine starts at test block 430 which determines whether a logic deadbolt has been set. When the logic deadbolt is set, the program proceeds to block 432 where the yellow LED is lit and to the stop routine 234. If no logic deadbolts have been set, the program proceeds to a test block 434 which determines whether the actual deadbolts have been set. If the actual deadbolt is set, the yellow LED is illuminated, otherwise the program proceeds to block 436 to activate the solenoid and to the stop routine 234.

비상/리페이즈 키이가 입력블럭(240)에 입력되었을 경우, 프로그램은 블럭(276)으로 진행한 다음 제13도 및 제14도의 플로우챠트에 도시한 비상/리페이즈 키이 서브루틴으로 분기된다. 비상/리페이즈 키이에 대한 두가지 상태가 있다. 비상키이라고 하는 한가지 상태는 키이상에서 부호화된 제1문자의 개방비트 위치에서 1을 갖는 개방상태이다. 리페이즈 키이라고 하는 다른 상태는 비 개방 키이이며, 제1문자의 개방비트에서 0을 갖는다. 비상키이는 실제 또는 논리 데드볼트 상태에 관계없이 문을 개방할 것이다. 비상 키이가 입력되었을 때 논리 데드볼트는 셋트되면, 노브가 회전하지 않을경우, 그것은 셋트상태로 유지된다. 비상키이가 개방키이기 때문에, 노브는 회전되며, 노브가 회전될경우, 비상키이는 논리 데드볼트를 삭제할 것이다. 또한 노브가 회전하므로써 실제데드볼트를 해재시킨다. 논리 데드볼트는 비상키이 이외의 다른 키이에 의해서는 해제되지 않는다.If an emergency / rephase key has been entered into the input block 240, the program proceeds to block 276 and then branches to the emergency / replace key subroutines shown in the flowcharts of FIG. 13 and FIG. There are two states for the emergency / repaid key. One state, called an emergency key, is an open state with 1 in the open bit position of the first character encoded above the key. The other state, called the phase key, is a non-open key and has a zero in the open bit of the first character. The emergency key will open the door regardless of the actual or logical deadbolt status. When the dead key is entered, the logic deadbolt is set, and if the knob does not rotate, it remains set. Because the emergency key is an open key, the knob will rotate, and if the knob is rotated, the emergency key will clear the logic deadbolt. Also, the knob is rotated to release the actual dead bolt. Logical deadbolts are not released by any key other than the emergency key.

비상/리페이즈키이 서브루틴은 논리 데드볼트를 셋트하는 블럭(450)에서 시작한다. 프로그램은 키이가 개방상태 인가를 결정하는 시험블럭(452)으로 진행한다. 키이가 개방상태가 아닐경우, 프로그램은 제14도의 리페이즈 서브루틴으로 분기된다. 개방상태일 경우, 프로그램은 솔레노이드를 활성화하는 블럭(454)에서 시작하는 비상 서브루틴으로 진행한다. 프로그램은 황색 LED를 점등하는 블럭(456)으로진행되며, 이것은 솔레노이드가 도어를 열기위하여 활성화되었지만 노브는 회전되지 않는다는 것을 표시한다. 프로그램은 주기가 종료되었는가를 결정하는 시럼블럭(458)으로 진행한다.Emergency / Replace Key This subroutine starts at block 450 which sets a logical deadbolt. The program proceeds to test block 452 which determines whether the key is open. If the key is not open, the program branches to the phase subroutine of FIG. If open, the program proceeds to the emergency subroutine starting at block 454 to activate the solenoid. The program proceeds to block 456, which illuminates a yellow LED, indicating that the solenoid has been activated to open the door but the knob is not rotated. The program proceeds to a column block 458 that determines if the cycle has ended.

주기가 종료되었다면, 프로그램은 정지루틴(234)으로 진행한다. 주기가 종료되지 않았다면, 프로그램은 노브가 회전되었는가를 결정하는 블럭(460)으로 진행한다. 노브가 회전되지 않았을 때, 프로그램은 블럭(458)으로 궤환된다. 노브가 회전되었을 경우, 프로그램은 논리 데드볼트를 클리어시키는 블럭(462)으로 진행한 다음, 초록색 LED를 세번 점등하는 블럭(464)으로 진행한후 정지루틴(234)으로 진행하여다음 키이를 기다린다.If the cycle has ended, the program proceeds to stop routine 234. If the cycle has not ended, the program proceeds to block 460 which determines if the knob has been rotated. When the knob is not rotated, the program returns to block 458. If the knob is rotated, the program proceeds to block 462 to clear the logic deadbolt, then to block 464 to illuminate the green LED three times, and to the stop routine 234 to wait for the next key.

비상키이는 고도로 안전하게 객실을 쇄정하는 데 사용된다. 예컨데, 손님이 객실에 귀중품을 갖고 있어서 종업원 키이, 관리인 키이와 같은 것으로 자물쇠를 열지않도록 하고자 할 경우, 호텔 관리인은 비상키이를 사용할 수 있으며, 노브를 회전시키지 않고서도 주기시간을 끝나지 않도록 한다. 이것은 논리 데드볼트의 셋트를 해제시키며 비상키이가 취출된 후에 셋트상태를 유지할 것이다.The emergency key is used to lock the room in a highly secure manner. For example, if a guest has valuables in the room and would like to avoid opening the lock with an employee key or a manager key, the hotel manager can use the emergency key and not end the cycle without turning the knob. This will release the set of logic deadbolts and will remain set after the emergency key is taken out.

이런 상태에 있어서 어떠한 다른 키이도 개방기구를 작동시킬 수 없을 것이다. 손님이 쇄정작동을 복귀하고자할 경우, 비상키이는 호텔 경영자에 의해 삽입되어 노브는 문을 개방하도록 회전된다. 이것은 자물쇠를 대기상태로 위치시키며 다음 키이를 기다린다.In this state no other key will be able to actuate the opening mechanism. When the guest wishes to return to the lockout operation, the emergency key is inserted by the hotel manager and the knob is rotated to open the door. This puts the lock on hold and waits for the next key.

리페이즈 키이는 새로운 키이코드를 메모리의 소정레벨로 자물쇠에 기입하는데 사용된다. 일반적으로 자물쇠는 리페이즈 키이를 자물쇠에 삽입하고 그 키이를 제거한 다음 키이코드 메모리로 판독되는 키이코드로 부호화되는 소정의 다른 키이를 삽입함으로써 사용된다. 이것은 키이의 제2코드가 상기 키이에 대응하는 레벨에서 키이코드 메모리에 기입되는 최초로 사용되는 손님 키이와 유사한 순서로 행해진다.The phase key is used to lock the new keycode to a predetermined level of memory. Generally, a lock is used by inserting a phase key into the lock, removing the key, and then inserting some other key encoded with a keycode that is read into the keycode memory. This is done in a similar order to the first guest key used, where the second code of the key is written to the keycode memory at the level corresponding to the key.

리페이즈 서브루틴은 제14도로 참고로하여 기술하겠다. 비상/리페이즈 키이 프로그램은 키이가 비 개방상태 즉 리페이즈 키이라고 설정될 때 블럭(452)에서 분기된다. 리페이즈 서브루틴은 리페이즈 키이가 최초로 사용된 키이인가를 결정하는 블럭(480)에서 시작한다. (리페이즈 키이가 연속적으로 2회 사용될 때 반복 카운터(243)를 포함하는 RAM메모리는 마이크로컴퓨터 상의 단자를 경유하여 분석용 포터블 컴퓨터로 덤프된 다음, 프로그램은 황색 LED를 점등하는 블럭(482)으로 진행한다.) 만약 이것이 처음으로 사용될 키이일 경우, 프로그램은 나머지 사이클 시간을 4배로 확장하는 블럭(484)으로 진행된다음 확장된 사이클 시간이 종료되었나를 결정하는 시험블럭(488)으로 진행한다. 사이클 시간이 종료되었다면, 프로그램은 사용된 리페이즈 키이의 기록을 소거하는 블럭(490)으로 진행한다. 만약 상기 사이클 시간이 종료되지 않았다면, 프로그램은 또다른 키이가 입려되었는지의 여부를 결정하는 블럭(492)으로 진행한다. 또다른 키이가 입력되지 않았다면, 프로그램은 시험블럭(488)으로 궤환된다. 만약 또다른 키이가 삽입되었다면, 프로그램은 제2코드가 모두 1인지를 판정하는 블럭(494)으로 진행한다. 결과가 예스이면 프로그램은 현재대로 기술해야 할 시험블럭(498)으로 진행한다. 그렇지 않으면, 프로그램은 키이코드 메모리가 모두 1인지를 판정하는 블럭(496)으로 진행한다.The phase subroutine will be described with reference to FIG. The emergency / replace key program is branched at block 452 when the key is set to a non-open state, that is, a reverse key. The phase subroutine starts at block 480 to determine if the phase key is the first key used. (The RAM memory including the repeat counter 243 when the phase key is used twice in succession is dumped to the analysis portable computer via a terminal on the microcomputer, and then the program is moved to a block 482 that lights up an amber LED. If this is the first key to be used, the program proceeds to block 484 which quadruples the remaining cycle time and then proceeds to test block 488 which determines if the extended cycle time has ended. If the cycle time has ended, the program proceeds to block 490 which erases the recording of the used phase key. If the cycle time has not expired, the program proceeds to block 492 to determine whether another key has been applied. If no other key is entered, the program is returned to test block 488. If another key is inserted, the program proceeds to block 494 where it is determined whether the second code is all one. If the result is yes, the program proceeds to test block 498 which should be described as is. Otherwise, the program proceeds to block 496 where it is determined whether the keycode memories are all one.

답이 예스이면 프로그램은 비상키이가 문을 여는 최종 키이인지를 판정하는 블럭(498)으로 진행한다. 비상키이가 아닐 경우 프로그램은 정지루틴 (234)으로 진행한다. 비상키이일 경우,프로그램은 새로운 키이코드를 메모리에 기입하는 블럭(500)으로 진행한다. 만약 블럭(494, 496)양자의 답이 모두 노이면, 프로그램은 새로운 코드를 메모리에 기입하는 블럭(500)으로 직접 진행한다.If the answer is yes, the program proceeds to block 498, where the emergency key is the last key to open the door. If it is not an emergency key, the program proceeds to stop routine 234. If it is an emergency key, the program proceeds to block 500 where the new key code is written to memory. If both blocks 494 and 496 answer both no, the program proceeds directly to block 500 where the new code is written to memory.

본 발명의 제2실시에는 제15도 내지 제21도에 도시되어있다. 본 발명의 제2실시에는 제1실시에를 참조하여 기술된 펀치 카드키이와는 달리 자기 키이를 특징으로 한다. 제15도에 도시된 바와 같이 자기키이(508)는 자기밴드가 띠를 부착하기에 적합한 불투명 플라스틱 재료로 만든 카드(510)로 구성된다. 자기 띠(512)는 두개의 기록트랙(514, 516)을 갖으며, 스테레오 기록 테이프의 성질이 있다. 각각의 트랙은 애널로그 신호형태로 자기포올(poie)열을 타나태는 파상의 자계로서 기록된다. 각각의 트랙은 20비트정보를 나타내는 자기신호로서 부호화된다. 다음에 기술되는 바와같이, 자기 키이(508)는 트랙(512,513)의 자기 신호를 전기 신호로 변환하는 키이 판독기에 의하여 읽혀진다.A second embodiment of the present invention is shown in FIGS. 15 to 21. FIG. The second embodiment of the present invention is characterized by a magnetic key, unlike the punch card key described with reference to the first embodiment. As shown in FIG. 15, the magnetic key 508 consists of a card 510 made of an opaque plastic material suitable for attaching the strip to the magnetic band. The magnetic strip 512 has two recording tracks 514 and 516 and has the property of a stereo recording tape. Each track is recorded as a wave-like magnetic field showing magnetic poie trains in the form of an analog signal. Each track is encoded as a magnetic signal representing 20 bit information. As described below, the magnetic key 508 is read by a key reader that converts the magnetic signals of the tracks 512 and 513 into electrical signals.

제1실시예에서와 같이 자물쇠는 8개의 상이한 키이 기능을 사용하기 에 적합하다. 그러나, 8개의 이상의 상이한 형태의 키이기능은 단지 8이 일시예 자물쇠에 프로그램 될지라도 이용가능하다. 다음과 같은 상이한 형태의 키이가 프로그램 될 수도 있다.As in the first embodiment, the lock is suitable for using eight different key functions. However, more than eight different types of keying functions are available even if only eight are programmed in a temporary lock. Different types of keys may be programmed as follows.

키이 형태 A : 개방과 비개방, 및 순차와 비순차 즉 일반적인 사용 또는 마스터 키이 페벨을 위한 정상동작, 다른 모든 키이형태는 주지된 바와 같이 특별기능을 제외하고는 상기와 같이 동작한다.Key Form A: Open and unopened, and sequential and non-sequential ie normal operation for normal use or master key Pevel, all other key forms operate as above except for special functions as is well known.

키이-형태 B : 단일 입력 일발(one-shot)"단지 1회만 문을 개방시킨다. 내부 플래그는 띠의 코드당 단지 1작동만을 허용하도록 메모리에 유지된다. 객실에 단지 한번만 출입할 필요가 있는 서어비스 요원을 위해 사용됨.Key-type B: single input "one-shot" only opens the door once. An internal flag is held in memory to allow only one operation per code of the strap. A service that only needs to enter the room once. Used for personnel.

키이형태 C : 정상적인 손님용, 비개방 관리인 키이는 현재 작동하는 손님 레벨을 금지(폐쇄)하는데 사용될 수 있다. 내부 플래그는 4개의 상이한 손님 레벨까지 금지하는데 사용된다. 즉 순차형 카드는 객실에 접근하는데 사용되는 다음 카드이어야만 한다. 새로운 손님카드가 자물쇠에 시이퀸스될때, 그 손님레벨은 여전히 금지된 다른 손님 레벨로 다시 활성화 된다. 금지된 손님 키이의 사용은 황색 LED를 점등할 뿐이다.Key Form C: A normal guest, non-open manager key can be used to prohibit (close) the currently active guest level. Internal flags are used to prohibit up to four different guest levels. The sequential card must be the next card used to access the cabin. When a new guest card is sequenced to the lock, the guest level is still reactivated with another forbidden guest level. The use of prohibited guest keys only lights the yellow LED.

키이-형태 D : 관리인 기능, 개방상태는 정상적으로 동작한다. 비 개방상태는 현재의 모든 손님 레벨카드를 금지할 것이다. 새로운 손님 카드가 시이퀸스 되기 전에 나간 (check-out)고객을 금지하기 위해 사용됨, 정상적 손님 또는 수행원과 같은 4개 이상의 레벨이 동시에 금지됨.Key-type D: Manager function, open status works normally. Non-open status will prohibit all current guest level cards. Used to prohibit a check-out customer before a new guest card is sequenced. Four or more levels, such as a normal guest or attendant, are prohibited at the same time.

키이-형태 E : 종업원/저 밧테리 키이. 저 밧테리 금지기능의 특별 효과를 갖는 종업원에 의하여 접근하기 위하여 정상적으로 사용됨, 종업원 키이가 저 밧테리로 상이하게 4번 문을열기 (즉 손잡이를 돌림) 위하여 사용될 때, 키이는 문을 개방하기 위하여 순차적으로 2회 삽입된다. 그 목적은 종업원에게 밧테리를 교체할 필요성이 있다는 것을 알려주기 위한 것이다. 만약 저 밧테리 금지 기능이 정상적이고, 자물쇠가 잠겼다면, 종업원 키이의 최초 삽입은 저 밧테리 표시기를 초기화할 것이다.Key-Form E: Employee / Low Battery Key. Normally used for access by employees with the special effect of the low battery prohibition function, when an employee key is used to open the door 4 times (ie, turn the handle) differently to the battery, the keys are sequentially opened to open the door. It is inserted twice. The purpose is to inform the employee that the battery needs to be replaced. If the low battery prohibition function is normal and the lock is locked, the initial insertion of the employee key will reset the low battery indicator.

키이-형태 F : 비상/리페이즈. 이것은 가장 안전한 키이이며 키이가 삽입되고 노브가 회전하지 않으면 논리 데드볼트 상태를 확인할 것이다. 개방상태는 비상 키이로 잔주되고, 실제 또는 논리 데드볼트 상태에 관계없이 항상 문을 개방할 것이다. 키을 삽입하고 도어노브를 돌리면 논리 데드볼트가 해제될 것이다. 이 키이의 비 개방상태는 리페이즈 키이로 간주된다. 이 키이의 삽입은 논리 데드볼트를 확인하지만, 손잡이는 논리 데드볼트를 해제토록 회전할 수 없다. 이 키이는 새로운 키이코드를 키이코드 메모리에 부하시킨다. 만약, 특정의 메모리 레벨이 모두 1인코드에 의하여 금지되었다면, 리페이즈 키이는 새로운 키이코드를 부하하도록 하는 비상키이에 의하여 진행되어야만 한다. 비상키이와 리페이즈 키이의 순차적인 사용은 상기 레벨의 사용을 금지하도록 소정 레벨에서 모두 1인 코드로 페이즈될 것을 요구한다.Key-Form F: Emergency / Repaid. This is the safest key and if the key is inserted and the knob does not rotate it will check the logic deadbolt status. The open state remains as an emergency key and will always open the door regardless of the actual or logical deadbolt state. Insert the key and turn the door knob to release the logic deadbolt. The non-open state of this key is considered to be a phase key. Insertion of this key confirms the logical deadbolt, but the handle cannot rotate to release the logical deadbolt. This key loads the new keycode into keycode memory. If a particular memory level is all forbidden by one encoding, the phase key must be advanced by an emergency key that causes a new key code to be loaded. Sequential use of the emergency key and the phase key requires that the code be phased to 1 for all at a given level to prohibit the use of that level.

키이-형태 G : 안전 A : 이 키이는 안전의 정확도를 위하여 2개의 키이 시이퀸스중 제1시이퀸스 이다. 저방 상태는 논리 데드볼트를 확보하지만 비 개방 상태는 그렇지 못하다. 이것은 자물쇠를 데드 볼트하지 않고서도 새로운 안전 키이의 시퀸스를 허용한다.Key-type G: Security A: This key is the first of two key sequences for safety accuracy. The low state secures a logical deadbolt, but the non-open state does not. This allows a sequence of new safety keys without dead bolting the lock.

키이-형태 H, 안전 B : 이 키이는 안전의 정확도를 위하여 2개의 키이 시퀸스 중 제2시이퀸스이다. 이 키이는 문이 열리도록 하기위해서 안전 A키 이후에 정상적 사이클 시간내에 삽입되어야만 한다. 이키의 개방상태는 데드볼트상태에 무관하게 자물쇠를 개방하고, 사용후에는 논리 데드볼트 상태를 확보한다. 비개방상태는 필요하다면 새로운 키이를 시이퀸스할 수 있으며 데드볼트를 확보하지 못한다. 안전 A-안전 B키이 시이퀸스를 가진 도어자물쇠의 작동은 단지 안전 B가 도어록 히스토리에 기록된다.Key-type H, safety B: This key is the second of the two key sequences for safety accuracy. This key must be inserted within the normal cycle time after the safety A key to allow the door to open. This key is unlocked regardless of the dead bolt state, and secures the logical dead bolt state after use. The non-open state can sequence new keys if necessary and will not secure deadbolts. Safety A-Safety B The operation of the door lock with this sequence only safety B is recorded in the door lock history.

키이-형태 I, 비동작. 상기의 비동작 키이는 레벨을 비활성 상태, 즉 상기 레벨을 비상용 상태로 프로그램하는데 사용된다. 키이는 비활성 레벨을 위해 작동치 않는다. 상기 레벨은 전원 공급 및 재프로그램에 의하여서만 작동될 수 있다. 키이는 금지 레벨에서 동작되지 않을 것이다.Key-type I, non-operating. The non-operation key is used to program the level into an inactive state, i. Keys do not work for inactive levels. The level can only be activated by powering and reprogramming. The key will not operate at the inhibit level.

키이-형태 J, 호텔통과 : 이것은 카드 키이 레벨코드와 호텔 코드만을 일치시키므로써 도어쇄정 작동을 허여하도록 프로그램 할수 있는 사용기능이다. 즉 제1또는 제2키이코드의 일치를 필요로하지 않는다. 전형적인 용도는 손님이 수영장, 오락실과 같은 호텔지역에 출입하는 것을 포함한다.Key-type J, Hotel Pass: This is a useable function that can be programmed to allow door lock operation by matching the card key only with the level code and hotel code. That is, it does not require matching of the first or second key codes. Typical uses include access to hotel areas such as swimming pools and game rooms.

기술한 바와 같이 키이상의 기록코드는 데이터의 두개의 병렬 스트림에서 키이로부터 판독한다. 상기 목적을 위하여 자기 키이판독기(520)가 제16도 개략도에 도시된 바와같이 제공된다. 자기 키이판독기는 키이의 자기띠상의 기록 트랙(514,516)과 각각 상호 작동하는 한쌍의 자기 테이프 판독 헤드(522,524)로 구성된다. 판독 헤드(522,524)는 종래의 스트레오 픽업 또는 판독 헤드이다. 자기 판독 헤드(522,524)는 전압원 양단에 접속된 전압 분배기 (526)와 접속된다. 판독 헤드(522)의 출력은 차동증폭기(528)의 입력에 접속되고, 상기 증폭기의 출력은 에널로그-디지탈(A/D)변환기 (532)의 입력에 접속된다. A/D변환기(532)출력은 마이크로컴퓨터(112)의 데이터 핀(Do)접속된다. 유사하게 판독 헤드(524)의 출력은 차동증폭기(534)의 입력에 접속된다. 상기 증폭기의 출력은 애널로그-디지탈(A/D)변환기 (536)의 입력에 접속되고, 그의 출력은 마이크로컴퓨터(12)의 보조클럭(AUX CLK) 핀과 데이터 핀(D1,D2,D3)에 접속된다. 제2a 및 b도를 참고하여기술한 바와 같이, 키이 판독기(38)는 키이를 완전히 삽입했을 때에는 폐쇄 상태로 작동하여 키이를 취출했을 때에는 개방 상태로 작동하는 키이 스위치(58)를 포함한다. 따라서 키이상의 기록 트랙(514,516)으로 부터 자기 판독헤드(522,524)에 의하여 발생하는 데이터 스트림은 키이의 취출시 마이크로컴퓨터에서 판독된다. 키이 동작은 신호전압을 각각의 트랩(514,516)상의 기록된 자기신호에 따라 판독 헤드 (522,524)에 유도되도록 한다. 상기 신호는 증폭기(528,534)에 의하여 각각 증폭되어 향상된 애널로그 전압신호를 발생한다. 증폭기(528,534)로 부터의 애널로그 신호는 A/D변환기(532,536)에 의하여 처리되어 대응하는 디지털 신호를 발생한다. A/D변환기(532)의 출력은 20비트의 직렬 비트 스트림을 트랙(514)에 기록된 데이터에 대응하는 데이터 핀(Do)에 공급한다. 유사하게 변환기(536)의 출력은 20비트의 직렬비트 스트림을 트랙(516)에 기록된 데이터에 대응하는 마이크로컴퓨터에 공급한다.As described, the write code above the key reads from the key in two parallel streams of data. For this purpose a magnetic key reader 520 is provided as shown in the schematic diagram of FIG. The magnetic key reader consists of a pair of magnetic tape read heads 522 and 524, which interact with the recording tracks 514 and 516 on the magnetic strip of the key, respectively. Read heads 522 and 524 are conventional stereo pickups or read heads. Magnetic read heads 522 and 524 are connected with voltage divider 526 connected across the voltage source. The output of the read head 522 is connected to the input of a differential amplifier 528, and the output of the amplifier is connected to the input of an analog-to-digital (A / D) converter 532. The A / D converter 532 output is connected to a data pin (Do) of the microcomputer 112. Similarly, the output of read head 524 is connected to the input of differential amplifier 534. The output of the amplifier is connected to the input of an analog-to-digital (A / D) converter 536, the output of which is an auxiliary clock (AUX CLK) pin and data pins (D1, D2, D3) of the microcomputer 12. Is connected to. As described with reference to Figures 2a and b, the key reader 38 includes a key switch 58 that operates in the closed state when the key is fully inserted and in the open state when the key is taken out. Thus, data streams generated by the magnetic readheads 522 and 524 from the recording tracks 514 and 516 over the keys are read out by the microcomputer upon retrieval of the keys. The key operation causes the signal voltage to be directed to the read heads 522 and 524 in accordance with the recorded magnetic signals on the respective traps 514 and 516. The signal is amplified by amplifiers 528 and 534, respectively, to produce an enhanced analog voltage signal. The analog signals from the amplifiers 528 and 534 are processed by the A / D converters 532 and 536 to generate corresponding digital signals. The output of the A / D converter 532 supplies a 20-bit serial bit stream to the data pin Do corresponding to the data written to the track 514. Similarly, the output of converter 536 supplies a 20-bit serial bit stream to the microcomputer corresponding to the data recorded in track 516.

기술한 바와 같이 마이크로컴퓨터(112)는 스트림당 20비트를 갖는 직렬비트 데이터의 2개의 병렬 스트림으로 자기 키이로부터 코드를 수신한다. 마이크로컴퓨터의 ROM(215)은 키이코드의 다음 처리를 위하여 입력되는 코드 스트림을 리포맷(reformat)하도록 프로그램 제어하에 동작하는 디코더를 포함한다. 특히, 그디코더는 2개의 직렬 비트 스트림을 키이코드 메모리 (217)에 기억된 코드와 비교하기 위하여 기억 포맷을 변환한다 설명을 위하여 키이로부터 판독된 코드 데이터는 디코더에 의하여 리포맷되어 그것이 제어코드계, 호텔코드계, 및 제1 및 제2키이 코드계를 구성하도록 한다. 제어코드는 4비트 문자로 구성되는데 그 중의 3비트는 키이의 기능 또는 레벨을 표시하고 4번 째 비트는 "1"일때 개방키이로서 정의되며, "0"일때 비개방 키이인 키이를 한정하도록 한 개방키이이다. 호텔코드는 호텔을 판별하고 다음에 기술될 호탤통과 코드의 기능을 하는 4비트 문자를 포함한다. 자물쇠용 제1키이 코드는 16비트 문자로 구성되고, 자물쇠용 제2키이 코드는 다른 16비트 문자로 구성된다. 기억된 키이코드의 배열은 제2c도를 참고하여 기술된 것과 유사하다.As described, microcomputer 112 receives code from its own key in two parallel streams of serial-bit data having 20 bits per stream. The microcomputer's ROM 215 includes a decoder that operates under program control to reformat the incoming code stream for subsequent processing of the keycode. In particular, the decoder decodes the storage format to compare the two serial bit streams with the code stored in the keycode memory 217. For the sake of explanation, the code data read from the key is reformatted by the decoder so that the control code system , The hotel code system, and the first and second keys constitute a code system. The control code consists of 4 bit characters, of which 3 bits indicate the function or level of the key, and the 4th bit is defined as an open key when it is "1", and when it is "0", it defines a key which is a non-open key. It is an open key. The hotel code includes a 4-bit character that determines the hotel and functions as a hostel and code described next. The first key code for the lock consists of 16-bit characters, and the second key code for the lock consists of other 16-bit characters. The stored keycode arrangement is similar to that described with reference to FIG. 2C.

본 발명의 제2실시예에서, 마이크로컴퓨터와 외부 회로와의 접속은 제16도를 참고하여 기술된 자기 키이 판독기(520)를 받아들이는 것을 수정한 점을 제외하고는 제3a, b 및 c도를 참고하여 기술한 것과 동일한다. 마이크로컴퓨터(112)의 프로그래밍과 동작은 아래에 기술한 것을 제외하고는 전술한 것과 동일하다.In the second embodiment of the present invention, the connection of the microcomputer with the external circuit is shown in Figs. 3a, b and c except that it has modified the acceptance of the magnetic key reader 520 described with reference to Fig. 16. Same as described with reference. The programming and operation of microcomputer 112 is the same as described above except as described below.

자기 키이를 사용한 쇄정인 본 발명의 제2실시예는 여러가지 이유에서 제1실시예보다 더 높은 안전도를 갖는다. 첫째, 키이자체상의 자기 부호화는 쉽게 조사될 수 없으며 재구성 또는 복사가 어렵다. 둘째, 개시 프로그램은 다수의 키이를 갖는 특정 시이퀸스를 필요로 한다. 특히, 쇄정이 콜드 개시로부터 시작될 때, 최소한 11개의 키이가 자물쇠를 열기 위하여 적당한 순거대로 사용되어야만 한다. 셋째 프로그래밍 키이는 기능이 무엇을 요구할지라도 소정의 레벨이 할당되는 것을 허락한다. 더욱이 더높은 안전도가 코드처리를 해야함으로써 제공된다. 특히, 직렬 비트스트림을 기억 포맷으로 리포맷하는 디코더는 마이크로컴퓨터칩의 내부에 있으며, 마이크로컴퓨터의 단자를 통하여 억세스하는 경우를 제외하고 억세스할 수 없다. 상기의 특징은 행에서 8개의 오판독후에 종류요구와 각각의 키이용 키이 스위치의 동작을 위한 요구 및 정 키이코드를 명중한 후에 시간 제한내에 손잡이를 돌려야 하는 조건등이 제1실시예에 관하여 기술된 것을 추가된다.The second embodiment of the present invention, which is locked with a magnetic key, has a higher degree of safety than the first embodiment for various reasons. First, self-coding on the key itself cannot be easily investigated and difficult to reconstruct or copy. Second, the initiation program requires a specific sequence with multiple keys. In particular, when a lockout commences from cold initiation, at least 11 keys must be used in the proper sequence to unlock. The third programming key allows a certain level to be assigned whatever the function requires. Furthermore, a higher degree of safety is provided by code processing. In particular, a decoder for reformatting a serial bitstream into a storage format is inside a microcomputer chip and cannot be accessed except when accessing it through a terminal of the microcomputer. The above features are described in relation to the first embodiment after the eight misreads in a row, the type request, the request for the operation of each keyed key switch, and the condition of turning the knob within the time limit after hitting the correct key code. Is added.

본 발명의제2실시예의 개시과정은 제17a도 및 b도의 플로우 챠트에 도시되었다. 개시과정은 제1 및 제2개시 키이를 순차적으로 입력할 것을 요구하며 레벨의 할당 수단으로서 프로그래밍 키이의 선택적 사용 즉 키이코드메모리내의 할당된 레벨을 정의 또는 재정의를 특징으로 한다. 작동시스템 개시 블럭(610)은 마이크로컴퓨터와 전자 제어회로에 전원에 공급하도록 동작한다.The initiation process of the second embodiment of the present invention is shown in the flow charts of Figs. 17a and b. The initiation process requires the input of the first and second initiation keys sequentially and is characterized by the selective use of programming keys as a means for assigning levels, i.e. defining or redefining the assigned levels in the keycode memory. The operating system initiation block 610 is operative to supply power to the microcomputer and the electronic control circuit.

상기 전원공급상태는 쇄정 회로의 밧테리를 접속할 때 일어나며 시스템의 콜드스타트를 구성한다. 전원 공급이 이루어졌을때 프로그램은 시스템의 어느 부분이 고장났는가를 판별하는 시험블럭(612)으로 진행한다. 고장났다면, 개시블럭(610)으로 궤환되고, 그렇지 않다면 프로그램은 입력 블럭(614)으로 진행하여 키이의 삽입을 기다린다. 키이가 삽입되면 프로그램은 삽입된 키이가 제1개시 키이인지를 판정하는 시험블럭(616)으로 진행한다. 삽입된 키이가 개시키이가 아닐 경우, 프로그램은 블럭(614)으로 복귀하여 또다른 키이를 기다린다. 삽입된 키이가 개시키이면, 프로그램은 입력블럭(618)으로 진행하며 다른 키이의 삽입을 기다린다. 어떤 키이가 삽입될때, 시험블럭(622)은 그 키이가 제2개시 키이인지를 판정한다. 삽입된 키이가 제2개시 키이가 아닐경우, 프로그램은 입력 블럭(614)으로 복귀하고, 그 키이가 제2개시 키이면, 프로그램은 입력 블럭(624)으로 진행하여 다른 키이를 기다린다. 키이가 삽입될 때 시험블럭(626)은 고장/리페이즈 키이인가를 판정한다. 그 키이가 고장/리페이즈 키이일경우, 프로그램은 예컨데 본발명의 제1실시예를 참고하여 기술한 것과 동일한 불이행 구성을 설정하는 블럭(628)으로 진행한다.The power supply state occurs when the battery of the locking circuit is connected and constitutes a cold start of the system. When power is applied, the program proceeds to a test block 612 which determines which part of the system has failed. If it fails, it is fed back to the start block 610, otherwise the program proceeds to input block 614 and waits for insertion of the key. When the key is inserted, the program proceeds to a test block 616 that determines whether the inserted key is the first starting key. If the inserted key is not open, the program returns to block 614 and waits for another key. If the inserted key is opened, the program proceeds to input block 618 and waits for insertion of another key. When a key is inserted, the test block 622 determines whether the key is a second starting key. If the inserted key is not the second starting key, the program returns to input block 614, and if the key is the second starting key, the program proceeds to input block 624 and waits for another key. When the key is inserted, the test block 626 determines whether it is a fault / replace key. If the key is a fault / phase key, the program proceeds to block 628 which sets the same default configuration as described, for example, with reference to the first embodiment of the present invention.

삽입된 키이가 고장/리페이즈 키이가 아니면, 프로그램은 삽입된 키이가 유효 프로그램 키이인지를 결정 하도록 진행한다. 프로그래밍 키이는 기능 테이블(219)에서 상이한 레벨로 소망하는 키이기능으로써 미리 기입된다. 프로그래밍 키이가 마이크로컴퓨터에 의해 검사될 때 일정한 기준을 만족한다면, 프로그래밍 키이는 기능 테이블에서 모든 8레벨을 셋트하도록 동작하며, 4비트제어 코드로 개방비트 구성을 할당한다. 제1실시예에서와 같이, 제어코드의 4비트중 3비트가 8개의 상이한 레벨 중 하나를 정하고, 나머지 한 개의 비트는 그것이 개방 또는 비개방 키인지를 정한다. 제2실시예에서, 개방 비트는 4비트 위치중 어느 하나에 위치할 수 있다. 미리 기입된것과 같이, 입력 키이가 유효 프로그램 키이인지를 판정하기 위하여 시험블럭(624)에서 개시되는 일련의 시험에 의해 검사된다. 시험블럭(634)은 제1열, 즉 4비트 제어코드에 한 개의 1비트만 존재하는지를 판정하여 다음의 쇄정 프로그램에서 단지 1개방 비트만이 지정되게 한다.If the inserted key is not a fault / replace key, the program proceeds to determine if the inserted key is a valid program key. The programming keys are pre-written as desired key functions at different levels in the function table 219. If the programming key meets certain criteria when examined by the microcomputer, the programming key operates to set all eight levels in the function table, assigning an open bit configuration to the 4-bit control code. As in the first embodiment, three of the four bits of the control code define one of eight different levels, and the other one determines whether it is an open or non-open key. In the second embodiment, the open bit may be located in any one of the four bit positions. As noted previously, a series of tests initiated in test block 624 are checked to determine if the input key is a valid program key. The test block 634 determines whether there is only one 1 bit in the first column, that is, the 4-bit control code, so that only one open bit is designated in the next decision program.

시험 블럭(634)이 제1열 1비트이상이 존재하는지를 판정한다면, 프로그램은 불이행 구성을 설정하는 블럭(628)으로 진행한다. 단지 한 개의 1비트만 존재한다면, 프로그램은 하나 및 단지 하나의 비상 키이 할당이 프로그램 키이내에 존재하는 지를 판정하는 시험블럭(636)으로 진행한다. 한개의 비상키이가 없거나 한개 이상의 비상키이가 있을 때, 프로그램은 불이행 구성을 설정하는 블럭(628)으로 진행한다. 단지 한 개의 비상키이가 존재한다면, 프로그램은 적어도 하나이 종업원 키이 할당이 존재하는지를 판정하는 시험블럭(638)으로 진행한다. 한 개 이상의 종업원 키이가 없다면, 불이행 구성은 블럭(628)에 설정된다. 1개 이상의 종업원 키이가 할당된다면, 프로그램은 적어도 한 개의 안전 A또는 적어도 안전 B키이 중 어느하나가 프로그래밍 키이에 의하여 할당되는가를 결정하는 시험블럭으로 진행한다. 안전 A또는 B가 할당되지 않았을 경우, 프로그램은 블럭(644)으로 진행한다. 블럭(644)은 새로운 구성을 할당하도록 동작한다. 시럼블럭(642)이 프로그래밍 키이가 적어도 하나의 안전 A또는 안전 B키이를 할당하는지를 판정하면, 프로그램은 시험블럭(646)으로 진행한다. 시험블럭(646)은 안전 A또는 안전 B의 보수가 할당되었는지 즉 둘중 다른것인지를 판정한다. 할당되지 않았을 경우, 프로그램은 불이행 구성을 설정하는 블럭(628)으로 진행한다. 보수가 블럭(646)에 의하여 발견되었을 경우, 프로그램은 새로운 구성을 할당하는 즉 8개의 상이한 레벨중 각각의 레벨에 대한 키이 기능이 프로그래밍 키이에 미리 기입되었나를 설정한 블럭(644)으로 진행한 다음 키이입력을 기다리는 입력 블럭(652)으로 진행한다. 상기 시점에서 8문자 기능 테이블(219)은 블럭(644)에 의하여 기입되고, 8개의 키이레벨의 소망구성을 설정한다. 그것이 개시 처리단계에 남아있어 8개의 상이한 키이기능 할당과 대응하는 8개의 상이한 레벨에 키이 코드로서 키이 코드메모리 (217)에 부하한다. 이러한 목적을 위해서 개시 시이퀸스에 요망하는 다음 키이는 리페이즈 키이다.If the test block 634 determines whether more than one bit of the first column exists, the program proceeds to block 628 which sets a default configuration. If there is only one 1 bit, the program proceeds to test block 636 which determines if one and only one emergency key is present within the program key. When there is no one emergency key or more than one emergency key, the program proceeds to block 628 which sets the default configuration. If there is only one emergency key, the program proceeds to test block 638 which determines whether at least one employee key assignment exists. If there is no more than one employee key, the default configuration is set at block 628. If more than one employee key is assigned, the program proceeds to a test block that determines whether at least one of the safety A or at least safety B keys is assigned by the programming key. If no safety A or B has been assigned, the program proceeds to block 644. Block 644 operates to assign a new configuration. If the rum block 642 determines whether the programming key assigns at least one safety A or safety B key, the program proceeds to the test block 646. The test block 646 determines whether the repair of safety A or safety B is assigned, that is, the other of the two. If not, the program proceeds to block 628 where it sets the default configuration. If the complement is found by block 646, the program proceeds to block 644 which assigns a new configuration, i.e., sets the key function for each of the eight different levels, if the function has been previously written to the programming key. The flow proceeds to an input block 652 waiting for key input. At this point the eight character function table 219 is written by block 644 and sets the desired configuration of eight key levels. It remains in the initiation process step and loads the key code memory 217 as a key code at eight different levels corresponding to eight different key function assignments. The next key desired for the initiation sequence for this purpose is the phase key.

키이가 입력블럭(652)에 입력되었을 때 프로그램은 삽입된 키이가 프로그래밍 키이에 의하여 할당되는 레벨에 따른 레벨 지정을 갖는 리페이즈 키이인지를 판정하는 시험블럭(654)으로 진행한다. 그것이 리페이즈 키이가 아닐 경우, 프로그램은 입력 블럭(652)으로 복귀하여 다른 키이를 기다린다. 그것이 리페이즈 키이일 경우, 프로그램은 리페이즈 키이의 삽입에 반응하여 논리 데드볼트를 셋트하는 블럭(656)으로 진행한 다음 리페이즈 키이에서 자물쇠의 호텔 코드 메모리에 내장된 호텔 코드에 기입함으로써 호텔 코드를 할당하는 블럭(658)로 진행한다.When a key is entered into the input block 652, the program proceeds to a test block 654 that determines whether the inserted key is a phase key with a level designation according to the level assigned by the programming key. If it is not a phase key, the program returns to input block 652 and waits for another key. If it is a phase key, the program proceeds to block 656, which sets a logical deadbolt in response to the insertion of the phase key, and then writes the hotel code into the hotel code embedded in the lock's hotel code memory at the phase key. Proceed to block 658 to allocate a.

입력블럭(662)에서 시스템은 키이입력을 기다린다. 개시 처리의 상기 시점에서 자물쇠는 할당된 메모리 레벨에 따라 기능 테이블(219)에 의하여 사용되는 것과 동일한 포인터에 의하여 지정되는 위치에서 키이코드 메모리(217)에 기입된 키이코드를 할당하기 위하여 준비상태에 놓인다. 키이코드를 메모리에 시입하는 페이즈-인(phase-in)처리는 자물쇠에 프로그램된 키이의 순차적인 삽입에 의하여 수행된다. 키이 삽입의 상기 시이퀸스는 리페이즈 키이레벨의 다음 레벨에 할당된 키이에 의하여 개시되어야만 한다. 시이퀸스는 키이 레벨의 숫자순서로 계속되며, 레벨(7)에 도달했을 때 시이퀸스는 레벨(0)로 계속된다. 상기 페이즈-인시이퀸스는 리페이즈 키이보다 더 높은 다음 레벨을 갖는 키이를 입력시킴으로써 블럭(662)에서 개시된다. 그때 프로그램은 페이즈-인 시이퀸스의 처리를 나타내는 블럭(664)으로 진행하여 키이의 정 레벨이 삽입되었는지를 확인한다. 키이의 정 레벨이 삽입되지 않을 경우, 프로그램은 블럭(662)으로 복귀한다. 키이가 정 레벨에 있으면, 블럭(664)은 키이 로부터의 제2키이코드를 키이상에서 부호화된 키이레벨 코드에 대응하는 위치, 또는 레벨에서 코드메모리(217)에 기입되게 한다. 그런다음, 프로그램은 정지루틴(234)으로 진행하며, 시스템은 대기상태에 놓인다. 그후, 시험블럭(666)은 키이의 모든 레벨이 페이즈-인 되었는지를 판정한다.At input block 662 the system waits for keystrokes. At this point in the initiation process, the lock is in a ready state for allocating the keycode written in the keycode memory 217 at the location designated by the same pointer as used by the function table 219 according to the allocated memory level. Is placed. The phase-in process of inserting the keycode into the memory is performed by sequential insertion of the key programmed into the lock. The sequence of key insertion must be initiated by the key assigned to the next level of the phase key level. The sequence continues in the numeric order of the key levels, and the sequence continues at level (0) when level (7) is reached. The phase-initiation is initiated at block 662 by entering a key having a next level higher than the phase key. The program then proceeds to block 664 representing the processing of the phase-in sequence to see if the positive level of the key has been inserted. If the positive level of the key is not inserted, the program returns to block 662. If the key is at a positive level, block 664 causes the second key code from the key to be written to code memory 217 at a location or level that corresponds to the key level code encoded above the key. The program then proceeds to a stop routine 234, where the system is put on standby. The test block 666 then determines whether all levels of the key have been phased in.

모든 레벨일 페이즈-인 되지 않았을 경우, 프로그램은 블럭(662)으로 복귀하여 다른 키이의 삽입을 기다린다. 모든 레벨이 수행되어졌을 때, 프로그램은 입력블럭(668)으로 진행하여 다른 키이의 입력을 기다린다. 프로그램의 상기 시점에서 자물쇠에는 소정의 키이가 입력되어, 논리 데드 볼트가 설정되었기 때문에 문이 열릴 수 없다는 것을 제외한 정상 기능에 따라 프로그램이 진행된다. 할당된 키이에 의하여 문을 용이하게 개방시키기 위해서 자물쇠는 비상키이가 요구된다. 키이가 블럭(668)에 입력되었을 때, 프로그램은 입력된 키이가 비상 키이인지를 결정하는 시험블럭(672)으로 진행한다. 그 키이가 비상키이가 아닐 경우, 프로그램은 입력블럭(668)으로 복귀하여 다른 키이를 기다린다. 그 키이가 비상키이일 경우, 프로그램은 자물쇠의 손잡이가 회전될 경우, 논리 데드볼트를 크리어하는 블럭(674)으로 진행한다. 프로그램은 블럭(674)을 지난 다음 정지루틴(234)으로 진행하며 자물쇠는 대기상태에 놓인다. 전술한 개시 처리는 자물쇠가 문에 설치될 때 사용하도록 공정에서 실행된다. 그러나 그것을 설치된 후에 실행할 수도 있으며, 개시절차는 쇄정이 성가시거나 밧테리가 단선될 경우와 같은 단전의 경우에 사용되어야만 한다.If all levels have not been phased in, the program returns to block 662 and waits for insertion of another key. When all levels have been performed, the program proceeds to input block 668 and waits for input of another key. At this point in the program, a predetermined key is input to the lock, and the program proceeds according to the normal function except that the door cannot be opened because the logical dead bolt is set. The lock requires an emergency key to easily open the door by the assigned key. When the key is entered at block 668, the program proceeds to test block 672 which determines whether the entered key is an emergency key. If the key is not an emergency key, the program returns to input block 668 and waits for another key. If the key is an emergency key, the program proceeds to block 674 that clears the logical deadbolt when the handle of the lock is rotated. The program proceeds to block 674 and then to the stop routine 234 where the lock is placed in a waiting state. The above-described starting process is executed in the process for use when the lock is installed in the door. However, it may be implemented after it has been installed, and the initiation procedure should be used in case of power failure, such as when annoying checks are made or when a battery is broken.

제17a도와 b도를 참고하여 전술한바와같은 개시 처리가 끝난 후에 자물쇠는 사용준비 상태에 있으며 자물쇠에 페이즈된 여러키이중 하나에 의하여 동작될 수 있다. 어느 키이가 자물쇠에 삽입됨에 따라서, 마이크로컴퓨터는 키이에서 판독된 코드에 따라 쇄정을 제어한다. 마이크로컴퓨터는 프로그램 제어하에서 동작한다. 즉, 페이즈-인 된 모든 키이용 프로그램은 하기와 같은 것을 제외하고는 상기와 같은 제5, 6a, b 플로우 챠트에 의해 표시된다. 제5도의 플로우챠트에 의해 표시되는 프로그램은 블럭(252)이 호탤 코드용 추가적인 4비트 문자가 존재하므로 키이의 취출시 10문자를 입력하고 기억하도록 수정된다. 그렇지 않다면, 제5도로 표시되는 프로그램은 본 발명의 제1실시예에서의 동일하다. 제6a도로 표시된 프로그램은 각각의 키이상의 호텔코드를 체크하는데 적합하다는 점에서 제1실시예의 프로그램과 상이히다. 이같은 수정은 다음에 기술할 제18도의 플로우챠트에 도시하였다. 전술한 바와 같이, 프로그램이 제6b도의 블럭(276)에 도달했을때, 프로그램은 블럭(260)에 의하여 획득된 포인터에 대응하는 상기 레벨용 서브루틴으로 분기한다.After the start process as described above with reference to FIGS. 17A and B, the lock is ready for use and can be operated by one of several keys phased to the lock. As a key is inserted into the lock, the microcomputer controls the lock according to the code read from the key. The microcomputer runs under program control. That is, all phased-in keyed programs are represented by the fifth, sixa, b flow charts as above except for the following. The program represented by the flowchart of FIG. 5 is modified so that block 252 enters and stores 10 characters upon retrieval of the key because there are additional 4-bit characters for the host code. Otherwise, the program shown in FIG. 5 is the same in the first embodiment of the present invention. The program shown in FIG. 6A differs from the program of the first embodiment in that it is suitable for checking the hotel code of each key or more. This modification is shown in the flowchart of FIG. 18, which will be described later. As described above, when the program reaches block 276 of FIG. 6B, the program branches to the level subroutine corresponding to the pointer obtained by block 260.

본발명의 제2실시예에서, 동일한 키이기능은 제1실시예에서 기술한 것 즉 제7도 내지 제14도의 프로우챠트에 표시된 프로그램 서브루틴을 참고로하여 기술된 키이기능으로 사용될 수도 있다. 또한 본 발명의 제2실시예는 이후, 안전 A, 안전B , 호텔통과, 및 비동작(no-op)등으로 간주되는 추가적인 키이기능을 포함한다. 이같은 키이기능과 쇄정 동작을 실행하기 위한 대응 프로그램서브루틴은 이후 기술될 것이다.In the second embodiment of the present invention, the same key function may be used as the key function described with reference to the program subroutines described in the first embodiment, i.e., shown in the procharts of Figs. The second embodiment of the present invention also includes additional key functions, which are then considered safety A, safety B, hotel passage, no-op, and the like. Corresponding program subroutines for performing such key functions and read operations will be described later.

호텔통과기능에 대한 프로그램은 제18도의 플로우챠트로 표시된다. 상기의 플로우챠트로 표시되는 프로그램은 제6a도의 플로우챠트로 표시되는 프로그램의 일부이며, 특히, 제6a도의 플로우챠트는 블럭(260)과 블럭(261)사이에 제18도의 플로우챠트를 삽입하므로써 수정도니다. 코드 메모리내의 키이코드의 위치용 포인터 또는 어드레스를 얻기 위하여 제어코드를 표시하는 제1문자를 사용하는 프로그램은 블럭(260)을 지난 후에 시험블럭(704)으로 진행한다. 시험 블럭(704)은 키이상의 호텔코드가 키이코드 메모리에 기억된 호텔 코드와 일치하는지를 판정한다. 그것이 일치하지 않을 경우, 프로그램은 블럭(282)(제6b도)으로 복귀하여 다른 키이의 삽입을 기다린다. 호텔코드가 일치하면, 프로그램은 기능 테이블(219)에 표시된 것과 같은 키이기능이 호텔통과 기능인지를 판정하는 시험블럭(706)으로 진행한다. 그것이 호텔통과 기능이 아닐경우, 프로그램은 블록(261)으로 진행하여 제6a 및 b도를 참고하여 전술한 바와 같이 실행된다. 키이기능이 호텔통과기능이면, 프로그램은 블럭(706)으로 부터 솔레노이드를 활성화 시켜 문을 열게하는 블럭(708)으로 진행한다음, 정지루틴(234)으로 진행한다. 상기와 같이, 호텔통과 키이는 호텔손님이 수영장, 오락실등과 같은 공동지역에 들어가도록 하는데 사용된다.The program for hotel passing function is shown in the flowchart of FIG. The program represented by the above flowchart is a part of the program represented by the flowchart of FIG. 6A. In particular, the flowchart of FIG. 6A is modified by inserting the flowchart of FIG. 18 between blocks 260 and 261. FIG. Turn. The program using the first character representing the control code to obtain a pointer or address for the location of the key code in the code memory proceeds to block 260 after the block 260. The test block 704 determines whether the hotel code above the key matches the hotel code stored in the key code memory. If it does not match, the program returns to block 282 (FIG. 6B) and waits for the insertion of another key. If the hotel codes match, the program proceeds to a test block 706 which determines whether the key function as shown in the function table 219 is the hotel passing function. If it is not a hotel passing function, the program proceeds to block 261 and is executed as described above with reference to FIGS. 6A and 6B. If the key function is a hotel passing function, the program proceeds from block 706 to block 708 which activates the solenoid to open the door and then to stop routine 234. As above, hotel pass keys are used to allow hotel guests to enter common areas such as swimming pools, recreation rooms, and the like.

추가기능 예컨대 비작동, 안전 A 및 안전B등은 제7도 내지 제14도의 플로우챠트를 참고하여 기술한 제1실시예의 상이한 키이 기능과 동일한 방식으로 서브루틴에 의하여 제공된다. 상기와 같이 제6b도의 프로그램이 블럭(276)에 도달했을때, 프로그램은 블럭(216)에 의하여 얻어지는 포인터에 대응하는 상기 레벨용 서브루틴으로 분기하다. 제2실시예의 추가 서브루틴에 관하여 기술하겠다. 제5도의 블럭(240)에 입력된 키이가 비작동 키이일경우, 프로그램은 제6b도의 블럭(276)에서 제19도의 블럭(720)으로 분기한다.Additional functions such as non-operation, safety A and safety B, etc. are provided by the subroutine in the same way as the functions of the different keys of the first embodiment described with reference to the flowcharts of FIGS. When the program of FIG. 6B reaches block 276 as described above, the program branches to the level subroutine corresponding to the pointer obtained by block 216. A further subroutine of the second embodiment will be described. If the key entered in block 240 of FIG. 5 is an inactive key, the program branches from block 276 of FIG. 6B to block 720 of FIG. 19.

비작동기능은 비상용 레벨이 키이코드 메모리에 있는 비상용레벨을 표시하는데 사용되며, 레벨을 비활성상태로 프로그램하는 효과를 갖는다. 정상 동작에서, 비작동기능은 비작동키이를 발생하는데 유용하지 않은데, 왜냐하면 그것은 기능을 갖지않기 때문이다. 그러나 1개이상의 레벨을 비작동 기능으로 프로그램하는 안전 목적에는 유용하다. 전술한 바와 같이, 기능 테이블과 키이 메모리내의 모든 8레벨은 특정기능을 할당 받아야만한다. 그렇지 않을 경우, 프로그램 키이는 무효이다. 그러므로 쇄정이 프로그램되고 8개의 상이한 활성 기능이하가 요망될때, 나머지 레벨은 비작동기능을 할당받는다. 부당한 입력이 비작동기능에 대응하여 우연히 부호화되는 키이에 의하여 시도될 경우에, 컴퓨터 프로그램은 에러 정지루틴으로 진행함으로써 반응한다. 비작동 기능이  선택된 레벨로 할당될때, 키이코드 메모리(217)내의 상기레벨은 모두 1로 부하된다. 이것은 특정 레벨을 위한 동작을 폐쇄시킨다. 비작동 키이가 자물쇠에 삽입되면, 마이크로컴퓨터는 제5, 6a, 6b의 플로우챠트를 참고로 하여 기술된 바와 같이 프로그램 제어하에서 동작한다. 제6b도의 블럭(276)에서 프로그램은 비작동 기능용 서브루틴으로 분기한다. 이것은 제19도의 플로우챠트로서 표시된다. 프로그램은 비작동 기능용 레벨코드를 처리하는 블럭(720)으로 진행한 다음 블럭(282)에서 에러 정지루틴으로 진행한다. 따라서 시스템은 대기상태에 놓이며 다른 키이가 삽입될 때까지 활성화 되지 않는다.The inactive function is used to indicate the emergency level in which the emergency level is in the keycode memory, and has the effect of programming the level as inactive. In normal operation, the inactive function is not useful for generating an inactive key because it has no function. However, it is useful for safety purposes, where one or more levels are programmed with non-operating functions. As mentioned above, all eight levels in the function table and key memory must be assigned a specific function. Otherwise, the program key is invalid. Therefore, when a lockout is programmed and less than eight different active functions are desired, the remaining levels are assigned inactive functions. If an invalid input is attempted by a key that is accidentally encoded in response to a non-operational function, the computer program responds by going to an error stop routine. When the inactive function is assigned to the selected level, the above levels in the keycode memory 217 are all loaded to one. This closes the operation for a particular level. When the inactive key is inserted in the lock, the microcomputer operates under program control as described with reference to the flowcharts of the fifth, sixa and sixb. In block 276 of FIG. 6B the program branches to the subroutine for non-operational functionality. This is shown as a flowchart of FIG. The program proceeds to block 720 which processes the level code for non-operational functions, and then to block 282 to the error stop routine. The system is therefore in a standby state and is not active until another key is inserted.

안전 목적을 위해서, 자물쇠는 상기와 같은 안전 A와 안전 B기능을 갖추도록 프로그램될 수도 있다. 개시과정을 참조하여 기술한 바와같이, 안전 (A 및 B)기능은 동시에 사용되어야만 하며, 단지 하나만이 프로그램키이에 제공된다면, 그 키이는 무효이며 프로그램을 운용하는데 비효율적이다. 안전(A 및 B)기능이록에 프로그램된다면 안전(A와 B) 키이는 논리 데드볼트와 실제 데드볼트에 무관하며 자물쇠를 열수있도록 한 허가된 자에 의하여 사용되어야 한다. 키이는 적당한 시이퀀스에 안전 A가 먼저 삽입된 다음, 소정시간 간격내에 안전B가 삽입되어야만 한다. 이것은 문을 열고, 자물쇠는 논리데드볼트로 세트된 상태로 유지될 것이다. 그러나, 메모리는 문을 여는 최종키이로서 안전 B키이를 기록할 것이다.For safety purposes, the lock may be programmed to have the above safety A and safety B functions. As described with reference to the initiation process, the safety (A and B) functions must be used at the same time, and if only one is provided to the program key, that key is invalid and inefficient to operate the program. If the safety (A and B) functions are programmed in the lock, the safety (A and B) keys must be used by an authorized person who can open the lock, independent of the logical deadbolt and the actual deadbolt. The key must be inserted with safety A first in the appropriate sequence and then with safety B inserted within a predetermined time interval. This will open the door and the lock will remain set to the logical deadbolt. However, the memory will record the safe B key as the final key to open the door.

안전 A 및 안전 B 키이를 갖춘 쇄정작동과 이들 서브루틴용 제어프로그램은 제20도와 21도의 플로우챠트를 참고하여 기술하겠다. 제5도의 블럭(240)에 입력된 키이가 안전 A키이라면, 프로그램은 제6b도의 블럭(276)에서 제20도의 블럭(730)으로 분기한다. 제20도는 안전 A키이용 프로그램 또는 서브루틴을 나타낸다. 블럭(730)에 논리 데드볼트가 세트되면 프로그램은 키이의 수신을 표시하는 황색 LED를 점등하는 블럭(732)으로 진행한 다음, 5초 타이머가 종료되었을 경우, 프로그램은 최종키이로 사용된 메모리로 부터 입력되는 안전 A를 소거하는 블럭(736)으로 진행한 다음, 정지루틴(234)으로 진행한다. 시험 블럭(734)에서 타이머가 종료되지 않았을경우, 프로그램은 새로운 키이가 삽입되었는지를 판정하는 시험블럭(738)으로 진행한다. 새로운 키이가 삽입되지 않았을 경우, 프로그램은 블럭(734)으로 복귀한다. 새로운 키이가 삽입되면, 프로그램은 블럭(240)으로 복귀하여 새로운 키이를 처리한다. 새로운 키이가 처리될때 프로그램은 키이 형태에 의하여 처리되지만 논리 데드볼트는 안전 A키이에 의하여 세트된다는 제약이 있다. 따라서 새로운 키이가 종업원 키이라면, 논리 데드볼트가 세트되기 때문에 문은 열리지 않을 것이다. 더우기, 다른 키이의 삽입은 최종키이로 사용되는 메모리로 부터 안전 A 키이 기록을 소거하는 효과를 갖는다. 새로운 키이가 블럭(734)에 의하여 판정된 바와 같이 타이머가 종료되기전에 삽입되지 않는다면, 프로그램은 상기와 같이 안전 A 입력을 소거하는 블럭(736)으로 진행한다.The lockout operation with safety A and safety B keys and the control programs for these subroutines will be described with reference to the flowcharts of FIGS. If the key entered in block 240 of FIG. 5 is the secure A key, the program branches from block 276 of FIG. 6B to block 730 of FIG. 20. 20 shows a safe A keying program or subroutine. When a logic deadbolt is set in block 730, the program proceeds to block 732, which lights up an amber LED indicating receipt of the key, and when the 5 second timer expires, the program enters the memory used as the last key. Proceeds to block 736 for erasing the safety A input from, and then to the stop routine 234. If the timer has not expired in test block 734, the program proceeds to test block 738 to determine if a new key has been inserted. If no new key has been inserted, the program returns to block 734. Once the new key is inserted, the program returns to block 240 to process the new key. When a new key is processed, the program is processed by the key type, but the logical deadbolt is set by the secure A key. So if the new key is an employee key, the door will not open because the logical deadbolt is set. Moreover, the insertion of another key has the effect of erasing the secure A key record from the memory used as the final key. If a new key is not inserted before the timer expires as determined by block 734, the program proceeds to block 736, which erases the safety A input as above.

시험블럭(738)에 의하여 판정된 바와같이 새로운 키이가 5초간격으로 삽입되고, 그것이 안전 B 키이일 경우, 프로그램은 제5도의 블럭(240)에서 제6b도으 ㅣ블럭(276)으로 진행할 것이다. 그런다음, 프로그램은 제21도의 안전 B 서브루틴으로 분기한다. 이 서브루틴에서, 블럭(750)은 논리데드볼트를 세트하고 프로그램은 시험블럭(752)으로 진행한다. 이 시험블럭은 입력된 최종키이가 안전 A키이인지를 판정한다. 그것이 안전 A키이가 아니면, 프로그램은 (황색 LED를 점등한 후에)정지루틴(234)으로 진행한다. 최종 키이가 안전 A키이일 경우, 프로그램은 안전 B키이가 개방 키이일때 솔레노이드를 활성화 하는 블럭(754)으로 진행한 다음, 개방 표시를 제공하도록 초록색 LED를 점등하는 블럭(756)으로 진행한 후, 타이머가 종료되었는지를 판정하는 시험 블럭(758)으로 진행한다. 타이머가 종료되지 않았으면, 프로그램은 노브가 회전되었는지를 판정하는 시험블럭(762)으로 진행한다. 노브가 회전되지 않았을 경우, 프로그램은 시험블럭(758)으로 복귀한다. 노브가 회전되었을경우, 프로그램은 정지루틴(234)으로 진행한다.As determined by the test block 738, a new key is inserted at 5 second intervals, and if it is a secure B key, the program will proceed from block 240 of FIG. 5 to block 276 of FIG. 6B. The program then branches to the safety B subroutine of FIG. In this subroutine, block 750 sets a logical deadbolt and the program proceeds to test block 752. This test block determines whether the last key entered is the safety A key. If it is not a safe A key, the program proceeds to the stop routine 234 (after turning on the yellow LED). If the final key is a safe A key, the program proceeds to block 754 to activate the solenoid when the safe B key is an open key, and then to block 756 to turn on the green LED to provide an open indication. Proceed to test block 758 to determine if the timer has expired. If the timer has not expired, the program proceeds to test block 762 which determines if the knob has been rotated. If the knob is not rotated, the program returns to test block 758. When the knob is rotated, the program proceeds to stop routine 234.

본 발명의 제3실시예는 제23도 내지 제31에 도시 되었다. 제3실시예는 제2실시예에서와 같이 자기 키이를 이용하는데, 키이상의 연결코드, 쇄정의 온-라인 프로그램, 키이상의 40비트 또는 64비트 코드를 가진 동작 추가동작 기능, 및 문 개방의 의사시간 기록을 특징으로 한다.A third embodiment of the present invention is shown in FIGS. 23 to 31. FIG. The third embodiment uses a magnetic key as in the second embodiment, which includes a connection code of more than a key, an on-line program of a decision, an operation additional operation function having a 40-bit or 64-bit code of more than a key, and the intention of opening a door. It features time recording.

제2실시예에서와 같이 자물쇠는 8개의 상이한 키이기능의 사용에 적합하다. 그러나 8개이상의 상이한 형태의 키이기능은 단지 8형태만이 한번에 자물쇠에 프로그래밍 될지라도 이용가능하다. 제2실시예에서 기술한 키이기능에 추가하여 다음과 같은 형태의 키이가 프로그램될 수 있다.As in the second embodiment, the lock is suitable for the use of eight different key functions. However, more than eight different types of key functions are available even if only eight types are programmed to the lock at a time. In addition to the key function described in the second embodiment, the following types of keys can be programmed.

키이형태 K, 사무실 잠금(latch)기능 : 사무실 하드웨어가 부차되었을때, 상기 기능은 솔레노이드와 잠금부분을 동작시켜 래치로써 하드에어를 어서트(assert)한다. 황색 LED는 잠김시이퀀스 동안 점등된다. 사무실 하드웨어가 부착되지 않았다면, 상기 기능 할당은 보조기능으로서 행하여진다.Key Form K, Office Latch Function: When the office hardware is attached, this function actuates the solenoid and the lock to assert the hard air with a latch. The amber LED lights up during the lock sequence. If no office hardware is attached, the function assignment is made as an auxiliary function.

키이형태 L, 사무실 개방(unlatch)기능 : 사무실 하드웨어가 부착되고 하드웨어가 이미 개방상태를 표시하지 않을때, 상기기능은 솔레노이드와 잠김 단자를 동작하여 언래치로써 하드웨어를 어세트한다. 초록색 LED는 개방 시이퀀스 동안에 점등된다. 하두에어가 이미 개방되었다면, 초록색 LED는 짧은 기간동안 점등된다. 사무실 하드웨어가 부착되지 않았다면, 상기 기능 할당은 보조기능으로서 행하여 진다.Key Type L, Office Unlatch Function: When office hardware is attached and the hardware is not already in the open state, the function operates the solenoid and the lock terminal to assign hardware by unlatch. The green LED lights up during the open sequence. If HaduAir is already open, the green LED will light up for a short time. If no office hardware is attached, the function assignment is made as an auxiliary function.

키이형태 M, 사무실 토글(toggle)기능 : 사무실 하드웨어가 부착되어 있다면, 상기 기능의 하드웨어 제한 센서의 상태에 따라 사무실 잠금 기능 또는 사무실 개방기능중 어느하나로 작동한다. 사무실 하드웨어가 부착되지 않았다면 상기 기능할당은 보조기능으로서 행동한다.Key Type M, Office Toggle Function: If office hardware is attached, it operates either as an office lock function or an office open function depending on the state of the hardware limit sensor of the function. If no office hardware is attached, the function assignment acts as a secondary function.

키이형태 N, 안전 C : 상기 기능은 논리 데드볼트는 무사하지만 실제데드볼트는 무사하지 않는다. 추가적 소프트 웨어 스위치가 상기 기능을 논리 데드볼트를 어서트하고 실제데드볼트를 바이패스 하도록 하는데 이용된다. 이것을 전술한 안전 A와 안전 B기능과 구별되는 단일 키이카드이다.Key Type N, Safety C: The above function is logical dead bolt but not actual dead bolt. An additional software switch is used to assert the logic deadbolt and bypass the actual deadbolt. This is a single key card which is distinguished from the safety A and safety B functions described above.

키이형태 O, 저 (low)쇄정 토글 : 이 기능은 이기능의 레볼보다 더 낮은 모든레벨을 쇄정한다. 이 기능이 실행될때, 기능할당 테이블에서 숫자적으로 더 낮은 다른 레벨은 금지된다. 적색 LED는 금지상태가 셋트되고 저 밧데리 표시를 선점할 경우 표시를 위해 사용된다.Key Type O, Low Detect Toggle: This function resets all levels lower than this function's level. When this function is executed, other levels that are numerically lower in the function assignment table are prohibited. The red LED is used for indication when the prohibition status is set and preempt the low battery indication.

키이형태 P, 고(high)쇄정토글 : 이 기능은 레벨보다 더 높은 모든 레벨을 쇄정한다. 이 기능이 실행될때 기능할당 테에블에서 숫적으로 더 높은 다른 레벨은 금지된다. 적색 LED는 금지상태가 셋트되고 저 밧데리 표시를 선점할 경우 표시를 위해 사용된다.Key Type P, High Lock Toggle: This function locks all levels higher than the level. When this function is executed, any other level higher in the function assignment table is prohibited. The red LED is used for indication when the prohibition status is set and preempt the low battery indication.

키이형태 Q, 재정의 (redefinition)(프로그래밍)키이 : 이 키이는 호텔코드 문자대신에 4비트 런 모드문자를 갖는다 재정의 키이는 쇄정을 온-라인 프로그래밍하는데 사용된다.Key Type Q, Redefinition (Programming) Key: This key has a 4-bit run mode character instead of a hotel code character. The redefine key is used for on-line programming of a lock.

키이형태 R, 할당키이 : 이키이는 호텔코드와 런모드를 재할당하는데 사용된다.Key Type R, Assignment Key: This key is used to reassign Hotel Code and Run Mode.

아래에서 상세히 기술되는 바와같이, 기능할당은 동작상태로 공헌하는 자물쇠에 의하여, 즉 온-라인 프로그램에 의하여 변환가능하다. 이것은 재정의 키이카드에 의하여 행하여진다. 키이카드가 일정한 요건 시험을 만족하지 않는한, 기능할당에서의 변화는 행하여 지지 않는다. 그것을 비상레벨할당 또는 개방비트 할당의 변환을 허용하지 않는다.As described in detail below, the function assignment is convertible by means of a lock contributing to the operating state, ie by an on-line program. This is done by redefining keycards. No change in function assignment will be made unless the key card meets certain requirements tests. It does not allow conversion of emergency level assignments or open bit assignments.

상기 특정에 추가하여 제3실시예는 문 개방히스토리 즉 문 개방의 의사시간 기록을 위한 시간 베이스 특징으로 제공한다. 추가 하드웨어가 쇄정 개방 연표가 수일동안 추적이 가능하도록 제공된다. 상기 시간 베이스를 제공하는데 필요한 회로는 223도에 도시되었다. 제3실시예에서 마이크로컴퓨터 쇄정 제어회로는 제23도를 참고로하여 아래에서 기술한 변화를 가지며 제3a도를 참고로 하여 상기에서 기술한 것과 동일하다.In addition to the above specification, the third embodiment provides a door opening history, that is, a time base feature for pseudo time recording of the door opening. Additional hardware is provided to allow the unlocked timeline to be tracked for several days. The circuit required to provide the time base is shown at 223 degrees. In the third embodiment, the microcomputer decision control circuit has the changes described below with reference to FIG. 23 and is the same as described above with reference to FIG. 3A.

제23도에 도시된 바와 같이, 외부클록은 마이크로컴퓨터(112)와 접속된다. 클록(820)은 외부주파수 결정회로(822)를 갖는 오실레이터와 2진 분재기능을 실행하는 리플(ripple) 카운터로 구성된다. 블럭(820)은 분당 1펄스의 비율로 출력단(824)에 정 진행(positive going) 펄스를 발생한다. 상기 출력단 (824)은 마이크로컴퓨터(112)의 SI 입력핀관

Figure kpo00002
입력핀에 직접 접속된다. 또한 출력단(824)은 조정 다이오드(826)를 통하여 마이크로컴퓨터의 개시입력핀(START)과 접속된다. 마이크로컴퓨터의 리셋트 스트로브 출력핀(RESETSTROBE)은 저항-용량 회로망(828)을 통하여 클록(820)의 레셋트 입력단에 접속된다. 개시 스위치(58)는
Figure kpo00003
입력핀과 직접 접속되며, 조정 다이오드(832)를 통하여 마이크로컴퓨터의 개시 입력핀(START)와 접속된다.As shown in FIG. 23, the external clock is connected to the microcomputer 112. As shown in FIG. The clock 820 is composed of an oscillator having an external frequency determining circuit 822 and a ripple counter for performing a binary bonsai function. Block 820 generates a positive going pulse at output stage 824 at a rate of 1 pulse per minute. The output terminal 824 is an SI input pin tube of the microcomputer 112
Figure kpo00002
It is directly connected to the input pin. The output terminal 824 is also connected to the start input pin START of the microcomputer through the adjustment diode 826. The reset strobe output pin (RESETSTROBE) of the microcomputer is connected to the reset input terminal of the clock 820 through the resistor-capacitive network 828. Initiation switch 58
Figure kpo00003
It is directly connected to the input pin and is connected to the start input pin START of the microcomputer through the regulating diode 832.

일반적으로 실시간 클록(820)은 히스토리 버퍼에 쇄정개방의 기록을 위한 시간 베이스를 제공하도록 마이크로컴퓨터(112)에 의하여 이용된다. 상기 목적을 위하여, 시간신호는 정해진 간격 대략 4분마다 기록된다. 클록펄스가 클록(820)의 출력(824)에 발생할때, 클럭펄스는 다이오드(826)를 통하여 개시입력핀(START)에 인가되며 마이크로컴퓨터는 대시상태로부터 온(on) 또는 런상태로 변환된다. 또한, 클럭펄스는 SI와

Figure kpo00004
입력핀에 인가된다.
Figure kpo00005
입력은 직렬버퍼플러그를 다음에 기술하는 바와 같이 4번째 펄스를 받을 때마다 세트되도록 한다. SI입력은 마이크로컴퓨터가 리셋트펄스를 리셋트 스트로브 출력핀으로부터 클록(820)의 리셋트 입력까지 송신하도록 한다. 상기 리세트 펄스는 클록 카운터를 효율적으로 소거하여 그것이 다음 1분동안의 출력 클록펄스를 다시 계수하도록 한다. 동시에 클록출력(824)이 낮아지고 마이크로컴퓨터(112)는 대기상태로 변환된다. 키이 삽입에 의하여 발생하는 마이크로컴퓨터용 개시신호는 클록(820)에 의하여 발생하는 개시신호 전반에 걸쳐서 처리가 행해진다. 이것을 위하여, 키이스위치(58)가 닫히므로서 발생하는 논리적인 고신호는 다이오드(832)를 통하여 개시 입력핀(START)에 인가되며 동시에 클록신호에 대하여 키이스위치 우선순위를 부여하는 차단요구 신호로서
Figure kpo00006
단자에 인가된다. 결과적으로, 키이가 클록펄스 간격동안 삽입되면, 키이는 통상방식으로 처리될 것이며, 키이데이터의 처리중에 클록 펄스는 유지될 것이며, 클록은 키이데이터 처리를 완료한 후까지 리셋트되지 않을 것이다. 리세트 펄스 후에 마이크로컴퓨터는 대기상태로 복귀할 것이다.The real time clock 820 is generally used by the microcomputer 112 to provide a time base for writing open to the history buffer. For this purpose, time signals are recorded approximately every four minutes at defined intervals. When a clock pulse occurs at the output 824 of the clock 820, the clock pulse is applied to the start input pin START through the diode 826 and the microcomputer is switched from the dash state to the on or run state. . In addition, the clock pulse is SI and
Figure kpo00004
It is applied to the input pin.
Figure kpo00005
The input causes the serial buffer plug to be set each time a fourth pulse is received, as described below. The SI input causes the microcomputer to send a reset pulse from the reset strobe output pin to the reset input of the clock 820. The reset pulse effectively erases the clock counter so that it counts the output clock pulses for the next minute again. At the same time, clock output 824 is lowered and microcomputer 112 transitions to a standby state. The microcomputer start signal generated by the key insertion is processed throughout the start signal generated by the clock 820. For this purpose, a logical high signal generated by closing the key switch 58 is applied to the start input pin START through the diode 832 and at the same time as a blocking request signal which gives the key switch priority to the clock signal.
Figure kpo00006
Is applied to the terminal. As a result, if the key is inserted during the clock pulse interval, the key will be processed in the normal manner, the clock pulse will be maintained during the processing of the key data, and the clock will not be reset until after the key data processing is completed. After the reset pulse the microcomputer will return to standby.

제3실시예의 사무실 쇄정 기능을 수행하기 위하여, 마이크로컴퓨터(112)는 다음과 같은 추가적인 핀 접속이 제공된다. 핀(A)은 스위치(852)를 통하여 아래에 접속되어 사무실 자물쇠와 접속하는데 사용되게 한다. 자물쇠가 잠김상태에 있을 때, 하이(high)가 되는 잠김 검출기(854)는 입력핀(B)과 접속된다. 비개방검출기(856)는 입력핀(C)과 접속되고 자물쇠가 비잠김 상태에 있을때 하이로 된다. 또한 사물실 쇄정 볼트의 작동기의 활성화를 제어하기 위해서 4개의 출력핀이 제공된다. 이러한 출력핀들은 비잠김 스트로브 핀(ULS), 비잠금 유지핀(ULH),잠김 스트로브 핀(LS) 및 잠김 유지핀(LH)이다. 이들 출력핀은 전술한 바와같이 쇄정/개방 출력으로서의 기능을 하며, 풀-인(pull-in)모드와 호울드-인(hold-in)모드에서 솔레노이드(66)의 여자를 제어하는 출력핀(04,05)과 접속하는데 사용된다. ULS핀이 참일때, ULH핀은 초기작동중에 동시에 참이 되며, 핀(ULS)에서의 비잠김스트로브 신호는 단주기이며, 그것이 거짓이 된후에, 핀(ULH)에서의 비잠김 유지신호는 소정시간 동안 참으로 남아있어 비잠김상태가 성취되도록 한다.In order to perform the office lockout function of the third embodiment, the microcomputer 112 is provided with the following additional pin connections. Pin A is connected below via switch 852 to be used to connect with the office lock. When the lock is in the locked state, the lock detector 854 which is high is connected to the input pin B. The open detector 856 is connected to the input pin C and goes high when the lock is in the unlocked state. Four output pins are also provided to control the activation of the actuator of the lockout bolt. These output pins are Unlocked Strobe Pins (ULS), Unlocked Holding Pins (ULH), Locked Strobe Pins (LS), and Locked Holding Pins (LH). These output pins function as a lock / open output as described above, and output pins for controlling the excitation of the solenoid 66 in pull-in mode and hold-in mode. 04,05). When the ULS pin is true, the ULH pin will be true at the same time during initial operation, and the non-locking strobe signal at pin (ULS) is short-lived, and after it is false, the non-locking hold signal at pin (ULH) will be It remains true for the time to allow the unlocked state to be achieved.

이와 유사하게, LS핀이 참이될때 LH핀은 동시에 참이된다. 잠김 스트로브 신호는 단주기의 펄스이며그것이 거짓이 된 후에, 핀(LH)에서의 잠김 유지신호는 소정 시간 동안 참으로 남아있어 잠김상태가 성취 되도록 한다. 잠김과 비잠김 동작상태를 갖는 사무실 자물쇠는 다양한 형태를 갖는다. 예컨대 제2a와 b도를 참고로 기술한 형태의 자물쇠는 비잠김 상태 즉 개방상태로 쇄정핀을 유지하기 위한 개방핀과, 잠김상태로 쇄정핀을 유지하기 위한 쇄정핀과 함께 쇄정핀(64)으로 사용될 수도 있다. 개방핀은 개방 솔레노이드에 의하여 쇄정핀을 풀도록 작동되며 귀환 스프링에 의하여 쇄정핀을 결합하도록 작동된다. 이와 유사하게, 자물쇠에는 잠김 솔레노이드에 의하여 쇄정핀을 풀도록 작동되며, 귀환 스프링에 의하여 쇄정핀을 결합하도록 작동되는 잠김 핀이 제공된다. 그런 배열은 쇄정핀이 솔레노이드 또는 다른 작동기를 여자하지 않고서 확장(쇄정) 또는 수축(개방)위치, 즉 쇄정 또는 개방상태에서 유지되도록 한다.Similarly, the LH pin is true at the same time when the LS pin is true. The locked strobe signal is a short-period pulse and after it goes false, the locked hold signal at pin LH remains true for a predetermined time to allow the locked state to be achieved. Office locks that are locked and unlocked have a variety of forms. For example, a lock of the type described with reference to FIGS. 2A and 2B is a locking pin 64 with an opening pin for keeping the locking pin in an unlocked state, that is, an open state, and a locking pin for retaining the locking pin in the locked state. Can also be used as. The opening pin is operated to release the locking pin by the open solenoid and to engage the locking pin by the return spring. Similarly, the lock is provided with a locking pin which is operated to release the locking pin by the locking solenoid and which is operated to engage the locking pin by the return spring. Such an arrangement allows the clamping pin to be held in an extended (locked) or contracted (opened) position, i.e. locked or open, without exciting the solenoid or other actuator.

따라서, 자물쇠가 쇄정 및 개방상태 사이에서 그의 상태를 변경하도록 작동될 때를 제외하고 작동기는 밧데리상의 소정의 드레인 전류를 부과하지 않는다. 쇄정 및 개방 상태를 갖춘 다른 기구가 작동기를 여자하지 않고서 본래부터 잠김 또는 비잠김 위치 중 어느 하나에 유지되는 쇄정핀을 작동하는 리드 스크루우를 구동하는 모터등이 이용될 수도 있다. 따라서, 핀(04,05)과 핀(ULS,ULH,LS,LH)은 사무실 자물쇠를 쇄정 및 개방하기 위한 특정기구에 따라 이용될 것이다.Thus, the actuator does not impose any drain current on the battery except when the lock is operated to change its state between the lock and open states. A motor or the like that drives the lead screw to operate the locking pin that is inherently held in either the locked or unlocked position may be used without other mechanisms having a locked and open state engaging the actuator. Thus, pins 04,05 and pins ULS, ULH, LS, LH will be used according to the specific mechanism for locking and opening the office lock.

또한, 3실시예의 특징을 수행하기 위하여 마이크로컴퓨터(112)의 RAM은 제24도에 도시된 바와같이 추가적 레지스터를 갖추고 있다. 클록(820)에 의하여 제공되는 시간 베이스와 접속아혀 사용하기 위하여, RAM은 직렬 버퍼플레그(838) 3 디지트계수기(842), 및 히스토리 버퍼(844)를 포함한다. 또한, RAM은 하이 셀 레지스터(845), 로우 셀 레지스터(847), 호텔 코드 레지스터(849), 및 재정의 플레그(848)를 포함한다. 이들 레지스터와 플레그의 용도는 다음에 상세히 기술하겠다. 또한 RAM은 상기와 같은 기능할당을 위해 사용될 때 재정의 키이에 의하여 할당되는 4비트 문자를 유지하는 런모드 레지스터(846)를 포함한다. 런모드 레지스터의 4비트는 다음과 같다. 비트(0)는 저밧데리 기능의 액션을 결정한다. 비트가 로우로 셋트될 때, 종업원 키이는 상기와 같이 기능한다. 즉, 저밧데리 상태와 4키이가 삽입된 후에, 키이는 문을 열도록 2회 삽입되어야만 한다. 0비트가 하이일때, 키이는 밧데리 상태가 정정될 때까지 문을 열지 않는다. 비트 0는 "괘정"비트라 부른다. 런모드 문자의 비트 1은 안전 C기능의 안전 한계와 부적당한 데이터를 내장한 완전 판독기이 카드의 식별을 결정한다. 비트 1은 "C볼트"비트로서 간주된다. 그 비트가 로우일 경우, 부적합한 키이데이터는 부적합한 키이의 이전 삽입수가 전술한 보호 모드로 쇄정을 하지 못할 경우, 황색 LED의 단일 스트로브로 확인되며, 충분한 사이클 회수가 보장되고 키이의 즉각적인 재삽입이 무효하게 된다.In addition, the RAM of the microcomputer 112 has additional registers as shown in FIG. 24 to carry out the features of the three embodiments. For use in conjunction with the time base provided by the clock 820, the RAM includes a serial buffer flag 838, a 3-digit counter 842, and a history buffer 844. The RAM also includes a high cell register 845, a low cell register 847, a hotel code register 849, and an override flag 848. The use of these registers and flags will be described in detail later. The RAM also includes a run mode register 846 that holds the 4-bit characters assigned by the redefinition key when used for such function assignment. The four bits of the run mode register are: Bit (0) determines the action of the low battery function. When the bit is set low, the employee key functions as above. That is, after the low battery condition and 4 keys are inserted, the keys must be inserted twice to open the door. When bit 0 is high, the key does not open the door until the battery condition is corrected. Bit 0 is called the "rule" bit. Bit 1 of the run-mode character determines the card's identification by the full reader, which contains the safety limits of the safety C function and inappropriate data. Bit 1 is considered as a "C volt" bit. If the bit is low, invalid key data will be identified as a single strobe with an amber LED if the previous insert of an invalid key fails to reset to the protection mode described above, ensuring sufficient cycle count and immediate reinsertion of the key. Done.

또한, 이러한 비트가 로우일 경우, 더 낮은 레벨의 안전이 안전 C기능으로 제공되어 논리 대드볼트는 무시되고, 실제데드볼트가 명령된다. 비트 1이 하이일 경우, 더 높은 레벨의 안전이 제공되어 부적합한 키이는 오퍼레이터로의 어떤 귀환을 제공하지 않는다. 즉, 어떤 LED 신호도 없다. 또한 안전 C기능은 문 개방이 논리 데드볼트를 클리어시키지 않는다는 것을 제외하면 비상 키이와 동일하게 동작한다. "코드 64" 비트로 표시된 런모드 문자의 비트 2는 2진 키이의 데이터 포맷을 결정하지만, 펀치카드데이터 포맷을 변경시키지 않는다. 이러한 비트가 로우일 경우, 키이데이터는 제2실시예를 참조로 하여 설명된 40비트코드에 대해 설립된 방식으로 해석된다. 이러한 비트가 하이일 경우, 제3실시예의 64비트 포맷이 이용된다. 런모드 문자의 비트3은 쇄정 엔트리 히스토리의 범위 및 분포를 결정한다. 그것은 "두실시간 클럭(DO RTC)" 비트로 표시된다. 이러한 비트가 로우일 경우, 자물쇠는 최종 15엔트리의 각각에 결합된 모사 확인수 및 반복엔트리 카운터 및 인식코드를 위한 메모리를 배당한다. 이러한 비트가 하이일 경우, 전체의 히스토리는 15에서 8로 감소되며, 모든 엔트리는 관련 키이의 최종 엔트리의 시간에 관련되어 판독하는 3문자 카운터를 갖는다.In addition, if these bits are low, a lower level of safety is provided to the safety C function so that the logic deadbolts are ignored and the actual deadbolts are commanded. If bit 1 is high, a higher level of safety is provided so that an inappropriate key does not provide any return to the operator. That is, there is no LED signal. The safety C function also works the same as the emergency key, except that opening the door does not clear the logic deadbolt. Bit 2 of the run mode character indicated by the "code 64" bit determines the data format of the binary key, but does not change the punch card data format. If this bit is low, the key data is interpreted in the manner established for the 40-bit code described with reference to the second embodiment. If this bit is high, the 64-bit format of the third embodiment is used. Bit 3 of the runmode character determines the range and distribution of the locked entry history. It is represented by the "Dual Time Clock (DO RTC)" bit. If these bits are low, the lock allocates memory for the simulated checks and repeat entry counters and recognition codes associated with each of the last 15 entries. If this bit is high, the entire history is reduced from 15 to 8, and every entry has a three character counter that reads in relation to the time of the last entry of the associated key.

제25 내지 제31도의 플로우 챠트를 참고로 하여 제3실시예의 동작과 특징을 설명할 것이다. 제3실시예의 개시절차는 제17a 및 b도를 참조로 하여 설명된 제2실시예와 동일하다. 개시절차후에 자물쇠는 사용준비 상태에 있고 자물쇠에 페이즈된 키이중 어느 하나에 의해 동작될 수 있다. 소정의 키이를 자물쇠에 삽입시킴에 따라 마이크로컴퓨터는 키이로부터 판독된 코드에 따라 자물쇠를 제어한다. 페이즈-인된 모든 키이의 프로그램 제어는 하기에 설명된 것을 제외하고 제2실시예를 참고로 설명한 제5도, 제6a 및 b도의 플로우챠트에 의해 표시되어 있다. 제5도의 플로우챠트에 의해 표시된 프로그램은 런모드 문자의 비트 2(코드 64비트)가 하이일 경우 블럭(252)이 키이의 취출에 대한 16문자를 입력시키고 기억시키도록 수정된다. 이것은 64비트 포멧을 가능하게 한다. 코드 64비트가 로우일 경우, 40비트 포맷이 가능하고 제5도의 프로그램은 불변하게 된다. 이러한 제3실시예에서 제6a 및 b도의 플로우 챠트에 의해 표시된 프로그램은 하기에 설명된 바와같이 수정된다.The operation and features of the third embodiment will be described with reference to the flowcharts of FIGS. 25 to 31. FIG. The starting procedure of the third embodiment is the same as that of the second embodiment described with reference to FIGS. 17A and 17B. After the initiation procedure, the lock is ready for use and can be operated by either of the keys phased on the lock. As a given key is inserted into the lock, the microcomputer controls the lock according to the code read from the key. Program control of all phased-in keys is indicated by the flowcharts of Figs. 5, 6a and b described with reference to the second embodiment except as described below. The program indicated by the flowchart of FIG. 5 is modified such that block 252 inputs and stores 16 characters for the retrieval of the key when bit 2 (code 64 bits) of the run mode character is high. This enables 64-bit format. When 64 bits of code are low, a 40-bit format is possible and the program of FIG. 5 remains unchanged. In this third embodiment, the program indicated by the flowcharts of FIGS. 6A and 6B is modified as described below.

제1코드가 종전에 발행된 키이의 키이코드와 일치하지 않을 경우, 새로운 키이가 그의 기능을 수행하도록 하기 위해, 키이를 유효하게 하는 수단이 메모리의 또다른 코드에 의해 제공된다. 제6a 및 b도를 참조로하여 기술한 제2실시예에서 손님키이와 같은 새로운 키이가 제1코드 및 제2코드를 맡게된다. 제2코드는 그러한 특별한 키이를 위한 새로운 키이코드이고 처음 사용된 후에 키이가 자물쇠를 개방시키도록하는 자물쇠의 키이코드 메모리에 기억되어야만 한다. 키이 상의 제1코드는 이전 손님 키이와 같이 앞서 언급한 키이에 할당된 키이코드이다. 제6a 및 b도를 참조로 하여 기수한 제2실시예에서, 처음으로 사용된 새로운 키이는 제1코드가 이전 키이에 의해 키이코드 메모리에 이전에 기억된 코드와 일치할 경우 자물쇠를 개방시킬 것이다.If the first code does not match the keycode of the previously issued key, the means for validating the key is provided by another code in memory so that the new key performs its function. In the second embodiment described with reference to Figs. 6A and 6B, a new key, such as a guest key, assumes the first code and the second code. The second code is a new keycode for that particular key and must be stored in the lock's keycode memory that allows the key to open the lock after first use. The first code on the key is the key code assigned to the aforementioned key as the previous guest key. In the second embodiment, which is radiated with reference to FIGS. 6A and 6B, the new key used for the first time will open the lock if the first code matches the code previously stored in the keycode memory by the previous key. .

그러나 예를들어 주어진 객실에 대해 이전 손님키이에게 발행된 손님키이가 자물쇠에 키이를 계속 삽입시키지 않을 경우, 키이코드 메모리에 기억된 키이코드는 자물쇠에 사용된 최종 키이의 삽입에 의해 기입된것과 동일한 상태로 남아있게 된다. 따라서 제2실시예에서 제1코드나 제2코드가 키이코드 메모리에 기억된 코드와 일치하지 않으므로 비동작 상태로 있게 되는 것이 가능하다. 이러한 것은 제1코드외의 각각의 새로운 발행 키이 상의 적합한 링크코드의 제공에 의해 최소로 된다. 링크코드는 제1코드가 발생된 키이에 앞서 발생된 키이의 키이코드이이다. 링크코드는 최종 발행시키의 바로 다음에 발생된 키이의 코드로 하는 것이 바람직하다. 이러한 링크코드의 특징은 런모드 문자의 코드 64비트가 하이일 경우에만 이용가능하며 이것은 64비트 포맷이 이용된다는 것을 의미한다. 링크코드 특징을 가진 자물쇠의 동작을 제25a 및 b도를 참조로 하여 설명할 것이다.However, for example, if a guest key issued to a previous guest key for a given room does not continue to insert the key in the lock, the key code stored in the keycode memory is the same as the one entered by the insertion of the last key used in the lock. It remains in the state. Therefore, in the second embodiment, since the first code or the second code does not match the code stored in the keycode memory, it is possible to be in an inoperative state. This is minimized by providing a suitable link code on each new issue key other than the first code. The link code is the key code of the key generated before the key where the first code is generated. The link code is preferably the code of the key generated immediately after the last issue. This link code feature is only available when code 64 bits of the run mode character is high, which means that the 64-bit format is used. The operation of the lock with the link code feature will be described with reference to FIGS. 25A and B. FIG.

제25a 및 b도의 플로우챠트에 의해 표시된 프로그램은 제6a 및 b도의 플로우챠트에 의해 표시된 것과 유사하다. 그러나, 그 프로그램은 키이상의링크코드의 이용dmf 위해 제공된다는 점에 있어서는 다르다. 제23a 및 b도의 프로그램은 키이코드 메모리의 상이한 레벨에서 페이즈-인된 상이한 키이에 의해서 자물쇠의 동작에 사용된다. 키이 데이터의 유효판독을 포함할시에 제5도를 참고로 하여 설명하였듯이, 프로그램은 제5도의 블럭(257)에서 제25a도의 블럭(260)으로 진행한다. 제25a 및 b도의 프로그램 블럭은 동일한 참조문자가 사용된 제6a 및 6a도의 프로그램 단계와 동일하다).블럭(260)의 프로그램 단계는 키이코드 메모리 (217)에 기억된 키이코드의 위치용 포인터 또는 어드레스를 얻기위한 메모리의 기능 테이블(219)에서 레벨코드를 나타내는 제1문자를 사용한 다음, 테스트 블럭(260A)은 키이의 제2코드가 키이코드 메모리에 기억된 코드와 일치하고, 후자코드가 1이 아닌가를 결정한다. 그러한 경우, 프로그램은 에러카운터를 클리어시키는 블럭(274)으로 진행한 다음 블럭(276)으로 진행한다. 이 시점에서 프로그램은 포인터에 해당하는 레벨을 위한 서브루틴으로 분기된다.The program indicated by the flowcharts of FIGS. 25A and B is similar to that indicated by the flowcharts of FIGS. 6A and b. However, the program differs in that it is provided for use of the link code above the key. The programs of FIGS. 23A and B are used for the operation of the lock by different keys phased in at different levels of keycode memory. As described with reference to FIG. 5 when the key data includes valid reading, the program proceeds from block 257 of FIG. 5 to block 260 of FIG. 25A. The program blocks in Figs. 25A and B are the same as the program steps in Figs. 6A and 6A in which the same reference characters are used. The program steps in the block 260 are pointers for the positions of key codes stored in the keycode memory 217, or After using the first character representing the level code in the function table 219 of the memory for obtaining the address, the test block 260A matches the code in which the second code of the key is stored in the key code memory, and the latter code is 1. Determine whether or not. In such a case, the program proceeds to block 274 which clears the error counter and then to block 276. At this point the program branches to the subroutine for the level corresponding to the pointer.

시험블럭(260A)에서 응답이 아니오일 경우, 프로그램은 최종 키이가 리페이즈 키이인가를 결정하는 시험블럭(261)으로 진행한다. 리페이즈 키이일 경우, 프로그램은 시험블럭(264)으로 진행하고, 그렇지 않을 경우, 프로그램은 키이의 제1코드가 키이코드 메모리에 기억된 코드와 일치하는가를 결정하는 시험블럭(262)으로 진행한다. 일치할 경우, 프로그램은 시험블럭(264)으로 진행한다. 일치하지 않은 경우, 프로그램은 키이의 링크코드가 키이코드 메모리에 기억된 키이코드와 일치하는가를 결정하는 시험블럭(262A)으로 진행한다. 링크코드가 키이코드와 일치하지 않을 경우, 프로그램은 에러 카운터(239_를 증가시키는 시험블럭(282)으로 진행한 다음, 시험블럭(284)은 에러 계수가 8보다 큰가를 결정한다. 8보다 크지않은 경우, 프로그램는 시스템을 대기상태로 인도하여 다음 키이를 위해 대기하는 정지 루틴(234)으로 진행한다. 에러 계수가 8보다 클경우, 블럭(288)은 5초가 경과할 때까지 제5도의 블럭(252)에 의해 키이로부터 데이터이 판독을 방지하기 위해서 5초 동안의 상태제어 메모리(223)에서 지연 타이머를 셋트시킨다.If the answer to test block 260A is NO, then the program proceeds to test block 261 to determine if the last key is a phase key. If the key is a phase key, the program proceeds to test block 264, otherwise the program proceeds to test block 262 which determines whether the first code of the key matches the code stored in the key code memory. . If there is a match, the program proceeds to test block 264. If it does not match, the program proceeds to test block 262A which determines whether the key's link code matches the key code stored in the key code memory. If the link code does not match the key code, the program proceeds to test block 282 which increments error counter 239_, and then test block 284 determines whether the error coefficient is greater than 8. If not, the program takes the system to standby and proceeds to the stop routine 234, which waits for the next key .. If the error count is greater than 8, block 288 blocks of FIG. 5 until 5 seconds have elapsed. 252 sets a delay timer in state control memory 223 for 5 seconds to prevent data from being read from the key.

시험블럭(262A)에서, 키이의 링크코드가 키이코드 메모리에 기억된 코드와 같을 경우, 프로그램은 시험블럭(264)으로 진행한다. 이 시점으로부터, 블럭(264, 266,278,280,234,268,270,274 및 276)에 의해 표시된 프로그램은제6a 및 b도를 참조로 하여 상기에 설명된 것과 동일하다. 프로그램은 링크코드 특징에 대해 다음과 같이 요약될 수 있다. 키이의 제2코드가 키이코드 메모리와 일치하고 모두 1이 아닐경우, 프로그램은 그 키이에 대응하는 레벨용 서브루틴으로 진행한다. 그렇지 않고 키이의 제1코드 메모리와 일치할 경우 제2코드는 키이코드 메모리로 기입되고, "새로운" 플래그가 세트되며, 프로그램은 그 키이에대응하는 레벨용 서브루틴으로 진행한다. 제1코드가 메모리와 일치하지 않고 링크코드가 메모리와 일치할 경우, 동일한 결과는 제1코드가 메모리와 일치할 경우와 같이 얻어진다. 키이코드의 어느것도 메모리와 일치하지 않을 경우, 에러 카운터는 증가되고 쇄정은 정지 루틴으로 진행한다.In the test block 262A, if the link code of the key is the same as the code stored in the key code memory, the program proceeds to the test block 264. From this point in time, the program represented by blocks 264, 266, 278, 280, 234, 268, 270, 274 and 276 is the same as described above with reference to Figures 6a and b. The program can be summarized as follows for the linkcode feature. If the second code of the key coincides with the keycode memory and is not all 1's, the program proceeds to the level subroutine corresponding to that key. Otherwise, if the key matches the first code memory of the key, the second code is written to the key code memory, the "new" flag is set, and the program proceeds to the level subroutine corresponding to that key. If the first code does not match the memory and the link code matches the memory, the same result is obtained as if the first code matches the memory. If none of the keycodes match the memory, the error counter is incremented and the reset proceeds to the stop routine.

프로그램이 제25b도의 블럭(276)에 도착할 경우, 프로그램은 블럭(260)에 의해 얻어진 포인터에 대응하는 레벨용 서브루틴으로 분기된다. 제2실시예에서 기술된 것과 동일한 키이 기능이 제3실시예에 사용될 수도 있다. 제2실시예를 참고로 하여 기술된 키이 기능을 위해, 서브루틴은 하기와 같은 것을 제외하고는 이러한 제3실시예를 위해 동일하게 남게된다. 제9도의 서브루틴은 블럭(370,374,376,372 및 234)을 소거하고 그 위치에 제29도의 서브루틴을 대치시킴으로써 변경된다. 제10도의 서브루틴은 블럭(392,396,398 및 234)을 소거하고 제29도의 서브루틴을 대치시킴으로써 변경된다. 제11도의 서브루틴은 블럭(414,416,412,418 및 234)을 소거하고 제29도의 서브루틴을 대치시킴으로써 변경된다. 제18도의 서브루틴은 블록(708 및 234)을 소거하고 제29도의 서부루틴을 대치시킴으로써 변경된다.When the program arrives at block 276 of FIG. 25B, the program branches to the level subroutine corresponding to the pointer obtained by block 260. FIG. The same keys as described in the second embodiment may be used in the third embodiment. For the key function described with reference to the second embodiment, the subroutine remains the same for this third embodiment except as follows. The subroutine of FIG. 9 is modified by erasing blocks 370, 374, 376, 372 and 234 and replacing the subroutine of FIG. The subroutine of FIG. 10 is changed by erasing blocks 392, 396, 398, and 234 and replacing the subroutine of FIG. The subroutine of FIG. 11 is changed by erasing blocks 414, 416, 412, 418 and 234 and replacing the subroutine of FIG. The subroutine of FIG. 18 is changed by erasing blocks 708 and 234 and replacing the western routine of FIG.

또한 본 제3실시예는 사무실 토글, 사무실 개방, 사무실 잠금, 안전 C, 로우 쇄정 토글, 및 하이 쇄정 토글로서 여기에 언급된 부가적인 키이기능 또는 형태를 포함한다. 또한 보조 키이 기능을 위한 상이한 서브루틴을 포함한다. 여러키이 기능을 위한 또다른 서브루틴을 포함한다. 이렇나 부가적인 키이 기능 및 쇄정 동작을 유효하게 하기 위한 해당 프로그램 서브루틴에 대해 기술하기로 한다 사무실 키이 기능은 사무실의 문에 공통적으로 사용된 쇄정 동작을 위해 제공된다. 이러한 쇄정장치는 잠기거나 개방되는, 즉 잠김 및 해제상태에 대해 각각 확장 모드 수축상태로 유지되는 볼트를 갖고 있다. 사무실 기능을 위한 능력을 제공하기 위해, 마이크로컴퓨터(112)는 사무실 자물쇠와 결합하여 사용되도록 스위치(852)를 통해 결합된 핀(A)를 갖고 있다. 또한, 마이크로프로세서는 자물쇠가 잠김상태에 있을 때 진행하는 잠김 검출기(854)와 결합된 입력 핀(B)과, 자물쇠가 비잠감상태에 일을 때 진행하는 비잠김 검출기(856)와 결합된 핀(C)를 갖고 있다. 사무실 자물쇠에 있어서 잠김 키이는 솔레노이드를 여자시키며 잠김 부분은 볼트를 잠김상태에 놓여 있게 한다. 비잠김 키이는 자물쇠가 이미 비잠감 상태에 있지 않을 경우, 솔레노이드를 여자시키도록 동작하며, 잠김 부분이 자물쇠를 비잠김 상태에 놓여있게 한다. 토글 키이는 그것이 잠길 경우 자물쇠를 개방시키고 그것이 비잠김 상태에 있을 경우 자물쇠를 잠기게 하도록 동작한다. 사무실 기능을 위한 프로그램을 제26a 및 b도의 플로우 챠트에 의해 표시된다. 제5도의 블럭(240)에 입력된 키이가 잠감 키이, 비잠김키이 또는 토글키이일 경우, 프로그램은 25b도의 블럭(276)에서 26a도의 블럭(860)으로 분기된다.This third embodiment also includes additional key functions or forms referred to herein as office toggle, office open, office lock, safety C, low lock toggle, and high lock toggle. The secondary key also contains different subroutines for function. Several keys contain another subroutine for this function. This additional key function and corresponding program subroutine for validating the lockout operation will be described. Office Key This function is provided for the lockout operation commonly used in office doors. These locking devices have bolts that are locked or opened, i.e., held in extended mode retracted state for the locked and unlocked states, respectively. To provide the ability for office functions, microcomputer 112 has pin A coupled through switch 852 to be used in conjunction with office locks. The microprocessor also has an input pin B coupled with a lock detector 854 that proceeds when the lock is in a locked state, and a pin coupled with an unlocked detector 856 that proceeds when the lock is in an unlocked state. Has (C) In the office lock, the locking key excites the solenoid and the locking portion keeps the bolt locked. An unlocked key acts to excite the solenoid if the lock is not already unlocked, leaving the locked portion in the unlocked state. The toggle key operates to unlock the lock if it is locked and to lock the lock if it is in an unlocked state. The program for the office function is represented by the flowcharts of FIGS. 26A and B. FIG. If the key input to block 240 of FIG. 5 is a lock key, an unlock key or a toggle key, the program branches from block 276 of FIG. 25b to block 860 of FIG. 26a.

시험블럭(860)은 논리데드 볼트가 세트되는가를 결정한다. 논리데드 볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(862)으로 진행한 다음, 정지 루틴(234)으로 진행한다. 논리데브 볼트가 세트되지 않을 경우, 프로그램은 실제데드볼트가 세트되는가를 결정하는 시험블럭(864)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(862)으로 진행한 뒤 정지루틴(234)으로 진행한다. 실제데드볼트가 세트되지 않을 경우, 프로그램은 자물쇠가 사물실 자물쇠, 즉 사무실 하드웨어 핀(A)이 논리 로우상태에 있는가를 결정하는 시험블럭(866)으로 진행한다. 자물쇠가 사무실 자물쇠가 아닐경우, 프로그램은 솔레노이드를 여자시키는 블럭(868)으로 진행한 다음, 정지(234)으로 진행한다. 자물쇠가 사무실 자물쇠일 경우, 프로그램은 키이가 비잠김 키이인가를 결정하는 시험블록(870)으로 진행한다.비잠김 키이일 경우, 시험블럭(872)은 자물쇠가 비잠김 상태인가를 결정한다. 잠루쇠가 비잠김 상태일 경우, 블럭(874)는 초록색 LED를 점등시킨다. 자물쇠가 비잠김상태가 아닐 경우, 프로그램은 비잠김 작동기를 비잠김 상태로 여자시키도록 비잠김 핀을 세트시키는 블럭(876)으로 진행한다.The test block 860 determines whether the logic dead bolt is set. If the logic dead bolt has been set, the program proceeds to block 862 which illuminates the yellow LED and then to stop routine 234. If the logical dev bolt is not set, the program proceeds to test block 864 which determines whether the actual dead bolt is set. If the actual dead bolt has been set, the program proceeds to block 862 which illuminates the yellow LED and then to the stop routine 234. If no actual deadbolts are set, the program proceeds to test block 866 which determines whether the lock is in the locker lock, ie, the office hardware pin A is in a logic low state. If the lock is not an office lock, the program proceeds to block 868 to excite the solenoid and then to stop 234. If the lock is an office lock, the program proceeds to test block 870 which determines whether the key is an unlocked key. If it is an unlocked key, the test block 872 determines whether the lock is unlocked. If the clasp is in the unlocked state, block 874 lights the green LED. If the lock is not unlocked, the program proceeds to block 876 which sets the unlock pin to unlock the unlock actuator.

시험블럭(870)이 키이가 비잠김 키이가 아니라고 결정할 경우, 시험블럭(878)은 키이가 잠김 키이인가를 결정한다. 잠금 키이일 경우 시험블럭(880)은 자물쇠가 잠김 상태에 있는가를 결정한다. 자물쇠가 잠김 상태에 있을 경우, 블럭(882)은 황색 LED를 점등시킨다. 잠김상태가 아닐경우 블럭(884)은 잠김 작동기를 잠김 상태로 여자시키도록 핀을 세트시킨다.If test block 870 determines that the key is not an unlocked key, then test block 878 determines whether the key is a locked key. In the case of the lock key, the test block 880 determines whether the lock is in the locked state. If the lock is in the locked state, block 882 turns on a yellow LED. If not locked, block 884 sets the pin to engage the locked actuator in the locked state.

시험블럭(878)이 키이가 잠김 키이가 아니라는 것을 결정할 경우, 프로그램은 키이가 토글 키이인가를 결정하는 시험블럭(886)으로 진행한다. 토글 키이일 경우, 시험블럭(888)은 자물쇠가 비잠김 상태에 있는가를 결정한다. 자물쇠가 비잠김 상태에 있을 경우, 프로그램은 솔레노이드를 잠김 상태로 여자시키는 블럭(884)으로 진행한다. 자물쇠가 잠김 상태에 있을 경우, 프로그램은 비잠김 작동기를 비잠김 상태로 여자시키도록 잠김핀을 세트시키는 블럭(890)으로 진행한다.If test block 878 determines that the key is not a locked key, the program proceeds to test block 886 which determines whether the key is a toggle key. If it is a toggle key, the test block 888 determines whether the lock is in the unlocked state. If the lock is in the unlocked state, the program proceeds to block 884 which engages the solenoid in the locked state. If the lock is in the locked state, the program proceeds to block 890 where the lock pin is set to excite the unlocked actuator to the unlocked state.

시험블럭(886)이 키이가 토글키이가 아니라는 것을 결정할 경우, 프로그램은 키이가 비상 키이인가를 결정하는 시험블록(892)으로 진행한다. 비상 키이일 경우, 블럭(894)은 솔레노이드를 비잠김 상태로 여자시키며 프로그램은 블럭(896)으로 진행한다. 블럭(896)은 솔레노이드를 잠김 상태로 여자시킨다. 이때, 블럭 (896)은 노브가 회전되지 않을 경우에는 논리데드볼트를 투여한 상태로 유지하며 노브가 회전될 경우에는 논리데드볼트를 개방상태로 유지한다.If test block 886 determines that the key is not a toggle key, the program proceeds to test block 892 to determine if the key is an emergency key. If it is an emergency key, block 894 excites the solenoids in an unlocked state and the program proceeds to block 896. Block 896 engages the solenoid in the locked state. At this time, block 896 maintains the logic dead bolt is administered when the knob is not rotated, and maintains the logic dead bolt when the knob is rotated.

시험블럭(892)이 키이가 비상키이가 아니라는 것을 결정할 경우, 프로그램은 자물쇠가 비잠김 상태에 있는가를 결정하는 시험블럭(902)으로 진행한다. 비잠김 상태일 경우, 블럭(904)은 초록색 LED를 점등시킨다. 그렇지 않을 경우, 블럭(906)은 사무실 비잠김을 여자시킨다. 이때, 프로그램은 노브가 회전되었는가를 결정하는 시험블럭(908)으로 진행한다. 노브가 회전하지 않았을 경우, 시험블럭(910)은 5초 타이머가 종료되었는가를 결정한다. 타이머가 종료되지 않았을 경우, 프로그램은 시험블럭(908)으로 귀환된다. 타이머가 종료될 경우, 프로그램은 사무실 잠금을 여자시키는 블럭(912)으로 진행된다.If test block 892 determines that the key is not an emergency key, the program proceeds to test block 902 which determines whether the lock is in the unlocked state. In the non-locked state, block 904 lights the green LED. Otherwise, block 906 unlocks the office lockout. At this point, the program proceeds to a test block 908 which determines whether the knob is rotated. If the knob did not rotate, the test block 910 determines if the 5 second timer has expired. If the timer has not expired, the program returns to the test block 908. If the timer expires, the program proceeds to block 912 to unlock the office lock.

안전성을 위해, 자물쇠는 상기에서 언급한 바와같이 안전 C기능을 제공하도록 프로그램될 수 있다. 제2실시예에서 안전 A 및 안전 B기능은 전술한 바와같이 제공되다. 안전 A 및 B키이는 논리데드보트 및 실제데드볼트의 상태와 무관하게 자물쇠를 개방시키기 위한 위임자에 의해 사용될 수도 있다. 키이는 상기와 같이 적절한 순서로 삽입될 수 있고 삽입사이에 소정시간 간격 내에 삽입될 수 있다. 이것은 문을 개방시키며 자물쇠는 논리데드볼트가 세트된 상태로 남아 있게 될 것이다.For safety reasons, the lock can be programmed to provide a safety C function as mentioned above. In the second embodiment, the safety A and safety B functions are provided as described above. The safety A and B keys may be used by the delegate to open the lock regardless of the state of the logical dead boat and the actual dead bolt. The keys may be inserted in the appropriate order as above and within a predetermined time interval between insertions. This will open the door and the lock will be left with the logic deadbolt set.

본 발명의 제3실시예에서, 안전 C기능은 안전 A 및 B보다 더 낮은 레벨의 안전을 허용하도록 제공되며 단일 키이로 동작된다. 안전 C기능은 논리데드볼트를 무시하는 능력을 갖고 있으나 실제데드볼트를 저안전 모드로 놓여있지 않게 한다. 더우기, 런모드 문자의 C 볼트 비트로 세팅함으로써, 안전 C기능은 논리데드볼트를 나타나게 하고 실제데드볼트를 통과시키도록 한 동작이다. 안전C키이를 가진 잠루쇠의 동작 및 이러한 서브루틴용 제어 프로그램을 제27도의 플로우챠트를 참고로하여 설명할 것이다.In a third embodiment of the invention, the safety C function is provided to allow a lower level of safety than safety A and B and is operated with a single key. The safety C function has the ability to ignore logic deadbolts but does not put the actual deadbolts into low safety mode. In addition, by setting the C volt bit of the run-mode character, the safety C function causes the logical dead bolt to appear and pass the actual dead bolt. The operation of the lock with the safety C key and the control program for this subroutine will be described with reference to the flowchart of FIG.

제5도의 블록(240에 입력된 키이가 안전 C키이일 경우, 프로그램은 제25b도의 블럭(276)에서 제27도의 시험 블럭(920)으로 분기될 것이다. 시험 블럭(920)은 키이가 개방 키이인가를 결정한다. 개방 키이가 아닐 경우, 블럭(922)은 황색 LED를 점등시킨다. 개방키이일 경우, 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 실험 블록(923)으로 진행하며, 그 응답에 관계없이 프로그램은 런모드 문자의 C볼트비트가논리하이인가를 결정하는 시험 블럭(924)으로 진행한다. C볼트 비트가 1이아닐 경우, 시험 블럭(926)은 실제데브볼트가 셋트되었는가를 결정한다. 실제데드볼트가 셋트되었을 경우, 블럭(922)은 황색 LED를 점등시킨다. 실제데드볼트가 세트되지 않았을 경우, 프로그램은 시험블럭(928)으로 진행한다. 시험 블럭(924)이 C볼트 비트가 논리하이에 있는가를 결정할 경우, 프로그램은 실제데드볼트 시험블럭(926)을 통과한 다음 블럭(930)에서 논리 데드 볼트를 세팅한 후에만 블럭(932)으로 진행한 다음, 블럭(934)은 초록색 LED를 점등시킨다. 그리고 나서 프로그램은 5초 타이머가 종료되었는가를 결정하는 시험블럭(936)으로 진행한다. 타이머가 종료되었을 경우, 프로그램은 정지 루틴 블럭(234)으로 진행한다.If the key entered in block 240 of FIG. 5 is a secure C key, the program will branch from block 276 of FIG. 25b to test block 920 of FIG. 27. Test block 920 indicates that the key is an open key. If it is not an open key, block 922 illuminates an amber LED, if it is an open key, the program proceeds to experimental block 923, which determines if a logical deadbolt has been set, and responds to the response. Regardless, the program proceeds to test block 924, which determines whether the C-bolt bit of the run-mode character is logical high, if the C-bolt bit is not 1, the test block 926 determines whether the actual devvolt is set. If the actual dead bolt is set, block 922 turns on the amber LED, if the actual dead bolt is not set, the program proceeds to test block 928. Test block 924 is C bolt bit Is logical high If so, the program passes through the actual deadbolt test block 926 and then proceeds to block 932 only after setting the logic dead bolt at block 930, and block 934 lights the green LED. The program then proceeds to test block 936, which determines if the 5 second timer has expired, if the timer has expired, the program proceeds to stop routine block 234.

타이머가 종료되지 않았을 경우, 시험블럭(938)은 노브가 회전되었나를 결정한다. 노브가 회전하지 않았을 경우, 프로그램은 시험 블럭(936)으로 귀환된다. 노브가 회전되었을 경우 프로로그램은 정지 루틴(234)으로 진행한다.If the timer has not expired, the test block 938 determines whether the knob has been rotated. If the knob has not rotated, the program returns to test block 936. If the knob is rotated, the program proceeds to a stop routine 234.

안전성을 위해, 자물쇠는 하이쇄정(high lock) 이나 로우쇄정(low lock)기능을 제공하도록 프로그램될수도 있다. 예를 들어, 호텔측은 잠정적인 베이스에서 동작될 수 없는 어떤 키이기능을 갖도록 바랄 수도 있다. 이것을 위해, 하이쇄정키이 및 서브루킨은, 하이쇄정 키이의 레벨보다 더 높은 레벨에서 모든 키이기능(안전기능 제외)을 일시적으로 동작시킬 수 없거나 폐쇄시키도록 제공되어진다. 마찬가지로, 로우 쇄정키이 및 서브 루틴은 로우 쇄정 키이의 레벨보다 더 낮은 레벨에서 키이(안전기능제외)를 폐쇄 시키도록 하기위해 제공된다.For safety reasons, the lock may be programmed to provide a high lock or low lock function. For example, the hotel may wish to have some key function that cannot be operated on a provisional base. To this end, the high lock key and subroutine are provided to temporarily disable or close all key functions (except the safety function) at a level higher than that of the high lock key. Likewise, low-keys and subroutines are provided to close the key (except for the safety function) at a level lower than that of the low-keys.

어느 한 키이가 폐쇄기능을 수행하도록 사용된 후에, 그 폐쇄 기능은 키이의 재 삽입에 의해 취소되므로 모든 레벨 동작이 회복된다.After either key is used to perform the closing function, the closing function is canceled by reinsertion of the key so that all level operations are restored.

하이쇄정 및 로우쇄정 키이를 가진 자물쇠의 동작 및 이러한 서브루틴용 제어 프로그램을 제28a, b도의 플로우 챠트를 참고로 하여 설명할 것이다. 제5도의 블럭(240)에 입력된 키이가 하이 쇄정 키이일 경우, 프로그램은 제25b도의 블럭(276)에서 제28a도의 블럭(950)으로 분기될 것이다. 블럭(950)은 적색 RED를 클리어시켜 폐쇄상태를 의미하도록 이용될 수 있다. (폐쇄중에 적색 LED는 저 밧테리 표시용으로 이용될 수 없다.) 프로그램은 RAM의 하이셀(high cell)레지스터에 기억된 레벨수를 판독하는 블럭(952)으로 진행한다.The operation of the lock with the high lock and low lock keys and the control program for such a subroutine will be described with reference to the flowcharts of FIGS. 28A and b. If the key entered in block 240 of FIG. 5 is a high lock key, the program will branch from block 276 of FIG. 25B to block 950 of FIG. 28A. Block 950 may be used to clear the red RED to indicate a closed state. (The red LED cannot be used for low battery display during closing.) The program proceeds to block 952 which reads the number of levels stored in the high cell register of the RAM.

이때, 시험블럭(954)은 하이셀 레지스터(845)에 기억된 레벨 수가 키이기능 위치, 즉 레지스터(219)의 하이 쇄정 키이의 레벨수와 같은가를 결정한다. 동일하지 않을 경우, 블럭(956)은 키이의 기능 위치를 하이셀 레지스터에 기억한다.At this time, the test block 954 determines whether the number of levels stored in the high cell register 845 is equal to the key function position, that is, the number of levels of the high-lock key in the register 219. If not the same, block 956 stores the key's functional location in the high cell register.

이때, 블럭(958)은 적색 LED를 셋트시키며, 프로그램은 시험블럭(970)으로 진행한다. 시험 블럭(954)이 하이 셀 레지스터의 레벨수가 키이기능 위치와 같은가 를 결정할 경우, 이것은 하이쇄정 키이가 하이쇄정 기능을 취소하기위해 재삽입되어 진다는 것을 나타낸다. 그리고 나서, 블럭(962)은 하이셀 레지스터에 1을 기억한다. 이것은 하이 셀의 레벨수가 어느 키이레벨수 보다 더 크며, 키이 레벨의 어느것도 폐쇄되지 않았다는 것을 보장한다. 이때, 프로그램은 하기에 상술한 제29도의 보조 서브루틴의 블럭(970)으로 진행한다.At this time, block 958 sets a red LED, and the program proceeds to test block 970. If test block 954 determines that the number of levels in the high cell register is equal to the key function position, this indicates that the high lock key is reinserted to cancel the high lock function. Block 962 then stores 1 in the high cell register. This ensures that the number of levels in the high cell is greater than the number of key levels, and none of the key levels are closed. The program then proceeds to block 970 of the auxiliary subroutine of FIG. 29 described above.

간략히, 보조 서브루틴은 전류레벨이 하이 쇄정이나 로우 쇄정에 의해 금지되는가를 시험한다. 금지될 경우, 프로그램은 정지루틴으로 진행하고, 그렇지 않을 경우, 솔레노이드가 여자된다.Briefly, the auxiliary subroutine tests whether the current level is prohibited by high or low determination. If prohibited, the program proceeds to a stop routine, otherwise the solenoid is excited.

로우 쇄정 키이용 서브루틴은 제28b도의 플로우 챠트에 표시되었다. 이 플로우 챠트는 하기에서 설명된 부분을 제외하고 하이 쇄정 키이에 대한 것과 동일하며, 간략을 위해서 동일하지 않은 부분만 설명할 것이다. 제28b도의 각각의 참조번호에 프라임(')이 첨가된 것을 제외하고는, 제28a도에 해당하는 블럭에 대해 동일한 참조문자가 제28b도에서 사용되었다. 하이쇄정 서브루틴과 로우 쇄정 서브루틴의 차이점은 다음과 같다. 블럭(952')은 RAM의 로우셀 레지스터에 기억된 레벨수를 판독한다. 이때, 시험블럭(954')은 로우셀 레지스터(847)에 기억된 레벨수가 키이 기능위치, 즉 레지스터(217)의 로우록 키이의 레벨수가 동일한 가를 결정한다. 동일하지 않을 경우, 블럭(956')키이의 기능위치를 로우셀 레지스터에 기억한다. 이때, 블럭(958')은 적색 LED를 셋트시키며, 프로그램은 시험블럭(970)으로 진행한다.The low decision keying subroutine is shown in the flow chart of FIG. 28B. This flowchart is identical to that for a high-lock key, except as described below, and for simplicity, only the parts that are not identical will be described. The same reference characters are used in FIG. 28B for the blocks corresponding to FIG. 28A, except that a prime (') is added to each reference number in FIG. 28B. The differences between the high and low decision subroutines are as follows. Block 952 'reads the number of levels stored in the low cell register of RAM. At this time, the test block 954 'determines whether the number of levels stored in the low cell register 847 is the key function position, that is, the number of levels of the low lock key of the register 217 is the same. If it is not the same, the function position of the block 956 'key is stored in the low cell register. At this time, block 958 'sets a red LED, and the program proceeds to test block 970.

시험블럭(954')이 로우셀 레지스터의 레벨수가 키이기능 위치와 동일하다는 것을 결정할 경우, 이것은 로우쇄정 키이가 로우쇄정 기능을 최소하기 위해 재삽입되어진다는 것을 나타낸다. 그리고 나서, 블럭(962')은 로우 셀 레지스터에 0을 기억시킨다.If the test block 954 'determines that the number of levels in the low cell register is equal to the key function position, this indicates that the low reset key is reinserted to minimize the low reset function. Then, block 962 'stores 0 in the low cell register.

이것은 로우셀의 레벨수가 어느 키이 레벨수보다 작으며, 키이 레벨의 어느 것도 폐쇄되지 않는다는 것을 보장한다. 이 포인트로부터, 프로그램은 블럭(970)으로 진행하며 제28a도의 것과 동일하게된다.This ensures that the number of levels in the low cell is less than the number of key levels, and none of the key levels are closed. From this point, the program proceeds to block 970 and becomes the same as that of FIG. 28A.

하이쇄정 또는 로우쇄정 키이 기능이 상기 기술된 시스템에 사용될 경우, 모든 키이는 제29도의 서브루틴에 따라 처리된다. 이러한 서브루틴의 하이쇄정 및 로우쇄정 때문에 이러한 제3실시예를 위한 새로운 보조서브루틴이다.If a high lock or low lock key is used in the system described above, all keys are processed according to the subroutine of FIG. Because of the high and low crystallization of these subroutines, this is a new auxiliary subroutine for this third embodiment.

키이가 제5도의 블럭(240)에 입력될 경우, 프로그램은 제25b도의 블럭(276)에서 제29도의 블럭(970)으로 분기된다.When the key is entered in block 240 of FIG. 5, the program branches from block 276 of FIG. 25b to block 970 of FIG.

블럭(970)은 키이의 키이 기능위치가 로우셀 레지스터(847)에 기억된 레벨수보다 더 작은가를 결정한다. 작을 경우, 프로그램은 황색 LED를 점등시키는 블럭(972)으로 분기되어 정지 루틴(234)으로 진행한다. 시험 블럭(970)이 키이 기능 위치가 로우셀 레지스터의 레벨수보다 작지 않다는 것을 결정할 경우, 프로그램은 키이기능 위치가 하이셀 레지스터(845)에 기억된 레벨수보다 더 큰가를 결정하는 시험블럭(974)으로 진행한다. 클경우, 프로그램은 황색 LED를 점등시키는 블럭(972)으로 분기되어, 정지 루틴(234)으로 진행한다. 크지않을 경우 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 시험 블럭(976)으로 진행한다. 논리데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(972)을 지나 정지 루틴(234)으로 진행한다. 논리 데드볼트가 셋트되지 않을 경우, 시험블럭(978)은 실제데드볼트가 셋트되는가를 결정한다.Block 970 determines if the key functional position of the key is less than the number of levels stored in low cell register 847. If small, the program branches to block 972 which lights the yellow LED and proceeds to stop routine 234. If test block 970 determines that the key function position is not less than the number of levels in the low cell register, the program determines whether the key function position is greater than the number of levels stored in high cell register 845. Proceed to). If large, the program branches to block 972 which lights the yellow LED and proceeds to stop routine 234. If it is not large, the program proceeds to test block 976 which determines if a logical deadbolt has been set. If the logic deadbolt is set, the program proceeds to block routine 972 that turns on the amber LED to stop routine 234. If no logic deadbolts are set, the test block 978 determines whether the actual deadbolts are set.

실제데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(972)으로 진행한 다음, 정지 루틴(234)으로 진행한다. 실제데브볼트가 셋트되지 않았을 경우, 블럭(980)은 솔레노이드를 여자시키며, 그리고나서 프로그램은 정지 루틴(234)으로 진행한다. 이와 같이, 제29도의 서브루틴은 하이쇄정이나 로우쇄정 기능키이중 어느 하나에 일치하여 폐쇄되도록 동작한다. 상기에서 설명한 바와 같이, 정상동작이 어느 키이도 하이쇄정이나 로우쇄정 키이중 어느 하나를 재삽입함으로써 폐쇄하지 않도록 회복된다.If the actual dead bolt has been set, the program proceeds to block 972 where the yellow LED is lit and then to stop routine 234. If no actual dev bolt has been set, block 980 excites the solenoid, and then the program proceeds to stop routine 234. As such, the subroutine of FIG. 29 operates to be closed in accordance with either the high lock or the low lock function key. As described above, the normal operation is restored so that neither key is closed by reinserting either the high or low key.

전술한 바와 같이, 본 발명의 제2실시예는 키이기능의 ㅍ로그램에 대한 특수한 특징을 갖고 있다. 이것은 키이코드 메모리에 있는 어느 바람직한 레벨에 대한 소정의 키이 기능의 할당을 허용한다. 제17a 및 b도를 참조로하여 앞서 설명한 개시 절차는 제1 및 제2개시 키이를 순서적으로 입력시키기 위한 요구 조건 및 키이코드 메모리의 할당된 레벨을 한정하거나 제한정하기 위한 것과 같이 레벨을 할당하기 위한 수단으로서 프로그래밍 키이의 선택적 사용에 특징이 있었다.As mentioned above, the second embodiment of the present invention has a special feature for the program of the key function. This allows the assignment of certain key functions to any desired level in key code memory. The initiating procedure described above with reference to FIGS. 17A and B provides a requirement for sequentially entering the first and second initiating keys and assigning a level such as to limit or limit the assigned level of keycode memory. It was characterized by the selective use of programming keys as a means for.

또한, 이러한 개시 절차는 쇄정 메모리의 호텔 코드의 할당을 허용한다. 이러한 프로그래밍의 특징은 그것이 호텔 코드 및 레벨을 다른 설비로 할당하는데 있어서의 융통성을 갖으며, 또한 제공된 설비에서 레벨할당 및 호텔 코드의 변경을 허용한다는 장점이 있다. 그러나 제2실시예는 전력 제거와 같은 자물쇠의 단전 및 전 개시 절차를 통하지 않고서는 변경이 이루어질 수 없다는 단점이 있다. 본 발명의 제3실시예는 상기 언급한 단점이 있다. 본 발명의 제3실시예는 상기 언급한 단점을 극복했으며 어떤 변경을 하기 위한 온-라인 프로그래밍의 특징을 제공한다. 이것을 위해, 어떤 데이터 시퀀스에 응하고 선택적인 변경을 하기 위한 수단이 제공된다. 선택적 변경은 프로그래밍 키이에 의해 상이한 레벨을 위한 새로운 기능을 할당하고, 할당 키이에 의해 턴모드 문자 및 호텔 코드의 비트를 제할당하도록 제프로그램하는 것이다.This initiation procedure also permits the assignment of hotel codes of lockout memory. This programming feature has the advantage that it is flexible in assigning hotel codes and levels to other facilities, and also allows for level assignments and changes in hotel codes in a given facility. However, the second embodiment has a disadvantage in that the change cannot be made without going through the lock disconnection and the prestart procedure such as power removal. The third embodiment of the present invention has the disadvantages mentioned above. The third embodiment of the present invention overcomes the above mentioned disadvantages and provides a feature of on-line programming for making some changes. For this purpose, means are provided for responding to certain data sequences and for making selective changes. An optional change is to program a program key to assign a new function for a different level and to allocate a bit of turnmode characters and hotel codes by the assign key.

본 발명의 제3실시예의 온-라인 프로그래밍은 제17a 및 b도를 참조로 하여 설명하였듯이 자물쇠가 페이즈-인된 후에 어느 때라도 개시될 수 있다. 제30a,b 및 c도를 참조로하여 온라인 프로그래밍 서브루틴을 설명하고자 한다.On-line programming of the third embodiment of the present invention can be initiated at any time after the lock has been phased in as described with reference to FIGS. 17A and 17B. An online programming subroutine will be described with reference to Figures 30a, b and c.

일반적으로, 온-라인 프로그래밍 서브루틴은 재정의 키이의 삽입에 의해 잇따른 2개의 상이한 키이의 코드 시퀀스를 요구한다. 제1키이는 제1개시 키이이며 개시이외의 기능을 갖고 있지 않고, 제2키이는 비상레벨 키이(비상키이 또는 리페이즈 키이중 하나)이며, 재정의 키이는 프로그래밍 키이 또는 재할당 키이중 하나일 수도 있다.In general, the on-line programming subroutine requires a code sequence of two different keys followed by the insertion of an override key. The first key is the first starting key and has no function other than initiation, the second key is an emergency level key (either an emergency key or a phase key), and the redefining key can be either a programming key or a reallocation key. It may be.

제30a도를 참조하면, 온-라인 프로그래밍 서브루틴 블럭(1000)에 키이를 입력시킴으로서 개시된다. 시험블럭(1002)은 입력된 키이가 제1개시 키이 인가를 결정한다.Referring to FIG. 30A, a key is entered into the on-line programming subroutine block 1000. The test block 1002 determines whether the input key is the first starting key.

제1개시 키이가 아닐경우, 프로그램은 앞서 설명한 키이 데이터를 처리하기 위해 제25a 및 b도의 서브루틴을 갖춘 블럭(260)으로 진행한다. 입력된 키이가 제1개시 키이일 경우, 프로그램은 황색 LED를 점등시키는 블럭(1004)으로 진행한 다음 타이머를 20초로 세트시키는 블럭(1006)으로 진행한다.If it is not the first starting key, the program proceeds to block 260 with the subroutines of FIGS. 25a and b to process the key data described above. If the input key is the first start key, the program proceeds to block 1004 that lights the yellow LED and then to block 1006 that sets the timer to 20 seconds.

이때, 시험 블럭(1008)은 타이머가 또 다른 키이의 삽입을 위해 종료되는가를 결정하며 프로그램은 정지루틴(34)으로 진행한다. 타이머가 종료되지 않을 경우, 프로그램은 또 다른 키이가 삽입되었는가를 결정하는 시험 블럭(1010)으로 진행한다.At this time, the test block 1008 determines whether the timer is terminated for the insertion of another key and the program proceeds to the stop routine 34. If the timer does not expire, the program proceeds to test block 1010 to determine if another key has been inserted.

또 다른 키이가 삽입되지 않았을 경우, 프로그램은 블럭(1007)으로 귀환된다. 또 다른 키이가 삽입될 경우, 프로그램은 삽입된 키이가 비상 레벨키이 인가를 결정하는 시험 블럭(1012)으로 진행한다. 삽입된 키이가 비상 레벨키이가 아닐경우, 프로그램은 키이 데이터를 처리하기 위해 제25a도 및 b도의 서브루틴의 블럭(260)으로 진행한다. 입력된 키이가 비상 레벨 키이일 경우, 프로그램은 황색 LED를 점등시키는 블럭(1014)으로 진행한 다음, 타이머를 20초로 리셋트시키는 블럭(1016)으로 진행한다. 이때, 블럭(1018)은 비상 레벨 키이가 개방 키이일 경우 "재정의" 플래그(848)를 세트시킨다.If another key has not been inserted, the program returns to block 1007. If another key is inserted, the program proceeds to test block 1012 where the inserted key determines whether an emergency level key is granted. If the inserted key is not an emergency level key, the program proceeds to block 260 of the subroutines of Figs. 25a and b to process the key data. If the key entered is an emergency level key, the program proceeds to block 1014 to light the yellow LED and then to block 1016 to reset the timer to 20 seconds. At this time, block 1018 sets the "override" flag 848 if the emergency level key is an open key.

이때, 프로그램은 타이머가 종료되는 가를 결정하는 시험 블럭(1020)으로 진행한다. 타이머가 종료되었을 경우, 프로그램은 정지 루틴(234)으로 진행한다. 타이머가 종료되지 않았을 경우, 시험 블럭(1022)은 또 다른 키이가 타이머가 종료되기 전에 삽입되었는가를 결정한다. 또 다른 키이가 삽입되지 않았을 경우, 프로그램은 블럭(1020)으로 귀환된다.At this point, the program proceeds to a test block 1020 that determines if the timer expires. When the timer expires, the program proceeds to stop routine 234. If the timer has not expired, test block 1022 determines whether another key has been inserted before the timer expires. If another key is not inserted, the program returns to block 1020.

또 다른 키이가 삽입되었을 경우, 프로그램은 재정의 플래그가 셋트되는가를 결정하는 시험 블럭(11024)으로 진행한다.If another key is inserted, the program proceeds to test block 1102 to determine if the redefine flag is set.

제3키이, 즉 시험 블럭(1022)에 삽입된 키이는 그 키이가 재정의 키이인가를 결정하도록 시험될 것이다. 시험 블럭(1024)에 의해 결정된 재정의 플래그가 세트될 경우, 제3키이는 프로그래밍 키이로서 처리될 것이고, 그렇지 않을 경우, 제3키이는 런모드 및 호텔 코드 문자의 재할당을 허용하는 재할당 키이로서 처리될 것이다. 플래그가 세트될 경우, 프로그램은 시험 블럭(1024)으로 부터, 제1문자에 단일 1비트만이 있는 가를 결정하는 시험 블럭(1026)으로 진행한다.The third key, i.e., the key inserted into the test block 1022, will be tested to determine if the key is an overriding key. If the redefinition flag determined by the test block 1024 is set, the third key will be treated as a programming key, otherwise the third key will be a reassignment key allowing reassignment of run mode and hotel code characters. Will be treated as such. If the flag is set, the program proceeds from test block 1024 to test block 1026, which determines whether there is only a single one bit in the first character.

그렇지 않을 경우, 키이는 프로그래밍 키이로서 자격이 없으며 프로그램은 제25a 및 b도의 서브루틴의 블럭(260)으로 진행한다. 제1문자에 단일 1비트만이 있을 경우, 키이는 프로그래밍 키이로서 자격이 있으며, 프로그램은 이러한 코드에 어떤 변경도 없다는 것을 보장하는 메모리의 비상코드 및 현재의 개방 비트를 지배하는 블럭(1028)으로 진행한 다음, 그 키이가 제17a 및 b도를 참조로 하여 앞서 설명된 프로그래밍 키이에 대한 기준을 충족시키는 가를 결정하는 시험 블럭(1030)으로 진행한다. 키이가 기준을 충족시키지 않을 경우, 프로그램은 제25a도의 블럭(260)으로 진행한다. 충족시킬 경우, 프로그램은 새로운 기능을 프로그래밍 키이의 코딩에 따라 다른 상이한 레벨로 할당하는 블럭(1032)으로 진행한다.Otherwise, the key is not qualified as a programming key and the program proceeds to block 260 of the subroutines of FIGS. 25a and b. If there is only one single bit in the first character, the key is qualified as a programming key and the program goes to block 1028 which governs the emergency code of the memory and the current open bits to ensure that there is no change in this code. It then proceeds to a test block 1030 that determines whether the key meets the criteria for programming keys described above with reference to FIGS. 17A and B. If the key does not meet the criteria, the program proceeds to block 260 of FIG. 25A. If so, the program proceeds to block 1032, which assigns the new function to another different level in accordance with the coding of the programming key.

이때, 블럭(1033)은 황색 LED를 점등시키며, 프로그램은 정지루틴(234)으로 진행한다.At this time, block 1033 turns on a yellow LED and the program proceeds to stop routine 234.

시험 블럭(1024)이 재정의 플래그가 세트되지 않았다는 것을 결정할 경우 프로그램은 제1문자에 1-비트가 없는가를 결정하는 시험 블럭(1034)으로 진행한다. 1비트가 없을 경우 프로그램은 정지(234)으로 간다. 제1문자에 어떤 1비트가 있을 경우 시험 블럭(1036)은 키이가 할당 키이로서 자격이 있다는 것을 더욱 확실히 하기 위해 키이가 제1개시 키이와 동일한 5문자를 내장하는가를 결정한다. 내장하지 않을 경우, 프로그램은 정지 루틴(234)으로 진행한다.If test block 1024 determines that the redefine flag is not set, the program proceeds to test block 1034 to determine if there is no one-bit in the first character. If there is no one bit, the program goes to stop 234. If there is any one bit in the first character, the test block 1036 determines whether the key contains the same five characters as the first starting key to further ensure that the key is entitled as an allocation key. If not, the program proceeds to a stop routine 234.

내장할 경우, 블럭(1038)은 새로이 입력된 턴모드 문자를 레지스터(846)에 기억시킨 다음, 블럭(1040)은 새로이 입력된 호텔코드를 호텔 코드 레지스터(849)에 기억시킨 후 프로그램은 수용을 표시하기 위해 황색 LED를 점등시키는 블럭(1042)으로 진행한다.If embedded, block 1038 stores the newly entered turn-mode characters in register 846, and then block 1040 stores the newly entered hotel code in hotel code register 849 and then the program accepts. Proceed to block 1042 to light a yellow LED to display.

전술한 바와 같이, 제3실시예에는 최종 8엔트리 또는 문 개방을 기록하기 위한 시간베이스를 제공한다. 8개 방의 각각에 관한 정보는 히스토리 버퍼(241)에 기록된다. 턴모드 문자의 실시간 클럭 비트가 하이로 셋트될 경우, 마이크로 프로세서는 히스토리 버퍼의 각각의 문개방에 관한 데이터를 기록하기 위해 실시간 클록(820)과 함께 동작한다. 특히, 최종 이의 인식 코드(제어코드)가 기록된다. 인식코드가 동일한 키이에 의해 제엔트리될 경우, 재앤트리 카운터가 증가된다. 키이가 동일한 인식 코드를 가지나 상이한 ID코드를 가질 경우, ID코드는 버퍼에 기록된다. 이러한 엔트리에 따라, 3디지트 실시간 클록 카운터(842)의 판독은 히스토리 버퍼에 입력된다. 따라서 최종 8엔트리 각각을 위한 이러한 데이터는 히스토리 버퍼에 기록되고 버퍼의 판독시에 조사될 수 있다.As mentioned above, the third embodiment provides a time base for recording the last 8 entries or door openings. Information about each of the eight rooms is recorded in the history buffer 241. When the real time clock bits of the turnmode character are set high, the microprocessor works with the real time clock 820 to record data about each open of the history buffer. In particular, the final recognition code (control code) is recorded. If the recognition code is entered by the same key, the re-entry counter is incremented. If the keys have the same recognition code but different ID codes, the ID codes are written to the buffer. In accordance with this entry, a read of the 3-digit real time clock counter 842 is entered into the history buffer. Thus this data for each of the last 8 entries can be written to the history buffer and examined upon reading of the buffer.

실시간 클록(820) 및 3디지트 실기간 클럭 카운터를 가진 마이크로 프로세서의 동작을 제31도의 플로우 챠트를 참조로 하여 설명할 것이다. 이러한 플로우 챠트에 의해 표시된 프로그램은 마이크로 프로세서의 개시핀이 블럭(1050)에 표시된 것과 같이 하이로될 때마다 금지된다. 시험 블럭(1052)은 하이 입력이 키이 스위치(58)에 의해 발생되는가를 결정한다.The operation of the microprocessor with real time clock 820 and three digit real time clock counter will be described with reference to the flowchart of FIG. The program indicated by this flow chart is prohibited whenever the start pin of the microprocessor goes high as indicated by block 1050. The test block 1052 determines if a high input is generated by the key switch 58.

그럴 경우, 프로그램은 키이 데이터를 처리하기 위해 제25a도의 플로우 챠트의 블럭(260)으로 진행한다. 키이 스위치에 의해 발생되지 않을 경우, 프로그램은 하이 입력이 입력(824)상의 실시간 클록(820)에 의해 발생되는가를 결정하는 시험 블럭(1054)으로 진행한다. 실시간 클럭에 의해 발생되지 않을 경우, 프로그램은 정지(234)으로 진행하며, 실시간 클럭에 의해 발생된 경우, 시험 블럭(1056)은 입력 핀(SI)이 하이인가를 결정한다. 하이일 경우, 블럭(1058)은 리셋트 신호를 마이크로 프로세서의 리셋트 스트로브로부터 클록(820)의 리세트 핀에 송신한다. 핀(SI)이 하이가 아닐 경우, 프로그램은 직렬 버퍼 플래그(838)가 참인가, 즉 4계수를 보유하는 직렬 버퍼가 충만해 있는가를 결정하는 시험 블럭(1060)으로 진행한다. 참이 아닐 경우, 프로그램은 정지 루틴(234)으로 진행한다. 참일 경우, 프로그램은 3디지트 실시간 클럭 카운터를 증가시키는 블럭(1062)으로 진행한 다음, 정지 루틴 (234)으로 진행한다.If so, the program proceeds to block 260 of the flowchart of FIG. 25A to process the key data. If the key is not generated by the switch, the program proceeds to test block 1054 that determines if a high input is generated by the real time clock 820 on input 824. If not generated by the real time clock, the program proceeds to stop 234, and if generated by the real time clock, the test block 1056 determines whether the input pin SI is high. If high, block 1058 sends a reset signal from the reset strobe of the microprocessor to the reset pin of clock 820. If pin SI is not high, the program proceeds to test block 1060 which determines whether the serial buffer flag 838 is true, i.e., if the serial buffer holding four coefficients is full. If not true, the program proceeds to stop routine 234. If true, the program proceeds to block 1062 that increments the three digit real time clock counter and then to stop routine 234.

본 발명의 설명이 특별한 실시예를 참조하여 기술되었다 할지라도, 그것에만 한정하는 것은 아니다. 본 기술분야에 통상의 지식을 가진자에게는 여러가지의 수정과 변경이 있을 수 있다는 것을 알 수 있을 것이다.Although the description of the present invention has been described with reference to a particular embodiment, it is not limited thereto. It will be appreciated that various modifications and changes may be made by those skilled in the art.

Claims (30)

자물쇠를 잠김 또는 개방상태로 작동시키기 위한 쇄정수단을 구비한 자물쇠와, 상이한 위치에 각각 기억된 다수의 할당키이코드를 구비한 RAM과, 마이크로컴퓨터의 제어를 프로그램하기 위해 기억된 제어 프로그램을 구비한 ROM으로 구성된 마이크로컴퓨터와 각각 상이한 기능을 수행하는 제어코드, 제1키이코드 및 제2키이코드로 구성된 다수의 상이한 형태의 키이와, 상기의 마이크로컴퓨터와 연결되어 상기 마이크로컴퓨터에 기억된 코드를 판독하기 위해 상기 키이중 소정의 선택된 키이과 상호작용토록한 키이판독기, 및 상기의 쇄정 수단을 상기 마이크로컴퓨터의 잠김/개방 출력과 결합시키기위한 전기 제어작동기로 구성시켜서된 쇄정시스템에 있어서, 제어코드 기억 레지스터를 상기의 RAM에 형성시키고, 상기의 제어프로그램을 상기 ROM내의 상이한 위치에 각각 기억시킨 주프로그램과 다수의 서브루틴으로 구성시키고, 각각이 상이한 위치에 있고, 상기 서브루틴중 하나의 메모리 어드레스에 지정되며 키이코드 메모리의 위치수와 동일한 다수의 포인터를 갖는 기능테이블을 상기 메모리중 하나에 기억시키고, 상기 키이코드 메모리의 선택위치 및 상기 제어코드에 대응하는 상기 기능 테이블의 선택 위치에 지정하기 위한 디코딩 수단으로, 상기 제어코드와 결합된 프로그램 제어하에서 동작시키고, 상기의 마이크로컴퓨터를 상기의 키이판독기에 의해서 선택된 키이로부터 입력된 코드에 따라 상기의 주프로그램의 프로그램 제어하에서 작동시켜, 상기의 제어코드를 상기의 제어코드 기억레지스터에 기억시키고, 선택된 키이로부터의 상기의 제1 및 제2키이코드를 상기 디코딩수단에 의해 선택된 상기의 키이코드 메모리의 위치에 있는 할당된 키이코드와 비교하여, 일치할 경우에는 상기의 마이크로컴퓨터를 상기 디코딩수단에 의해 선택된 기능 테이블위치에 의해 지정되는 메모리어드레스에 있는 서브루틴의 프로그램 제어하에서 작동시켜서, 상기의 선택된 키이의 기능에 따라 작동되도록한 쇄정시스템.A lock having locking means for operating the lock in a locked or open state, a RAM having a plurality of assigned key codes stored at different positions respectively, and a control program stored for programming the control of the microcomputer A microcomputer composed of a ROM, a control code performing a different function from each other, a plurality of different types of keys composed of a first key code and a second key code, and a code stored in the microcomputer in connection with the microcomputer A lock code system comprising: a key reader configured to interact with a predetermined selected key among the keys, and an electric control actuator for coupling the lock means with the locked / open output of the microcomputer. A register is formed in the RAM, and the control program is stored in the ROM. A function table composed of a main program and a plurality of subroutines stored in each of these positions, each having a different pointer, assigned to a memory address of one of the subroutines, and having a plurality of pointers equal to the number of positions of the keycode memory. Decoding means for storing in one of the memories and for assigning to a selection position of the keycode memory and a selection position of the function table corresponding to the control code, operating under program control combined with the control code, The microcomputer is operated under the program control of the main program according to the code input from the key selected by the key reader, storing the control code in the control code storage register, and First and second key codes by the decoding means Compared to the assigned keycode at the selected keycode memory position, if matched, the microcomputer under program control of the subroutine in the memory address specified by the function table position selected by the decoding means. Operating system according to the function of the selected key. 제1항에 있어서, 상기의 ROM에는 상기의 마이크로컴퓨터의 제어를 프로그램하기 위해 내부에 기억시킨 개시 프로그램을 포함시키고, 요망하는 키이기능에 해당하는 포인터를 기능테이블의 각각의 위치에 할당하기위한 수단을 설치하고, 상기의 마이크로컴퓨터를 작동시켜 상기의 개시 프로그램의 페이즈-인 시이퀀스를 시작하기 위한 코드를 구비한 개시 페이즈-인 키이를 설치하고, 상기의 마이크로컴퓨터를 개시 프로그램제어하에서 작동시켜, 연속 키이형태인 상기 키이판독기로부터 입력을 수신한 다음, 키이코드를 제어코드에 해당하는 키이코드 메모리의 위치에 기억시키도록한 쇄정시스템.2. The apparatus according to claim 1, wherein said ROM includes a starting program stored therein for programming the control of said microcomputer, and means for assigning a pointer corresponding to a desired key function to each position of a function table. Install a start phase-in key with code for starting the phase-in sequence of the start program by operating the microcomputer, and run the microcomputer under start program control, And a key code is stored in a key code memory corresponding to a control code after receiving an input from the key reader in the form of a continuous key. 제2항에 있어서, 상기의 할당수단을 상기의 개시프로그램의 불이행 루틴으로 형성시켜서된 쇄정시스템.3. The lockout system according to claim 2, wherein said assignment means is formed by a default routine of said start program. 제2항에 있어서, 상기의 기능 테이블을 상기의 RAM에 기억시키고, 상기의 할당수단을 상기 기능 테이블의 각각의 상이한 위치에 기억된 포인터를 구비한 프로그래밍 키이로 형성시키고, 상기 프로그래밍 키이로부터 기억된 포인터를 상기 기능 테이블에서 판독하기위한 수단을 형성시켜서된 쇄정시스템.The storage device according to claim 2, wherein said function table is stored in said RAM, and said allocating means is formed of a programming key having a pointer stored at each different position of said function table, and stored from said programming key. And a means for reading a pointer from said function table. 제1항에 있어서, 상기의 ROM에는 상기 기능 테이블의 기억위치수보다 많은 서브루틴수를 기억시켜서된 쇄정시스템.2. The lockout system according to claim 1, wherein the number of subroutines is stored in the ROM more than the number of storage positions of the function table. 제1항에 있어서, 상기의 RAM에는 논리데드볼트 플래그가 셋트될 경우 마이크로컴퓨터의 상기의 잠금출력을 금지하기 위한 논리데드볼트 플래그와, 개방플래그가 셋트되지 않을 경우 상기 개방 출력을 금지 하기 위한 개방 플래그를 기억시키기 위한 기억레지스터를 포함시키고, 상기의 ROM에는 내부에 기억된 비상키이 서브루틴을 형성시키고, 쇄정수단이 개방상태로 작동될 경우를 결정하는 쇄정수단 탐지기를 상기 마이크로컴퓨터의 입력단과 연결시키고, 상기의 비상키이 서브루틴을 가동시키기 위해서, 상기의 개방 플래그를 놀리상태로 셋팅시키기 위한 개방 비트를 갖는 제어코드를 비상키이에 형성시키고, 상기의 마이크로컴퓨터를 비상키이 서브루틴의 프로그램 제어하에서 작동시켜, 상기의 논리데드볼트 플래그를 셋트시키고, 상기의 작동기를 상기의 데드볼트플래그의 상태와 무관하게 작동시키고, 상기의 탐지기가 쇄정수단이 개방상태로 작동된다는 것을 표시할 때, 논리데드볼트 플래그를 클리어 시키도록한 쇄정시스템.The RAM of claim 1, wherein a logic deadbolt flag for prohibiting the lock output of the microcomputer when the logic deadbolt flag is set in the RAM, and an opening for prohibiting the open output when the open flag is not set. A memory register for storing a flag is included, and in the ROM, an emergency key stored therein forms a subroutine, and a lock means detector for determining when the lock means is operated in an open state is connected to the input terminal of the microcomputer. In order to activate the above-mentioned emergency key subroutine, a control code having an open bit for setting the open flag in the idle state is formed in the emergency key, and the microcomputer is placed under program control of the emergency key subroutine. Operation, set the logic deadbolt flag above, and Is operated irrespective of the state of the dead bolt flag and clears the logic dead bolt flag when the detector indicates that the locking means is operated in an open state. 제1항에 있어서, 상기의 RAM에는 논리데드볼트 플래그가 셋트될 경우 마이크로컴퓨터의 상기의 폐쇄출력을 금지하기위한 논리데드볼트 플래그와, 개방플래그 셋트되지 않을 경우 상기의 개방출력을 금지하기 위한 개방 플래그를 기억시키기위한 기억 레지스터를 포함시키고, 상기의 ROM에는 내부에 기억된 리페이즈키이 서브루틴을 포함시키고, 상기의 리페이즈 서브루틴을 가동시키기 위해서, 상기의 개방플래그를 논리상태로 셋팅시키지 않도록한 개방 비트를 갖는 제어코드를 리페이즈키이에 형성시켜서, 상기의 마이크로컴퓨터를 리페이즈 서브루틴의 프로그램 제어하에서 작동시켜, 상기의 논리데드볼트 플래그를 셋트시키고, 만일 또다른 키이가 상기 키이판독기에 의해 판독될 경우, 키이코드를 상기 제어코드에 대응하는 위치에서 키이코드메모리에 기입토록한 쇄정시스템.2. The RAM of claim 1, wherein a logic deadbolt flag for prohibiting the closed output of the microcomputer when the logical deadbolt flag is set in the RAM, and an opening for prohibiting the open output if the open dead flag is not set. A memory register for storing a flag is included, and the above-mentioned stored key is included in the ROM, so that the open flag is not set to a logic state in order to operate the above-mentioned reverse subroutine. A control code having one open bit is formed in the phase key so that the microcomputer is operated under the program control of the phase subroutine to set the logical deadbolt flag, and if another key is inserted into the key reader. When read by, the keycode is stored at a position corresponding to the control code. Immigration system to write in Mori. 제1항에 있어서, 상기의 쇄정수단을 수동으로 작동되는 실제데드볼트로 형성시키고, 실제데드볼트탐지기를 실제데드볼트가 폐쇄상태에 있는가를 결정하기 위해 상기의 마이크로컴퓨터의 입력과 연결시키고, 상기의 RAM에는 플래그가 셋트될 경우 컴퓨터의 개방출력을 금지하기 위한 논리데드볼트기억용 기억 레지스터를 형성시키고, 상기의 ROM에는 그곳에 기억된 손님서브루틴을 가동시키기 위한 제어코드를 갖는 손님키이 서브루틴을 생성시키고, 상기의 마이크로컴퓨터를 상기의 손님서브루틴의 프로그램제어하에서 작동시켜, 상기의 논리데드볼트 플래그가 셋트되지 않고, 상기의 실제데드볼트 플래그가 개방상태일 경우 상기의 작동기를 활성화시키도록한 쇄정시스템.The method of claim 1, wherein the locking means is formed of a manually operated real dead bolt, and the actual dead bolt detector is connected to the input of the microcomputer to determine whether the actual dead bolt is in the closed state. When a flag is set in RAM, a logical dead bolt memory storage register is formed to prohibit open output of the computer, and in the above ROM, a guest key subroutine having a control code for operating the guest subroutine stored therein is created. And operating the microcomputer under the program control of the guest subroutine to activate the actuator when the logical deadbolt flag is not set and the actual deadbolt flag is open. system. 제1항에 있어서, 상기의 RAM을, 해당금지비트가 셋트될 경우 손님 서브루틴에 의해 마이크로컴퓨터의 개방출력을 금지하기 위한 다수의 금지비트를 포함한 금지 레지스터와, 플래그가 리셋트 되었을 경우 마이크로컴퓨터의 개방출력을 금지하기위한 개방플래그를 깅거시키기 위한 기억 레지스터로 구성시키고, 상기의 ROM에는 내부에 기억된 관리인 서브루틴을 형성시키고, 상기의 관리인키이에는 상기 관리인 서브루틴을 가동시키기 위해서 개방플래그를 논리상태로 리셋팅하기 위한 개방비트를 포함하는 제어코드를 형성시키고, 상기의 마이크로컴퓨터를 상기의 관리인 서브루틴의 프로그램 제어하에서 작동시켜 모든 금지비트를 셋트시키도록한 쇄정시스템.The microcomputer according to claim 1, wherein the RAM includes a prohibition register including a plurality of prohibition bits for prohibiting the open output of the microcomputer by the guest subroutine when the prohibition bit is set, and the microcomputer when the flag is reset. A storage register for ginger the open flag to prohibit the open output of the controller, and a management subroutine stored therein is formed in the ROM, and the management flag is opened in order to operate the management subroutine. And a control code including an open bit for resetting the logic state to a logic state, and operating the microcomputer under program control of the administrator subroutine to set all prohibited bits. 제8항에 있어서 상기의 RAM에는 금지비트가 상기 손님키이의 제어코드에 따라 셋트될 경우 마이크로컴퓨터의 개방출력을 금지하기 위한 다수의 금지비트를 갖는 금지레지스터와, 손님 키이상의 제2코드가 키이의 현재의 판독에 의해 키이 코드 메모리에 기입되는 것을 표시하기위한 새로운 비트 플래그를 형성시키고, 상기의 마이크로컴퓨터를 상기의 손님 키이 서브루틴의 프로그램제어하에서 작동시켜, 새로운 키이 플래그가 셋트될 경우 키이의 제어코드에 해당하는 금지비트를 클리어 시키도록한 쇄정시스템.9. The RAM according to claim 8, wherein the RAM includes a prohibition register having a plurality of prohibition bits for prohibiting the open output of the microcomputer when the prohibition bit is set according to the control code of the guest key, and the second code of the guest key or more is keyed. Forming a new bit flag to indicate that the key is to be written to the code memory by the current reading of the microcomputer and operating the microcomputer under program control of the guest key subroutine so that when the new key flag is set A locking system that clears the prohibited bit corresponding to the control code. 제1항에 있어서, 밧테리 전압센서를 상기 마이크로컴퓨터의 압력단과 연결시키고, 상기의 RAM에는 플래그가 리셋트될 경우 마이크로컴퓨터의 개방출력을 금지하기 위한 개방플래그와, 쇄정 수단의 작동을 표시하기 위한 노브-회전 플래그를 기억시키기 위한 기억 레지스터를 형성시키고, 노브-회전 플래그가 종업원 키이의 사용에 의해 셋트되는 횟수를 계수하기 위한 종업원 키이 카운터를 형성시키고, 상기의 ROM에는 그곳에 기억된 종업원 키이 서브루틴을 형성시키며, 상기의 종업원 키이에는 상기 종업원 키이 서브루틴을 가동시키기 위해서 개방플래그를 논리상태로 셋팅하기 위한 개방비트를 포함하는 제어코드를 형성시키고, 상기의 마이크로컴퓨터를 상기의 종업원 키이 서브루틴의 프로그램 제어하에서 작동시켜, 밧테리 전압센서가 밧테리 전압이 로우임을 표시할 때 종업원 키이 카운터를 증가시키고, 최종으로 사용된 키이가 종업원키이가 아니며 종업원 키이 카운터에 의해 기록된 계수가 소정수를 초과할 경우 시스템을 대기상태로 위치시키고, 최종키이가 종업원 키이이며 논리데드볼트가 셋트되지 않으며 실제데드볼트가 셋트되지 않았을 경우 상기의 개방출력을 개방상태로 절환시키고, 종업원키이가 상기의 소정 횟수이상 문을 개방하는데 쓰이는 동안 밧테리가 로우일때 개방을 위해서 상기의 종업원 키이가 연속적으로 2회 사용되도록한 쇄정시스템.The battery of claim 1, wherein the battery voltage sensor is connected to the pressure terminal of the microcomputer, and the RAM is an open flag for prohibiting the open output of the microcomputer when the flag is reset, and for indicating the operation of the locking means. Form a memory register for storing the knob-turn flag, an employee key counter for counting the number of times the knob-turn flag is set by use of the employee key, and in the ROM, the employee key subroutine stored there And forming a control code in the employee key including an open bit for setting an open flag into a logical state for operating the employee key subroutine, and setting the microcomputer in the employee key subroutine. The battery voltage sensor When the pressure is low, the employee key increments the counter, and if the last key used is not the employee key and the count recorded by the employee key counter exceeds the predetermined number, the system is placed in a standby state and the final key is If the employee key is not set and the logical dead bolt is not set and the actual dead bolt is not set, the open output is switched to the open state, and when the battery is low while the employee key is used to open the door a predetermined number of times, A lockout system in which the employee key is used twice in succession. 제1항에 있어서, 상기의 ROM에는 그곳에 기억된 일발키이 서브루틴을 가동시키기 위한 제어코드를 갖는 일발키이 서브루틴을 형성시키고, 상기의 RAM에는 상기의 일발키이상의 제2코드를 키이의 현재의 판독에 의해 키이코드메모리에 기입되는 것을 셋트할 경우를 표시하기 위한 새로운 비트 플래그를 형성시키고, 상기의 마이크로컴퓨터를 일발키이 서브루틴의 프로그램 제어하에서 작동시켜, 새로운 플래그가 셋트되고, 논리데드볼트가 셋트되지 않고, 실제데드볼트가 셋트되지 않을 경우 상기 마이크로컴퓨터의 개방출력을 개방상태로 절환토록한 쇄정시스템.2. The ROM of claim 1, wherein a single key subroutine having a control code for operating the primary key subroutine stored therein is formed in the ROM, and the second code of the key above the primary key is stored in the RAM. A new bit flag is formed to indicate when to set writing to the keycode memory by reading, and the microcomputer is operated under program control of the primary key subroutine, and a new flag is set and the logic dead bolt is And a locking system for switching the open output of the microcomputer to an open state if it is not set and an actual dead bolt is not set. 제1항에 있어서, 각각의 키이가 그곳에 기억시킨 호텔 코드를 가지며, 상기의 RAM에는 할당된 호텔코드를 기억시키기위한 호텔코드 레지스터를 형성시키고, 상기의 마이크로컴퓨터를 상기의 주프로그램의 프로그램 제어하에서 작동시켜, 상기 키이로부터 판독된 호텔 코드를 할당된 호텔코드와 비교하여, 일치하지 않을 경우 에러정지루틴을 작동시키도록한 쇄정시스템.2. The computer program according to claim 1, wherein each key has a hotel code stored therein, wherein said RAM is formed with a hotel code register for storing an assigned hotel code, and said microcomputer is under program control of said main program. And a hotel code read from the key is compared with an assigned hotel code to operate an error stop routine if it does not match. 제1항에 있어서, 각각의 키이가 그곳에 기억된 호텔코드를 가지며, 상기의 RAM에는 할당된 호텔코드를 기억시키기위한 호텔코드레지스터를 형성시키며, 상기의 마이크로컴퓨터를 상기의 키이판독기에 의해서 선택된 키이로부터 입력된 코드에 따라 상기의 주프로그램의 프로그램제어하에서 작동시켜, 상기의 제어코드를 상기의 제어코드 기억레지스터에 기억시키고, 키이상의 상기의 호텔코드가 할당된 호텔코드와 일치하는지를 결정하고, 일치할 경우에는 제어코드가 호텔 통과 기능에 해당하는지를 결정하고, 그럴 경우에는 마이크로컴퓨터의 상기의 폐쇄/개방출력을 개방상태로 절환토록한 쇄정시스템.2. The key of claim 1, wherein each key has a hotel code stored therein, and the RAM forms a hotel code register for storing the assigned hotel code, and wherein the key selected by the key reader is set to the microcomputer. It operates under program control of the main program according to the code inputted from the above, stores the control code in the control code storage register, determines whether the hotel code above the key matches the assigned hotel code, and matches If so, it is determined whether the control code corresponds to the hotel passing function, and if so, the closing system for switching the closed / open output of the microcomputer to an open state. 제1항에 있어서, 상기의 RAM에는 플래그가 셋트될 경우 마이크로컴퓨터의 폐쇄/개방출력을 금지하기 위한 논리 데드볼트플래그의 기억용 기억레지스터를 포함시키며, 상기의 ROM에는 그곳에 기억된 제1안전키이 서브루틴과 제2안전키이 서브루틴을 포함시키며, 제1안전키이에는 상기의 제1안전키이 서브루틴을 가동시키기위한 제어코드를 형성시키며, 상기의 마이크로컴퓨터를 제1안전서브루틴의 프로그램 제어하에서 작동시켜, 상기의 논리데드볼트 플래그를 셋트시켜 또다른 키이의 입력을 기다리도록하고, 제2안전키이에는 상기의 제2 안전키이 서브루틴을 가동시키기 위한 제어코드를 형성시키며, 상기의 마이크로컴퓨터를 제2안전서브루틴의 프로그램 제어하에서 작동시켜, 상기의 논리 데드볼트플래그를 셋트시켜 최후에 입력된 키이가 상기의 제1안전키이일 경우 작동기를 활성화 시키도록한 쇄정시스템.The RAM of claim 1, wherein the RAM includes a memory register for storing a logic deadbolt flag to prohibit the closing / opening of the microcomputer when the flag is set, and the ROM includes a first safety key stored therein. The subroutine and the second safety key include a subroutine, and the first safety key forms a control code for operating the first safety key subroutine, and the microcomputer controls the program of the first safety subroutine. And the logic dead bolt flag is set to wait for another key to be input, and the second safety key forms a control code for operating the second safety key subroutine. The computer is operated under the program control of the second safety subroutine, the logic dead bolt flag is set above, and the last key entered is 1 a locking system to enable the safety key, if one actuator. 제1항에 있어서, 상기의 RAM에 오판독 카운터를 포함시키고, 상기의 마이크로컴퓨터를 상기의 주프로그램의 프로그램제어하에서 작동시켜, 키이가 판독되어 그것이 일치하지 않을 경우 상기의 오판독 카운터를 증가시키도록 하고, 상기의 RAM에 지연타이머를 포함시키고, 상기의 마이크로컴퓨터를 프로그램 제어하에서 작동시켜 오판독 카운터의 계수가 소정치를 초과할 경우 상기의 지연타이머에 의해 설정된 소정의 시간지연이 있은 후까지 키이로부터 데이터를 판독치 않도록 한 쇄정시스템.2. The system of claim 1, wherein a false read counter is included in the RAM, and the microcomputer is operated under program control of the main program to increase the false read counter when a key is read and it does not match. If a delay timer is included in the RAM, and the microcomputer is operated under program control, and the count of the erroneous reading counter exceeds a predetermined value, after the predetermined time delay set by the delay timer, A lockout system that prevents data from being read from the key. 제1항에 있어서, 상기의 ROM에는 기억된 상기의 프로그램에 정지루틴을 포함시키고, 쇄정수단이 개방상태로 작동될 경우를 결정하는 쇄정수단 탐지기를 상기의 마이크로컴퓨터의 입력단과 연결시키고, 상기의 RAM에는 문을 개방하는데 사용된 소정의 최근의 상이한 키이수에 의해 문을 순차적으로 개방한 횟수를 기록토록한 다수의 개방 반복카운터와, 개방키이 형태의 최후의 키이숫자를 기록하기 위한 키이형태 레지스터를 포함시키고, 상기의 마이크로컴퓨터를 상기 정지루틴의 프로그램 제어하에서 작동시켜, 쇄정수단이 작동되었을 때와 상기 키이의 제어코드가 최종개방키이의 제어코드와 동일할때 반복카운터를 증가시켜서, 기록된 데이터를 분석목적을 위해 외부적으로 억세스시키도록한 쇄정시스템.2. The ROM according to claim 1, wherein the ROM includes a stop routine in the program stored therein, and connects a lock means detector for determining when the lock means is operated in an open state with the input terminal of the microcomputer. The RAM includes a number of open repeat counters for recording the number of times the door is opened sequentially by a predetermined number of different keys used to open the door, and a key type register for recording the last key number in the form of an open key. And operating the microcomputer under program control of the stop routine to increase the repetition counter when the locking means is activated and when the control code of the key is the same as the control code of the last open key. Immigration system that allows data to be accessed externally for analysis purposes. 제1항에 있어서, 쇄정수단이 개방상태로 작동될 경우를 결정하는 쇄정수단 탐지기를 상기의 마이크로컴퓨터의 입력단과 연결시키고, 상기의 RAM에는 주기타이머를 형성시키고, 상기의 마이크로컴퓨터를 상기의 주프로그램의 프로그램제어하에서 작동시켜, 상기의 키이가 키이판독기에 삽입될 경우 상기의 주기 타이머를 개시키고, 상기의 코드가 비교되어 상기의 쇄정수단이 예정된 시간주기내에서 작동되지 않을 경우 또 다른 작동을 방지토록한 쇄정시스템.2. The apparatus of claim 1, wherein a locking means detector for determining when the locking means is operated in an open state is connected to an input of the microcomputer, a periodic timer is formed in the RAM, and the microcomputer is connected to the main computer. Operate under program control of the program to open the cycle timer when the key is inserted into the key reader, and to perform another operation when the code means is compared and the lock means does not operate within the predetermined time period. Preventive locking system. 제1항에 있어서 각각의 키이가 그곳에 기억된 링크코드를 가지고, 상기의 선택된 키이에는 선택키이의 바로전에 발행된 동일 레벨의 키이의 제2키이코드와 동일한 제1키이코드와, 선택된 키이의 바로전에 2번이상 발행된 동일 레벨의 키이의 제2코드와 동일하며 그곳에 기억된 링크코드를 형성시키며, 상기의 마이크로 상기의 마이크로컴퓨터를 상기 선택된 키이로부터 입력된 코드에 반응하는 상기 주프로그램의 프로그램 제어하에서 작동시켜, 키이코드와 비교하여, 만약 일치하지 않을 경우에는 상기의 마이크로컴퓨터를 작동시켜 상기의 링크코드를 상기의 키이코드 메모리의 위치에 할당된 키이코드와 비교하고, 만약 일치할 경우에는 마이크로컴퓨터를 프로그램제어하에서 작동시켜 제2코드를 키이코드메모리의 상기의 위치에 기입시켜 쇄정시스템을 상기의 선택된 키이의 기능에 따라 작동시키도록한 쇄정시스템.The key of claim 1, wherein each key has a link code stored therein, and the selected key includes a first key code that is the same as a second key code of a key of the same level issued immediately before the selection key, and a key of the selected key. A program of the main program which is identical to a second code of a key of the same level issued two or more times immediately before and forms a link code stored therein, wherein the microcomputer of the micro responds to the code input from the selected key. Operated under control, and compared with the keycode, if it does not match, operate the microcomputer to compare the linkcode with the keycode assigned to the keycode memory location, and if there is a match When the microcomputer is operated under program control and the second code is written to the above position in the key code memory, A locking system to operate in accordance with the key feature of the selected system. 제1항에 있어서, 상기의 자물쇠가 폐쇄 또는 개방상태로 유지되도록한 사무실 자물쇠일 경우, 소정의 논리상태로 셋트되는 입력핀을 상기의 마이크로컴퓨터에 설치하고, 상기의 ROM에는 사무실 쇄정 서브루틴을 포함시키고, 상이한 형태의 다수의 키이를 개방키이, 폐쇄키이, 및 토글키이로 형성시켜, 상기의 마이크로컴퓨터를 사무실 키이 서브루틴의 프로그램제어하에서 작동시켜, 상기의 입력핀이 상기의 논리상태인가를 결정하고, 그럴경우에는 상기의 키이판독기에 삽입된 키이가 개방키이, 폐쇄키이 또는 토글키이인가를 결정해서, 개방키이 폐쇄키이 또는 토글키이에 따라 상기의 전기적으로 제어되는 작동기를 활성화시키도록한 쇄정시스템.The office lock according to claim 1, wherein in the case of an office lock in which the lock is kept in a closed or open state, an input pin set in a predetermined logic state is provided in the microcomputer, and the office lock subroutine is provided in the ROM. A plurality of keys of different types into an open key, a closed key, and a toggle key to operate the microcomputer under program control of an office key subroutine to determine whether the input pin is in the above logical state. And in such a case, it is determined whether the key inserted into the key reader is an open key, a closed key, or a toggle key, so that the open key activates the electrically controlled actuator according to the closed key or the toggle key. system. 제20항에 있어서, 상기의 마이크로 컴퓨터에는 상기의 전기 제어작동기의 활성화를 제어하기 위한 잠김/비잠김 출력단과, 쇄정수단을 비잠김상태로 유지하기 위한 비잠김장치의 활성화를 제어하기 위한 비잠김 출력단, 및 상기의 쇄정수단을 잠김상태로 유지하기위한 잠김장치의 활성화를 제어하기 위한 잠김출력단을 설치히고, 상기의 마이크로컴퓨터를 사무실 쇄정서브루틴의 프로그램제어하에서 작동시켜, 삽입된 키이가 비잠금 키이일 경우를 결정하여, 비잠금 키이일 경우에는 잠김/ 비잠김 출력단과, 잠김출력단, 및 상기의 비잠김 상태에 대응하는 비잠김출력단에서 신호를 발생토록한 쇄정시스템.21. The microcomputer of claim 20, wherein the microcomputer has a locked / unlocked output stage for controlling the activation of the electric control actuator and an unlocked for controlling the activation of the non-locking device for keeping the locking means in the unlocked state. An output stage and a locking output stage for controlling the activation of the locking device for keeping the locking means locked are installed, and the microcomputer is operated under the program control of the office locking subroutine so that the inserted key is not locked. And determining the case of the key and generating a signal at the locked / unlocked output stage, the locked output stage, and the non-locked output stage corresponding to the non-locked state. 제20항에 있어서, 상기의 마이크로컴퓨터에는 상기의 전기제어작동기의 활성화를 제어하기 위한 잠김/비잠김출력단과 쇄정수단을 비잠김상태로 유지하기 위한 비잠김장치의 활성화를 제어하기위한 비잠김출력단, 및 상기의 쇄정수단을 잠김상태로 유지하기위한 잠김장치의 화성화를 제어하기위한 잠김출력단을 설치하고, 사기의 마이크로컴퓨터를 사무실 쇄정서브루틴의 프로그램제어하에서 작동시켜, 삽입된 키이가 잠금키이일 경우를 결정하여, 잠금키이일 경우에는 잠김/비잠김 출력단과, 잠김출력단, 및 상기의 잠김상태에 대응하는 비잠김출력단에서 신호를 발생토록한 쇄정시스템.21. The non-locked output terminal according to claim 20, wherein the microcomputer has a locked / unlocked output stage for controlling activation of the electric control actuator and an unlocked output stage for controlling activation of the non-locking apparatus for keeping the locking means in an unlocked state. And a locking output stage for controlling the harmonization of the locking device for keeping the locking means locked, and operating the fraudulent microcomputer under the program control of the office locking subroutine, so that the inserted key is locked. And a lock key to generate a signal at a locked / unlocked output stage, a locked output stage, and a non-locked output stage corresponding to the locked state. 제20항에 있어서, 상기의 마이크로컴퓨터에는 상기의 전기 제어작동기의 활성화를 제어하기위한 잠김/비잠김출력단과, 쇄정수단을 비잠김상태로 유지하기 위한 비잠김장치의 활성화를 제어하기위한 비잠김출력단, 및 상기의 쇄정수단을 잠김상태로 유지하기 위한 잠김장치의 활성화를 제어하기 위한 잠김출력단을 설치하고, 상기의 마이크로컴퓨터를 사무실 쇄정서브루틴의 프로그램 제어하에서 작동시켜, 삽입된 키이가 토글키이일 경우를 결정하여, 토글키이일 경우에는 잠김/비잠김출력단과, 잠김출력단, 및 자물쇠가 잠겨져 있을 경우에는 상기의 비잠김상태, 또는 자물쇠가 잠겨있지 않을 경우에는 상기의 잠김상태에 대응하는 비잠김출력단에서 신호를 발생토록한 쇄정시스템.21. The microcomputer of claim 20, wherein the microcomputer has a locked / unlocked output stage for controlling the activation of the electric control actuator and an unlocked for controlling the activation of the non-locking device for keeping the locking means in the unlocked state. An output stage and a locking output stage for controlling activation of the locking device for keeping the locking means locked are installed, and the microcomputer is operated under the program control of the office locking subroutine so that the inserted key is toggled. In the case of the toggle key, the locked / unlocked output stage in the case of the toggle key, the locked output stage, and the non-locked state when the lock is locked, or the non-locked state corresponding to the locked state when the lock is not locked. Locking system that generates a signal at the output. 제1항에 있어서, 상기의 RAM에는 플래그가 셋트될 경우 마이크로컴퓨터의 상기의 잠김/비잠김출력을 금지하기 위한 논리데드볼트 플래그를 기억시키기 위한 기억레지스터를 포함시키고, 상기의 ROM에는 내부에 기억된 일발 키이안전서브루틴을 형성시키고, 상기의 일발키이 서브루틴을 가동시키기위한 제어코드를 안전키이에 형성시키고, 상기의 RAM에는 실제데드볼트가 무시될 경우 논리 1로 세트되는 C볼트비트를 포함시키고, 상기의 마이크로컴퓨터를 일발키이 서브루틴의 ㅍ로그램제어하에서 작동시켜, 상기의 C볼트 비트가 논리 1일때를 결정하고, 그것이 논리데드볼트의 상태와 무관할 경우 논리데드볼트를 셋트시켜 전기제어작동기를 활성화시키도록한 쇄정시스템.The RAM according to claim 1, wherein the RAM includes a memory register for storing a logic deadbolt flag for prohibiting the locked / unlocked output of the microcomputer when the flag is set, and the ROM is stored internally. A primary key safety subroutine is formed, a control code for operating the primary key subroutine is formed in the safety key, and the RAM includes a C bolt bit set to logic 1 when the actual dead bolt is ignored. The microcomputer is operated under program control of the primary key subroutine to determine when the C volt bit is logic 1, and if it is irrelevant to the state of the logic dead bolt, set the logic dead bolt to Locking system for activating the control actuator. 제1항에 있어서, 상기의 RAM에는 키이코드메모리의 상이한 위치에 대응하는 레벨수를 기억시키기위한 하이셀레지스터를 포함시키고, 상기의 ROM에는 그곳에 기억된 하이셀 서브루틴을 포함시키고, 하이셀키이에는 상기의 서브루틴을 가동시키기 위한 제어코드를 형성시키며, 상기의 마이크로컴퓨터를 상기의 하이셀 서브루틴의 프로그램 제어하에서 작동시켜, 하이 셀 레지스터에 기억된 레벨수가 상기의 ROM의 하이 셀 키이에 할당된 레벨수와 동일한가를 결정하여, 동일하지 않을 경우 하이 셀 키이에 대응하는 레벨 수를 하이 셀 레지스터에 기억시키도록하며, 선택된 키이가 삽입될 때 상기의 RAM내에 기억된 상기의 서브루틴중 선택된 하나의 서브루틴의 프로그램 제어하에서 상기의 마이크로컴퓨터를 작동시켜, 선택된 키이에 할당된 레벨수가 이 하이셀 레지스터에 기억된 레벨수보다 더 높을지를 결정하여, 더 많을 경우에는 상기의 선택된 키이의 기능에 따라서 쇄정시스템의 작동을 금지시키도록한 쇄정시스템.2. The RAM according to claim 1, wherein the RAM includes a high cell register for storing the number of levels corresponding to different positions of the key code memory, and the ROM includes a high cell subroutine stored therein. Forms a control code for operating the subroutine, operates the microcomputer under program control of the high cell subroutine, and assigns the number of levels stored in the high cell register to the high cell key of the ROM. Determine if the number is equal to the number of levels, and if not equal, store the number of levels corresponding to the high cell key in the high cell register, and the selected one of the above subroutines stored in the RAM when the selected key is inserted The microcomputer is operated under program control of a subroutine of To determine yisel higher than the number of levels stored in the register, if more to have a locking system so as to prohibit the operation of the locking system according to the features of the selected key. 제1항에 있어서, 상기의 RAM에는 키이코드메모리의 상이한 위치에 대응하는 레벨수를 기억시키기 위한 로우 셀(low cell)레지스터를 포함시키고, 상기의 ROM에는 그곳에 기억된 로우셀 서브루틴을 포함시키고, 로우 셀 키이에는 상기의 서브루틴을 가동시키기 위한 제어 코드를 형성시키며, 상기의 마이크로컴퓨터를 상기의 로우셀 서브루틴의 프로그램 제어하에서 작동시켜, 로우셀 레지스터에 기억된 레벨수가 로루 셀 키이에 할당된 레벨수와 동일한가를 결정하여, 동일하지 않을 경우 로부 셀 키이에 대응하는 레벨수를 로우 셀레지스터에 기억시키도록하며, 선택된 키이가 삽입될때 상기의 RAM내에 기억된 상기의 서브루틴중 선택된 하나의 서브루틴의 프로그램 제어하에서 상기의 마이크로컴퓨터를 작동시켜, 선택된 키이에 할당된 레벨수가 로우 셀 레지스터에 기억된 레벨수보다 더 낮은지를 결정하여, 더 적을 경우에는 상기의 선택된 키이의 기능에 따라서 쇄정시스템의 작동을 금지시키도록한 쇄정시스템.2. The RAM of claim 1, wherein the RAM includes a low cell register for storing the number of levels corresponding to different locations of the keycode memory, and the ROM includes a low cell subroutine stored therein. And a control code for operating the subroutine in the low cell key, and the microcomputer is operated under program control of the low cell subroutine so that the number of levels stored in the low cell register is stored in the low cell key. Determine whether the number is the same as the allocated level, and if not equal, store the number of levels corresponding to the low cell key in the low register, and the selected one of the above subroutines stored in the RAM when the selected key is inserted. The microcomputer is operated under program control of a subroutine of When determining whether to lower than the number of levels stored in the registers, less has a locking system so as to prohibit the operation of the locking system according to the features of the selected key. 제1항에 있어서, 재프로그래밍 루틴을 상기의 ROM에 기억시키고, 제1키이, 제2키이, 및 제3키이를 형성시켜, 상기의 마이크로컴퓨터를 프로그램 제어하에서 작동시켜, 제1 및 제2키이가 순차명으로 삽입되었는지를 결정하여, 그렇게 삽입되어 있을 경우에는 제2키이가 개방형의 비상 레벨키이인가를 결정하여, 비상레벨키이일 경우에는 제3키이가 다음에 삽입된 키이인가를 결정하고, 다음에 삽입된 키이일 경우에는 제3키이상의 데이터에 따라서 소망하는 키이 기능에 대응하는 포인터를 상기의 기능테이블의 각각의 위치에 할당하도록한 쇄정시스템.2. The computer program according to claim 1, wherein the reprogramming routine is stored in the ROM, and a first key, a second key, and a third key are formed, and the microcomputer is operated under program control to operate the first and second keys. Determines whether the key is inserted in the sequential name, and if so, determines whether the second key is an open emergency level key, and if it is an emergency level key, determines whether the third key is the next inserted key, And a key corresponding to a desired key function according to the data of the third key or more, to be assigned to each position of the function table. 제27항에 있어서, 제3키이가 개방키이가 아닐 경우, 상기의 마이크로컴퓨터를 프로그램 제어하에서 작동시켜, 선택된 코드를 코드레지스터에 재할당하도록한 쇄정시스템.28. The lockout system according to claim 27, wherein when the third key is not an open key, the microcomputer is operated under program control to reassign the selected code to the code register. 제1항에 있어서, 마이크로컴퓨터가 클럭펄스의 발생시 또는 개시스위치의 작동에 반응하여 가동을 시작하도록 하기위해서, 주기적인 클럭펄스를 발생하기 위한 클럭을 마이크로컴퓨터의 개시입력과 연결시키고, 키이판독기의 키이작동스위치를 상기의 개시입력과 연결시키며, 클럭펄스수에 대응하는 계수를 수신하기 위한 카운터를 상기의 클럭출력단과 연결시키고, 히스토리버퍼를 상기의 RAM에 설치하고 상기의 계수를 기록하기 위한 수단을 상기의 히스토리버퍼에 설치하되 자물쇠가 잠겨있지 않을 때마다 데이터를 히스토리버퍼에 동시에 기록하여 비잠금에 사용되었던 키이를 식별토록한 쇄정시스템.2. The apparatus of claim 1, wherein a clock for generating a periodic clock pulse is coupled with a start input of the microcomputer to cause the microcomputer to start operation upon generation of a clock pulse or in response to operation of the start switch. Means for connecting a key operation switch with the start input, connecting a counter for receiving a coefficient corresponding to the number of clock pulses with the clock output terminal, and installing a history buffer in the RAM and recording the coefficient. Is installed in the above history buffer, but whenever the lock is not locked, the data is recorded in the history buffer at the same time so as to identify the key used for the non-locking. 제29항에 있어서, 개시스위치와 클럭출력을 상호 분리하기 위한 수단을 설치하고, 상기의 개시스위치를 마이크로컴퓨터의
Figure kpo00007
핀에 연결시켜 개시스위치의 개시신호가 클럭출력의 개시신호보다 먼저 진행하도록하고, 상기의 클럭을 상기의 클럭펄스를 발생시키기 위한 리플카운터로 구성시키며, 상기의 클럭펄스에 반응하여 상기의 리플카운터를 클리어 시키기 위한 수단을 설치시켜서된 쇄정시스템.
30. The apparatus of claim 29, further comprising means for separating the initiation switch and the clock output from each other, said initiation switch being a
Figure kpo00007
The start signal of the start switch advances to the start signal of the clock output by connecting to a pin, and configures the clock as a ripple counter for generating the clock pulse, and the ripple counter in response to the clock pulse. A lockout system incorporating means for clearing.
KR1019860700043A 1984-08-17 1985-06-04 Microcomputer controlled locking system KR930005700B1 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US64179284A 1984-08-17 1984-08-17
US641,792 1984-08-17
US74004085A 1985-05-31 1985-05-31
US740,040 1985-05-31
PCT/US1985/001024 WO1986001360A1 (en) 1984-08-17 1985-06-04 Microcomputer controlled locking system

Publications (2)

Publication Number Publication Date
KR860700327A KR860700327A (en) 1986-08-01
KR930005700B1 true KR930005700B1 (en) 1993-06-24

Family

ID=27093845

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019860700043A KR930005700B1 (en) 1984-08-17 1985-06-04 Microcomputer controlled locking system

Country Status (9)

Country Link
EP (1) EP0193537B1 (en)
KR (1) KR930005700B1 (en)
AT (1) ATE75092T1 (en)
AU (1) AU4493485A (en)
BR (1) BR8506882A (en)
CA (2) CA1252854A (en)
DE (1) DE3585876D1 (en)
NO (1) NO301434B1 (en)
WO (1) WO1986001360A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1303867C (en) * 1986-01-23 1992-06-23 David Charles Blake Security system
KR870009095A (en) * 1986-03-21 1987-10-23 존 디. 델폰티 Keying system
US5021776A (en) * 1988-07-11 1991-06-04 Yale Security Inc. Electronic combination of lock with changeable entry codes, lock-out and programming code
US5198643A (en) * 1991-02-26 1993-03-30 Computerized Security Systems, Inc. Adaptable electronic key and lock system
GB9314326D0 (en) * 1993-07-09 1993-08-25 Sedley Bruce S Magnetic card- operated door closure
ES2112152B1 (en) * 1995-04-03 1998-10-01 Talleres Escoriaza Sa AUTONOMOUS ELECTRONIC LOCK WITH PROXIMITY READER.
CN2217077Y (en) * 1995-07-21 1996-01-10 北京亿鑫企业发展总公司 Electronic puzzle lock
IES950815A2 (en) * 1995-10-18 1995-12-27 Canmoy Holdings Ltd A resource controller
JP3769804B2 (en) * 1996-02-02 2006-04-26 ソニー株式会社 Decoding method and electronic device
GB2315804A (en) * 1996-07-29 1998-02-11 Christopher James Hunter Programmable key and lock
US20110254661A1 (en) 2005-12-23 2011-10-20 Invue Security Products Inc. Programmable security system and method for protecting merchandise
EP3162988B1 (en) * 2015-10-29 2018-08-15 BKS GmbH Closing device for a door
US10666439B2 (en) 2017-12-01 2020-05-26 International Business Machines Corporation Hybrid security key with physical and logical attributes
US10764064B2 (en) 2017-12-01 2020-09-01 International Business Machines Corporation Non-networked device performing certificate authority functions in support of remote AAA
US10392833B2 (en) 2017-12-01 2019-08-27 International Busniess Machines Corporation Hybrid physical and logical locking device and mechanism

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3786471A (en) * 1971-04-05 1974-01-15 H Hochman Security maintenance system
US3821704A (en) * 1972-03-13 1974-06-28 D Sabsay Self re keying security device with coded key
US3926021A (en) * 1974-01-02 1975-12-16 Monitron Ind Electronic combination lock and system
US3969584A (en) * 1975-01-17 1976-07-13 Cecil John Miller System for recording the actuation of remotely located locking devices
US4177657A (en) * 1976-04-16 1979-12-11 Kadex, Inc. Electronic lock system
US4148092A (en) * 1977-08-04 1979-04-03 Ricky Martin Electronic combination door lock with dead bolt sensing means
US4232353A (en) * 1978-06-19 1980-11-04 Roger Mosciatti Door lock security system
US4283710A (en) * 1978-10-25 1981-08-11 J.S. Lock Company Security system
US4385231A (en) * 1980-06-27 1983-05-24 Omron Tateisi Electronics Co. Unlocking system for use with cards

Also Published As

Publication number Publication date
EP0193537A4 (en) 1987-02-12
AU4493485A (en) 1986-03-07
BR8506882A (en) 1986-12-09
KR860700327A (en) 1986-08-01
EP0193537B1 (en) 1992-04-15
NO861387L (en) 1986-06-11
NO301434B1 (en) 1997-10-27
ATE75092T1 (en) 1992-05-15
EP0193537A1 (en) 1986-09-10
DE3585876D1 (en) 1992-05-21
WO1986001360A1 (en) 1986-02-27
CA1276039C (en) 1990-11-06
CA1252854A (en) 1989-04-18

Similar Documents

Publication Publication Date Title
KR930005700B1 (en) Microcomputer controlled locking system
US5986564A (en) Microcomputer controlled locking system
US4972182A (en) Electronic security lock
US4385231A (en) Unlocking system for use with cards
US3866173A (en) Access control system for restricted area
US4283710A (en) Security system
EP0044630A1 (en) Electronic security device
EP0162171A2 (en) Method of code changing for electronic lock
GB2118614A (en) Method of code changing for electronic lock
JPH03100286A (en) Locking device
JPS60195280A (en) Electronic lock controller
US4868914A (en) Method for clearing unlocking key codes in an electronic locking device
ES2252476T3 (en) ELECTRONICALLY CONTROLLED ADMISSION DEVICE AND WRENCH USED WITH THE SAME.
US4851828A (en) Electronic locking devices
JP2759448B2 (en) Microcomputer controlled lock system
CA1298902C (en) Microcomputer controlled door locking system
JPS58575A (en) Electronic lock
JPS5851593B2 (en) How to unlock using a card
JPH0224464A (en) Operation control device
JPH0444063B2 (en)
EP0382412A2 (en) Locking system
EP0246903A1 (en) A method for clearing unlocking key codes in an electronic locking device
JPS6210385A (en) Method for cleaing unlocking key code in electronic lock apparatus
JP2591661B2 (en) Electronic lock
JPH0444064B2 (en)

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: 20000622

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee