KR930009701B1 - Timer - Google Patents

Timer Download PDF

Info

Publication number
KR930009701B1
KR930009701B1 KR1019910017412A KR910017412A KR930009701B1 KR 930009701 B1 KR930009701 B1 KR 930009701B1 KR 1019910017412 A KR1019910017412 A KR 1019910017412A KR 910017412 A KR910017412 A KR 910017412A KR 930009701 B1 KR930009701 B1 KR 930009701B1
Authority
KR
South Korea
Prior art keywords
central processing
time
control
program
input
Prior art date
Application number
KR1019910017412A
Other languages
Korean (ko)
Other versions
KR930008894A (en
Inventor
이광재
Original Assignee
금성전선 주식회사
박원근
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 금성전선 주식회사, 박원근 filed Critical 금성전선 주식회사
Priority to KR1019910017412A priority Critical patent/KR930009701B1/en
Publication of KR930008894A publication Critical patent/KR930008894A/en
Application granted granted Critical
Publication of KR930009701B1 publication Critical patent/KR930009701B1/en

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H43/00Time or time-programme switches providing a choice of time-intervals for executing one or more switching actions and automatically terminating their operations after the programme is completed

Landscapes

  • Electric Clocks (AREA)
  • Power Sources (AREA)

Abstract

The micro timer device is suitable for program-control type industrial equipment for controlling real time of power supply. The device comprises clock supply section (1) and reset section (2) for supplying clock to CPU (3) and applying reset signal automatically by detecting electricity failure or outer factors; CPU (3) for generating real time, controlling time display, program-controlling relay-contact according to input data; real time control section (4) for processing received order when the CPU performs other works; ROM (5) for memorizing time control program; memory RAM (6) for memorizing program data; series input/output interface (7) for transmitting data to a printer or computer; parallel interface adaptor (8), relay board (9), key board (10) and display section (11).

Description

다중접점 마이크로 타이머장치Multi-contact micro timer device

제 1 도는 본 발명장치의 블록구성도.1 is a block diagram of an apparatus of the present invention.

제 2 도는 볼 발명장치의 프론트 판넬 (panel)상태 배치도.2 is a front panel state layout of the ball invention device.

제 3 도는 본 발명장치의 백 판넬 구조도.3 is a structural diagram of the back panel of the present invention.

제 4 도는 본 발명장치에 적용되는 병렬 인터페이스 아답터(PIA)출력단 릴레이 보오드의 실예도.4 is an exemplary diagram of a parallel interface adapter (PIA) output stage relay board applied to the apparatus of the present invention.

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

1 : 클록공급부 2 : 리셋트부1: Clock supply part 2: Reset part

3 : 중앙처리부(CPU) 4 : 실시간제어부3: central processing unit (CPU) 4: real-time control unit

5 : 롬(프로그램) 6 : 램(메모리)5: ROM (Program) 6: RAM (Memory)

7 : 직렬식 입/출력 인터페이스 8 : 병렬 인터페이스 아답터7 Serial Input / Output Interface 8 Parallel Interface Adapter

9 : 릴레이보오드 10 : 키보오드9: relay board 10: keyboard

11 : 디스플레이부11 display unit

본 발명은 리얼타임을 내장한 프로그램 제어방식으로 각종 전원공급의 실시간을 제어하는 산업용 장비에 적합하도륵 한 다중접점 마이크로 타이머장치에 관한 것이다. 일반적으로 시간제어를 위한 종래의 온/오프타이머장치는 주로 오디오 클록계통에서 쉽게 볼 수 있는 바, 그 예로 1시간 셋팅후 자동오프되는 1시간 슬립타이머와, 셋팅된 시간에 온 이후 1시간 유지하는 알람타이머 기능이 잘 알려져 있다. 이와같은 타이머는 공통적으로 2-3개의 스위치 접점을 이용하여 시간상태에 따라 단일 내지는 복수개의 장비를 제어하는 방식에 지나지 않으나, 산업용에는 고가의 제어장치가 탑재된 경우에만 자동 온/오프 기능을 구비하고 이 경우에도 전체 시스템을 다시 켰을 경우마다 자동적으로 리셋트되어 시간제어를 행하기 위한 조작을 반복적으로 행하여야 하는 불편한 문제점이 있었다. 따라서 본 발명의 목적은 상기한 종래기술의 문제점을 감안하여 리얼타임을 내장한 프로그램 제어방식으로 정전시 장시간동안 셋팅시간 데이타유지 및 현재 제어대상을 표시하고 복수의 8비트 포트로 최대 64비트의 접점을 제어함은 물론 외부 컴퓨터 및 프린터와도 통신을 행할 수 있도륵 함으로서 각종 전원공급의 시간을 제어하는 장비에 매우 적합하도록 한 다중접점 마이크로 타이머장치를 제공하는데 있는 것이다.The present invention relates to a multi-contact micro-timer device suitable for industrial equipment for controlling real-time of various power supplies with a program control method incorporating real time. In general, a conventional on / off timer device for time control can be easily seen in an audio clock system. For example, a one hour sleep timer that automatically turns off after one hour setting, and one hour after being turned on at the set time is maintained. The alarm timer function is well known. Such a timer is a method of controlling a single device or a plurality of devices in accordance with time using two or three switch contacts in common. However, the industrial device has an automatic on / off function only when an expensive control device is mounted. Even in this case, there was an inconvenient problem of repeatedly performing the operation for time control by automatically resetting every time the whole system was turned on again. Accordingly, an object of the present invention is to take into account the above-mentioned problems of the prior art, and to maintain the data for a long time in case of power failure and to display the current control target by a program control method incorporating real time. It is to provide a multi-contact micro-timer device that is very suitable for the equipment for controlling the time of various power supply, as well as to control the communication with external computers and printers.

이하 본 발명을 첨부된 도면에 의거하여 상세하게 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제 1 도에 도시한 바와같이 본 발명장치는 중앙처리부(3)의 구동클록제공과 정전 또는 외부요인 감지에 의해 자동적으로 리셋트신호를 인가시키는 클록공급부(1) 및 리셋트부(2)와, 상기 클록에 동기되어 타임제어를 위한 리얼타임발생 및 시간표시제어와 입력데이타에 의한 릴레이 접점을 프로그램으로 제어하는 중앙처리부(3)와, 상기 중앙처리부(3)의 프로그램 명령에 의해 중앙처리부(3)가 다른일을 수행하고 있는 동안 어진 명령을 처리하는 실시간 제어부(4)와, 상기 중앙처리부(3)에 의해 입력되는 각종 프로그램 데이터를 저장하는 메모리 램(6) 및 타임제어 프로그램이 수록된 읽기전용 롬(5)과, 상기 중앙처리부(3)의 처리데이타를 외부의 프린터 또는 컴퓨터와 직렬식으로 통신하기 위한 직렬식 입,출력 인터페이스(7)와, 상기 중앙처리부(3)에서 처리된 제어신호를 동시에 전송하는 기능을 갖고 복수의 8비트 포트를 종속적으로 연결하여 64접점을 생성하는 병렬 인터페이스 아답터(8)와, 상기 병렬 인터페이스 아답터(8)의 출력포트(PA, PB)에 종속적으로 64개의 접점으로 구성되어 각 접점에 대응하는 제어대상 장비를 접속제어하는 릴레이 보오드(9)와, 0-9의 번호키와 5개의 기능키로 구성되어 접점번호, 프로그램번호 및 온/오프시간 등의 프로그램을 입력설정시키는 키보오드(10)와, 상기 키보오드(10)의 입력정보 상태 및 중앙처리부(3)의 현재 처리동작 상태를 표시하는 디스플레이부(11)를 상호 연결하여서 구성된 것이다.As shown in FIG. 1, the apparatus of the present invention includes a clock supply unit 1 and a reset unit 2 for automatically applying a reset signal by providing a driving clock of the central processing unit 3 and detecting power failure or external factors. A central processing unit (3) for controlling real time generation and time display control for the time control and a relay contact by input data in synchronization with the clock; and a central processing unit (3) by a program command of the central processing unit (3). A real-time control section 4 for processing a command written while 3) is doing other work, a memory RAM 6 storing various program data input by the central processing section 3, and a time control program. Serial input / output interface 7 and serial processing unit 3 for serially communicating a dedicated ROM 5 and processing data of the central processing unit 3 with an external printer or computer. A parallel interface adapter 8 having a function of simultaneously transmitting the control signals and generating 64 contacts by cascading a plurality of 8-bit ports, and output ports P A and P B of the parallel interface adapter 8. The relay board 9 consists of 64 contacts and is connected to control the control target equipment corresponding to each contact, and the 0-9 number keys and 5 function keys consist of contact numbers, program numbers and on / off. The keyboard 10 for inputting a program such as time and the display unit 11 for displaying the input information state of the keyboard 10 and the current processing operation state of the central processing unit 3 are connected to each other. .

이와같이 구성된 본 발명장치의 동작 및 작용효과를 제 2 도 내지 제 4 도를 참조하여 설명하면 다음과 같다. 즉, 도시생략된 전원부로 부터 직류 5V로 변환하여 각 기능에 필요한 구동전원이 인가되는 상태에서 먼저 제어장비의 시간제어를 위해 프로그램 데이타를 설정한다. 즉, 키보오드(10)의 세트키 (SET)를 누르면 중앙처리장치 (3)는 입력프로그램을 받을 준비상태로 전환시키며, 제어장비의 프로그램 데이타 입력을 기다린다. 이때 만약 제어장비의 접점번호가 '3'이면 키보오드(10)의 번호키 '03'을 누른 다음 엔터키 (ENT)를 눌러 1차적으로 제어장비의 접점번호를 설정한 다음 2차적으로 프로그램 번호를 설정한다.The operation and the effect of the device of the present invention configured as described above will be described with reference to FIGS. That is, the program data is set for the time control of the control equipment first by converting the DC 5V from the power supply unit not shown in the drawing to the driving power required for each function. That is, when the set key SET of the keyboard 10 is pressed, the CPU 3 switches to a ready state to receive an input program and waits for input of program data of the control equipment. At this time, if the contact point of the control equipment is '3', press the number key '03' of the keyboard 10 and then press the Enter key (ENT) to first set the contact number of the control equipment, and then program number secondly. Set.

여기서 1개의 접점에는 10개의 프로그램번호 입력이 가능하고 1개의 프로그램은 온/오프 타임을 각각 갖는다. 그런다음 필요한 경우 제어장비의 온타임과 오프타임을 입력설정한 후 엔터키(ENT)를 눌러 시간제어를 위한 프로그램 데이타 입력을 완료한다. 상기 키입력시 착오가 발생하면 키보오드(10)의 클리어키(CLR)를 눌러 오입력상태를 지워버리고 상기한 순서로 제어대상의 프로그램 입력데이타를 재입력시킨다. 상기 입력설정에 의한 각 입력데이타는 중앙처리부(3)와 읽기전용 기억 장치의 롬(5)간의 프로그램 수행에 의해 입력되는 순으로 메모리 램(6)에 순차적으로 저장된다.Here, 10 program numbers can be input to one contact point, and one program has on / off times. Then, if necessary, set the On Time and Off Time of the control equipment and press the Enter key to complete the program data entry for time control. If a mistake occurs in the key input, the clear key (CLR) of the keyboard 10 is pressed to erase the wrong input state, and the program input data to be controlled is input again in the above-described order. Each input data by the input setting is sequentially stored in the memory RAM 6 in the order inputted by program execution between the central processing unit 3 and the ROM 5 of the read-only memory device.

이와같이 제어장비의 시간제어를 위한 프로그램 데이타를 입력완료한 후 시간제어처리 동작시점은 키보오드(10)의 시작키 (STR)를 누름과 동시에 개시하며, 이의 동작중 정지는 정지키 (STP)에 의해 이루어진다. 상기 키보오드(10)의 시작키(STR) 누름에 의해 시간제어 동작시 디스플레이부(11)는 제 2 도의 프론트 판넬에서와 같이 현재의 시간을 표시하는 동시에 프로그램표시부(11a)에는 상기한 순서로 입력된 프로그램데이타가 표시된다.In this way, after inputting the program data for controlling the time of the control equipment, the time control operation starts at the same time as pressing the start key STR of the keyboard 10, and the stop of the operation is performed by the stop key STP. Is made by When the time control operation is performed by pressing the start key STR of the keyboard 10, the display unit 11 displays the current time as shown in the front panel of FIG. The entered program data is displayed.

즉, 프로그램 표시부(11a)의 제 1라인에 예를들어 '03-09-ST-ED'라고 표시될 경우, 사용자는 현재 제어장비의 접점번호(03), 프로그램번호(09), 시작시간(ST) 및 종료시간(ED)을 나타내게 하고, 그의 제 2라인에는 시작시간 및 종료시간 입력시 일시적으로 표시되며, 시간제어동작중이면 'OPERATION'이라고 표시한다.That is, when '03 -09-ST-ED 'is displayed on the first line of the program display unit 11a, for example, the user can select the contact number 03, the program number 09, and the start time of the current control equipment. ST) and end time (ED), and the second line thereof is displayed temporarily when the start time and the end time are input, and 'OPERATION' when the time control operation is in progress.

한편 상기한 프로그램입력 및 표시에 따른 제어장비의 시간제어동작에 있어서 중앙처리부(3)는 키보오드(10)의 주어진 프로그램 명령에 의해 처리하는 실시간제어부(4)로 부터 다수의 제어시간과 도시생략된 백업에 의한 기억데이타의 유지보존 기능신호를 입력시키고 시간에 따른 온/오프 제어 출력신호를 병렬 입출력 또는 병렬 인터페이스 아답터 (8)를 통해 출력시켜 이의 출력포트(PA)(PB)에 연결된 릴레이 보오드(9)의 접점을 제어한다. 여기서 병렬 인터페이스 아답터(8)에는 2포트의 8비트라인(A0-A7) (B0-B7)이 있어 이를 종속적(Cascade)으로 접속하면 8×8의 64포인트 접점을 얻을 수가 있으며, 1개의 접점으로 하나의 장비를 제어할 수가 있다.On the other hand, in the time control operation of the control equipment according to the above-described program input and display, the central processing unit 3 generates a plurality of control time and illustration from the real-time control unit 4 processing by the given program command of the keyboard 10. Inputs the preservation function signal of the stored data by the backup, and outputs the on / off control output signal over time through the parallel input / output or the parallel interface adapter (8) and is connected to its output port (P A ) (P B ). The contact of the relay board 9 is controlled. Here, the parallel interface adapter 8 has two ports of 8-bit lines (A 0 -A 7 ) (B 0 -B 7 ). When cascaded to connect them, 64 points of 8 × 8 points can be obtained. One contact point can control one piece of equipment.

즉, 그 일예로 제 4 도에서와 같이 병렬 인터페이스 아답터 (8)의 출력포트(PA)로 부터 출력되는 A0의 레벨에 의해 릴레이 (RLY A0)가 구동되면서 그 후단의 릴레이 (RLY-RLYB7)를 구동시켜 출력포트(PA)의 비트(-A7)에 각각 8개의 릴레이 (RLY :-B7에 의해 구동)가 종속적으로 접속되어 최대64개의 접점이 발생된다. 각각의 제어대상은 최소 1/100초의 온/오프 제어가 가능하며, 최대 64포인트 접점제어를 위한 릴레이보오드(9)는 필요에 따라 케이스에 내장 또는 외장이 가능하다. 내장시에는 제 3 도에서와 같이 64개의 접점이 단자로 출력되는 것이며, 이는 교류제어일 경우 2접점이 1로를 이루므로 1개의 콤몬단자가 필요하며, 직류제어일 경우에는 64접점을 그대로 사용할 수가 있다. 한편 직렬식 입/출력 인터페이스(7)는 외부의 컴퓨터 또는 프린터와의 통신교환을 행하기 위한 포트로서 컴퓨터와의 통신은 비동기방식(RS-232C)으로 이루어지며 통신속도는300-9600bps로 선택할 수가 있는 것이다.That is, as an example, as shown in FIG. 4, the relay RLY A 0 is driven by the level of A 0 output from the output port P A of the parallel interface adapter 8, and the rear relay RLY is driven. -RLY B drives the seven) bits of the output port (P A) ( -A 7 ) 8 relays each (RLY: Driven by -B 7 ) are cascaded up to a maximum of 64 contacts. Each control target can be on / off control of at least 1/100 seconds, the relay board 9 for maximum 64 point contact control can be built in or external to the case as needed. When built-in, 64 contacts are outputted as terminals as shown in Fig. 3. In case of AC control, 1 contact terminal is required because 2 contacts make 1, and in case of DC control, 64 contacts are used as it is. There is a number. On the other hand, the serial input / output interface 7 is a port for exchanging communication with an external computer or printer. The communication with the computer is made of asynchronous method (RS-232C) and the communication speed can be selected from 300-9600bps. It is.

이상에서 설명한 바와같이 본 발명은 리얼타임을 내장한 프로그램 제어방식으로 정전시 장시간에 걸쳐 셋팅된 시간데이타를 유지할 수가 있는 동시에 현재의 제어상태를 표시하여 주므로서 제어장비의 동작상태를 확인할 수 있고, 복수의 8비트 포트를 직렬식으로 연결하여 최대 64비트의 접점을 제어함은 물론 외부컴퓨터 및 프린터와도 직접적으로 통신이 가능하게 되어 시간제어효율을 향상시킬 수 있으며, 특히 제어기가 없는 제어대상(AC 100-220V 또는, DC 0-110V)을 자동적으로 온/오프 제어할 수 있고, 또한 수동작업의 정확성이 결여되는 작업에도 보다 정확한 시간제어를 행할 수가 있어 전원공급을 제어하는 각종 장비에 범용적으로 적용할 수가 있다는 특징이 있다.As described above, the present invention can maintain the time data set for a long time in the event of power failure by a program control method incorporating real time, and display the current control state, thereby confirming the operation state of the control equipment. By connecting a plurality of 8-bit ports in series to control up to 64 bits of contacts as well as directly communicating with external computers and printers, it is possible to improve time control efficiency. AC 100-220V or DC 0-110V) can be automatically controlled on / off, and more accurate time control can be performed even for the work that lacks the accuracy of manual work. It can be applied as a feature.

Claims (1)

중앙처리부(3)의 구동클록제공과 정전 또는 외부요인 감지에 의해 자동적으로 리셋트신호를 인가시키는 클록공급부(1) 및 리셋트부(2)와, 상기 클록에 동기되어 타임제어를 위한 리얼타임발생 및 시간표시제어와 입력데이타에 의한 릴레이 접점을 프로그램으로 제어하는 중앙처리부(3)와, 상기 중앙처리부(3)의 프로그램 명령에 의해 중앙처리부(3)가 다른일을 수행하고 있는 동안 주어진 명령을 처리하는 실시간 제어부(4)와, 상기 중앙처리부(3)에 의해 입력되는 각종 프로그램 데이터를 저장하는 메모리 램(6) 및 타임제어 프로그램이 수록된 읽기전용 롬(5)과, 상기 중앙처리부(3)의 처리데이타를 외부의 프린터 또는 컴퓨터와 직렬식으로 통신하기 위한 직렬식 입,출력 인터페이스(7)와, 상기 중앙처리부(3)에서 처리된 제어신호를 동시에 전송하는 기능을 갖고 복수의 8비트 포트를 종속적으로 연결하여 64접점을 생성하는 병렬 인터페이스 아답터(8)와, 상기 병렬 인터페이스 아답터(8)의 출력포트(PA, PB)에 종속적으로 64개의 접점으로 구성되어 각 접점에 대응하는 제어대상 장비를 접속제어하는 릴레이 보오드(9)와, 0-9의 번호키와 5개의 기능키로 구성되어 접점번호, 프로그램번호 및 온/오프시간 등의 프로그램을 입력설정시키는 키보오드(10)와, 상기 키보오드(10)의 입력정보 상태 및 중앙처리부(3)의 현재 처리동작 상태를 표시하는 디스플레이부(11)를 상호 연결하여서 구성됨을 특징으로 하는 다중접점 마이크로 타이머장치.The clock supply unit 1 and the reset unit 2 which automatically apply a reset signal by providing the driving clock of the central processing unit 3 and detecting power failure or external factors, and real time for time control in synchronization with the clock. A command given while the central processing unit 3 is performing other work by the central processing unit 3 which programmatically controls the relay contact by the generation and time display control and the input data, and the program command of the central processing unit 3 A real-time control section 4 for processing the data, a memory RAM 6 for storing various program data input by the central processing section 3, a read-only ROM 5 containing time control programs, and the central processing section 3; A serial input / output interface 7 for serially communicating the processing data of an external printer or a computer and a control signal processed by the central processing unit 3 simultaneously. And a parallel interface adapter 8 for generating 64 contacts by cascading a plurality of 8-bit ports, and 64 contacts dependent on output ports P A and P B of the parallel interface adapter 8. It consists of relay board 9 for connection control of control target equipment corresponding to each contact point, 0-9 number keys and five function keys to input and set programs such as contact number, program number and on / off time. And a display unit (11) which displays an order (10) and an input information state of the keyboard (10) and a current processing operation state of the central processing unit (3).
KR1019910017412A 1991-10-04 1991-10-04 Timer KR930009701B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910017412A KR930009701B1 (en) 1991-10-04 1991-10-04 Timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910017412A KR930009701B1 (en) 1991-10-04 1991-10-04 Timer

Publications (2)

Publication Number Publication Date
KR930008894A KR930008894A (en) 1993-05-22
KR930009701B1 true KR930009701B1 (en) 1993-10-08

Family

ID=19320791

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910017412A KR930009701B1 (en) 1991-10-04 1991-10-04 Timer

Country Status (1)

Country Link
KR (1) KR930009701B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100323373B1 (en) * 1999-08-13 2002-02-19 김주설 A Programmable Time Switch

Also Published As

Publication number Publication date
KR930008894A (en) 1993-05-22

Similar Documents

Publication Publication Date Title
US3976981A (en) Multi-channel control systems
US4964124A (en) Computer peripheral tester
EP0141858A4 (en) Alarm display method for programmable controller.
US6313827B1 (en) Computer data re-presentation apparatus and method
KR930009701B1 (en) Timer
US4792918A (en) Programmable controller monitoring system for simultaneous multiple line display of original and updated data program execution
EP0112179B1 (en) Data processing apparatus with automatic mode determination
EP0362392A1 (en) Pc simulation system
JP3033338B2 (en) Barcode reader test equipment
GB2121224A (en) Function keyboard for a microprocessor system
US20050207356A1 (en) Stand-alone device for determining communication parameters and channel configuration of an asynchronous serial channel using a user determined methodology
WO1991008533A1 (en) Terminal, data processor, switching unit, interface, and keyboard the latter three connected to the former two
JP3486456B2 (en) Remote control method, local controller and remote control device for injection molding machine
KR0122355B1 (en) Switch input device and its control method of programmable controller by scanning type
CN211044205U (en) Mouse and keyboard simulator
JPH0962537A (en) Simulator for confirming operation of display device
CN107305373B (en) Pressure sensor and control system
RU18585U1 (en) AUTOMATIC CONTROL SYSTEM
KR940002469B1 (en) Programmable matrix system
JPH10333715A (en) Programmable controller
JP3339556B2 (en) Terminal device for remote monitoring device
KR0176391B1 (en) Speed junction method between digital communication device and terminal device
GB2225886A (en) Programmable message display
JP2981773B2 (en) Terminal device, and terminal device body and switch unit constituting the terminal device
JPH04217006A (en) Programmable controller

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

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee