KR920005093Y1 - Apparatus for selecting and confirmation of the i/o card in programmable controller - Google Patents
Apparatus for selecting and confirmation of the i/o card in programmable controller Download PDFInfo
- Publication number
- KR920005093Y1 KR920005093Y1 KR2019890019574U KR890019574U KR920005093Y1 KR 920005093 Y1 KR920005093 Y1 KR 920005093Y1 KR 2019890019574 U KR2019890019574 U KR 2019890019574U KR 890019574 U KR890019574 U KR 890019574U KR 920005093 Y1 KR920005093 Y1 KR 920005093Y1
- Authority
- KR
- South Korea
- Prior art keywords
- input
- output
- card
- signal
- unit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Programmable Controllers (AREA)
Abstract
내용 없음.No content.
Description
제 1 도는 프로그래머블 콘트롤러의 개략적인 블록도.1 is a schematic block diagram of a programmable controller.
제 2 도는 본 고안에 따른 입출력카드 임의 지정 및 그의 확인 장치의 구성도.2 is a block diagram of an arbitrary input and output card designation and confirmation device according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 입출력 카드 용도 선택 스위치부 11 : 입출력 셀렉터10: input / output card use selection switch section 11: input / output selector
13 : 입출력 카드 체크 신호 발생부 15 : 입출력 카드 지정 신호 입력부13 input / output card check signal generation section 15 input / output card designation signal input section
17 : 입출력 카드 확인 신호 출력부17: I / O card confirmation signal output
본 고안은 프로그래머블 콘트롤러(PLC)에 있어서 입출력 랙의 슬로트에 취부되는 입출력 카드를 임의의 용도(즉, 입력용 및 출력용)로 지정하여 사용하기 위한 입출력 카드 임의 지정 및 그의 확인 장치에 관한 것이다.The present invention relates to an input / output card arbitrary designation and confirmation device thereof for designating and using an input / output card mounted in a slot of an input / output rack in a programmable controller (PLC) for any use (that is, for input and output).
일반적으로, 프로그래머블 콘트롤러(이하 PLC라 약칭함)는 외관 구조에서 소규모의 보도형과 중.대규모의 블록형 및 빌딩 블록형의 세 종류가 있으며, 기종에 따라 입출력 점수가 일정한 유니트 형과 입출력 점수가 자유로이 확장되는 모듈형이 있다.In general, programmable controllers (hereinafter abbreviated as PLC) are classified into three types: small press type, medium and large block type, and building block type in appearance structure. There is a modular extension freely.
기계의 제어 대상물에 대하여 PLC를 사용하는 경우 기계의 대략적인 동작 내용으로 PLC의 입출력 점수를 추정하여야 하는데, 이는 예컨대 입력부와 출력부에서 처리되는 신호의 각각 또는 합계의 수로서(각기 16점씩일때), 입력/출력(I/O)=16점/16점(각각, 또는 입력(I)+출력(O)=32점(합계)로 표현된다.When using the PLC for the control object of the machine, the I / O score of the PLC should be estimated based on the approximate operation of the machine, for example, each of the signals processed by the input and output units or the sum of the signals (16 points each). The input / output (I / O) = 16 points / 16 points (each, or input (I) + output (O) = 32 points (total)) is represented.
따라서 지방 변경이나 장래의 증설을 고려하여 입출력 점수는 10 내지 20퍼센트 정도의 여유를 고려해두는 것이 바람직한데, 상기 유니트형은 입출력비가 대략 3 : 2로 구성되어 있어 입출력비가 합치된다면 가격적으로도 유지하겠지만, 장래 확장될 가능성이 있는 시스템에서는 모듈형이 유리할 것이다.Therefore, in consideration of local change or future expansion, it is desirable to allow 10 to 20 percent of the I / O points to be considered. The unit type is composed of approximately 3: 2 input / output ratio, so if the input / output ratio is consistent, the price is also maintained. However, modularity would be advantageous in systems that are likely to expand in the future.
이러한 PLC에 있어서 입출력 랙(RACK)의 입출력 카드의 어드레스 지정은 PLC설계시 미리 전체 입출력 어드레스중 입력 영역과 출력 영역을 정해두고 사용자가 사용시 입력 카드는 정해진 입력 영역의 어드레스에 대응할 수 있도록 입출력 랙에서 입력카드 삽입 가능 스로트에만 꽂고 출력 카드는 마찬가지로 출력 카드를 꽂을 수 있는 정해진 슬로트에만 사용하였다.In the PLC, the input / output card address of the input / output rack (RACK) is designated in the input / output rack so that the input area and the output area among all the input / output addresses can be determined in advance when designing the PLC. Only the input card insertable slot was used, and the output card was used only for the designated slot where the output card could be inserted.
이렇게 입출력 카드가 입출력 랙에서 일정 비율로 입력용과 출력용으로 할당된 경우에는 PLC본체의 CPU가 입력 카드와 출력 카드를 알고 있으므로 데이타의 입출력에 문제가 없으나 입출력 카드를 구분없이 입출력 랙에서 임의로 사용할때는 상기 랙의 어느 슬로트에 어느 용도의 카드가 장착되어 있는가를 확인하여야만 데이타의 입출력 제어에 문제가 없어진다.When I / O cards are allocated for input and output at a fixed rate in the I / O rack, the CPU of the PLC main body knows the input card and output card, so there is no problem in the input / output of data. Checking which slot of the rack is equipped with which purpose does not have a problem in controlling I / O of data.
그러나 종래의 방식은 입출력 점수가 미리 정해져 있기 때문에 새로이 증설하여 사용하고자 하는 경우 전체 입출력 점수내에서 입출력 점수의 비율을 변경시킬 수 없었으며, 입출력 점수의 비율이 크게 차이가 난다면 기본 유니트에 증설 유니트를 접속하여 사용해야 하거나 별도의 입출력 카드를 그에 맞게 새로이 구입하여야 했다.However, in the conventional method, since the input / output score is predetermined, it is not possible to change the ratio of the input / output score within the total input / output score when a new extension is to be used. If the ratio of the input / output score greatly differs, the extension unit is added to the basic unit. You had to connect and use or you had to buy a new I / O card accordingly.
다시 말하면, 예로 입출력 점수가 입력 64점, 출력 64점인 최대 128점이고 카드 한매가 16점짜리라면 여덟개의 슬로트를 갖는 하나의 입출력 랙은 입력 카드 및 출력 카드용으로 각기 네개씩의 슬로트가 할당되어 있기 때문에 사용자는 이에 따라 입출력 점수의 비율을 적절히 조절하여 사용해야만 했다.In other words, if the input / output score is up to 128 points with 64 input points and 64 output points, and each card has 16 points, one I / O rack with eight slots is assigned four slots for input and output cards. Therefore, the user had to adjust the ratio of the input / output score accordingly accordingly.
따라서 본 고안은 상기 단점을 해결하고자 안출된 것으로 그 목적으로 하는 바는 전체 입출력 점수에서 입출력 점수의 비율을 카드 단위로 변경시켜 입출력카드의 슬로트를 구별없이 임의로 사용할 수 있는 입출력 카드 임의 지정 장치 및 이의 용도를 확인할 수 있는 장치를 제공하는 것이다.Therefore, the present invention was devised to solve the above disadvantages, and its purpose is to change the ratio of the input / output scores from the total input / output scores to card units so that the slots of the input / output cards can be arbitrarily used without distinction. It is to provide a device that can confirm its use.
본 고안에 있어서, 입출력 랙의 임의의 슬로트에 입출력 카드를 구분없이 사용하기 위하여, 현재 사용하는 입출력 카드를 임의로 지정하여 사용하기 위한 입출력 카드 용도 선택 스위치와, 상기 입출력 카드를 확인하기 위한 신호를 발생하는 입출력 카드 체크 신호 발생부와, 입력 또는 출력용으로 사용될 카드를 위해 선별적으로 전원 및 그라운드 신호를 접속시키기 위한, 상기 신호 발생부로부터의 신호에 따라 트리거되는 입출력 카드 지정신호 입력부와, 현재 사용되는 카드가 입력 도는 출력용인가를 나타내기 위한 신호를 출력하는 입출력 카드 확인신호 발생부 및, 상기 카드 확인 신호 발생부로부터 출력된 신호를 CPU로 전달하기 위한 상기 입출력 카드 지정스위치와 대응하는 갯수의 데이타 라인을 포함한다.In the present invention, in order to use an I / O card in any slot of an I / O rack without any distinction, an I / O card use selection switch for arbitrarily designating an I / O card currently used, and a signal for identifying the I / O card. An input / output card designation signal input section triggered in accordance with a signal from the signal generation section, for selectively connecting power and ground signals for generating an input / output card check signal generation section and a card to be used for input or output, An input / output card acknowledgment signal generator for outputting a signal for indicating whether a card is to be used for input or output, and the number of data corresponding to the input / output card designation switch for transferring a signal output from the card acknowledgment signal generator to the CPU; Include a line.
이하, 본 고안은 첨부된 도면을 참조하여 설명하면 다음과 같다.Hereinafter, the present invention will be described with reference to the accompanying drawings.
제 1 도는 PLC를 개략적인 블록도로 구성한 도면으로, CPU(3)는 어드레스 버스를 통하여 입출력 셀렉터(11)에 의해 어느하나의 특정한 입출력 카드를 선택하게 되며, 그리하여 그 카드에 대하여 데이타의 입출력을 수행시킬 수 있다. (5)는 연산부, (7)는 메모리부, (10)은 상기 CPU(3)와 연산부(5)를 총제적으로 도시한 제어연산부이다.1 is a schematic block diagram of a PLC in which the CPU 3 selects one specific input / output card by the input / output selector 11 through an address bus, and thus inputs / outputs data to the card. You can. Denoted at 5 is a calculation unit, at 7 a memory unit, and at 10 a control calculation unit which collectively shows the CPU 3 and the calculation unit 5.
제 2 도에서, 라인 Ao는 PLC본체로부터 출력되는 신호 라인이며, A1내지 An은 상기 입출력 셀렉터(11)에사 디코우드된 입출력 카드선택신호라인들로서, A1은 첫번째 카드, A2는 두번째 카드를 각기 선택하는 것으로 도시하였다.In FIG. 2, line Ao is a signal line output from the PLC main body, and A 1 to An are input / output card selection signal lines decoded by the input / output selector 11, where A 1 is the first card and A 2 is the second card. Are shown as selecting each.
입출력 카드용도 선택스위치(10)에 의해 현재 지정된 카드의 상태를 확인하기 위하여, 본 고안은 데이타라인 D0, D1상의 데이타가 각기 0, 1이면 입력용 카드이고, 1, 0이면 출력용 카드, 1, 1이면 에러 상태를 나타내는 것으로 하였다. 그리고 사용자가 상기 스위치(10)를 임의로 b측으로 하였을 경우 상기 데이타 라인 D0, D1상에는 0, 0신호가 나타나기 때문에, 이는 해당하는 카드가 현재 슬로트에서 제거되었거나 또는 입출력 카드를 구분하려는 것이 아닌 상태를 나타내는 돈 케어(Don'n card)상태로 하였다. 이때 PLC는 통상의 동작을 수행할 것이다. 또한 카드 지정 신호 입력부(15)의 삼상태 버퍼(G1 및 G2)에 각기 "L"(OV)및 "H" (5V)가 인가되면 입력용 카드이며 그 반대는 출력용 카드로 가정하였다.In order to check the state of the card currently designated by the input / output card use selection switch 10, the present invention is an input card when data on data lines D 0 and D 1 are 0 and 1, respectively, and an output card and 1 and 1 indicate an error condition. When the user arbitrarily sets the switch 10 to the b side, 0 and 0 signals are displayed on the data lines D 0 and D 1 , which means that the corresponding card is not removed from the current slot or to distinguish the input / output card. It was made into the Don'n card state which shows the state. The PLC will then perform its normal operation. In addition, when "L" (OV) and "H" (5V) are applied to the tristate buffers G1 and G2 of the card designation signal input unit 15, respectively, it is assumed that the card is an input card and vice versa.
어느 특정한 카드를 선택하여 데이타를 입출력하기 위하여, PLC의 CPU(3)는 어드레스 버스를 통하여 어드레스 신호를 출력한다. 입출력 셀렉터(11)는 어드레스 신호를 디코우드하여 특정한 하나의 입출력 카드를 선택한다.In order to select any particular card and input / output data, the CPU 3 of the PLC outputs an address signal via the address bus. The input / output selector 11 decodes the address signal to select one particular input / output card.
이와 동시에 CPU(3)는 현재 선택된 카드의 상태(즉, 입력용 또는 출력용)를 확인하기 위하여 어느 하나의 어드레스 라인 A0를 통하여 입출력 카드 체크 신호를 출력한다. 입출력 카드 체크 신호 발생부(13)는 상기 체크 신호와 상기 하나의 디코우드된 출력신호를 수신하여 입출력 카드지정 신호 입력부(15)및 입출력 카드 확인 신호 출력부(17)을 트리거시키는 신호를 출력한다. 따라서 카드 확인 신호발생부(17)의 각각의 삼상태 버퍼(G3 및 G4)로 저항(R3 및 R4)을 통해 "H" (5V)신호가 입력되며 카드 지정 신호 입력부(15)의 삼상태버퍼(G1 및 G2)에 각기 "L" 및 "H" 상태(입력용 카드인 경우)가 인가된다. 이때 스위치(SW)가 모두 a접점에 닫혀 있으므로 버퍼(G3)게 인가되는 신호는 (G1)과 마찬가지로 "L"상태로 된다. 그러므로, 데이타 라인 D0, D1상에 각기 "L", "H"신호(입력용 카드인 경우)가 로드된다. 반대로, 출력용 카드인 경우는 데이타 라인 D0, D1상에 각기 "H", "L"신호가 전달될 것이다. 이 신호는 PLC본체로 입력되며 PLC는 현재 카드의 상태를 확인하게 되어 데이타의 입출력을 수행할 수 있다.At the same time, the CPU 3 outputs an input / output card check signal through any one of the address lines A 0 in order to confirm the state (ie, for input or output) of the currently selected card. The input / output card check signal generation unit 13 receives the check signal and the one decoded output signal and outputs a signal for triggering the input / output card designation signal input unit 15 and the input / output card confirmation signal output unit 17. . Accordingly, the "H" (5V) signal is inputted through the resistors R3 and R4 to the three state buffers G3 and G4 of the card confirmation signal generator 17, and the three state buffer of the card designation signal input unit 15. "L" and "H" states (in the case of an input card) are applied to (G1 and G2), respectively. At this time, since the switches SW are all closed at the contact a, the signal applied to the buffer G3 is in the "L" state like the G1. Therefore, "L" and "H" signals (in the case of an input card) are loaded on the data lines D 0 and D 1 , respectively. Conversely, in the case of an output card, "H" and "L" signals will be transmitted on data lines D 0 and D 1 , respectively. This signal is input to PLC main body and PLC can check the current status of card and perform input / output of data.
이상에서 설명된 바와같이, 본 고안에 따르면 입출력 랙에서 입출력 카드를 사용자가 임의로 아무 슬로트에서도 사용할 수 있어서 입출력 점수의 비율을 마음대로 변경시킬 수 있으며 또한 부수적으로, 본 고안의 회로에 의하여 입출력 카드의 잘못 사용이나 이상 상태를 보다 쉽게 확인할 수 있다.As described above, according to the present invention, the user can use the I / O card in any slot arbitrarily in the I / O rack, so that the ratio of the I / O score can be changed at will, and additionally, by the circuit of the present invention, It is easier to check for misuse or abnormal conditions.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019890019574U KR920005093Y1 (en) | 1989-12-22 | 1989-12-22 | Apparatus for selecting and confirmation of the i/o card in programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019890019574U KR920005093Y1 (en) | 1989-12-22 | 1989-12-22 | Apparatus for selecting and confirmation of the i/o card in programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
KR910012462U KR910012462U (en) | 1991-07-30 |
KR920005093Y1 true KR920005093Y1 (en) | 1992-07-27 |
Family
ID=19293706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR2019890019574U KR920005093Y1 (en) | 1989-12-22 | 1989-12-22 | Apparatus for selecting and confirmation of the i/o card in programmable controller |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR920005093Y1 (en) |
-
1989
- 1989-12-22 KR KR2019890019574U patent/KR920005093Y1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR910012462U (en) | 1991-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4390966A (en) | Sequence controller | |
JP2501874B2 (en) | IC card | |
KR890015142A (en) | Direct Memory Access Control | |
US4794520A (en) | Interface system for computer port sharing of multiple devices | |
KR920005093Y1 (en) | Apparatus for selecting and confirmation of the i/o card in programmable controller | |
US4404556A (en) | Bit expansion circuit | |
KR930010723A (en) | Computer system | |
KR840003082A (en) | Bus sourcing and shifter control of the central processing unit | |
JPS60176163A (en) | Address selection system of input/output board | |
KR920005094Y1 (en) | I/o card selector for programmable controller | |
JPS62182857A (en) | Input and output controller | |
JP3310482B2 (en) | Microcomputer | |
KR960016271B1 (en) | Exchange riset -out circuit | |
KR0186202B1 (en) | One-chip micro-computer | |
KR910008253Y1 (en) | I/o device of programmable logic controller | |
JPS63142434A (en) | Interrupt control system | |
JPS6126159A (en) | Information processor | |
KR970007156Y1 (en) | Access time control circuit of data i/o apparatus | |
JPH03116350A (en) | Bus structure for data transfer | |
JPH02133851A (en) | Communication controller | |
JPS63214999A (en) | Read-only memory device | |
KR19980050668U (en) | Bit I / O control circuit of the I / O control device | |
JPS6386046A (en) | Memory selection system | |
KR900005721A (en) | Self-checking muldem device | |
JPH02300940A (en) | Maintenance circuit for display device of computer control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
NORF | Unpaid initial registration fee |