KR100263589B1 - Apparatus for recongnizing extension boards connectable to a progammable logic controller - Google Patents
Apparatus for recongnizing extension boards connectable to a progammable logic controller Download PDFInfo
- Publication number
- KR100263589B1 KR100263589B1 KR1019980009637A KR19980009637A KR100263589B1 KR 100263589 B1 KR100263589 B1 KR 100263589B1 KR 1019980009637 A KR1019980009637 A KR 1019980009637A KR 19980009637 A KR19980009637 A KR 19980009637A KR 100263589 B1 KR100263589 B1 KR 100263589B1
- Authority
- KR
- South Korea
- Prior art keywords
- plc
- expansion board
- bus
- expansion
- board
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/1107—Hardware expansion of function of plc, programmable, connected in output line
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/1109—Expansion, extension of I-O
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13014—Expanding functions of display by modular hardware
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
Description
본 발명은 프로그래머블 로직 제어 장치(Programmable Logic Controller, 이하 PLC라 약칭함)에 관한 것으로서, 특히, PLC에서 확장 가능한 버스 확장장치를 자동으로 인식하는 PLC의 확장 보드 인식장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable logic controller (hereinafter, referred to as a PLC), and more particularly, to an extended board recognition apparatus and method for a PLC that automatically recognizes an expandable bus expansion device in a PLC.
본 기술분야에서 잘 알려진 바와 같이, PLC는 별도의 데이터 링크를 사용하지 않고 자신에게 소속된 입출력장치를 직접 제어하기 위하여 고안된 각각의 버스 확장 장치를 연결시킬 수 있다.As is well known in the art, a PLC can connect each bus expansion device designed to directly control an input / output device belonging to it without using a separate data link.
PLC의 주연산 장치가 PLC에 연결되는 각각의 버스 확장 장치를 인식하는 종래 기술은 점퍼(jumper) 또는 딥 스위치(DIP switch)등을 이용하여 주소 공간을 할당함으로써 확장되는 버스 확장 장치를 인식하도록 하고 있다.The conventional technology in which the main computing unit of the PLC recognizes each bus expansion unit connected to the PLC allows the expansion of the bus expansion unit to be recognized by allocating an address space by using a jumper or a dip switch. have.
그러나, 상술한 방식에 의해 버스 확장 장치를 인식하는 경우, PLC 운용자의 실수로인하여 같은 주소 공간이 중복 할당되는 문제를 일으킬 수 있다. 또한, 시스템 초기화시 마다 PLC 운용자가 확장장치를 지정하여야 하며, 지정된 딥스위치 및 점퍼 등의 전기적인 접촉에 문제가 발생이 되는 경우 주소 공간이 변경되어 오류가 발생하는 결점이 있었다.However, in the case of recognizing the bus expansion device by the above-described method, the same address space may be repeatedly allocated due to a mistake of the PLC operator. In addition, the PLC operator must designate the expansion device every time the system is initialized. If a problem occurs in the electrical contact of the designated dip switch and jumper, the address space is changed and an error occurs.
그러므로, 본 발명은 상술한 종래 기술의 결점을 해결하기 위하여 안출한 것으로, PLC에 연결되는 각각의 PLC 확장 보드를 인식하는 장치를 제공하는 것을 그 목적으로 한다.Therefore, the present invention has been made to solve the above-mentioned drawbacks of the prior art, and an object thereof is to provide an apparatus for recognizing each PLC expansion board connected to a PLC.
목적을 달성하기 위한 본 발명에 따르면, PLC에 연결 가능한 각각의 PLC 확장 보드를 인식하는 장치는 각각의 PLC 확장 보드를 지정하도록 할당된 주소 코드를 생성하여 그에 대응하는 PLC 확장 보드로 순차적으로 제공하는 주연산부와, 각각의 PLC 확장 보드내에서 주소 코드에 응답하여 자신의 존재를 확인시키는 PLC 확장 보드 인식 정보를 주 연산부로 제공하는 버스 확장부를 포함하는 것을 특징으로한다.According to the present invention for achieving the object, the device for recognizing each PLC expansion board that can be connected to the PLC generates an address code assigned to designate each PLC expansion board and sequentially provide to the corresponding PLC expansion board And a bus expansion unit for providing the PLC expansion board recognition information for confirming its existence in response to the address code in each PLC expansion board to the main calculation unit.
도 1은 본 발명에 따른 프로그래머블 로직 제어 확장 보드 인식장치에서 다수의 버스 확장장치를 인식하기에 적합한 장치의 구성도,1 is a block diagram of a device suitable for recognizing a plurality of bus expansion device in the programmable logic control expansion board recognition device according to the present invention,
도 2는 도 1에 도시된 버스 확장부의 일부분을 도시한 블록 구성도,FIG. 2 is a block diagram illustrating a portion of the bus extension shown in FIG. 1; FIG.
도 3은 도 2에 도시된 가산기의 일 실시예를 상세하게 도시한 회로 구성도,3 is a circuit diagram showing in detail an embodiment of the adder shown in FIG.
도 4를 참조하여 본 발명에 따른 프로그래머블 로직 제어 확장 보드 인식장치에서 다수의 버스 확장장치를 인식하는 단계를 나타낸 순서도.4 is a flowchart illustrating a step of recognizing a plurality of bus expansion devices in the programmable logic control expansion board recognition device according to the present invention.
<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>
112 : 주 연산부 114 : 주보드 버스 확장부112: main operation unit 114: main board bus expansion unit
122, 132, ..., 142 : 버스 확장부 110 : 주보드122, 132, ..., 142: bus extension 110: main board
124, 134, ..., 144 : 외부 입출력부 120, 130, ..., 140 : 버스 확장 보드124, 134, ..., 144: external input / output unit 120, 130, ..., 140: bus expansion board
31 : 디코더 32 : 가산기31: decoder 32: adder
33 : 제어부 34 : 디스플레이 운용부33: control unit 34: display operation unit
35 : 디스플레이부35: display unit
본 발명의 상기 및 기타 목적과 여러 가지 장점은 첨부된 도면을 참조하여 하기에 기술되는 발명의 바람직한 실시예로부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the invention described below with reference to the accompanying drawings.
도 1은 본 발명에 따라서 다수의 버스 확장장치를 인식하기에 적합한 PLC 시스템의 블록 구성을 도시한다.1 shows a block configuration of a PLC system suitable for recognizing a plurality of bus extensions in accordance with the present invention.
PLC는 PLC 주보드(110)와, PLC 주보드(110)에 연결 가능한 동일 구성의 n개의 PLC 확장 보드(120, 130, ..., 140)를 포함한다.The PLC includes a PLC main board 110 and n PLC expansion boards 120, 130,... 140 of the same configuration connectable to the PLC main board 110.
PLC 주보드(110)는 PLC에 연결되는 각각의 PLC 확장 보드(120, 130, ..., 140)를 인식하기 위한 하나의 주연산부(112), 주보드 버스 확장부(114) 및 주연산부(112)와 주보드 버스 확장부(114) 사이의 데이터 이동 경로를 제공하는 데이터 버스(D0), 주보드 버스 확장부(114)로부터 어드레스 정보를 주연산부(112)로 제공하는 어드레스 버스(A0), 주 연산부(112)와 주보드 버스 확장부(114)간의 활성 상태 신호 및 PLC 확장 보드 인식 정보를 전송하는 제어 버스(C0)를 구비한다.PLC main board 110 is one main operation unit 112, main board bus expansion unit 114 and the main operation unit for recognizing each PLC expansion board (120, 130, ..., 140) connected to the PLC A data bus D0 providing a data movement path between the 112 and the main board bus extension 114, and an address bus A0 providing address information from the main board bus extension 114 to the main operation unit 112. ), And a control bus C0 for transmitting an active state signal and PLC expansion board recognition information between the main computing unit 112 and the main board bus expansion unit 114.
동일 구성을 갖는 제 1 내지 제 n PLC 확장 보드(120, 130, ..., 140)는 각기 대응하는 제 1 내지 제 n의 버스 확장부(122, 132, ..., 142)와 제 1 내지 제 n의 외부 입출력부(124, 134, ..., 144)를 구비하며, 버스 확장 케이블(116, 126, ...)에 의해 PLC 확장 보드(120, 130, ..., 140)가 상호 연결된다.The first to nth PLC expansion boards 120, 130,..., 140 having the same configuration are respectively corresponding to the first to nth bus extensions 122, 132,..., 142 and the first. To the nth external input / output units 124, 134, ..., 144, and the PLC expansion boards 120, 130, ..., 140 by bus extension cables 116, 126, ... Are interconnected.
외부 입출력부(124, 134, ..., 144)는 데이터 버스(D1, ...), 어드레스 버스(A1, ...) 및 제어 버스(C1, ...)를 통하여 각각의 버스 확장부(122, 132, ..., 142)와 연결된다. 또한, 각각의 외부 입출력부(124, 134, ..., 144)에는 외부 입출력 포트(도시안됨)를 가지고 있어 센서, 누름 버튼 스위치등의 외부 입력장치와 전자 개폐기, 전자 벨브, 표시등 등의 외부 출력장치 등이 연결된다.External input / output units 124, 134, ..., 144 extend their respective buses through data buses D1, ..., address buses A1, ..., and control buses C1, ... It is connected to the parts 122, 132, ..., 142. In addition, each of the external input / output units 124, 134, ..., 144 has an external input / output port (not shown), such as an external input device such as a sensor, a push button switch, an electronic switch, an electronic valve, an indicator light, or the like. An external output device is connected.
그 동작에 있어서, PLC 주보드(110)내 주연산부(112)는 확장되는 각각의 버스 확장부(114, 122, 132, ..., 142)에 해당하는 주소 코드를 생성하고, 생성된 주소 코드를 버스 확장 케이블(116, 126, ...)을 통하여 순차적으로 해당 주소에 맞는 각각의 버스 확장부(114, 122, 132, ..., 142)로 제공한다. 예컨데, PLC 주보드(110)내 주보드 버스 확장부(114)를 포함하여 총 8 개의 보드가 확장 가능하다고 가정하면, 각 보드의 주소 코드는 2 진수로, 000, 001, 010, 011, 100, 101, 110, 111의 8가지로 할당될 수 있으며, 이들 주소 코드는 순차적으로 PLC 주보드(110) 및 나머지 7개의 PLC 확장 보드(120, 130, ..., 140)를 지정하는 신호로 사용된다.In operation, the main operation unit 112 in the PLC main board 110 generates an address code corresponding to each of the bus expansion units 114, 122, 132, ..., 142 that are expanded, and generates the generated address. The code is provided to the respective bus extensions 114, 122, 132, ..., 142 sequentially corresponding to the corresponding addresses through the bus extension cables 116, 126, .... For example, assuming that a total of eight boards are expandable, including the main board bus extension 114 in the PLC main board 110, the address codes of each board are binary, 000, 001, 010, 011, 100 , 101, 110, and 111 can be allocated to these eight, and these address codes are sequentially assigned signals indicating the PLC main board 110 and the remaining seven PLC expansion boards (120, 130, ..., 140) Used.
주보드 버스 확장부(114) 및 각각의 PLC 확장 보드(120, 130, ..., 140)내의 버스 확장부(122, 132, ..., 142)는 버스 확장 케이블(116, 126, ...)을 통하여 주연산부(112)로부터 제공하는 주소 코드를 수신받아 이를 내부적으로 논리 연산 처리하여 자신의 존재를 알리는 PLC 확장 보드 인식 정보를 생성한다. 이렇게 각각의 버스 확장 보드(120, 130, ..., 140)에서 생성된 PLC 확장 보드 인식 정보는 주연산부(112)로 전송됨으로써, 주연산부(112)가 PLC 확장 보드(120, 130, ..., 140)의 연결 여부를 인지할 수 있도록 한다.The main board bus extensions 114 and the bus extensions 122, 132, ..., 142 in the respective PLC expansion boards 120, 130, ..., 140 are bus extension cables 116, 126,. Receives an address code provided from the main operation unit 112 through ..) and internally performs a logical operation to generate PLC expansion board recognition information indicating its existence. The PLC expansion board recognition information generated in each of the bus expansion boards 120, 130,..., 140 is transmitted to the main operation unit 112, whereby the main operation unit 112 transmits the PLC expansion boards 120, 130,. .., 140 so as to recognize whether the connection.
주연산부(112)는 해당 PLC 확장 보드(120, 130, ..., 140)의 존재를 인식하면, 버스 확장 케이블(116, 126, ...)을 통하여 대응하는 외부 입출력부(124, 134, ..., 144)에 연결되는 입출력 장치의 주소를 포함하는 제어 신호를 해당 PLC 확장 보드(120, 130, ..., 140)로 전송한다.When the main operation unit 112 recognizes the existence of the corresponding PLC expansion boards 120, 130, ..., 140, the corresponding external input / output units 124, 134 through the bus extension cables 116, 126, ... The control signal including the address of the input / output device connected to the ..., 144 is transmitted to the corresponding PLC expansion board (120, 130, ..., 140).
도 2는 도 1에 도시된 동일 구성의 버스 확장부(114, 122, 132, ..., 144)중의 하나, 예로, 제 2 버스 확장부(122)를 도시하는 상세 블록도로서, 디코더(31), 가산기(32), 제어부(33) 및 디스플레이 운용부(34)를 포함한다.FIG. 2 is a detailed block diagram showing one of the bus extensions 114, 122, 132, ..., 144 of the same configuration as shown in FIG. 1, for example, the second bus extension 122. As shown in FIG. 31), an adder 32, a control unit 33, and a display operating unit 34.
본 발명에 따른 가산기(32)는 주연산부(112)로부터 제공되는 주소 코드, 예로, "1"을 입력받아 이를 반복적으로 가산함으로써, 버스 확장장치 제어 신호 "0"을 생성한다. 가산기(32)에서 생성된 버스 확장 장치 제어 신호 "0"은 디코더(31)를 활성화시키는 신호로서 사용된다.The adder 32 according to the present invention receives an address code, for example, "1" provided from the main operation unit 112, and adds it repeatedly, thereby generating a bus extension control signal "0". The bus extension device control signal " 0 " generated in the adder 32 is used as a signal for activating the decoder 31.
디코더(31)는 가산기(32)로부터 제공되는 버스 확장 장치 제어 신호에 의해 활성화되고 활성 상태 신호를 제어 라인(312)를 통하여 제어부(33)로 송신한다.The decoder 31 is activated by the bus expansion device control signal provided from the adder 32 and transmits an activation state signal to the control unit 33 via the control line 312.
제어부(33)는 디코더(31)로부터 활성 상태 신호에 응답하여 제 1 버스 확장 보드(122)의 PLC 확장 보드 인식 정보를 디스플레이 운용부(34) 및 라인(212)에 연결되는 버스 확장 케이블(116)을 통하여 주연산부(112)로 전송한다. 주연산부(112)가 PLC 확장 보드 인식 정보로부터 PLC에 연결되는 버스 확장 보드를 인식할 때, 주연산부(112)는 버스 확장 케이블(116)과 연결된 버스 확장장치 제어 입력 버스(200)를 통하여 디코더(31)로 어드레스 정보를 제공한다.The control unit 33 connects the PLC expansion board recognition information of the first bus expansion board 122 to the display operating unit 34 and the line 212 in response to the activation state signal from the decoder 31. It is transmitted to the main operation unit 112 through). When the main operation unit 112 recognizes the bus expansion board connected to the PLC from the PLC expansion board recognition information, the main operation unit 112 decodes the data through the bus extension control input bus 200 connected to the bus extension cable 116. At 31, address information is provided.
디코더(31)는 버스 확장장치 제어 입력 버스(200)를 통하여 주연산부(112)로부터 제공되는 어드레스 정보를 디코딩하여, 디코딩된 어드레스 정보를 제 1 외부 입출력부(124)로 출력한다. 디코더(31)에 의해 디코딩된 어드레스 정보는 외부 입출력부(124)의 입출력 포트를 활성화하는 신호로서 사용된다.The decoder 31 decodes the address information provided from the main operation unit 112 through the bus expander control input bus 200, and outputs the decoded address information to the first external input / output unit 124. The address information decoded by the decoder 31 is used as a signal for activating the input / output port of the external input / output unit 124.
디스플레이 운용부(34)는 제어부(33)에서 제공된 PLC 확장 보드 인식 정보를 발광 다이오드(LED) 또는 액정 표시 소자(LCD)의 표시 소자로 구성된 디스플레이부(35)로 전송함으로써, 운용자로 하여금 제 1 버스 확장부(122)가 자동 자동 인식되었음을 알 수 있게한다.The display operating unit 34 transmits the PLC expansion board recognition information provided from the control unit 33 to the display unit 35 configured as the display elements of the light emitting diodes (LEDs) or the liquid crystal display elements (LCDs), thereby allowing the operator to perform the first operation. It can be seen that the bus extension 122 is automatically recognized automatically.
도 3를 참조하면, 도 2에 도시된 가산기(32)의 상세 회로도가 도시된다.Referring to FIG. 3, a detailed circuit diagram of the adder 32 shown in FIG.
가산기(32)의 NAND 게이트(402, 404, 406) 및 NOR 게이트(410, 412, 414)의 제 1 입력단에는 주연산부(112)로부터 제공되는 코드 "1"이 라인(40, 41, 42)을 통하여 차례로 입력되고 NAND 게이트(402, 404, 406) 및 NOR 게이트(410, 412, 414)의 제 2 입력단에는 가산기(32) 자체에서 발생된 설정 코드 "111"이 라인(44, 45, 46)을 통하여 차례로 인가된다. 또한, 인버터(408)에는 인에이블 신호로 사용되는 신호 "0"이 인가된다.At the first input of the NAND gates 402, 404, 406 and the NOR gates 410, 412, 414 of the adder 32, a code “1” provided from the main operation unit 112 is lined 40, 41, 42. Are sequentially input through the second input terminal of the NAND gates 402, 404, 406 and the NOR gates 410, 412, 414. In turn). In addition, a signal " 0 " used as an enable signal is applied to the inverter 408.
라인(40, 44)상의 "0"과 "1"이 NAND게이트(402)를 통하여 "1"의 값으로 출력되고 다시 NOR게이트(410) 및 NOT게이트(416)을 통하여 "1"의 값으로 출력된다."0" and "1" on lines 40 and 44 are output to the value of "1" through NAND gate 402 and back to the value of "1" through NOR gate 410 and NOT gate 416. Is output.
라인(41, 45)상의 "0"과 "1"의 값이 NAND게이트(404)를 통하여 "1"의 값으로 출력되며, NOR게이트(412)를 통하여 "0"으로 출력된다.The values of "0" and "1" on the lines 41 and 45 are output as the value of "1" through the NAND gate 404 and are output as "0" through the NOR gate 412.
라인(42, 46)상의 "1"과 "1"의 값은 NAND게이트(406)를 통하여 "0"의 값으로 출력되고, NOR게이트(414)를 통하여 "0"으로 출력된다.The values of "1" and "1" on the lines 42 and 46 are output as "0" through the NAND gate 406 and as "0" through the NOR gate 414.
그리고, 각각의 NOR게이트(412, 414)에서 출력된 각각의 "0"은 각각의 NOT게이트(418, 420)를 통하여 각각 "1"로서 출력된다.Each "0" output from each NOR gate 412 and 414 is output as "1" through each NOT gate 418 and 420, respectively.
라인(43)상의 "0"이 입력되면 NOT게이트(408)를 통하여 "1"로서 출력된다.When "0" on the line 43 is input, it is output as "1" through the NOT gate 408.
한편, NOT게이트(416)를 통하여 출력된 "1"과 NAND게이트(402)에서 출력된 "1"이 AND게이트(422)를 통하여 "1"로서 출력된다.Meanwhile, "1" output through the NOT gate 416 and "1" output from the NAND gate 402 are output as "1" through the AND gate 422.
NAND게이트(404)에서 출력된 "1"과 NOR게이트(414)에서 출력된 "0"이 AND게이트(424)를 통하여 "0"으로 출력된다."1" output from the NAND gate 404 and "0" output from the NOR gate 414 are output as "0" through the AND gate 424.
그리고, NAND게이트(404)에서 출력된 "1", NAND게이트(406)에서 출력된 "0" 및 NOT게이트(408)에서 출력된 "1"이 AND게이트(426)로 입력되어 "0"으로 출력된다.Then, "1" output from the NAND gate 404, "0" output from the NAND gate 406, and "1" output from the NOT gate 408 are inputted to the AND gate 426 to "0". Is output.
상술한 NOR게이트(412)에서 출력된 "0", AND게이트(424)에서 출력된 "0" 및 AND게이트(426)에서 출력된 "0"의 값이 NOR게이트(436)를 통하여 "1"로서 출력된다.The above-described values of "0" output from the NOR gate 412, "0" output from the AND gate 424, and "0" output from the AND gate 426 are "1" through the NOR gate 436. Is output as.
NOR게이트(436)에서 출력된 "1"과 AND게이트(422)에서 출력된 "1"의 값이 익스클루시브(exclusive) OR게이트를 통하여 "0"의 값으로 출력된다.A value of "1" output from the NOR gate 436 and a value of "1" output from the AND gate 422 are output as a value of "0" through an exclusive OR gate.
NAND게이트(404)에서 출력된 "1"과 NOT게이트(418)에서 출력된 "1"이 AND게이트(428)를 통하여 "1"의 값으로 출력된다."1" output from the NAND gate 404 and "1" output from the NOT gate 418 are output as a value of "1" through the AND gate 428.
NAND게이트(406)에서 출력된 "0"과 NOT게이트(408)에서 출력된 "1"의 값이 AND게이트(430)로 입력되어 "0"으로 출력된다.Values of "0" output from the NAND gate 406 and "1" output from the NOT gate 408 are input to the AND gate 430 and output as "0".
그리고, NOR게이트(414)에서 출력된 "0"의 값과 AND게이트(430)에서 출력된 "0"이 NOR게이트(438)로 입력되어 "1"로서 출력된다.A value of "0" output from the NOR gate 414 and "0" output from the AND gate 430 are input to the NOR gate 438 and output as "1".
AND게이트(428)에서 출력된 "1"과 NOR게이트(438)에서 출력된 "1"이 익스클루시브(exclusive) OR게이트(442)를 통하여 "0"으로 출력된다."1" output from the AND gate 428 and "1" output from the NOR gate 438 are output as "0" through the exclusive OR gate 442.
NAND게이트(406)에서 출력된 "0"과 NOT게이트(420)에서 출력된 "1"이 AND게이트(432)를 통하면 라인(47) 상의 "0"의 값으로 출력된다."0" output from the NAND gate 406 and "1" output from the NOT gate 420 are output as the value of "0" on the line 47 through the AND gate 432.
NOT게이트(408)에서 출력된 "1"의 값이 다시 NOT게이트(434)를 통하여 라인(48) 상의 "0"의 값으로 출력된다.The value of "1" output from the NOT gate 408 is again output as the value of "0" on the line 48 through the NOT gate 434.
그리고, NOT게이트(434)에서 출력된 "0"과 AND게이트(432)에서 출력된 "0"이 익스클루시브 OR게이트(444)를 통하여 "0"으로 출력된다.Then, "0" output from the NOT gate 434 and "0" output from the AND gate 432 are output as "0" through the exclusive OR gate 444.
그 결과, 가산기(32)에서 논리 연산된 값은 출력 라인(47, 48, 49) 상에서 버스 확장장치 제어 신호 "0"의 값으로서 출력된다.As a result, the logically calculated value in the adder 32 is output as the value of the bus extension control signal " 0 " on the output lines 47, 48 and 49.
가산기(32)의 출력"0"은 주소 코드 "1"과, 설정 코드 "111"을 합산하여 얻을 수 있는 "1000"에서 23자리의 수를 제거하면 얻을 수 있는 값이다. 즉, 가산기(32)는 2 진수로 표현된 3 비트의 주소 코드와 가산기(32) 내부에서 출력되는 설정 코드 "111"을 반복적으로 자리올림 없이 논리적으로 연산하여 "0"으로 출력하도록 구성된 것이다.Output "0" of the adder 32 is a value that can be obtained by removing the number of 23-digit code at address "1", that can be obtained by adding the setting code "111", "1000". That is, the adder 32 is configured to logically calculate a 3-bit address code represented by a binary number and a setting code "111" output from the adder 32 without repeating it and output it as "0".
따라서, 가산기(32)에서 출력된 버스 확장장치 제어 신호 "0"은 디코더(31)를 활성화시키게 되고 디코더(31)는 활성화되었음을 알리는 활성 상태 신호를 제어부(33)로 송신하면, 제어부(33)는 PLC 확장 보드 인식 정보를 주연산부(112)로 송신함으로써, 주연산부(112)가 버스 확장부(114, 122, 132, ..., 144)를 인지하게 된다.Therefore, when the bus extension control signal "0" output from the adder 32 activates the decoder 31 and the decoder 31 transmits an active state signal indicating that the decoder 31 is activated, the controller 33 controls the controller 33. By transmitting the PLC expansion board recognition information to the main operation unit 112, the main operation unit 112 recognizes the bus expansion unit (114, 122, 132, ..., 144).
도 4를 참조하여 본 발명에 따른 프로그래머블 로직 제어 확장 보드 인식장치에서 다수의 버스 확장장치를 인식하는 단계에 대하여 상세하게 설명한다.A process of recognizing a plurality of bus expansion devices in the programmable logic control expansion board recognition device according to the present invention will be described in detail with reference to FIG. 4.
먼저 단계 (502)에서, 주 보드(110)내의 주 연산부(112)는 해당 PLC 학장 보드(120, 130, ..., 140)에 대응하는 주소 코드를 생성하여 생성된 주소 코드를 대응하는 PLC 확장 보드(120, 130, ..., 140)로 순차적으로 제공한다.First, in step 502, the main operation unit 112 in the main board 110 generates an address code corresponding to the corresponding PLC Dean boards 120, 130, ..., 140 and the PLC corresponding to the generated address code. The expansion boards 120, 130, ..., 140 are provided in sequence.
상기 대응하는 PLC 확장 보드(120, 130, ..., 140)내의 디코더(31)는 제공된 주소 코드를 수신한다(단계 504).The decoder 31 in the corresponding PLC expansion boards 120, 130, ..., 140 receives the provided address code (step 504).
단계 (506)에서, 디코더(31)는 수신된 주소 코드가 버스 확장 장치 제어 신호인가 판단한다. 수신된 주소 코드가 버스 확장 장치 제어 신호인 경우로 판단되면, 단계 (514)로 진행하여 디코더(31)는 버스 확장장치 제어 신호에 의해 활성화되고, 제어부(33)는 디코더(31)로 부터의 활성화 상태에 응답하여 상기 PLC 확장 보드 인식 정보를 상기 주연산부(112)로 송신하여 해당 PLC 확장 보드가 인식되었음을 알리고 종료하며, 그러지 않다면, (508)로 진행하여 주소 코드를 가산기(32)로 전송한다(단계 508).In step 506, the decoder 31 determines whether the received address code is a bus extension device control signal. If it is determined that the received address code is a bus extender control signal, the process proceeds to step 514 where the decoder 31 is activated by the bus extender control signal, and the control unit 33 receives a signal from the decoder 31. In response to an activation state, the PLC expansion board recognition information is transmitted to the main operation unit 112 to inform that the PLC expansion board is recognized and terminated. Otherwise, the process proceeds to 508 to transmit the address code to the adder 32. (Step 508).
단계 (510)에서, 가산기(32)는 전송 받은 주소 코드와 기 설정된 설정 코드를 가산하여 새로운 주소 코드를 출력하도록 한다.In step 510, the adder 32 adds the received address code and a preset setting code to output a new address code.
단계 (512)에서, 단계 (510)에서 출력된 새로운 주소 코드를 다시 디코더(31)로 제공하여 상술한 단계 (504)를 진행한다.In step 512, the new address code output in step 510 is provided back to the decoder 31 to proceed to step 504 described above.
이상 설명한 바와 같이, 본 발명은 외부의 부가적 장치없이 버스 확장장치를 자동 인식하여 해당 주소 공간의 입출력 배치를 안정되게 인식할 수 있어 PLC의 제어동작을 보다 안정되게 동작할 수 있는 효과가 있다.As described above, the present invention can automatically recognize the bus expansion device without an external additional device and stably recognize the input / output arrangement of the corresponding address space, so that the control operation of the PLC can be more stably operated.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980009637A KR100263589B1 (en) | 1998-03-20 | 1998-03-20 | Apparatus for recongnizing extension boards connectable to a progammable logic controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980009637A KR100263589B1 (en) | 1998-03-20 | 1998-03-20 | Apparatus for recongnizing extension boards connectable to a progammable logic controller |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990075435A KR19990075435A (en) | 1999-10-15 |
KR100263589B1 true KR100263589B1 (en) | 2000-08-01 |
Family
ID=19535134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980009637A KR100263589B1 (en) | 1998-03-20 | 1998-03-20 | Apparatus for recongnizing extension boards connectable to a progammable logic controller |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100263589B1 (en) |
-
1998
- 1998-03-20 KR KR1019980009637A patent/KR100263589B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19990075435A (en) | 1999-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6745270B1 (en) | Dynamically allocating I2C addresses using self bus switching device | |
US4086627A (en) | Interrupt system for microprocessor system | |
US3810118A (en) | Programmable matrix controller | |
US20050097255A1 (en) | I2C device including bus switches and programmable address | |
EP0041406B1 (en) | Component identification in computer system | |
KR890015142A (en) | Direct Memory Access Control | |
JP2001156872A (en) | Communication protocol conversion system and monitor | |
KR100263589B1 (en) | Apparatus for recongnizing extension boards connectable to a progammable logic controller | |
US4792918A (en) | Programmable controller monitoring system for simultaneous multiple line display of original and updated data program execution | |
JPS59144931A (en) | Information processor | |
KR100720145B1 (en) | Master module, function module, electronic device comprising the same and identification data setting method thereof | |
US4404556A (en) | Bit expansion circuit | |
KR930006905A (en) | Bus controller operation system integrated in one chip with main controller | |
KR920005094Y1 (en) | I/o card selector for programmable controller | |
KR100251554B1 (en) | Automatic ID Assignment Device and Method of Stacking System | |
US20050120155A1 (en) | Multi-bus I2C system | |
JPH01250075A (en) | Managing system for printed circuit board in electronic equipment | |
KR100320563B1 (en) | Apparatus for controlling Memory and I/O port interface | |
RU2260835C2 (en) | Extensible automatic system | |
KR100454185B1 (en) | Card automatic recognition system and method for bus control system | |
KR950012121B1 (en) | Programmable logic controller having input-output simulation function | |
KR0131894Y1 (en) | Device varifying plc input/output contact point with trigger function | |
KR970006308B1 (en) | In/out interface of monitor screen controller | |
KR940002469B1 (en) | Programmable matrix system | |
KR950007938B1 (en) | Reset method of plc |
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: 20040514 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |