JP2007072992A - Control unit - Google Patents
Control unit Download PDFInfo
- Publication number
- JP2007072992A JP2007072992A JP2005262382A JP2005262382A JP2007072992A JP 2007072992 A JP2007072992 A JP 2007072992A JP 2005262382 A JP2005262382 A JP 2005262382A JP 2005262382 A JP2005262382 A JP 2005262382A JP 2007072992 A JP2007072992 A JP 2007072992A
- Authority
- JP
- Japan
- Prior art keywords
- data bus
- operation parameters
- cpu
- dip switch
- display
- 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
Images
Abstract
Description
本発明は、ユーザが動作パラメータを設定することが可能なプログラマブル表示器等の制御装置に関するものであり、特に、動作パラメータをより少ない構成部品により読み込むことが可能な制御装置に関するものである。 The present invention relates to a control device such as a programmable display that allows a user to set operation parameters, and more particularly to a control device that can read operation parameters with fewer components.
プログラマブル表示器は、プログラマブルロジックコントローラ(PLC)に制御されて外部機器を表示画面上に表示部品として表示して外部機器の状況を表示したり、表示画面上でその表示部品を操作して外部機器を操作したりすることができるものである(特許文献1参照)。 The programmable display is controlled by a programmable logic controller (PLC) to display an external device as a display component on the display screen to display the status of the external device or to operate the display component on the display screen. Can be operated (see Patent Document 1).
このようなプログラマブル表示器において、動作パラメータ(表示器サイズや表示解像度等の製品としての仕様)の設定は、図4を参照して説明するように、DIP(ディップ)スイッチ14のスイッチ極の設定により行われ、そのDIPスイッチ14により設定した動作パラメータは、CPU10からアドレスバスを通じてアドレスデコーダ19にアドレスを伝送し、アドレスデコーダ19はそのアドレスに対応するバッファ20にチップセレクト信号を送信し、バッファ20はそのチップセレクト信号に応答して開き、CPU10はDIPスイッチ14で設定した動作パラメータを読み込み、読み込んだ動作パラメータを設定する。この場合、動作パラメータの設定は電源が投入された後、1回だけ行われるものであるから、アドレスデコーダ19やバッファ20は、動作パラメータの設定に必要ではあるが、回路規模を増大させている。
本発明は、電源投入後の動作シーケンスにデータバス幅変更機能を有する制御装置において、アドレスデコーダやバッファを用いずに動作パラメータの設定を可能となしてアドレスデコーダやバッファの削減を可能として回路規模の縮小を可能とすることを解決すべき課題としている。 According to the present invention, in a control device having a data bus width changing function in an operation sequence after power is turned on, operation parameters can be set without using an address decoder or buffer, and the number of address decoders and buffers can be reduced. It is an issue to be solved to enable reduction of
本発明はまた、上記制御装置がさらに、CPLD(コンプレックスプログラマブルロジックデバイス)を備えている場合において、CPUにおいてOS起動後に未使用となるデータバス用の入出力ピンを有効活用し、かつ、CPLD内部でアドレスデコーダやバッファを論理構成している場合には、それらの削減により、CPLDの入出力ピンを他の用途に有効活用可能とすることを他の解決すべき課題としている。 In the present invention, in the case where the control device further includes a CPLD (complex programmable logic device), the CPU effectively uses the input / output pins for the data bus that are not used after the OS is started. In the case where the address decoder and the buffer are logically configured, another problem to be solved is to enable the input / output pins of the CPLD to be effectively used for other purposes by reducing them.
本発明による制御装置は、電源投入後の動作シーケンスにデータバス幅変更機能を有する制御装置において、所定のスイッチ極数を備えそれらスイッチ極の設定により動作パラメータを設定するDIPスイッチと、下位ビットのデータバスと上位ビットのデータバスそれぞれに対応して下位ビットのデータバス接続用入出力ピンと上位ビットでかつ通常動作時に未使用のデータバス接続用入出力ピンを有するCPUとを備え、ディップスイッチの各スイッチ極をCPUの上位ビットのデータバス接続用入出力ピンに上位ビットのデータバスを介して接続してなり、CPUは、装置の電源が投入されプログラムの実行が開始されてデフォルト値のデータバス幅が上位ビットのデータバスを含むときに、その上位ビットのデータバスを通じてDIPスイッチに設定されている動作パラメータを読み込み、次いで、データバス幅を通常動作用である下位ビットのデータバス幅に設定して上記読み込んだ動作パラメータをメモリにコピーし、次いで、OSのブートを実施してOSをロードするとともにOSにジャンプして上記メモリ内の動作パラメータを基に当該装置の動作仕様を設定することを特徴とするものである。DIPスイッチの形式は何でもよくスライド形やロータリ形やその他に限定されない。 The control device according to the present invention is a control device having a data bus width changing function in an operation sequence after power-on. A DIP switch having a predetermined number of switch poles and setting operation parameters by setting the switch poles, Corresponding to each of the data bus and the upper bit data bus, the CPU has a lower bit data bus connection input / output pin and a CPU having an upper bit and an unused data bus connection input / output pin during normal operation. Each switch pole is connected to the upper bit data bus connection I / O pin of the CPU via the upper bit data bus, and the CPU is turned on to start the program and execute the default data. When the bus width includes the data bus of the upper bit, DI is sent through the data bus of the upper bit. Read the operating parameters set in the switch, then set the data bus width to the lower-bit data bus width for normal operation, copy the read operating parameters to memory, and then boot the OS Then, the OS is loaded and jumped to the OS to set the operation specifications of the device based on the operation parameters in the memory. Any type of DIP switch may be used, and it is not limited to a slide type, a rotary type, or the like.
本発明によれば、動作パラメータの設定値をDIPスイッチからCPUにデータバスを介して、直接、読み込み可能となして、アドレスデコーダやバッファを不要化して回路規模を縮小することができる。 According to the present invention, the setting value of the operation parameter can be directly read from the DIP switch to the CPU via the data bus, and the circuit scale can be reduced by eliminating the need for an address decoder and a buffer.
本発明によればまた、アドレスデコーダやバッファをCPLDで構成していた場合、アドレスデコーダやバッファの削除によりCPLDの入出力ピンを他の用途に活用することができるとともに、CPLDの内部ロジックを簡素化することができる。 According to the present invention, when the address decoder and the buffer are configured by CPLD, the CPLD input / output pins can be used for other purposes by deleting the address decoder and buffer, and the internal logic of the CPLD can be simplified. Can be
以下、添付した図面を参照して、本発明の実施の形態に係る制御装置を説明する。この実施の形態では制御装置としてプログラマブル表示器に適用して説明する。図1は、実施の形態のプログラマブル表示器を含む制御システムのブロック図を示す。この制御システムは、センサ等の各種デバイスを制御するプログラマブルロジックコントローラ(PLC)1と、PLC1に専用ネットワーク2を介して接続されたプログラマブル表示器3と、を備えている。プログラマブル表示器3は、実行プログラムに従い動作し、PLC1と通信して外部機器4の状態を表示し、通信結果やオペレータの指示に応じて外部機器4への制御指示をPLC1へ送信する。制御システムはまた、共通ネットワーク5を介してプログラマブル表示器3との間でデータ通信処理を行い、また、ユーザ画面をプログラマブル表示器3に転送したり、プログラマブル表示器3から配信されたPLC1の入出力データを収集したりする処理を行うホストコンピュータ6を備える。
Hereinafter, a control device according to an embodiment of the present invention will be described with reference to the accompanying drawings. In this embodiment, description will be made by applying the present invention to a programmable display as a control device. FIG. 1: shows the block diagram of the control system containing the programmable display of embodiment. This control system includes a programmable logic controller (PLC) 1 that controls various devices such as sensors, and a
図2は図1に示すプログラマブル表示器3の詳細なブロック図である。図2を参照して、プログラマブル表示器3は、当該表示器3の全体を制御する主制御部としてのCPU10、インターフェース(I/F)11、OS(オペレーティングシステム)(NAND型フラッシュROM)12、メモリ13、DIPスイッチ14、インターフェース(I/F)15、入力部16、表示部17、コンプレックスプログラマブルロジックデバイス(CPLD)18を備える。CPU10はプログラマブル表示器3の全体の動作を制御する。CPU10はビデオRAMを内蔵している。インターフェース11は通信ケーブルを介してホストコンピュータ6との間でPLC1の監視や制御データ、表示データ、その他のデータの転送を行う。プログラマブル表示器3はOS12を備えることにより汎用のパーソナルコンピュータと同様な機能を備える。OS12はNAND型フラッシュROMに格納されている。このNAND型フラッシュROMにはアプリケーションプログラムも格納されている。メモリ13はプログラムやデータ等が格納ないし記憶されるメモリであり、RAM、フラッシュROM、等により構成されている。これらメモリ13において、RAMはCPU10の作業エリアを提供することができる。フラッシュROMにはブートプログラム(ブートローダ)等が格納されている。ビデオRAMには、表示部17に表示させる表示データを一時的に蓄えることができる。
FIG. 2 is a detailed block diagram of the
DIPスイッチ14はプログラマブル表示器3の動作パラメータを設定するものであり、8ビット構成のスライド形式のものである。DIPスイッチ14の形式は、ロータリー形式、その他の形式でもよいことはもちろんである。インターフェース15は、通信ケーブルを介してPLC1との間で外部機器4の制御、監視等のデータを転送する。CPLD18は、内部の論理回路を外部から与えられるプログラム情報(プログラム言語情報)に従って配線可能な極めて多数の論理素子(ゲート)および記憶素子(フリップフロップ、レジスタ、メモリ)と、与えられたプログラム情報によりそれらを配線するプログラミング回路とを有する。なお、CPLD18以外のプログラム可能なロジックICとしてはFPGA(フィールドプログラマブルゲートアレイ)がある。CPLD18の詳細なブロック図の図示は略する。
The
以上のプログラマブル表示器3において、CPU10は、32ビットのデータバス用の入出力ピンDATA0−DATA31を有している。入出力ピンDATA0−DATA15は、下位ビットであり、入出力ピンDATA16−DATA31は上位ビットである。この上位ビットの入出力ピンDATA16−DATA31は通常動作時では未使用である。
In the
DIPスイッチ14は、8個のスイッチ極141−148を有し、8ビットで動作パラメータを設定することができる。
The
DIPスイッチ14のスイッチ極141−148それぞれと、CPU10の16個の上位ビットの入出力ピンDATA16−DATA31のうちの8個の入出力ピンDATA16−DATA23それぞれとは、個別に8本のデータバスDB16−DB23を介して接続されている。
Each of the
以上の構成において、プログラマブル表示器3の電源投入に伴いCPU10はブートプログラムの実行を開始する。このときのデータバス幅のデフォルトは32ビットである。CPU10は、下位ビットのデータバス幅DB0−DB15から上記プログラムを読み込んで当該プログラムを実行するとともに、8個の入出力ピンDATA16−DATA23それぞれにデータバスDB16−DB23を介して接続されているDIPスイッチ14のスイッチ極141−148それぞれの設定状態から、表示部のサイズ、表示解像度等の各種動作パラメータを読み込み、読み込んだ動作パラメータを一旦、内部レジスタに格納する。
In the above configuration, the
次いで、CPU10は上記プログラムに従い、データバス幅をデフォルトの通常動作用である下位ビットのデータバス幅DB0−DB15に設定してメモリにアクセス可能として上記読み込んだ動作パラメータを内部レジスタからメモリにコピーする。次いで、CPU10は、OSのブートを実施してOSをロードするとともにOSにジャンプして上記メモリ内の動作パラメータを基に当該装置の動作仕様を設定する。
Next, in accordance with the program, the
以上のように実施の形態によると、DIPスイッチ14の動作パラメータの設定値をCPU10に直接、データバスを介して読み込み可能となしたから、アドレスデコーダやバッファが不要化し、構成部品を削減することができる。
As described above, according to the embodiment, since the setting value of the operation parameter of the
また、実施の形態によると、アドレスデコーダやバッファをCPLD18に構成する場合では、CPLD18に対するCPU10、DIPスイッチ14との接続のための入出力ピンを他の用途に活用することができ、かつ、CPLD18内部にアドレスデコーダやバッファを論理構成する必要がなくなり、CPLD18内部の論理構成を簡素化することができる。
According to the embodiment, when the address decoder and the buffer are configured in the
1 PLC
3 プログラマブル表示器
4 外部機器
6 ホストコンピュータ
10 CPU
14 DIPスイッチ
18 CPLD
1 PLC
3 Programmable Display 4
14
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005262382A JP2007072992A (en) | 2005-09-09 | 2005-09-09 | Control unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005262382A JP2007072992A (en) | 2005-09-09 | 2005-09-09 | Control unit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007072992A true JP2007072992A (en) | 2007-03-22 |
Family
ID=37934350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005262382A Pending JP2007072992A (en) | 2005-09-09 | 2005-09-09 | Control unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007072992A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348511A (en) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | Radio frequency circuit and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04215161A (en) * | 1990-12-13 | 1992-08-05 | Nec Eng Ltd | I/o port control system |
JPH04127930U (en) * | 1991-05-13 | 1992-11-20 | 東洋通信機株式会社 | day switch |
JPH09319699A (en) * | 1996-05-31 | 1997-12-12 | Sharp Corp | Bus system |
-
2005
- 2005-09-09 JP JP2005262382A patent/JP2007072992A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04215161A (en) * | 1990-12-13 | 1992-08-05 | Nec Eng Ltd | I/o port control system |
JPH04127930U (en) * | 1991-05-13 | 1992-11-20 | 東洋通信機株式会社 | day switch |
JPH09319699A (en) * | 1996-05-31 | 1997-12-12 | Sharp Corp | Bus system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348511A (en) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | Radio frequency circuit and electronic equipment |
CN104348511B (en) * | 2013-08-09 | 2016-09-28 | 联想(北京)有限公司 | A kind of radio circuit and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9935637B2 (en) | Systems and methods for FPGA development and operation | |
JP2000030499A (en) | Memory chip of which general purpose port can be used as jtag(joint test action group) | |
JP3990332B2 (en) | Data processing system | |
JP2006092029A (en) | Microcomputer and trace control method | |
US8627119B2 (en) | Script engine for control of power management controllers | |
JP2006294005A (en) | Programmable controller | |
JP2007072992A (en) | Control unit | |
CN108197063B (en) | Active serial configuration method and device for SPI (serial peripheral interface) of FPGA (field programmable Gate array) | |
US8990624B2 (en) | Emulator verification system, emulator verification method | |
JP2009205277A (en) | Controller for machine tool | |
US20080071517A1 (en) | Emulations system and emulation method | |
JP2009093270A (en) | Computer system and startup method therefor | |
JP2596355B2 (en) | Microcomputer | |
JP5071943B2 (en) | Electronic control apparatus and program start switching method | |
CN117631793A (en) | Reset method, reset device, computer equipment and storage medium | |
JP2006268519A (en) | Bios control system adaptable to multi-os | |
KR100277901B1 (en) | One chip micro computer | |
JP2000020498A (en) | Microcomputer and its restoring method | |
JP2001142735A (en) | Microprocessor for evaluation and evaluation mode setting method thereof | |
JPH07175779A (en) | Signal processing with dsp-based cpu | |
JP3981373B2 (en) | Semiconductor integrated circuit | |
CN102822795A (en) | Central processing unit and microcomputer | |
CN113127068A (en) | Hardware setting device and hardware setting method thereof | |
JP2010231818A (en) | Debugging system | |
JPH0981275A (en) | Arithmetic processing unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080707 |
|
A977 | Report on retrieval |
Effective date: 20100114 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100119 |
|
A02 | Decision of refusal |
Effective date: 20100601 Free format text: JAPANESE INTERMEDIATE CODE: A02 |