Claims (7)
하나의 외부인터럽트입력단자를 구비한 마이콤과 인터럽트통신을 하는 복수개의 지능모듈에 있어서, 마이콤에 의해 각 구성요소들의 동작을 제어하도록 설계된 제어부; 상기 지능모듈에 대응하게 연결되며, 지능모듈에서 처리된 데이타를 저장했다가 제어부의 출력인에이블신호에 따라 출력되는 복수개의 래치; 상기 지능모듈에 대응하게 연결되며, 지능모듈에서 인터럽트가 발생하면 출력값을 일정상태로 하여 상기 마이콤에 인터럽트를 발생한 지능모듈을 알려주기 위한 복수개의 인터럽트인지수단; 및 상기 지능모듈로부터 인터럽트가 걸리면 외부 인터럽트를 마스크하고 인터럽트서비스루틴으로 분기하여 상기 인터럽트인지수단에 의해 인지된 인터럽트를 발생한 지능모듈에 연결된 래치로부터 저장된 데이타를 읽어들이는 마이콤을 포함하는 다중인터럽트통신회로.A plurality of intelligent modules for interrupt communication with a microcomputer having one external interrupt input terminal, the intelligent module comprising: a control unit designed to control operation of each component by the microcomputer; A plurality of latches corresponding to the intelligent module and configured to store data processed by the intelligent module and to be output according to an output enable signal of the controller; A plurality of interrupt recognition means connected to the intelligent module to inform the micom of the intelligent module that caused the interrupt by outputting a predetermined state when an interrupt occurs in the intelligent module; And a microcomputer for masking an external interrupt when the interrupt is received from the intelligent module, branching to an interrupt service routine, and reading the stored data from a latch connected to the intelligent module which generated the interrupt recognized by the interrupt acknowledgment means. .
제1항에 있어서, 상기 인터럽트인지수단은 상기 제어부의 출력인에이블신호에 클럭단자로 인가받아 출력값의 상태를 토글시키고, 세트상태에서 대응하는 지능모듈로 부터 인터럽트가 발생하면 출력값의 상태를 반전시키는 JK-플립플롭으로 이루어진 것을 특징으로 하는 다중인터럽트통신회로.The method according to claim 1, wherein the interrupt acknowledgment means is applied to the output enable signal of the control unit as a clock terminal to toggle the state of the output value, and inverts the state of the output value when an interrupt occurs from the corresponding intelligent module in the set state. Multi-interrupt communication circuit, characterized in that consisting of JK-flip-flop.
제2항에 있어서, 상기 JK-플립플롭의 출력단에 연결되며 각각의 JK-플립플롭의 출력값을 저장하고, 제어부의 출력인에이블신호에 따라 저장내용을 마이콤에 전달하는 버퍼를 더 포함하는 다중인터럽트통신회로.3. The multi-interrupt of claim 2, further comprising a buffer connected to an output terminal of the JK flip-flop and configured to store an output value of each JK flip-flop, and to transfer the stored contents to the microcomputer according to the output enable signal of the controller. Communication circuits.
제3항에 있어서, 상기 마이콤은 상기 버퍼로 부터 인가되는 데이타중 정해진 상태를 갖는 비트자리에의해 인터럽트를 발생한 지능모듈을 인식하는 것을 특징으로 하는 다중인터럽트통신회로.4. The multi-interrupt communication circuit according to claim 3, wherein the microcomputer recognizes the intelligent module which generated the interrupt by the bit position having a predetermined state among the data applied from the buffer.
제4항에 있어서, 상기 래치와 JK-플립플롭은 지능모듈의 갯수가 늘어남에 따라 더 추가하여 설치하도록 한 것을 특징으로 하는 다중인터럽트통신회로.5. The multi-interrupt communication circuit according to claim 4, wherein the latch and the JK-flip-flop are further installed as the number of intelligent modules increases.
제3항에 있어서, 상기 지능모듈은 대응하는 JK-플립플롭의 출력값에 따라 상기 마이콤이 래치로부터 데이타를 읽어가는 상태를 인식하는 것을 특징으로 하는 다중인터럽트통신회로.4. The multi-interrupt communication circuit according to claim 3, wherein the intelligent module recognizes the state in which the microcomputer reads data from the latch according to the output value of the corresponding JK flip-flop.
제4항에 있어서, 상기 마이콤은 상기 버퍼의 데이타중 정해진 상태를 갖는 비트자리가 복수개 이상이면 정해진 우선순위에 따라 래치들의 저장내용을 읽어들이는 것을 특징으로 하는 다중인터럽트통신회로.5. The multi-interrupt communication circuit according to claim 4, wherein the microcomputer reads the stored contents of the latches according to a predetermined priority when there are a plurality of bit positions having a predetermined state among the data of the buffer.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.