JP2010039505A - Controller device - Google Patents
Controller device Download PDFInfo
- Publication number
- JP2010039505A JP2010039505A JP2008197914A JP2008197914A JP2010039505A JP 2010039505 A JP2010039505 A JP 2010039505A JP 2008197914 A JP2008197914 A JP 2008197914A JP 2008197914 A JP2008197914 A JP 2008197914A JP 2010039505 A JP2010039505 A JP 2010039505A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- signals
- controller
- input
- pulse pattern
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 abstract description 9
- 230000003111 delayed effect Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、入力された信号を処理したり、処理を行った信号を出力したりするコントローラ装置に関する。 The present invention relates to a controller device that processes input signals and outputs processed signals.
従来、入力された信号を処理したり、処理を行った信号を出力したりするコントローラに入出力する信号点数は決められている。そのため信号を入出力するためにコントローラに設けられた端子台と、実際にコントローラに信号を取り込む部分は直結するため、端子台の端子数と入出力する最大信号数とは同じ数になる。 Conventionally, the number of signal points to be input / output to / from a controller that processes an input signal or outputs a processed signal is determined. For this reason, the terminal block provided in the controller for inputting and outputting signals is directly connected to the portion that actually takes the signal into the controller, so the number of terminals on the terminal block is equal to the maximum number of signals to be input and output.
例えば、特許文献1に記載されている、入力信号を所定の信号レベルに変換する信号変換装置や、特許文献2に記載されている、下位側にある信号変換ユニットに入力された信号が電話回線を使用し通信モジュールを経由し上位機器へ伝送するものにおいても、従来どおり端子台の端子数は入出力する信号数と同じ数または大きい数となっている。
上述した従来の一般的なコントローラにおいて不都合な点は、コントローラに用意された信号端子分の点数を超えたインタフェースが不可能なことである。 A disadvantage of the above-described conventional general controller is that an interface exceeding the number of signal terminals prepared in the controller is impossible.
例えば、図5に示すように、コントローラ1の端子台2の信号端子数(図では5つ)より多い数(図では6つ)の信号が入力される場合、これらの信号のうち、信号端子数と同じ数の信号3については端子台2の信号端子に接続できるため対応できるが、信号端子数を超えた残りの信号8は、端子台2に接続できる信号端子がないため対応できない。もし、この信号端子数を超えた残りの信号8に対応しようとすれば、新しいユニットやコントローラを追加する必要がある。
For example, as shown in FIG. 5, when more signals (6 in the figure) than the number of signal terminals (5 in the figure) of the
本発明は上述した課題を解決するために為されたものであり、コントローラの信号端子数より多い数の入出力信号数に対応することが可能なコントローラ装置を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a controller device that can cope with a larger number of input / output signals than the number of signal terminals of the controller.
上記目的を達成するために、本発明に係るコントローラ装置は、複数の入力信号ラインとコントローラの1つの信号端子との間に設けられ、複数の入力信号ラインから入力される複数の信号を、複数の信号のそれぞれに対応したパルスパターン信号に変換し、変換されたパルスパターン信号を重ね合わせて、重なったパルスパターン信号としてコントローラの1つの信号端子に供給する手段と、コントローラ内に設けられ、1つの信号端子から入力された重なったパルスパターン信号に複数の信号のそれぞれに対応したパルスパターン信号が含まれているかどうかを識別することにより複数の信号に分解する手段とを備えたことを特徴とする。 In order to achieve the above object, a controller device according to the present invention is provided between a plurality of input signal lines and one signal terminal of the controller, and receives a plurality of signals input from the plurality of input signal lines. And a means for superimposing the converted pulse pattern signals and supplying the converted pulse pattern signals to one signal terminal of the controller as an overlapped pulse pattern signal. And means for resolving into a plurality of signals by identifying whether or not the pulse pattern signals corresponding to each of the plurality of signals are included in the overlapped pulse pattern signals inputted from one signal terminal. To do.
また、本発明に係るコントローラ装置は、1つの信号端子から複数の出力信号ラインに複数の信号を出力するコントローラ内に設けられ、複数の信号を、複数の信号のそれぞれに対応したパルスパターン信号に変換し、変換されたパルスパターン信号を重ね合わせて、重なったパルスパターン信号として1つの信号端子に供給する手段と、コントローラの1つの信号端子と複数の出力信号ラインとの間に設けられ、コントローラの1つの信号端子から出力された重なったパルスパターン信号に、複数の信号のそれぞれに対応したパルスパターン信号が含まれているかどうかを識別することにより複数の信号に分解し、分解された複数の信号を複数の出力信号ラインに供給する手段とを備えたことを特徴とする。 The controller device according to the present invention is provided in a controller that outputs a plurality of signals from one signal terminal to a plurality of output signal lines, and converts the plurality of signals into pulse pattern signals corresponding to the plurality of signals, respectively. A means for converting and superimposing the converted pulse pattern signals and supplying them to one signal terminal as an overlapped pulse pattern signal, and provided between one signal terminal of the controller and a plurality of output signal lines; The overlapped pulse pattern signal output from one signal terminal of the signal is decomposed into a plurality of signals by identifying whether or not a pulse pattern signal corresponding to each of the plurality of signals is included. And a means for supplying a signal to a plurality of output signal lines.
本発明によれば、コントローラの信号端子数より多い数の入出力信号数に対応することが可能なコントローラ装置を実現することができる。 According to the present invention, it is possible to realize a controller device that can handle a larger number of input / output signals than the number of signal terminals of the controller.
以下、図面を参照して本発明の実施形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施形態に係るコントローラ装置の構成を示す回路図である。 FIG. 1 is a circuit diagram showing a configuration of a controller device according to an embodiment of the present invention.
この実施形態は、入力信号をコントローラに取り込む場合の実施形態で、同図に示すように、端子台2を取付けたコントローラ1に、端子台2の信号端子数以上の信号3を入力させるために、変換装置4と入力端子5および出力端子6とで構成したユニット7を、2つの入力信号ラインと1つの信号端子との間に取り付けている。(なお、図中の信号3の複数の信号ラインのうち、1番上の信号ラインは電源ラインである。)
This embodiment is an embodiment in which an input signal is taken into a controller. As shown in the figure, in order to cause the
図2を用いて、ユニット7の構成および機能を更に説明する。同図に示すように、ユニット7は、入力端子21,22を有する端子台23、変換装置24、および出力端子25有する端子台26で構成されている。パルス信号が入力端子21,22にそれぞれ入力されたとき、変換装置24ではその信号を、図2に示すように入力端子21,22のそれぞれに応じたパルスパターン信号に変換する。そして、そのパルスパターン信号を出力端子25より出力する。出力する信号のパルスパターンは、2つのパルスパターンを重ねたパルスパターンで出力する。
The configuration and function of the
すなわち、ユニット7は、入力されたパルス信号をパルスパターン信号に変換する機能を持つが、2点以上の信号を1点の信号として出力するため、パルス信号のままでは、タイミング的に重なる場合があり、信号の区別ができない。そこで、変換装置24で、それぞれのパルス信号を、互いに他の信号と区別できる固有のパルスパターン(後述するように、重ね合わせたパルスパターンから、それぞれを識別できるような固有のパルスパターン)を有するパルスパターン信号に変換することによってこの問題を解決する。変換装置24で作ったパルスパターン信号を出力端子25から出力するとき、パルスパターンごとに出力していては、作成したパルスパターン分の時間がかかってしまう。そこでパルスパターンを重ねてしまうことで、複数のパルスパターンを1つのパルスパターンの周期時間でコントローラ1に入力することになり送信時間の短縮を図ることができる。また、上記のように、パルスパターンを重ねた場合、一部のパルスは重なることはあるが、完全に一致することはないので、各信号の区別ができ、各信号に分解することができる。
That is, the
コントローラ1では、ユニット7からの重なったパルスパターンの信号を受け取るため、それぞれのパルスパターンの信号を識別し、各信号に分解する機能を持つ。
Since the
図3を用いて、この重なったパルスパターンの信号がコントローラ1の1つの信号端子に入力されたとき、重なったパルスパターンの信号からそれぞれのパルスパターンの信号を識別する機能について説明する。なお、図3においては、1周期分のパルスパターンを示している。
The function of discriminating each pulse pattern signal from the overlapped pulse pattern signal when this overlapped pulse pattern signal is input to one signal terminal of the
ユニット7の入力端子21,22に同時にパルス信号が入力されると、これらのパルス信号は、変換装置24で、例えば、図3のA,Bに示すようなパルスパターン信号に変換され、出力端子25からはこれらのパルスパターンの重なったCに示すパルスパターン信号が出力され、この信号がコントローラ1の1つの信号端子に入力される。
When pulse signals are simultaneously input to the
このパルスパターンの重なった信号Cに、パルスパターン信号Aが含まれていることを識別するために、Aと同じパターンの識別信号D1を用いて、この識別信号D1と信号CとのANDをとると、信号Cにパルスパターン信号Aが含まれているため図3のEに示す結果が得られる。一方、コントローラ1の1つの信号端子に入力される信号にパルスパターン信号Aが含まれておらず、パルスパターン信号Bだけが入力された場合は、この信号Bと識別信号D1とのAND出力は図3のFに示す結果となる。このことから、図3のEに示す結果が得られた場合に、コントローラ1の1つの信号端子に入力される信号にパルスパターン信号Aが含まれていると識別することができる。(なお、1周期分が4つのパルスのパターンからなっている場合、識別信号D1から1パルス分遅れた識別信号D2、2パルス分遅れた識別信号D3(図示せず)、3パルス分遅れた識別信号D4(図示せず)ともANDをとって、パルスパターン信号Aが含まれているかどうかの識別を行う。)
In order to identify that the pulse pattern signal A is included in the signal C in which the pulse pattern overlaps, the identification signal D1 and the signal C are ANDed using the identification signal D1 having the same pattern as A. Since the pulse pattern signal A is included in the signal C, the result shown in E of FIG. 3 is obtained. On the other hand, when the pulse pattern signal A is not included in the signal input to one signal terminal of the
同様に、パルスパターンの重なった信号Cに、パルスパターン信号Bが含まれていることを識別するためには、Bと同じパターンの識別信号G1を用いて、この識別信号G1と信号CとのANDをとると、信号Cにパルスパターン信号Bが含まれているため図3のHに示す結果が得られる。一方、コントローラ1の1つの信号端子に入力される信号にパルスパターン信号Bが含まれておらず、パルスパターン信号Aだけが入力された場合は、この信号Aと識別信号D1とのAND出力は図3のIに示す結果となる。このことから、図3のHに示す結果が得られた場合に、コントローラ1の1つの信号端子に入力される信号にパルスパターン信号Bが含まれていると識別することができる。(なお、1周期分が4つのパルスのパターンからなっている場合、識別信号G1から1パルス分遅れた識別信号G2(図示せず)、2パルス分遅れた識別信号G3(図示せず)、3パルス分遅れた識別信号G4(図示せず)ともANDをとって、パルスパターン信号Bが含まれているかどうかの識別を行う。)
Similarly, in order to identify that the pulse pattern signal B includes the pulse pattern signal B, the identification signal G1 having the same pattern as B is used to identify the pulse pattern signal B. When the AND operation is performed, since the pulse pattern signal B is included in the signal C, the result shown in FIG. On the other hand, if the pulse pattern signal B is not included in the signal input to one signal terminal of the
図3では、ユニット7の入力端子21,22に同時にパルス信号が入力された場合について説明したが、例えば入力端子21へのパルス信号の入力よりも入力端子22へのパルス信号の入力が少し遅れた場合は、これらのパルス信号は、変換装置24で、例えば、図4のA,Bに示すように、図3の場合より信号Bが1パルス分遅れたパルスパターン信号となり、出力端子25からはこれらのパルスパターンの重なったCに示すパルスパターン信号が出力され、この信号がコントローラ1の1つの信号端子に入力される。
In FIG. 3, the case where the pulse signals are simultaneously input to the
このパルスパターンの重なった信号Cに、パルスパターン信号Aが含まれていることを識別するには、図3の場合と同様に、識別信号D1を用いて、信号Cにパルスパターン信号Aが含まれていることが分かるが、パルスパターンの重なった信号Cに、パルスパターン信号Bが含まれていることの識別は、識別信号G1より1パルス分遅れた識別信号G2とANDをとった場合に、図4のHに示す結果が得られパルスパターン信号Bが含まれていることが識別できる。 In order to identify that the pulse pattern overlapped signal C includes the pulse pattern signal A, similarly to the case of FIG. 3, the identification signal D1 is used to include the pulse pattern signal A in the signal C. Although it is understood that the pulse pattern signal B includes the pulse pattern signal B, the identification of the identification signal G2 delayed by one pulse from the identification signal G1 is ANDed. It can be identified that the result shown in H of FIG. 4 is obtained and the pulse pattern signal B is included.
入力端子21へのパルス信号の入力よりも入力端子22へのパルス信号の入力がさらに遅れた場合は、信号Bが、信号Aより2パルス分または3パルス分遅れたパルスパターン信号となり、コントローラ1では、パルスパターンの重なったCに示すパルスパターン信号から識別信号G3または識別信号G4とANDをとることによって、パルスパターン信号Bが含まれていることが識別できる。
When the input of the pulse signal to the
以上説明したように、コントローラ7の入力部分では、1点の入力端子で、複数のパルスパターンを受け取ることができる。そのためパルスパターンを作成できる限りの信号をコントローラ1に入力することが可能となる。
As described above, the input portion of the
従って、本実施形態によれば、コントローラで処理するために必要な入力信号の数よりコントローラの端子台の信号端子の数が少ない場合に、入力信号ラインと信号端子との間に、ユニットを取り付けるだけで、端子台の信号端子の数が不足しているという問題を解決することができる。 Therefore, according to this embodiment, when the number of signal terminals on the controller terminal block is smaller than the number of input signals required for processing by the controller, a unit is attached between the input signal line and the signal terminal. The problem that the number of signal terminals on the terminal block is insufficient can be solved.
なお、上述の説明は、入力信号をコントローラに取り込む場合のものであるが、コントローラから出力信号を出力する場合は、上記ユニットの機能を逆転した構成で実現可能である。すなわち、コントローラの端子台の信号端子数以上の信号を出力させるために、1つ入力端子と2つの出力端子とで構成したユニットを、1つの信号端子と2つの出力信号ラインとの間に取り付ける。つまりこのユニットでは複数のパルスパターンが重なった状態で1点入力され、それぞれのパルスパターンの信号を識別して2つの信号に分解し、各信号に応じた出力端子から出力する。このため、コントローラの内部で、上述のユニット7の変換装置4と同様な処理を行って、2つの信号をそれぞれに応じたパルスパターン信号に変換し、2つのパターンを重ねたパターンでコントローラの端子台の信号端子から出力する。そして、この重なったパルスパターンの信号を受け取ったユニットでは、上述のコントローラ1内でのそれぞれのパルスパターンの信号の識別機能と同様の機能でそれぞれのパルスパターンの信号を識別して2つの信号に分解し、ユニットの各信号に応じた出力端子から出力する。
The above description is for the case where the input signal is taken into the controller, but when the output signal is output from the controller, it can be realized with a configuration in which the function of the unit is reversed. That is, a unit composed of one input terminal and two output terminals is attached between one signal terminal and two output signal lines in order to output signals equal to or more than the number of signal terminals on the controller terminal block. . That is, in this unit, one point is input in a state where a plurality of pulse patterns are overlapped, the signals of the respective pulse patterns are identified, decomposed into two signals, and output from the output terminal corresponding to each signal. For this reason, the same processing as that of the conversion device 4 of the
このように構成することにより、出力される信号の数よりコントローラの端子台の信号端子の数が少ない場合に、出力信号ラインと信号端子との間にユニットを取り付け、コントローラでパルス処理機能を追加するだけで、端子台の信号端子の数が不足しているという問題を解決することができる。 With this configuration, when the number of signal terminals on the controller terminal block is less than the number of signals to be output, a unit is installed between the output signal line and the signal terminal, and a pulse processing function is added to the controller. It is possible to solve the problem that the number of signal terminals on the terminal block is insufficient.
1…コントローラ
2…端子台
3…信号
4…変換装置
5…入力端子
6…出力端子
7…ユニット
21,22…入力端子
23…端子台
24…変換装置
25…出力端子
26…端子台
DESCRIPTION OF
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008197914A JP2010039505A (en) | 2008-07-31 | 2008-07-31 | Controller device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008197914A JP2010039505A (en) | 2008-07-31 | 2008-07-31 | Controller device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010039505A true JP2010039505A (en) | 2010-02-18 |
Family
ID=42012034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008197914A Pending JP2010039505A (en) | 2008-07-31 | 2008-07-31 | Controller device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010039505A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110989489A (en) * | 2019-12-02 | 2020-04-10 | 珠海格力智能装备有限公司 | Machine tool spindle signal conversion method and device and machine tool equipment |
-
2008
- 2008-07-31 JP JP2008197914A patent/JP2010039505A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110989489A (en) * | 2019-12-02 | 2020-04-10 | 珠海格力智能装备有限公司 | Machine tool spindle signal conversion method and device and machine tool equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1938113B1 (en) | A sampling module and a method of sampling one or more analogue characteristics of a power transmission system | |
IL159233A0 (en) | Device, system and method of data conversion for wide gamut displays | |
RU2006143865A (en) | MODULAR ENGINEERING SYSTEM | |
JP5986645B2 (en) | Apparatus and method for generating substantially sinusoidal synchronization pulses | |
US9176734B2 (en) | Ladder program creation apparatus | |
JP2008294928A5 (en) | ||
JP6741497B2 (en) | Signal conversion device, processing device, communication system, and signal conversion method | |
JP2010039505A (en) | Controller device | |
JP2013029978A (en) | Field bus adapter and method of using the same | |
US10122373B2 (en) | Analog to digital converter | |
JP5565623B2 (en) | Input/Output Modules | |
JP5153469B2 (en) | Elevator call registration device and elevator device | |
JP2010045553A (en) | Digital-analog conversion module | |
JP2008027281A (en) | Communication system and communication method | |
JP2015060370A (en) | Numerical control device with built-in robot controller | |
JP2006040148A (en) | Safety controller, safety control system and communication error detection method | |
JP6192054B2 (en) | Power converter, gate drive circuit, and abnormality detection method for power converter | |
JP2020145356A (en) | Integrated circuit device | |
JP2011058972A (en) | Encoder head and encoder system | |
JP2007043543A (en) | Signal transmission method and apparatus | |
CN209642822U (en) | A kind of video-frequency character overlapping treatment apparatus with warning output interface | |
JP6536250B2 (en) | Electronic control unit | |
JP2006311761A (en) | Digital protection relay system | |
JP2005109835A (en) | Video intercom system | |
JPH05191297A (en) | Serial/parallel conversion circuit |