KR19980025583A - Slot selector of PLC I / O module and special module - Google Patents

Slot selector of PLC I / O module and special module Download PDF

Info

Publication number
KR19980025583A
KR19980025583A KR1019960043758A KR19960043758A KR19980025583A KR 19980025583 A KR19980025583 A KR 19980025583A KR 1019960043758 A KR1019960043758 A KR 1019960043758A KR 19960043758 A KR19960043758 A KR 19960043758A KR 19980025583 A KR19980025583 A KR 19980025583A
Authority
KR
South Korea
Prior art keywords
module
data
special
predetermined
slot
Prior art date
Application number
KR1019960043758A
Other languages
Korean (ko)
Other versions
KR0181592B1 (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 KR1019960043758A priority Critical patent/KR0181592B1/en
Publication of KR19980025583A publication Critical patent/KR19980025583A/en
Application granted granted Critical
Publication of KR0181592B1 publication Critical patent/KR0181592B1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1105I-O
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1157I-O used either as input or as output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

본 발명은 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치에 관한 것으로서, 특히 소정의 I/O모듈의 입출력 라이트 데이터와 I/O모듈과 특수모듈을 구분하는 초기조건의 데이터 및 특수모듈 메모리 라이트 데이터와 특수모듈 슬롯 선택 어드레스를 입력받고 소정의 클럭신호를 발생하는 모듈선택부; 상기 모듈선택부의 클럭신호에 따라 소정의 특수모듈 슬롯 선택 어드레스를 입력받고 그에 대응되는 소정의 데이터를 일정시간 지연시켜 출력하는 특수모듈어드레스버퍼부; 및 상기 특수모듈어드레스버퍼부의 소정의 슬롯 선택 데이터를 입력받고 소정의 I/O모듈 데이터 어드레스와 특수모듈 메모리 데이터의 슬롯 선택 제어신호에 따라 특정 슬롯을 결정하는 슬롯결정부를 구비하는 것을 특징으로 한다.The present invention relates to an I / O module of a PLC and a slot selection device of a special module, and in particular, the I / O write data of a predetermined I / O module, data of an initial condition for distinguishing an I / O module from a special module, and a special module memory. A module selection unit receiving write data and a special module slot selection address and generating a predetermined clock signal; A special module address buffer unit for receiving a predetermined special module slot selection address according to a clock signal of the module selecting unit and delaying predetermined data for a predetermined time and outputting the predetermined data; And a slot determination unit configured to receive predetermined slot selection data of the special module address buffer unit and determine a specific slot according to a predetermined I / O module data address and a slot selection control signal of the special module memory data.

따라서, 본 발명에서는 I/O모듈과 특수모듈에 대한 설치위치와 우선순위를 구분할 필요가 없으며, I/O모듈 어드레스 및 특수모듈 어드레스를 특별히 사용자가 설정하지 않고도 I/O모듈과 특수모듈의 종류와 수량에 제한없이 편리하게 PLC의 모듈을 확장하고 사용할 수 있는 효과가 있다.Therefore, in the present invention, it is not necessary to distinguish the installation position and priority of the I / O module and the special module, and the type of the I / O module and the special module without specially setting the I / O module address and the special module address by the user. There is an effect that it is possible to expand and use the module of PLC conveniently without limitation in quantity and quantity.

Description

PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치Slot selector of PLC I / O module and special module

본 발명은 프로그램가능 로직 컨트롤러(PLC)에 관한 것으로서, 특히 I/O모듈과 특수모듈에 대한 설치위치와 우선순위에 대한 규정없이 단일 명령어로 프로그램되고, I/O모듈 어드레스 및 특수모듈 어드레스를 특별히 사용자가 설정하지 않고도 I/O모듈과 특수모듈의 종류와 확장수량에 제한없이 편리하게 PLC의 각 모듈을 사용할 수 있는 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치에 관한 것이다.The present invention relates to a programmable logic controller (PLC), in particular, programmed with a single instruction without specifying the installation position and priority for I / O modules and special modules, and specifically for the I / O module address and special module address. It is about slot selection device of PLC I / O module and special module that can use each module of PLC conveniently without restriction on type and expansion quantity of I / O module and special module without user setting.

일반적으로, 산업현장에서 널리 사용되고 있는 프로그램가능 로직 컨트롤러(Programmable Logic Controller; 이하 PLC라 칭함)는 메인 CPU모듈에서 일반 입출력 모듈(이하, I/O모듈이라 칭함)과 특수기능의 모듈(이하, 특수모듈이라 칭함)을 동시에 제어해야 하는 복잡한 시스템으로서, 상기 I/O모듈은 수 바이트 정도의 입출력 데이터를 처리하는 단순한 제어지만, 특수모듈의 경우는 수 킬로 또는 수십 킬로 바이트 정도의 다량의 메모리 형태의 데이터를 함께 처리하는 복잡한 제어이다.In general, a programmable logic controller (hereinafter referred to as a PLC) widely used in an industrial field is a general input / output module (hereinafter referred to as an I / O module) and a special function module (hereinafter, referred to as a special CPU) in the main CPU module. The I / O module is a simple control that processes I / O data of several bytes, but in the case of special modules, a large amount of memory of several kilos or tens of kilobytes is used. It is a complex control that processes data together.

도 1 은 종래의 일반적인 PLC 구조를 나타낸 도면으로서, 파워(power)모듈과, CPU모듈과, 특수모듈, 및 I/O모듈을 포함한다.1 is a diagram illustrating a conventional general PLC structure, which includes a power module, a CPU module, a special module, and an I / O module.

한편, 상기 CPU모듈은 최좌측에 그 위치가 고정되어 있으며, 또한 특수모듈과 I/O모듈은 상기 CPU모듈의 우측으로 각각 PLC상의 내부 버스를 통해 연결되어 상기 CPU모듈의 제어를 받도록 설치되어 있다.On the other hand, the CPU module is fixed to the leftmost position, and the special module and the I / O module is connected to the right side of the CPU module via the internal bus on the PLC, respectively, to be controlled by the CPU module. .

상기와 같이 구성된 종래의 I/O모듈은 설치위치와 우선순위에 대한 규정이 없었지만, 특수모듈의 경우는 슬롯번호 ①∼④에서만 설치가 가능하고, 또한 상기 특수모듈 별로 그 우선순위가 정해져 있어 그 우선순위에 따라 설치해야 했다.The conventional I / O module configured as described above has no provision for installation location and priority, but special modules can only be installed in slot numbers ① to ④, and their priority is determined for each special module. I had to install it in order of priority.

또한, 상기 종래기술은 슬롯(slot)에 입출력 어드레스와 메모리 어드레스를 고정적으로 할당해 두고 사용자가 프로그램하기 전에 설정하거나 모듈 자체에서 스위치 등으로 설정하게 되고 CPU모듈에서는 입출력 어드레스 및 메모리 어드레스를 광범위하게 설정해 두어야 한다.In addition, the prior art is fixedly assigned to the input and output address and memory address in the slot (slot) and set before the user program, or set by the switch in the module itself, and the CPU module to set the input and output address and memory address extensively Should be placed.

따라서, 종래기술은 셋팅된 시스템에서 특수모듈을 추가할 경우 또는 제거할 경우 입출력 어드레스 또는 메모리 어드레스가 변경되어 전체 프로그램을 수정해야 하고, 또한 시스템 구조상 우측에 특수모듈이 설치되어야 될 경우에는 설치가 불가능하게 되고, 또한 무순위로 설치되는 경우는 운용시 I/O모듈 또는 특수모듈의 어드레스를 설정해 주어야 하는 등의 사용상의 번거러운 문제점이 있었다.Therefore, in the prior art, when adding or removing a special module in a set system, an input / output address or a memory address is changed, and the entire program must be modified. Also, when a special module is to be installed on the right side of the system structure, it cannot be installed. In addition, when installed in a non-priority order, there was a cumbersome problem in use such as setting an address of an I / O module or a special module during operation.

본 발명의 목적은 상기와 같은 종래기술의 문제점을 해결하기 위하여 I/O모듈과 특수모듈에 대한 설치위치와 우선순위에 대한 규정없이 단일 명령어로 프로그램되고, I/O모듈 어드레스 및 특수모듈 어드레스를 특별히 사용자가 설정하지 않고도 I/O모듈과 특수모듈의 종류와 확장수량에 제한없이 편리하게 PLC의 각 모듈을 사용할 수 있는 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치를 제공하는 데 있다.An object of the present invention is programmed in a single instruction without specifying the installation position and priority for the I / O module and special module to solve the problems of the prior art as described above, I / O module address and special module address It is to provide slot selector of PLC I / O module and special module that can use each module of PLC conveniently without restriction on type and expansion quantity of I / O module and special module without user setting.

상기 목적을 달성하기 위하여 본 발명의 장치는, 소정의 I/O모듈의 입출력 라이트 데이터와 I/O모듈과 특수모듈을 구분하는 초기조건의 데이터 및 특수모듈 메모리 라이트 데이터와 특수모듈 슬롯 선택 어드레스를 입력받고 소정의 클럭신호를 발생하는 모듈선택부; 상기 모듈선택부의 클럭신호에 따라 소정의 특수모듈 슬롯 선택 어드레스를 입력받고 그에 대응되는 소정의 데이터를 일정시간 지연시켜 출력하는 특수모듈어드레스버퍼부; 및 상기 특수모듈어드레스버퍼부의 소정의 슬롯 선택 데이터를 입력받고, 소정의 I/O모듈 데이터 어드레스와 특수모듈 메모리 데이터의 슬롯 선택 제어신호에 따라 특정 슬롯을 결정하는 슬롯결정부를 구비하는 것을 특징으로 한다.In order to achieve the above object, the apparatus of the present invention provides input / output write data of a predetermined I / O module, data of an initial condition for distinguishing an I / O module from a special module, and special module memory write data and a special module slot selection address. A module selector which receives an input and generates a predetermined clock signal; A special module address buffer unit for receiving a predetermined special module slot selection address according to a clock signal of the module selecting unit and delaying predetermined data for a predetermined time and outputting the predetermined data; And a slot determination unit configured to receive predetermined slot selection data of the special module address buffer unit and determine a specific slot according to a predetermined I / O module data address and a slot selection control signal of the special module memory data. .

도 1 은 종래의 일반적인 PLC 구조를 나타낸 도면.1 is a view showing a conventional general PLC structure.

도 2 는 본 발명에 의한 PLC 구조를 나타낸 도면.2 is a view showing a PLC structure according to the present invention.

도 3 은 본 발명의 일 실시예에 의한 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치를 나타낸 회로도.3 is a circuit diagram illustrating a slot selection device of an I / O module and a special module of a PLC according to an embodiment of the present invention.

이하, 첨부한 도면을 참조하여 본 발명을 보다 상세하게 설명하고자 한다.Hereinafter, with reference to the accompanying drawings will be described in more detail the present invention.

도 2 는 본 발명에 의한 PLC 구조를 나타낸 도면으로서, 파워모듈과 CPU모듈과 I/O모듈과 특수모듈을 포함한다.2 is a diagram illustrating a PLC structure according to the present invention, and includes a power module, a CPU module, an I / O module, and a special module.

한편, 상기 CPU모듈은 최좌측에 그 위치가 고정되어 있으며, 또한 특수모듈과 I/O모듈은 상기 CPU모듈의 우측으로 무순위로 각각 PLC상의 내부 버스를 통해 설치되어 상기 CPU모듈의 제어를 받도록 설치되어 있다.On the other hand, the CPU module is fixed in its leftmost position, and the special module and I / O module are installed to the right of the CPU module through the internal bus on the PLC, respectively, to be controlled by the CPU module. It is.

또한, 상기 특수모듈과 I/O모듈들이 무순위로 설치되는 경우에도 운영방법에서 입출력 또는 메모리에 대한 어드레스를 설정하거나 또는 모듈 그 자체에 스위치 등으로 어드레스를 셋팅하는 경우는 없다.In addition, even when the special modules and the I / O modules are installed in a non-priority order, there is no case in which an address for an input / output or a memory is set in the operating method or an address is set in the module itself by a switch.

도 3 은 본 발명의 일 실시예에 의한 PLC의 I/O모듈과 특수모듈의 슬롯 선택 회로도로서, 모듈선택부(100)와, 특수모듈어드레스버퍼부(200), 및 슬롯결정부(300)를 포함한다.3 is a slot selection circuit diagram of an I / O module and a special module of a PLC according to an embodiment of the present invention. The module selection unit 100, the special module address buffer unit 200, and the slot determination unit 300 are shown. It includes.

한편, 상기 모듈선택부(100)는 입출력 라이트 데이터(IOWR) 및 I/O모듈과 특수모듈을 구분하는 초기조건의 비트데이터(A)를 입력받고 그에 대응되는 클럭신호(CLK)를 출력하는 제 1 게이트수단(110)과, 상기 제 1 게이트수단(110)의 출력 클럭신호(CLK)에 따라 소정의 데이터(D0)를 입력받고 그에 대응되는 제 1 데이터를 출력하는 D플립플롭(130)과, 소정의 특수모듈의 메모리 라이트 데이터(MWR)와 특수모듈 슬롯 선택 어드레스(B)를 입력받고 그에 대응되는 제 2 데이터를 출력하는 제 2 게이트수단(150), 및 상기 D플립플롭(130)의 출력 제 1 데이터와 제 2 게이트수단(150)의 제 2 데이터를 입력받고 그에 대응되는 클럭신호(CLK)를 출력하는 제 3 게이트수단(170)으로 구성된다. 즉, 상기 제 1 게이트수단(110)의 I/O모듈과 특수모듈을 구분하는 초기조건인 소정의 어드레스(A)에 따라 I/O모듈 또는 특수모듈이 선택된다.The module selector 100 receives input / output write data IOWR and bit data A of an initial condition for distinguishing an I / O module from a special module, and outputs a clock signal CLK corresponding thereto. A first flip means 110 and a D flip-flop 130 for receiving predetermined data DO according to the output clock signal CLK of the first gate means 110 and outputting first data corresponding thereto; A second gate means 150 for receiving the memory write data MWR of the predetermined special module and the special module slot selection address B and outputting second data corresponding thereto, and the D flip-flop 130. The third gate means 170 receives the output first data and the second data of the second gate means 150 and outputs a clock signal CLK corresponding thereto. That is, the I / O module or the special module is selected according to a predetermined address A which is an initial condition for distinguishing the I / O module and the special module of the first gate means 110.

또한, 상기 특수모듈어드레스버퍼부(200)는 상기 모듈선택부(100)의 제 3 게이트수단(170)의 출력 클럭신호(CLK)에 따라 복수의 슬롯 선택 어드레스(A11∼A5)를 입력받고 그에 대응되는 소정의 데이터를 일정시간 지연시켜 출력하는 어드레스버퍼(210)로 구성된다. 즉, 상기 특수모듈어드레스버퍼부(200)에서는 I/O모듈의 경우는 상기 어드레스버퍼(210)의 슬롯 선택 어드레스들(A11∼A5)과 도 3 에 미도시된 어드레스들(A4∼A0)이 슬롯 선택과 입출력 버퍼 및 랫치를 동시에 액세스되도록 상기 모듈선택부(100)의 출력 클럭신호를 디스에이블 상태로 하고, 특수모듈의 경우는 복수의 어드레스 버스로 특수모듈어드레스버퍼부(200)에서 어드레스버퍼(210)의 결과로 상기 D플립플롭(130)이 인에이블되어 해당 슬롯이 선택되어진 상태를 유지하게 된다.In addition, the special module address buffer unit 200 receives a plurality of slot selection addresses A11 to A5 according to the output clock signal CLK of the third gate means 170 of the module selection unit 100. It consists of an address buffer 210 for outputting a predetermined time delay corresponding to the predetermined data. That is, in the special module address buffer unit 200, in the case of an I / O module, slot selection addresses A11 to A5 of the address buffer 210 and addresses A4 to A0 not shown in FIG. The output clock signal of the module selection unit 100 is disabled so that the slot selection, the input / output buffer, and the latch are simultaneously accessed. As a result of 210, the D flip-flop 130 is enabled to maintain the selected slot.

또한, 슬롯결정부(300)는 소정의 I/O모듈의 데이터 어드레스(C)와 특수모듈의 메모리 데이터(D)를 입력받고 그에 대응되는 소정의 슬롯 선택 제어신호를 출력하는 제 4 게이트수단(310), 및 상기 제 4 게이트수단(310)의 출력반전 슬롯 선택 제어신호(G2AB)에 따라 상기 특수모듈어드레스버퍼부(200)의 어드레스버퍼(210)의 소정의 슬롯 선택 어드레스를 입력받고 그에 대응되는 슬롯(slot1∼slot8)을 인에이블시키는 디코더(350)로 구성되어 있다. 즉, 상기 제 4 게이트수단(310)에서 I/O모듈 데이터 어드레스(C)와 특수모듈의 메모리 데이터(D)를 논리곱하여 디코더(350)로 입력되는 슬롯 선택 어드레스를 제어하고 상기 특수모듈어드레스버퍼부(200)에서 출력된 소정의 슬롯 선택 신호(Q0∼Q6)는 디코더(350)의 3×8로 디코딩되어 상기 슬롯 결정 제어신호(G2AB)에 따라 특정 모듈의 슬롯(slot1∼slot8)이 결정된다.In addition, the slot determination unit 300 receives a fourth gate means for receiving a data address C of a predetermined I / O module and memory data D of a special module and outputting a predetermined slot selection control signal corresponding thereto. 310 and a predetermined slot selection address of the address buffer 210 of the special module address buffer unit 200 is received according to the output reversal slot selection control signal G2AB of the fourth gate means 310. It consists of a decoder 350 for enabling slots slots 1 to 8. That is, the fourth gate means 310 controls the slot selection address inputted to the decoder 350 by logically multiplying the I / O module data address C and the memory data D of the special module to control the special module address buffer. The predetermined slot selection signals Q0 to Q6 output from the unit 200 are decoded into 3x8 of the decoder 350 and determined by the slots slots 1 to 8 of a specific module according to the slot determination control signal G2AB. do.

상기 본 발명의 설명을 기준으로 표를 작성하고 본 발명을 간단하게 살펴보면 아래와 같다.A table is prepared based on the description of the present invention and the present invention is briefly described as follows.

[표 1]TABLE 1

실시예의 전체 어드레스 맵.Global Address Map of Embodiments.

상기 표 1 에서와 같이 각 어드레스의 기능과 설명은 상기 표와 같다.As shown in Table 1, the functions and descriptions of the respective addresses are as shown in the above table.

[표 2]TABLE 2

I/O모듈 데이터 액세스 방법.How to access I / O module data.

상기 표 2에서와 같이 I/O모듈 데이터 액세스 동작은, 초기조건에 의해 제 1 게이트수단(110)의 A번지로 입력되는 첫 데이터 비트(D0)가 0인 경우 상기 특수모듈어드레스버퍼부(200)의 어드레스버퍼(210)의 일부 슬롯 선택 어드레스(A11∼A8)는 모두 0이며, 또한 어드레스버퍼(210)의 일부 슬롯 선택 어드레스(A7∼A5)는 디코더(350)에서 3×8로 디코딩되고, 도 3 에 미도시 된 5비트 슬롯 선택 어드레스(A4∼A0)에 따라 특정의 I/O모듈 슬롯이 선택되고 32바이트 입출력 데이터가 액세스된다.As shown in Table 2, in the I / O module data access operation, the special module address buffer unit 200 when the first data bit D0 input to address A of the first gate means 110 is 0 by an initial condition. Some slot select addresses A11 to A8 of the address buffer 210 are all 0, and some slot select addresses A7 to A5 of the address buffer 210 are decoded 3x8 by the decoder 350. In addition, a specific I / O module slot is selected according to the 5-bit slot selection addresses A4 to A0 not shown in FIG. 3, and 32-byte input / output data is accessed.

[표 3]TABLE 3

특수모듈 메모리 액세스 방법.How to access special module memory.

상기 표 3에서와 같이 특수모듈 데이터 액세스 동작은, 초기조건에 의해 제 1 게이트수단(110)의 A번지로 입력되는 첫 데이터 비트(D0)가 1인 경우 상기 특수모듈어드레스버퍼부(200)의 어드레스버퍼(210)의 일부 슬롯 선택 어드레스(A11∼A8)는 모두 0이며, 또한 어드레스버퍼(210)의 일부 슬롯 선택 어드레스(A7∼A5)는 디코더(350)에서 3×8로 디코딩되고, 도 3 에 미도시 된 5비트 어드레스(A4∼A0)와 상기 어드레스버퍼(210)의 슬롯 선택 어드레스(A11∼A5)에 따라 특정의 특수모듈 슬롯이 선택되고 4k바이트 메모리 데이터가 액세스된다.As shown in Table 3, in the special module data access operation, when the first data bit D0 inputted to the address A of the first gate means 110 is 1 by an initial condition, the special module address buffer unit 200 is activated. Some of the slot selection addresses A11 to A8 of the address buffer 210 are all zero, and some of the slot selection addresses A7 to A5 of the address buffer 210 are decoded 3 × 8 by the decoder 350. According to the 5-bit addresses A4 to A0 not shown in Fig. 3 and the slot selection addresses A11 to A5 of the address buffer 210, a specific special module slot is selected and 4k byte memory data is accessed.

상기와 같이 본 발명은 전체 I/O모듈과 특수모듈을 입출력 데이터와 메모리 데이터를 구분하여 처리하고 있으며 입출력 또는 메모리의 어드레스 범위를 전체 슬롯에 광범위하게 할당하지 않고 처리하는 것이다.As described above, the present invention treats the entire I / O module and the special module by dividing the input / output data and the memory data and processes the input / output or memory address range without allocating the entire slot in a wide range.

또한, 상기와 같이 본 발명의 회로구성이 아니라도 실시예의 어드레스를 달리하거나 구성회로의 부품을 달리하거나 초기조건을 반대로 가져가는 등의 방법으로도 구현할 수 있으나, 이는 본 발명의 기본적인 방법으로 볼 수 있다.In addition, although not the circuit configuration of the present invention as described above, it can be implemented by a method such as changing the address of the embodiment, the components of the component circuit, or reverse the initial conditions, this can be seen as a basic method of the present invention have.

따라서, 상술한 바와 같이 본 발명에서는 I/O모듈과 특수모듈에 대한 설치위치와 우선순위를 구분할 필요가 없으며, I/O모듈 어드레스 및 특수모듈 어드레스를 특별히 사용자가 설정하지 않고도 I/O모듈과 특수모듈의 종류와 수량에 제한없이 편리하게 PLC의 모듈을 확장하고 사용할 수 있는 효과가 있다.Therefore, as described above, in the present invention, it is not necessary to distinguish the installation position and priority of the I / O module and the special module, and the I / O module and the special module address are not specially set by the user. There is an effect that it is possible to expand and use the module of PLC conveniently without restriction on the kind and quantity of special module.

Claims (5)

소정의 I/O모듈의 입출력 라이트 데이터와 I/O모듈과 특수모듈을 구분하는 초기조건의 데이터 및 특수모듈 메모리 라이트 데이터와 특수모듈 슬롯 선택 어드레스를 입력받고 소정의 클럭신호를 발생하는 모듈선택부; 상기 모듈선택부의 클럭신호에 따라 소정의 특수모듈 슬롯 선택 어드레스를 입력받고 그에 대응되는 소정의 데이터를 일정시간 지연시켜 출력하는 특수모듈어드레스버퍼부; 및 상기 특수모듈어드레스버퍼부의 소정의 슬롯 선택 데이터를 입력받고 소정의 I/O모듈 데이터 어드레스와 특수모듈 메모리 데이터의 슬롯 선택 제어신호에 따라 특정 슬롯을 결정하는 슬롯결정부를 구비한 것을 특징으로 하는 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치.Module selector for inputting I / O write data of predetermined I / O module, initial condition data to distinguish I / O module from special module, special module memory write data and special module slot selection address and generating predetermined clock signal ; A special module address buffer unit for receiving a predetermined special module slot selection address according to a clock signal of the module selecting unit and delaying predetermined data for a predetermined time and outputting the predetermined data; And a slot determination unit configured to receive predetermined slot selection data of the special module address buffer unit and determine a specific slot according to a predetermined I / O module data address and a slot selection control signal of the special module memory data. Slot selector for I / O modules and special modules. 제 1 항에 있어서, 상기 모듈선택부는 입출력모듈의 라이트 데이터 및 I/O모듈과 특수모듈을 구분하는 초기조건의 비트데이터를 입력받고 그에 대응되는 클럭신호를 출력하는 제 1 게이트수단; 상기 제 1 게이트수단의 출력 클럭신호에 따라 소정의 데이터를 입력받고 그에 대응되는 제 1 데이터를 출력하는 D플립플롭; 소정의 특수모듈의 메모리 라이트 데이터와 특수모듈 슬롯 선택 어드레스를 입력받고 그에 대응되는 제 2 데이터를 출력하는 제 2 게이트수단; 및 상기 D플립플롭의 출력 제 1 데이터와 제 2 게이트수단의 제 2 데이터를 입력받고 그에 대응되는 클럭신호를 출력하는 제 3 게이트수단을 구비한 것을 특징으로 하는 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치.2. The apparatus of claim 1, wherein the module selector comprises: first gate means for receiving write data of an input / output module and bit data of an initial condition for distinguishing an I / O module from a special module and outputting a clock signal corresponding thereto; A D flip-flop that receives predetermined data according to an output clock signal of the first gate means and outputs first data corresponding thereto; Second gate means for receiving memory write data and a special module slot selection address of a predetermined special module and outputting second data corresponding thereto; And third gate means for receiving the output first data of the D flip-flop and the second data of the second gate means and outputting a clock signal corresponding thereto. Slot selector. 제 1 항에 있어서, 상기 특수모듈어드레스버퍼부는 상기 모듈선택부의 제 3 게이트수단의 출력 클럭신호에 따라 복수의 슬롯 선택 어드레스 데이터를 입력받고 그에 대응되는 소정의 데이터를 일정시간 지연시켜 출력하는 어드레스버퍼를 구비한 것을 특징으로 하는 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치.The address buffer of claim 1, wherein the special module address buffer unit receives a plurality of slot selection address data according to an output clock signal of the third gate means of the module selector, and delays and outputs predetermined data corresponding to a predetermined time. Slot selection device for the I / O module and special module of the PLC characterized in that it comprises a. 제 1 항에 있어서, 상기 슬롯결정부는 소정의 I/O모듈의 데이터 어드레스와 특수모듈의 메모리 데이터를 입력받고 그에 대응되는 소정의 슬롯 선택 제어신호를 출력하는 제 4 게이트수단; 및 상기 제 4 게이트수단의 출력반전 슬롯 선택 제어신호에 따라 상기 특수모듈어드레스버퍼부의 어드레스버퍼의 소정의 슬롯 선택 어드레스를 입력받고 그에 대응되는 슬롯을 인에이블시키는 디코더를 구비한 것을 특징으로 하는 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치.4. The apparatus of claim 1, wherein the slot determination unit comprises: fourth gate means for receiving a data address of a predetermined I / O module and memory data of a special module and outputting a predetermined slot selection control signal corresponding thereto; And a decoder for receiving a predetermined slot selection address of the address buffer of the special module address buffer unit and enabling a slot corresponding thereto according to the output inverting slot selection control signal of the fourth gate means. Slot selector for I / O modules and special modules. 제 1 항 또는 제 2 항에 있어서, 상기 모듈선택부의 초기조건은 입력 데이터의 첫 비트에 따라 I/O모듈 또는 특수모듈이 구분되어 선택되는 것을 특징으로 하는 PLC의 I/O모듈과 특수모듈의 슬롯 선택 장치.The I / O module and the special module of the PLC according to claim 1 or 2, wherein the initial condition of the module selector is selected according to the first bit of the input data. Slot selector.
KR1019960043758A 1996-10-02 1996-10-02 I/o module and special module of plc slot selection device KR0181592B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960043758A KR0181592B1 (en) 1996-10-02 1996-10-02 I/o module and special module of plc slot selection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960043758A KR0181592B1 (en) 1996-10-02 1996-10-02 I/o module and special module of plc slot selection device

Publications (2)

Publication Number Publication Date
KR19980025583A true KR19980025583A (en) 1998-07-15
KR0181592B1 KR0181592B1 (en) 1999-04-15

Family

ID=19476111

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960043758A KR0181592B1 (en) 1996-10-02 1996-10-02 I/o module and special module of plc slot selection device

Country Status (1)

Country Link
KR (1) KR0181592B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200058172A (en) 2018-11-19 2020-05-27 세종공업 주식회사 Plastic housing package for pressure sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200058172A (en) 2018-11-19 2020-05-27 세종공업 주식회사 Plastic housing package for pressure sensor

Also Published As

Publication number Publication date
KR0181592B1 (en) 1999-04-15

Similar Documents

Publication Publication Date Title
US5701417A (en) Method and apparatus for providing initial instructions through a communications interface in a multiple computer system
CA1139006A (en) Memory circuit for programmable machines
US5359717A (en) Microprocessor arranged to access a non-multiplexed interface or a multiplexed peripheral interface
US5056004A (en) Program control system which simultaneously executes a program to be repeated and decrements repetition numbers
US5151986A (en) Microcomputer with on-board chip selects and programmable bus stretching
US4930070A (en) Interrupt control method for multiprocessor system
CA1193026A (en) Variable cycle-time microcomputer
JP2762138B2 (en) Memory control unit
EP0428111A2 (en) Data transfer control method and data processor using the same
US5446859A (en) Register addressing control circuit including a decoder and an index register
KR0181592B1 (en) I/o module and special module of plc slot selection device
US6292867B1 (en) Data processing system
KR910006684Y1 (en) Cpu signal controlling circuit
JPH0143392B2 (en)
KR0150125B1 (en) Memory delay time varying apparatus for data processing
EP0328422A2 (en) Microcomputer system
KR950003378Y1 (en) Interface circuit
KR860009421A (en) Memory circuit with logic function
KR950025534A (en) Multiplexing Circuit of Interrupt Signal
KR930001099B1 (en) Microcomputer system with a using bit-slice element
KR0153597B1 (en) External rom connection device of micom
SU1128253A1 (en) Device for generating addresses of register storage
KR100275958B1 (en) Microcomputer unit
SU1126928A1 (en) Device for consecutive program control
KR930005770B1 (en) Printer emulator having korean editing function

Legal Events

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

Payment date: 20091201

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee