JP2005115762A - Expansion unit of information processor - Google Patents

Expansion unit of information processor Download PDF

Info

Publication number
JP2005115762A
JP2005115762A JP2003350918A JP2003350918A JP2005115762A JP 2005115762 A JP2005115762 A JP 2005115762A JP 2003350918 A JP2003350918 A JP 2003350918A JP 2003350918 A JP2003350918 A JP 2003350918A JP 2005115762 A JP2005115762 A JP 2005115762A
Authority
JP
Japan
Prior art keywords
signal
address
unit
expansion unit
bus
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.)
Granted
Application number
JP2003350918A
Other languages
Japanese (ja)
Other versions
JP4219784B2 (en
Inventor
Kenichi Inoue
顕一 井上
Takashi Takamoto
敬士 高本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics Corp
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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2003350918A priority Critical patent/JP4219784B2/en
Publication of JP2005115762A publication Critical patent/JP2005115762A/en
Application granted granted Critical
Publication of JP4219784B2 publication Critical patent/JP4219784B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a system that can be quickly and surely restored from failure by initializing only an expansion unit with failure, in spite of a plurality of expansion units being addable. <P>SOLUTION: When expansion units are mounted to the body 2 of a programmable display 1 in the order of expansion units 3 to 4, the control part 21 of the body 2 can access the control parts 31, 41 of the expansion units 3, 4 through a bus 11. Under this condition, if the expansion unit 3 fails, the initialization processing part 24 of the body 2 sends an abort signal and a signal for specifying the expansion unit 3 to the bus 11. The initializing process part 35 of the expansion unit 3 determines whether the specifying signal indicates its own device; if the signal indicates its own device, the initialization processing part 35 initializes the control part 31, and after the initialization is finished, sends an enable signal indicating the end of the initialization to the bus 11. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、異常状態からの早急かつ確実な復帰が要求される情報処理装置に機能を追加するための拡張ユニットに関するものである。   The present invention relates to an expansion unit for adding a function to an information processing apparatus that requires quick and reliable return from an abnormal state.

従来から、例えば、後述する特許文献1に示すように、用途によって互いに異なる追加機能を必要とする場合に備えて、想定される追加機能全てを実現するための回路を設ける代わりに、追加機能を実現する拡張ユニットを増設するためのコネクタを設けたプログラマブル表示器が用いられている。   Conventionally, for example, as shown in Patent Document 1 described later, an additional function is provided instead of providing a circuit for realizing all the assumed additional functions in preparation for the case where different additional functions are required depending on applications. A programmable display provided with a connector for adding an extension unit to be realized is used.

当該プログラマブル表示器では、ある用途において、追加機能が必要になると、その用途に応じた追加機能を実現するための拡張ユニットが、プログラマブル表示器のコネクタへ装着され、プログラマブル表示器は、当該コネクタを介して、当該拡張ユニットの機能を利用する。   In the programmable display, when an additional function is required in a certain application, an extension unit for realizing the additional function according to the application is attached to the connector of the programmable display, and the programmable display is connected to the connector. The function of the expansion unit is used.

これにより、想定される追加機能全てを実現するための回路をプログラマブル表示器に設けておく構成よりも、低コストで能率的にプログラマブル表示器へ機能を拡張することができる。
特開2001−117507号(公開日:2001年4月27日)
Thereby, the function can be efficiently extended to the programmable display at a lower cost than the configuration in which a circuit for realizing all the assumed additional functions is provided in the programmable display.
JP 2001-117507 A (publication date: April 27, 2001)

しかしながら、上記従来の構成は、基本的に、1つの拡張ユニットを装着することを目的としており、複数の拡張ユニットを設けることができない。ここで、バスにより、複数の拡張ユニットを増設可能としているにも拘わらず、システムリセット信号によってのみ各拡張ユニットを初期化できるように構成すると、ある拡張ユニットに異常が発生したときに、他の拡張ユニットも合わせて初期化する必要がある。また、この場合は、全ての拡張ユニットの初期化が終了すると定められた時間が経過するまで、システムは、通常動作を開始できないので、異常状態からの復帰に時間がかかってしまう。   However, the above conventional configuration is basically intended to mount one extension unit, and a plurality of extension units cannot be provided. In this case, if each expansion unit can be initialized only by a system reset signal even though a plurality of expansion units can be added by the bus, when an abnormality occurs in a certain expansion unit, The expansion unit must also be initialized. Also, in this case, the system cannot start normal operation until the time determined to finish initialization of all the expansion units has elapsed, so it takes time to recover from the abnormal state.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、複数の拡張ユニットを増設できるにも拘わらず、異常が発生した拡張ユニットのみを初期化して、早期かつ確実に異常状態から復帰させることができるシステムを実現することにある。   The present invention has been made in view of the above-mentioned problems, and its purpose is to initialize only the expansion unit in which an abnormality has occurred even though a plurality of expansion units can be added, so that the abnormality can be detected early and reliably. The object is to realize a system capable of returning from a state.

本発明に係る情報処理装置の拡張ユニットは、上記課題を解決するために、2つのコネクタと、上記両コネクタ間を接続すると共に、上記両コネクタの一方へ接続された情報処理装置または他の拡張ユニットと、他方に接続された他の拡張ユニットと、自機器とをバス接続するためのバスと、上記バスの信号線の1つへ初期化指示の信号が伝送されている間に、当該バスの他の信号線へ伝送されている、拡張ユニットを特定するための特定用の信号が、自機器を示しているか否かを判定し、自機器を示している場合は、自機器を初期化すると共に、初期化処理が終了すると、上記バスの信号線の1つへ、初期化終了を示す応答信号を出力する初期化処理手段とを備えていることを特徴としている。   In order to solve the above-described problem, the expansion unit of the information processing apparatus according to the present invention connects the two connectors and the two connectors, and connects the information processing apparatus connected to one of the two connectors or the other expansion. While the initialization instruction signal is transmitted to one of the bus, the bus for connecting the unit, the other extension unit connected to the other unit, and the own device to the bus, and the signal line of the bus, the bus Determine whether the signal for specifying the expansion unit transmitted to other signal lines indicates the own device. If it indicates the own device, initialize the own device. In addition, it is characterized by comprising initialization processing means for outputting a response signal indicating completion of initialization to one of the signal lines of the bus when the initialization processing is completed.

さらに、上記構成に加えて、上記バスには、共用の信号線が含まれており、上記拡張ユニットは、複数回に分けて当該共用の信号線を伝送される信号群によって、アクセス対象のアドレス、当該アクセス対象の処理内容を示すコマンド、および、処理に関連するデータを送受すると共に、上記初期化処理手段は、上記共用の信号線によって伝送される、上記特定用の信号に基づいて、自機器の初期化の要否を判定してもよい。   Further, in addition to the above configuration, the bus includes a common signal line, and the extension unit can access an address to be accessed by a signal group transmitted through the common signal line in a plurality of times. The initialization processing means transmits and receives a command indicating processing contents to be accessed and data related to the processing, and the initialization processing means automatically transmits the command based on the specific signal transmitted through the common signal line. The necessity of device initialization may be determined.

また、上記構成に加えて、上記両コネクタには、上記両コネクタの一方へ接続された情報処理装置または他の拡張ユニットと、自機器と、他方に接続される他の拡張ユニットとを縦続接続するための端子が設けられており、前段となる上記情報処理装置または他の拡張ユニットから通知されたアドレス情報によって、上記情報処理装置のアドレス空間における、自機器のアドレス領域の位置を決定すると共に、予め定められた、自機器の占有するアドレス領域の大きさに応じて、上記アドレス情報を変更して、次の段となる上記他の拡張ユニットへ送出するアドレス領域決定手段を備えていてもよい。   In addition to the above configuration, the two connectors are cascade-connected to the information processing apparatus or other extension unit connected to one of the two connectors, the own device, and another extension unit connected to the other. And determining the position of the address area of its own device in the address space of the information processing device based on the address information notified from the information processing device or other expansion unit in the previous stage. The address information may be changed according to a predetermined size of the address area occupied by the own device, and may be provided with an address area determining means for sending to the other extension unit at the next stage. Good.

本発明に係る情報処理装置の拡張ユニットは、以上のように、2つのコネクタと、バスと、初期化処理手段とを備えており、上記バスによって、両コネクタの一方に接続された情報処理装置または他の拡張ユニットと、自機器と、他方に接続された他の拡張ユニットとがバス接続される。したがって、必要に応じて、情報処理装置に拡張ユニットを装着すると共に、さらに、当該拡張ユニットへ他の拡張ユニットを装着する操作を繰り返すことによって、必要な数の拡張ユニットを情報処理装置へ装着でき、情報処理装置は、自らにバス接続された各拡張ユニットへアクセスすることによって、各拡張ユニットの機能を利用できる。   As described above, the expansion unit of the information processing apparatus according to the present invention includes the two connectors, the bus, and the initialization processing unit, and the information processing apparatus connected to one of the two connectors by the bus. Alternatively, another extension unit, the own device, and another extension unit connected to the other are connected by bus. Therefore, if necessary, an expansion unit can be attached to the information processing apparatus, and a necessary number of expansion units can be attached to the information processing apparatus by repeating the operation of attaching another expansion unit to the expansion unit. The information processing apparatus can use the function of each expansion unit by accessing each expansion unit connected to the bus by itself.

さらに、上記構成では、上記初期化処理手段が、初期化指示の信号と共に伝送される、拡張ユニットの特定用の信号に基づいて、自機器への初期化指示か否かを判定しているので、複数の拡張ユニットをバス接続できるにも拘わらず、他の拡張ユニットを初期化することなく、特定の拡張ユニットのみを初期化できる。   Further, in the above configuration, since the initialization processing means determines whether or not it is an initialization instruction to the own device based on a signal for specifying the extension unit transmitted together with the initialization instruction signal. Although a plurality of expansion units can be connected by bus, only a specific expansion unit can be initialized without initializing other expansion units.

また、上記構成では、初期化処理手段が応答信号をバスへ出力しているので、初期化を指示した部材は、当該応答信号によって、初期化が終了したことを検出できる。したがって、より早い時点で、当該特定の拡張ユニットが再度使用可能になったことを把握でき、特定の拡張ユニットの使用を再開できる。   In the above configuration, since the initialization processing means outputs the response signal to the bus, the member instructing the initialization can detect that the initialization is completed by the response signal. Therefore, it is possible to grasp that the specific expansion unit becomes available again at an earlier point in time, and use of the specific expansion unit can be resumed.

さらに、上記構成に加えて、上記共用の信号線を設けた構成では、拡張ユニットは、複数回に分けて当該共用の信号線を伝送される信号群によって、アクセス対象のアドレス、当該アクセス対象の処理内容を示すコマンド、および、処理に関連するデータを送受しているので、アドレス信号伝送用、コマンド伝送用、および、データ伝送用のバスを個別に設け、同時に、これらの信号を伝送する構成と比較して、バスの数を削減できる。   Further, in the configuration in which the shared signal line is provided in addition to the above configuration, the extension unit can determine the address to be accessed and the access target by the signal group transmitted through the shared signal line in a plurality of times. Since a command indicating processing contents and data related to processing are transmitted and received, a bus for address signal transmission, command transmission, and data transmission is provided separately, and these signals are transmitted simultaneously. The number of buses can be reduced compared to

ここで、信号線の数を削減しているにも拘わらず、データの伝送速度を同じに保とうとすると、信号線の動作周波数が増大するので、信号を送受信する際のタイミングのズレに対する許容範囲が狭くなる。また、同じ信号線を伝送される信号であっても、何回目の信号伝送であるかによって、信号の意味が変化するので、送信側の機器(情報処理装置または拡張ユニット)と受信側の機器(情報処理装置または拡張ユニット)との間で、何回目の信号伝送であるのかの認識、言い換えると、現在伝送中の信号の意味の認識が互いに相違すると、信号を正常に伝送できなくなってしまう。例えば、送信側の機器が、ある信号を既に伝送し終えているにも拘わらず、受信側の機器が、当該信号を待ち受ける状態に入ってしまうと、すなわち、現在の信号線が、上記待ち受けている信号か、それ以外の信号かを伝送していると解釈してしまうと、正常にデータを送受できなくなってしまう。このように、上記信号群によってデータなどを伝送すると、拡張ユニットが上記異常な状態に入ってしまい、それ以降、正常にデータなどを送受できなくなる虞れがある。   Here, even if the number of signal lines is reduced, if the data transmission speed is kept the same, the operating frequency of the signal lines increases, so the allowable range for timing deviation when transmitting and receiving signals Becomes narrower. In addition, even if signals are transmitted on the same signal line, the meaning of the signal changes depending on how many times the signal is transmitted. Therefore, the transmitting device (information processing apparatus or expansion unit) and the receiving device If the recognition of the number of signal transmissions with the (information processing apparatus or expansion unit), in other words, the recognition of the meaning of the currently transmitted signal is different from each other, the signal cannot be transmitted normally. . For example, if the transmitting device has already transmitted a certain signal and the receiving device enters a state of waiting for the signal, that is, the current signal line is waiting for the signal. If the signal is interpreted as being transmitted or not, data cannot be transmitted or received normally. As described above, when data or the like is transmitted by the signal group, the expansion unit enters the abnormal state, and thereafter, there is a possibility that the data or the like cannot be transmitted / received normally.

ところが、上記構成では、初期化処理手段が、初期化指示の信号と共に伝送される、拡張ユニットの特定用の信号に基づいて、自機器を初期化している。ここで、初期化指示の信号と特定用の信号とは、上記バス上を同時に伝送されているので、上記アドレスなどの伝送と異なり、状態の相違が発生せず、拡張ユニットを確実に初期化できる。また、上記構成では、特定の信号を上記共用の信号によって伝送しているので、上記バスに必要な信号線の数をさらに削減できる。   However, in the above configuration, the initialization processing means initializes its own device based on the extension unit specifying signal transmitted together with the initialization instruction signal. Here, since the initialization instruction signal and the identification signal are transmitted simultaneously on the bus, unlike the transmission of the address and the like, there is no difference in state, and the expansion unit is reliably initialized. it can. In the above configuration, since the specific signal is transmitted by the common signal, the number of signal lines required for the bus can be further reduced.

これらの結果、信号線の数を大幅に削減でき、コネクタの占有面積およびコネクタの端子数を削減できる。したがって、製造費用を削減できると共に、設計の難易度を下げることができる。また、コネクタの体積を削減できるので、拡張ユニットを形成する部材(例えば、外壁等)の構造を簡略化できる。さらに、信号線の数を大幅に削減できるので、拡張ユニットが放射するノイズを抑制でき、ノイズ対策のために必要な費用を削減できる。   As a result, the number of signal lines can be greatly reduced, and the occupied area of the connector and the number of terminals of the connector can be reduced. Therefore, the manufacturing cost can be reduced and the design difficulty can be lowered. Moreover, since the volume of the connector can be reduced, the structure of a member (for example, an outer wall) that forms the expansion unit can be simplified. Furthermore, since the number of signal lines can be greatly reduced, noise radiated from the expansion unit can be suppressed, and the cost required for noise countermeasures can be reduced.

さらに、上記構成に加えて、アドレス領域決定手段を設けた構成では、情報処理装置が最初の拡張ユニットへアドレス情報を与えて、当該拡張ユニットへ割り当てられるアドレス領域の位置を指示すると、当該拡張ユニットのアドレス領域決定手段は、自機器の占有するアドレス領域の大きさに応じて、上記アドレス情報を変更して、次の段となる上記他の拡張ユニットへ送出する。また、各拡張ユニットのアドレス領域決定手段は、前段の拡張ユニットからのアドレス情報に基づいて、自機器へ割り当てられたアドレス領域の位置を決定すると共に、自機器の占有するアドレス領域の大きさに応じて、アドレス情報を変更して、次の拡張ユニットへ送出する。   In addition to the above configuration, in the configuration in which the address area determining means is provided, when the information processing apparatus gives address information to the first extension unit and indicates the position of the address area allocated to the extension unit, the extension unit The address area determining means changes the address information in accordance with the size of the address area occupied by the own device, and sends the address information to the other extension unit at the next stage. Further, the address area determining means of each expansion unit determines the position of the address area allocated to the own device based on the address information from the previous expansion unit and determines the size of the address area occupied by the own device. In response, the address information is changed and sent to the next expansion unit.

これにより、各拡張ユニットの占有するアドレス領域の大きさに拘わらず、各拡張ユニットのアドレス領域を自動的に決定できる。したがって、拡張ユニットを情報処理装置へ装着する際、すなわち、情報処理装置へ機能を追加する際におけるユーザの手間を削減できる。   Thereby, the address area of each expansion unit can be automatically determined regardless of the size of the address area occupied by each expansion unit. Therefore, it is possible to reduce the user's trouble when attaching the expansion unit to the information processing apparatus, that is, when adding a function to the information processing apparatus.

本発明の一実施形態について図1ないし図8に基づいて説明すると以下の通りである。すなわち、本実施形態に係る拡張ユニットは、例えば、異常状態からの早急かつ確実な復帰が要求される情報処理装置としてのプログラマブル表示器に装着され、当該プログラマブル表示器の機能を拡張するために好適に使用されている。当該プログラマブル表示器は、例えば、制御システムのグラフィック操作パネルなどとして好適に使用され、例えば、ベルトコンベアなどの制御対象機器の近傍において、制御対象の状態を表示してオペレータに報知すると共に、オペレータからの操作に応じて各制御対象へ制御指示を出力することができる。   An embodiment of the present invention will be described below with reference to FIGS. That is, the expansion unit according to the present embodiment is suitable for, for example, being mounted on a programmable display as an information processing apparatus that requires quick and reliable return from an abnormal state and extending the function of the programmable display. Is used. For example, the programmable display is suitably used as a graphic operation panel of a control system, for example, in the vicinity of a control target device such as a belt conveyor, and displays the status of the control target to notify the operator. A control instruction can be output to each control object according to the operation.

ここで、各拡張ユニットを個別に異常状態から復帰させる際の動作について説明する前に、プログラマブル表示器全体の概略動作について説明すると、図1に示すように、本実施形態に係るプログラマブル表示器1の本体(情報処理装置)2には、拡張ユニット3、4…の1つ(例えば、3)を装着するためのコネクタC21が設けられている。また、各拡張ユニット(以下では、3を例にして説明する)には、2つのコネクタC31・C32が設けられており、一方のコネクタC31を本体2、他方を他の拡張ユニット(例えば、4)に接続できる。なお、上記では、本体2に直接接続されている拡張ユニット3の場合を例にして説明したが、本体2に拡張ユニットを介して接続されている拡張ユニット(例えば、4)の場合は、一方のコネクタC41を本体2側の拡張ユニット(図1の場合は、3)へ接続し、他方のコネクタC42を、他の拡張ユニット(図示せず)へ接続できる。   Here, before explaining the operation when each expansion unit is individually restored from the abnormal state, the general operation of the entire programmable display will be described. As shown in FIG. 1, the programmable display 1 according to the present embodiment is shown. The main body (information processing device) 2 is provided with a connector C21 for mounting one of the expansion units 3, 4,... (For example, 3). Each expansion unit (which will be described by taking 3 as an example below) is provided with two connectors C31 and C32, one connector C31 being the main body 2 and the other being the other expansion unit (for example, 4). ). In the above description, the case of the extension unit 3 directly connected to the main body 2 has been described as an example. However, in the case of the extension unit (for example, 4) connected to the main body 2 via the extension unit, The connector C41 can be connected to the expansion unit (3 in the case of FIG. 1), and the other connector C42 can be connected to another expansion unit (not shown).

これにより、所望の数の拡張ユニットを装着できるにも拘わらず、各拡張ユニットと接続するためのコネクタをそれぞれ別に本体2へ設ける構成と比較して、プログラマブル表示器1の本体2に設けるコネクタC21の数を削減できる。   Thereby, although a desired number of extension units can be mounted, the connector C21 provided in the main body 2 of the programmable display 1 is compared with a configuration in which a connector for connecting to each expansion unit is provided in the main body 2 separately. Can be reduced.

論理的に見ると、直接的に接続された(本体2に装着された)、あるいは、間接的に接続された(他の拡張ユニットを介して接続された)各拡張ユニット3・4は、後述する割り当て方法によって、図1に示すように、本体2からアクセス可能なアドレス空間の、拡張ユニット3…へ割り当て可能なアドレス領域AAのうち、互いに異なるアドレス領域AA0とAA1・AA2とに割り当てられている。   Logically, the expansion units 3 and 4 that are directly connected (attached to the main body 2) or indirectly connected (connected through other expansion units) are described later. As shown in FIG. 1, among the address areas AA that can be assigned to the expansion units 3... In the address space that can be accessed from the main body 2, different address areas AA 0 and AA 1 and AA 2 are assigned. Yes.

また、本体2に各拡張ユニット3・4が接続された状態では、本体2内部の配線(必要に応じて回路)と、コネクタC21・C31・C32・C41を介して互いに接続された各拡張ユニット3・4内部の配線(必要に応じて回路)とによって、バス11が構成されており、本体2の制御部21、および、各拡張ユニット3・4の制御部31・41は、当該バス11に接続されている。   Further, in a state where the extension units 3 and 4 are connected to the main body 2, the extension units connected to each other via the wiring (a circuit if necessary) inside the main body 2 and the connectors C21, C31, C32, and C41. The bus 11 is configured by the internal wirings (circuits as necessary) of the 3.4, and the control unit 21 of the main body 2 and the control units 31 and 41 of the expansion units 3 and 4 are connected to the bus 11. It is connected to the.

さらに、本体2の制御部21は、所望の拡張ユニットへ割り当てられたアドレス領域のうちの所望のアドレスへアクセスする際、当該アドレスを示す信号を、上記バス11へ送出すると共に、各拡張ユニット3・4の制御部31・41は、当該バス11へ送出された信号が、自らへ割り当てられたアドレス領域内を示しているか否かを判断し、自らのアドレス領域内と判断した場合、当該アドレスへのアクセスを受け付ける。   Further, when accessing the desired address in the address area assigned to the desired expansion unit, the control unit 21 of the main body 2 sends a signal indicating the address to the bus 11 and each expansion unit 3. The control units 31 and 41 of 4 determine whether or not the signal sent to the bus 11 indicates the address area allocated to itself, and if it is determined that the signal is within its own address area, Accept access to.

これにより、本体2は、所望の拡張ユニット3・4へ割り当てられたアドレス領域のうちの所望のアドレスへアクセスすることによって、所望の拡張ユニット3・4の所望のアドレスに配された資源へアクセスでき、当該資源の機能(例えば、映像信号の取り込みや、増設された表示装置への映像信号の出力など)を利用できる。この結果、本体2へ必要な機能を持った拡張ユニット3・4を装着するだけで、当該機能を持ったプログラマブル表示器1を実現でき、プログラマブル表示器1の用途毎に、拡張ユニット3・4の機能を予め内蔵した別々の機種のプログラマブル表示器を用意する場合や、必要になる可能性のある機能全てを予め内蔵したプログラマブル表示器を用意する場合と比較して、予め用意する機種の数を増加させることなく、しかも、余分な機能を持たないプログラマブル表示器1を実現できる。   As a result, the main body 2 accesses the resource allocated to the desired address of the desired extension unit 3 or 4 by accessing the desired address in the address area allocated to the desired extension unit 3 or 4. It is possible to use the function of the resource (for example, capture of a video signal, output of a video signal to an additional display device, etc.). As a result, the programmable display 1 having the function can be realized simply by attaching the expansion unit 3 or 4 having the necessary function to the main body 2, and the expansion unit 3 or 4 can be realized for each use of the programmable display 1. The number of models to be prepared in advance is different from the case of preparing a programmable display of different models that have built-in functions in advance or the case of preparing a programmable display that has all the functions that may be required in advance. In addition, it is possible to realize the programmable display 1 that does not have an extra function.

本実施形態に係るバス11には、アドレスおよびデータの伝送に使用される信号SD〔15:0〕を伝送する信号線LSD〔15:0〕と、本体2が拡張ユニット3・4のいずれかへ初期化を指示するためのアボート信号ABORT_Lを伝送する信号線LAと、初期化を指示された拡張ユニット3・4が、本体2へ初期化の終了を通知するためのイネーブル信号CMDEN_Lを伝送する信号線LEとが設けられている。また、本実施形態に係るバス11は、同期式のバスであって、当該バス11には、バス11のクロック信号SGCLKを伝送する信号線LCKも設けられていると共に、本体2および拡張ユニット3においてバス11に接続される回路(制御部21・31・41、並びに、後述する初期化処理部24・35・45およびアドレス認識部23)は、クロック信号SGCLKに同期して動作している。なお、本実施形態では、上記クロック信号SGCLKの周波数は、24.576〔MHz〕に設定されている。さらに、本実施形態に係るバス11には、上記各信号線LSD〔15:0〕、LA、LEおよびLCKとは別に、システム全体をリセットするためのリセット信号RESET_Lを伝送する信号線、および、プログラマブル表示器1の本体2から、各拡張ユニット3・4へ電力を供給するための電源ラインも設けられている(いずれも図示せず)。なお、本明細書において、〔15:0〕は、ビットの範囲(上限値:下限値)を示しており、上述の信号線LSD〔15:0〕が、第15ビット〜第0ビットをそれぞれ伝送するため、16本の信号線から構成されていることを意味している。また、説明の便宜上、〔〕は、必要がないときは省略している。   The bus 11 according to the present embodiment includes a signal line LSD [15: 0] for transmitting a signal SD [15: 0] used for address and data transmission, and the main body 2 is one of the expansion units 3 and 4. The signal line LA for transmitting the abort signal ABORT_L for instructing initialization and the extension units 3 and 4 instructed for initialization transmit the enable signal CMDEN_L for notifying the main body 2 of the end of initialization. A signal line LE is provided. The bus 11 according to the present embodiment is a synchronous bus, and the bus 11 is provided with a signal line LCK for transmitting the clock signal SGCLK of the bus 11, and the main body 2 and the expansion unit 3. The circuits connected to the bus 11 (control units 21, 31, 41, and initialization processing units 24, 35, 45 and address recognition unit 23 described later) operate in synchronization with the clock signal SGCLK. In the present embodiment, the frequency of the clock signal SGCLK is set to 24.576 [MHz]. Further, the bus 11 according to the present embodiment has a signal line for transmitting a reset signal RESET_L for resetting the entire system, in addition to the signal lines LSD [15: 0], LA, LE and LCK, and A power supply line for supplying power from the main body 2 of the programmable display 1 to each of the expansion units 3 and 4 is also provided (none is shown). In this specification, [15: 0] indicates a bit range (upper limit value: lower limit value), and the above-described signal line LSD [15: 0] includes the 15th to 0th bits. It means that it is composed of 16 signal lines for transmission. For convenience of explanation, [] is omitted when not necessary.

また、上記各拡張ユニット(例えば3)には、上記各信号線LCK・LSD・LA・LE、それぞれの一部を構成する信号線が設けられている。さらに、これらの信号線の一端は、一方のコネクタC31において、それぞれの信号線に対応する端子に接続されており、他端は、他方のコネクタC32において、それぞれの信号線に対応する端子に接続されている。また、本体2のコネクタC21には、それぞれの信号線に対応する端子が設けられており、各コネクタC21〜C42の端子は、各コネクタC21〜C42を装着したとき、それぞれの信号線に対応する端子同士が接続されるように配されている。したがって、各拡張ユニット3・4を本体2へ接続することによって、上記バス11を構成できる。なお、バス11が、上述の各信号SD、ABORT_L、CMDEN_LおよびSGCLKを伝送できれば、各拡張ユニット3・4は、バス11上に配されるバッファ回路を備えていてもよい。   Further, each of the extension units (for example, 3) is provided with the signal lines LCK, LSD, LA, LE, and signal lines constituting a part of each of the signal lines LCK, LSD, LA, LE. Further, one end of these signal lines is connected to a terminal corresponding to each signal line in one connector C31, and the other end is connected to a terminal corresponding to each signal line in the other connector C32. Has been. Further, the connector C21 of the main body 2 is provided with terminals corresponding to the respective signal lines, and the terminals of the respective connectors C21 to C42 correspond to the respective signal lines when the respective connectors C21 to C42 are mounted. The terminals are arranged so that the terminals are connected to each other. Therefore, the bus 11 can be configured by connecting the expansion units 3 and 4 to the main body 2. As long as the bus 11 can transmit the above-described signals SD, ABORT_L, CMDEN_L, and SGCLK, each expansion unit 3 or 4 may include a buffer circuit disposed on the bus 11.

本実施形態において、上記信号線LSDは、時分割することによって、アドレスの伝送とデータの伝送とに共用されているだけではなく、バス11の伝送方向(本体2から拡張ユニット4への方向か、拡張ユニット4から本体2への方向か)を変更指示の伝送、および、変更指示が終了したことを示すアクノリッジ信号の伝送にも共用されている。   In the present embodiment, the signal line LSD is not only shared for address transmission and data transmission by time division, but also in the transmission direction of the bus 11 (from the main body 2 to the expansion unit 4). The direction from the extension unit 4 to the main body 2) is also used for transmission of the change instruction and transmission of an acknowledge signal indicating that the change instruction has been completed.

言い換えると、本実施形態では、図3に示すように、上記クロック信号SGCLKの各クロック周期毎に信号線LSDを伝送される信号SDの複数によって、読み出し/書き込みなどの処理を示すコマンド、コマンドの対象となるアドレス、読み出されるデータ/書き込まれるデータ、データの伝送方向の変更指示、および、アクノリッジ信号を伝送している。   In other words, in the present embodiment, as shown in FIG. 3, a command indicating a process such as read / write or the like of a command by a plurality of signals SD transmitted through the signal line LSD for each clock cycle of the clock signal SGCLK. A target address, read / written data, an instruction to change the data transmission direction, and an acknowledge signal are transmitted.

これにより、アドレス信号およびデータ信号などをパラレルに伝送する場合、すなわち、バスにアドレス信号およびデータ信号を伝送するための信号線をそれぞれ別個に設け、1クロックで、アドレス信号およびデータ信号を伝送する構成と比較して、バス11のバス幅を狭くできるので、コネクタC21〜C42の占有面積および端子数、配線の数、および、放射されるノイズを削減できる。   As a result, when address signals and data signals are transmitted in parallel, that is, signal lines for transmitting address signals and data signals are separately provided on the bus, and address signals and data signals are transmitted in one clock. Compared with the configuration, the bus width of the bus 11 can be narrowed, so that the occupied area and the number of terminals of the connectors C21 to C42, the number of wirings, and the radiated noise can be reduced.

より詳細には、本体2の制御部21は、ある拡張ユニットの、あるアドレスの資源からのデータを受信する場合(リードする場合)、リードに関係した信号を伝送する期間(リードサイクル)の最初の2クロックで、リードを示すコマンドおよびアドレスを伝送し、次のクロックで伝送方向の変更指示CHGを伝送して、伝送方向の変更完了報告(アクノリッジ信号ACK)と、それに続いて伝送されるデータ、すなわち、上記アドレスから読み出されたデータとを待ち受ける。また、上記制御部21は、コマンドを伝送している間(最初の1クロックの間)、イネーブル信号CMDEN_Lをアクティブ(図の例では、ローレベル)に設定して、コマンドを送信中であることを各拡張ユニット3・4へ通知している。   More specifically, when the control unit 21 of the main body 2 receives data from a resource at a certain address of a certain extension unit (when reading), the control unit 21 of the main unit 2 starts the period (read cycle) during which a signal related to the read is transmitted. The command and address indicating read are transmitted in two clocks, the transmission direction change instruction CHG is transmitted in the next clock, the transmission direction change completion report (acknowledge signal ACK), and the data transmitted subsequently That is, it waits for data read from the address. In addition, while the command is being transmitted (during the first clock), the control unit 21 sets the enable signal CMDEN_L to active (low level in the example in the figure) and is transmitting the command. Is notified to each expansion unit 3.

本実施形態では、図4に示すように、リードサイクルの最初のクロックに信号線LSDを伝送される信号CMDが、リードを示すコマンド(図の例では、信号CMDの第9ビットおよび第8ビットの値”10”)だけではなく、アドレスの上位ビット(図の例では、アドレスの第23ビット〜第16ビット;信号CMDの第7ビット〜第0ビット)も含んでおり、リードサイクルの2番目のクロックに伝送される信号ADDとして、アドレスの残余のビット(下位の第15ビット〜第0ビット)が伝送される。また、図4は、拡張ユニット3へアクセスする場合を例示しており、上記アドレスは、拡張ユニット3へ割り当てられたアドレス領域AA0内のいずれかのアドレスを示している。さらに、上記信号CMDの一部(図4の例では、第15ビット〜第12ビット)は、上記アクノリッジ信号ACKと区別できるように、当該アクノリッジ信号ACKの同じビット位置の部分の値と異なる値(図4の例では、全て”1”)に設定されている。   In the present embodiment, as shown in FIG. 4, the signal CMD transmitted through the signal line LSD at the first clock of the read cycle is a command indicating the read (in the example shown, the ninth bit and the eighth bit of the signal CMD). As well as the high-order bits of the address (in the example shown, the 23rd to 16th bits of the address; the 7th to 0th bits of the signal CMD). The remaining bits (lower 15th to 0th bits) of the address are transmitted as the signal ADD transmitted to the 1st clock. FIG. 4 illustrates the case of accessing the extension unit 3, and the address indicates any address in the address area AA 0 allocated to the extension unit 3. Further, a part of the signal CMD (15th to 12th bits in the example of FIG. 4) is different from the value of the part of the same bit position of the acknowledge signal ACK so that it can be distinguished from the acknowledge signal ACK. (In the example of FIG. 4, all are set to “1”).

また、本実施形態では、上記アドレスの上位ビットのビット幅が、当該アドレスの上位ビットによって、複数装着可能な拡張ユニット3…のいずれへのアクセスであるかを特定できるように設定されている。具体的には、本実施形態では、図2に示すように、各拡張ユニット3…へ割り当て可能なアドレス領域AAは、8つのアドレス領域AA0〜AA7に分けられており、各アドレス領域AA0〜AA7のうち、各拡張ユニット3…の必要とする個数分の、連続するアドレス領域を各拡張ユニット3…に割り当てることができる。また、各アドレス領域は、17ビットで表現可能な大きさ(バイト単位でアドレスが割り当てられている場合で、128Kバイト)である。したがって、アドレスの第19ビット〜第17ビットによって、上記各アドレス領域AA0〜AA7を区別できるので、上記上位ビットのビット幅は、当該ビットを含むように(この例では、第23ビット〜第16ビットまでの8ビット)に設定されている。例えば、図2に示すように、本実施形態では、拡張ユニット3が上記アドレス領域AA0に割り当てられているので、図4において、上記アドレスの第19ビット〜第17ビット、すなわち、信号CMDの第3ビット〜第1ビットは、”000”に設定されている。   Further, in the present embodiment, the bit width of the upper bits of the address is set so that it is possible to specify which of the expansion units 3... Specifically, in this embodiment, as shown in FIG. 2, the address area AA that can be assigned to each expansion unit 3... Is divided into eight address areas AA0 to AA7, and each address area AA0 to AA7. Among them, the continuous address areas corresponding to the number required for each expansion unit 3... Can be allocated to each expansion unit 3. Each address area has a size that can be expressed by 17 bits (128 Kbytes when addresses are assigned in units of bytes). Therefore, since each of the address areas AA0 to AA7 can be distinguished by the 19th to 17th bits of the address, the bit width of the upper bit includes the relevant bit (in this example, the 23rd to 16th bits). Up to 8 bits). For example, as shown in FIG. 2, in this embodiment, since the extension unit 3 is allocated to the address area AA0, in FIG. 4, the 19th to 17th bits of the address, that is, the CMD signal CMD. The 3rd to 1st bits are set to “000”.

一方、各拡張ユニット3・4の制御部31・41は、イネーブル信号CMDEN_Lがアクティブの間に、信号線LSDを伝送される信号CMDあるいはACKに基づいて、アクノリッジ信号ACKであるかコマンドであるかを判定すると共に、コマンドの場合は、コマンドの内容とアドレスの一部とを把握し、当該アドレスが自らに割り当てられたアドレス領域に含まれているか否かを判定している。   On the other hand, the control units 31 and 41 of the extension units 3 and 4 determine whether the signal is an acknowledge signal ACK or a command based on the signal CMD or ACK transmitted through the signal line LSD while the enable signal CMDEN_L is active. In the case of a command, the contents of the command and a part of the address are grasped, and it is determined whether or not the address is included in the address area assigned to itself.

例えば、リードサイクルの1番目のクロックでは、上記信号CMDにおいて、上記アクノリッジとの識別用のビット位置(第15ビット〜第12ビット)の値がアクノリッジではないことを示していると共に、上記コマンド用のビット位置(第9および第8ビット)の値がリードを示している。さらに、信号CMDのうち、上記各拡張ユニット用のアドレス領域AA0〜AA7を区別するためのビット位置(第3ビット〜第1ビット)の値は、”000”であり、拡張ユニット3へ割り当てられたアドレス領域AA0を示している。   For example, in the first clock of the read cycle, the signal CMD indicates that the value of the bit position (15th to 12th bits) for identifying the acknowledge is not an acknowledge, and for the command The value at the bit position (9th and 8th bits) indicates a read. Further, in the signal CMD, the value of the bit position (the third bit to the first bit) for distinguishing the address areas AA0 to AA7 for each extension unit is “000” and is assigned to the extension unit 3. The address area AA0 is shown.

したがって、拡張ユニット3の制御部31は、自らへ読み出しが指示されていると判断して、本体2の制御部21と通信する。具体的には、制御部31は、2番目のクロックに伝送される信号ADDを取得すると、最初のクロックの信号CMDに含まれる上位ビットと当該信号ADDに含まれる下位ビットとから、本体2の制御部21がアクセスしようとしているアドレスを認識し、当該アドレスからデータを読み出す。さらに、拡張ユニット3の制御部31は、本体2の制御部21から信号線LSDへ、伝送方向の変更を指示する命令(変更指示CHG)が出力された後のクロックであって、しかも、上記読み出されたデータを信号線LSDへ出力可能になクロックまたはそれよりも1つ前のクロックにおいて、上記アクノリッジ信号ACKを信号線LSDへ出力し、当該アクノリッジ信号ACKを伝送したクロックの後のクロック(図の例では、次のクロック)において、上記信号線LSDへ、読み出したデータを出力する。なお、制御部31は、アクノリッジ信号ACKを送信しているクロックにおいて、イネーブル信号CMDEN_Lをアクティブに設定している。   Therefore, the control unit 31 of the expansion unit 3 determines that the reading is instructed to itself and communicates with the control unit 21 of the main body 2. Specifically, when the control unit 31 acquires the signal ADD transmitted to the second clock, the control unit 31 determines from the upper bits included in the signal CMD of the first clock and the lower bits included in the signal ADD. The control unit 21 recognizes the address to be accessed and reads data from the address. Further, the control unit 31 of the extension unit 3 is a clock after the command (change instruction CHG) for instructing the change of the transmission direction is output from the control unit 21 of the main body 2 to the signal line LSD, The clock after the clock that outputs the acknowledge signal ACK to the signal line LSD and transmits the acknowledge signal ACK at the clock that enables the read data to be output to the signal line LSD or the clock before it. At the next clock (in the example shown in the figure), the read data is output to the signal line LSD. Note that the control unit 31 sets the enable signal CMDEN_L to be active in the clock that transmits the acknowledge signal ACK.

一方、上記の例では、信号CMDに含まれるアドレスの上位ビットが、拡張ユニット3へのアクセスを示しているので、拡張ユニット4の制御部41は、自らへのアクセスではないと判断し、当該リードサイクルでは、信号線LSDへの出力を停止している。なお、図3および図4では、拡張ユニット3へのアクセスを例にして説明したが、拡張ユニット4へのアクセスの場合は、拡張ユニット3の制御部31が信号線LSDへの出力を停止し、拡張ユニット4の制御部41が本体2の制御部21に応答する。   On the other hand, in the above example, since the upper bits of the address included in the signal CMD indicate access to the expansion unit 3, the control unit 41 of the expansion unit 4 determines that it is not access to itself, In the read cycle, output to the signal line LSD is stopped. In FIGS. 3 and 4, the access to the extension unit 3 has been described as an example. However, in the case of access to the extension unit 4, the control unit 31 of the extension unit 3 stops the output to the signal line LSD. The control unit 41 of the expansion unit 4 responds to the control unit 21 of the main body 2.

これにより、本体2の制御部21は、本体2に装着された拡張ユニット3・4のうちの所望のアドレスからデータを読み出すことができる。なお、図3中、CS*、RD*、READY*およびPDATA(16)は、それぞれ、拡張ユニット3内のチップセレクト信号、リードを指示する信号、読み出し可能であることを示す信号、および、データ信号を示しており、信号の末尾に付した*は、ローアクティブであることを示している。   Thereby, the control unit 21 of the main body 2 can read data from a desired address of the extension units 3 and 4 attached to the main body 2. In FIG. 3, CS *, RD *, READY *, and PDATA (16) are a chip select signal in the expansion unit 3, a signal for instructing reading, a signal indicating that reading is possible, and data, respectively. This indicates a signal, and an asterisk at the end of the signal indicates low active.

一方、本体2の制御部21は、ある拡張ユニットの、あるアドレスの資源へデータを書き込む場合、図5に示すように、書き込みに関係した信号を伝送する期間(ライトサイクル)の最初の2クロックで、ライトを示すコマンドおよびアドレスを伝送し、次のクロックで書き込むデータWDTを伝送すると共に、さらに次のクロックにおいて、伝送方向の変更指示CHGを伝送して、書き込みが完了をしたことを示すアクノリッジ信号ACKの伝送を待ち受ける。   On the other hand, when writing data to a resource at a certain address of a certain expansion unit, the control unit 21 of the main body 2 has the first two clocks in a period (write cycle) for transmitting a signal related to the writing as shown in FIG. Then, the command and address indicating the write are transmitted, the data WDT to be written at the next clock is transmitted, and the transmission direction change instruction CHG is transmitted at the next clock, and the acknowledge indicating that the writing is completed. Wait for transmission of signal ACK.

この場合も、図6に示すように、リードサイクルと略同様に、ライトサイクルの最初のクロックで伝送される信号CMDには、アクノリッジ信号ACKと区別するためのビット(第15ビット〜第12ビット)と、コマンドを示すビット(第9ビットおよび第8ビット)と、アドレスの上位ビットを示すビット(第7ビット〜第0ビット)とが含まれており、各拡張ユニット3・4の制御部31・41は、イネーブル信号CMDEN_Lがアクティブの間に、信号線LSDを伝送される信号CMDあるいはACKに基づいて、アクノリッジ信号ACKであるかコマンドであるかを判定すると共に、コマンドの場合は、コマンドの内容とアドレスの一部とを把握し、当該アドレスが自らに割り当てられたアドレス領域に含まれているか否かを判定している。   Also in this case, as shown in FIG. 6, in the signal CMD transmitted at the first clock of the write cycle, bits (15th to 12th bits) for distinguishing from the acknowledge signal ACK are provided, as in the read cycle. ), Bits indicating the command (9th and 8th bits), and bits indicating the upper bits of the address (7th to 0th bits), and the control units of the expansion units 3 and 4 31 and 41 determine whether the signal is an acknowledge signal ACK or a command based on the signal CMD or ACK transmitted through the signal line LSD while the enable signal CMDEN_L is active. As well as part of the address and determine whether the address is included in the address area assigned to it. It is.

ここで、図5は、拡張ユニット3への書き込みを例示しているので、上記上位ビットのうち、上述の各アドレス領域を識別するためのビット(アドレスの第19ビット〜第17ビット)は、拡張ユニット3に割り当てられたアドレス領域AA0を示す値”000”である。したがって、拡張ユニット3の制御部31は、2番目のクロックで伝送された信号ADDの示す下位ビットと、上記アドレスの上位ビットとからアドレスを特定し、自らの資源のうち、当該アドレスの資源へ、3番目のクロックで伝送されたデータを書き込む。さらに、拡張ユニット3の制御部31は、伝送方向の変更指示CHGが伝送された後、書き込みに成功すると、アクノリッジ信号ACKを信号線LSDへ出力して、本体2の制御部21へ書き込みの成功を通知する。   Here, since FIG. 5 exemplifies writing to the extension unit 3, the bits (19th to 17th bits of the address) for identifying each of the above address areas among the upper bits are as follows: The value is “000” indicating the address area AA0 assigned to the expansion unit 3. Therefore, the control unit 31 of the expansion unit 3 specifies an address from the lower bit indicated by the signal ADD transmitted by the second clock and the upper bit of the address, and among the resources of itself, to the resource at the address. Write the data transmitted in the third clock. Further, when the control unit 31 of the extension unit 3 succeeds in the writing after the transmission direction change instruction CHG is transmitted, the control unit 31 outputs the acknowledge signal ACK to the signal line LSD and succeeds in the writing to the control unit 21 of the main body 2. To be notified.

一方、上記の例では、信号CMDに含まれるアドレスの上位ビットが、拡張ユニット3へのアクセスを示しているので、拡張ユニット4の制御部41は、自らへのアクセスではないと判断し、当該ライトサイクルでは、信号線LSDへの出力を停止している。なお、図5および図6では、拡張ユニット3へのアクセスを例にして説明したが、拡張ユニット4へのアクセスの場合は、拡張ユニット3の制御部31が信号線LSDへの出力を停止し、拡張ユニット4の制御部41が本体2の制御部21に応答する。   On the other hand, in the above example, since the upper bits of the address included in the signal CMD indicate access to the expansion unit 3, the control unit 41 of the expansion unit 4 determines that it is not access to itself, In the write cycle, output to the signal line LSD is stopped. 5 and 6, the access to the expansion unit 3 has been described as an example. However, in the case of access to the expansion unit 4, the control unit 31 of the expansion unit 3 stops the output to the signal line LSD. The control unit 41 of the expansion unit 4 responds to the control unit 21 of the main body 2.

これにより、本体2の制御部21は、本体2に装着された拡張ユニット3・4のうちの所望のアドレスへデータを書き込むことができる。なお、図5中、LCS_L、LWR_L、LREADY_LおよびLD(16)は、それぞれ、拡張ユニット3内のチップセレクト信号、ライトを指示する信号、ライトが完了したことを示す信号、および、データ信号を示しており、信号の末尾に付した_Lは、ローアクティブであることを示している。   Thereby, the control unit 21 of the main body 2 can write data to a desired address of the extension units 3 and 4 attached to the main body 2. In FIG. 5, LCS_L, LWR_L, LREADY_L and LD (16) respectively indicate a chip select signal, a signal for instructing writing, a signal indicating that writing has been completed, and a data signal in the expansion unit 3. _L attached to the end of the signal indicates low active.

次に、装着された各拡張ユニット3・4へ自動的にアドレス領域AA0〜AA7のいずれかを割り当てるための構成および割り当て時の動作について説明する。すなわち、図1に示すように、本実施形態に係るプログラマブル表示器1には、本体2、および、それに装着された拡張ユニット3・4によって、バス11とは別に、互いに縦続接続された伝送路12が構成されている。   Next, a configuration for automatically assigning any of the address areas AA0 to AA7 to each of the attached expansion units 3 and 4 and an operation at the time of assignment will be described. That is, as shown in FIG. 1, the programmable display 1 according to the present embodiment includes a transmission path that is cascade-connected to each other separately from the bus 11 by the main body 2 and the expansion units 3 and 4 attached thereto. 12 is configured.

当該伝送路12において、最前段となる本体2には、初期アドレスを出力する初期アドレス指示部22が設けられている。一方、各拡張ユニット3(4)は、自らの占有するアドレス領域の大きさを示すデータを記憶する占有アドレス記憶部32(42)と、前段の装置としての本体2(拡張ユニット3)から、コネクタC21およびC31(C32およびC41)を介して受け取ったアドレス情報を、当該データに応じて変更して、次段へ出力する変更回路33(43)と、当該変更回路33(43)の前および後のアドレス情報に基づいて、自らに割り当てられたアドレス領域を決定して、制御部31(41)へ伝えるアドレス認識部34(44)とを備えている。なお、上記各部材32〜34あるいは各部材42〜44が特許請求の範囲に記載のアドレス領域決定手段に対応している。   In the transmission line 12, the main body 2 that is the foremost stage is provided with an initial address instruction unit 22 that outputs an initial address. On the other hand, each expansion unit 3 (4) includes an occupied address storage unit 32 (42) for storing data indicating the size of the address area occupied by the expansion unit 3 (4), and a main body 2 (expansion unit 3) as a preceding device. The address information received via the connectors C21 and C31 (C32 and C41) is changed in accordance with the data and output to the next stage, and the change circuit 33 (43) before and after the change circuit 33 (43) An address recognition unit 34 (44) that determines an address area assigned to itself based on the subsequent address information and transmits the address region to the control unit 31 (41) is provided. The members 32 to 34 or the members 42 to 44 correspond to the address area determining means described in the claims.

本実施形態では、上述したように、拡張ユニット3…へ割り当て可能なアドレス領域AAは、AA0〜AA7の8つに割り当てられている。したがって、アドレス情報は、3本の信号線LAA〔2:0〕によって伝送されており、次段側のコネクタC21・C32・C42において、これらの信号線に接続された端子は、これらのコネクタC21・C32・C42へ、前段側のコネクタC31・C41・…が装着されたときに、これらのコネクタC31・C41・…の対応する端子と接続される位置に配置されている。   In this embodiment, as described above, the address areas AA that can be assigned to the expansion units 3... Are assigned to eight addresses AA0 to AA7. Therefore, the address information is transmitted through the three signal lines LAA [2: 0], and the terminals connected to these signal lines in the connectors C21, C32, and C42 on the next stage are the connectors C21. When the front-stage connectors C31, C41,... Are attached to C32, C42, they are arranged at positions where they are connected to the corresponding terminals of these connectors C31, C41,.

また、本実施形態では、各拡張ユニット3…のうち、より本体2に近い拡張ユニットの方が、各アドレス領域AA0〜AA7のうち、より低位のアドレス領域に割り当てられるように構成されており、上記初期アドレス指示部22は、例えば、各信号線を接地するなどして、上記信号線LAAへ再低位のアドレス領域AA0を示す値(”000”)を出力している。なお、「本体2に近い」とは、各拡張ユニット3…の接続関係における近さを示しており、本体2に直接接続された拡張ユニット3が最も本体2に近く、それに接続された拡張ユニット4が次に近くなる。   In the present embodiment, the expansion unit closer to the main body 2 among the expansion units 3... Is assigned to a lower address area among the address areas AA0 to AA7. The initial address instruction unit 22 outputs a value (“000”) indicating the re-lower address area AA0 to the signal line LAA, for example, by grounding each signal line. Note that “close to the main body 2” indicates the closeness of the connection relationship between the expansion units 3..., And the expansion unit 3 directly connected to the main body 2 is closest to the main body 2 and is connected to the expansion unit. 4 comes next.

一方、本実施形態では本体2に近い拡張ユニットの方をより低位のアドレス領域へ割り当てているので、上記各拡張ユニット3(4)の変更回路33(43)は、加算器によって実現されており、変更回路33(43)は、前段から受け取ったアドレス情報に、占有アドレス記憶部32(42)に記憶されている、拡張ユニット3(4)の占有するアドレス領域の大きさを加算し、加算結果を次段へ出力している。なお、占有アドレス記憶部32(42)は、アドレス領域の大きさを、上記アドレス領域AA0〜AA7の大きさを単位として記憶している。   On the other hand, in this embodiment, since the extension unit closer to the main body 2 is assigned to a lower address area, the change circuit 33 (43) of each extension unit 3 (4) is realized by an adder. The change circuit 33 (43) adds the size of the address area occupied by the extension unit 3 (4) stored in the occupied address storage unit 32 (42) to the address information received from the previous stage, and adds The result is output to the next stage. The occupied address storage unit 32 (42) stores the size of the address area in units of the size of the address areas AA0 to AA7.

例えば、本実施形態に係る拡張ユニット3は、図2に示すように、アドレス領域AA0〜AA7の1つ分の大きさのアドレス領域を占有するので、上記占有アドレス記憶部32には、”001”が記憶され、図1のように本体2および各拡張ユニット3・4が接続された場合、変更回路33は、アドレス情報として、アドレス領域AA1を示す値(”001”)を出力する。この場合、アドレス認識部34は、変更回路33の前後のアドレス情報”000”および”001”から、拡張ユニット3に割り当てられるアドレス領域は、前の値”000”に対応するアドレス領域AA0から、後の値”001”に対応するアドレス領域AA1の直前のアドレス領域AA0までのアドレス領域、すなわち、アドレス領域AA0であると判断する。一方、拡張ユニット4は、2つ分のアドレス領域を占有するので、拡張ユニット4の占有アドレス記憶部42には、”010”が格納され、図1のように接続された場合、変更回路43によって、アドレス情報として、アドレス領域AA3を示す値(”011”)が出力される。したがって、アドレス認識部34は、変更回路33の前後のアドレス情報に基づいて、アドレス領域AA1およびAA2が自らに割り当てられていると判断する。   For example, as shown in FIG. 2, the expansion unit 3 according to the present embodiment occupies one address area as large as the address areas AA0 to AA7. "Is stored, and when the main body 2 and each of the expansion units 3 and 4 are connected as shown in FIG. 1, the change circuit 33 outputs a value (" 001 ") indicating the address area AA1 as address information. In this case, the address recognition unit 34 uses the address information “000” and “001” before and after the change circuit 33, and the address area assigned to the expansion unit 3 is from the address area AA0 corresponding to the previous value “000”. It is determined that the address area is the address area AA0 immediately before the address area AA1 corresponding to the subsequent value “001”, that is, the address area AA0. On the other hand, since the expansion unit 4 occupies two address areas, "010" is stored in the occupied address storage unit 42 of the expansion unit 4, and when connected as shown in FIG. As a result, a value (“011”) indicating the address area AA3 is output as address information. Therefore, the address recognition unit 34 determines that the address areas AA1 and AA2 are allocated to itself based on the address information before and after the change circuit 33.

一方、プログラマブル表示器1の本体2には、上記バス11に接続されたアドレス認識部23が設けられており、各拡張ユニット3(4)の制御部31(41)は、自らに割り当てられたアドレス領域の開始アドレスを基準にして、予め定められたアドレスへの読み出し命令を受け付けた場合、自らの機能と、自らの占有するアドレス領域の大きさとを返答できるように構成されている。   On the other hand, the main body 2 of the programmable display 1 is provided with an address recognition unit 23 connected to the bus 11, and the control unit 31 (41) of each expansion unit 3 (4) is assigned to itself. When a read command to a predetermined address is received on the basis of the start address of the address area, it is possible to respond with its own function and the size of the address area occupied by itself.

したがって、アドレス認識部23は、最初のアドレス領域(AA0)における上記所定のアドレスへの読み出し命令を発行することによって、最初に装着された拡張ユニット(図1の例では、3)の機能、および、占有するアドレス領域の大きさを取得できる。さらに、アドレス認識部23は、ある拡張ユニット3の開始アドレスと、当該拡張ユニット3の占有するアドレス領域の大きさ(各アドレス単位)とから、例えば、両者を加算するなどして、当該拡張ユニット3に装着された拡張ユニット4に割り当てられたアドレス領域の開始アドレスを求め、当該アドレス領域における上記所定のアドレスへの読み出し命令を発行することによって、次に装着された拡張ユニット4の機能、および、占有するアドレス領域の大きさを取得する。これにより、アドレス認識部23は、装着されている拡張ユニット3・4全てについて、それぞれの機能、および、割り当てられているアドレス領域を把握し、制御部21へ伝えることができる。   Therefore, the address recognizing unit 23 issues the read command to the predetermined address in the first address area (AA0), thereby functioning the expansion unit (3 in the example of FIG. 1) that is mounted first, and The size of the occupied address area can be acquired. Further, the address recognizing unit 23 adds the both from the start address of a certain extension unit 3 and the size of each address area occupied by the extension unit 3 (each address unit), for example. The function of the expansion unit 4 mounted next is obtained by obtaining the start address of the address area assigned to the expansion unit 4 mounted on the unit 3 and issuing a read command to the predetermined address in the address region, and Get the size of the occupied address area. As a result, the address recognition unit 23 can grasp the respective functions and assigned address areas for all of the attached extension units 3 and 4, and can transmit them to the control unit 21.

また、本実施形態では、各制御部21・31・41が、自らの次に他の拡張ユニットが装着されているか否かを識別できるように構成されており、各拡張ユニット3(4)の制御部31(41)は、上記読み出し命令への応答時に、当該識別結果も併せて報告するように構成されている。具体的には、各制御部21・31・41は、例えば、次段側のコネクタC21・C32・C42のうち、抵抗を介してハイレベルへプルアップされた端子に接続されている。一方、前段側のコネクタC31・C41・…に設けられた端子のうち、上記プルアップされた端子に対応する端子は、接地されている。したがって、各制御部21・31・41は、当該プルアップされた端子がハイレベルか否かを確認することによって、自らの次に拡張ユニットが装着されているか否かを識別し、識別結果を報告できる。このように、本実施形態では、アドレス認識部23が識別結果も取得できるので、次に拡張ユニットが装着されていると見なして、上記読み出し命令を送信し、正常に読み出せなかった場合は、次の拡張ユニットが装着されていないと判定する構成に比べて、より高速かつ確実に、装着されている拡張ユニット3・4全てについて、それぞれの機能、および、割り当てられているアドレス領域を把握できる。   Moreover, in this embodiment, each control part 21,31,41 is comprised so that it can identify whether another expansion unit is mounted next to itself, and each expansion unit 3 (4) is comprised. The control unit 31 (41) is configured to report the identification result together with the response to the read command. Specifically, each of the control units 21, 31, and 41 is connected to a terminal pulled up to a high level via a resistor, for example, among the connectors C 21, C 32, and C 42 on the next stage side. On the other hand, among the terminals provided on the front-side connectors C31, C41,..., The terminal corresponding to the pulled-up terminal is grounded. Therefore, each control unit 21, 31 and 41 identifies whether or not the extension unit is installed next to itself by confirming whether or not the pulled-up terminal is at a high level, and displays the identification result. Can report. Thus, in this embodiment, since the address recognition unit 23 can also acquire the identification result, it is assumed that the expansion unit is next installed, and when the above read command is transmitted and cannot be read normally, Compared to the configuration in which it is determined that the next expansion unit is not installed, it is possible to grasp the respective functions and assigned address areas of all the installed expansion units 3 and 4 faster and more reliably. .

なお、この例では、アドレス認識部34(44)が変更回路33(34)の前後のアドレス情報に基づいて自らに割り当てられているアドレス領域を判断する場合を例にして説明したが、自らが占有するアドレス領域の大きさは決まっているので、この大きさを参照すれば、前または後のアドレス情報のみに基づいて、割り当てられたアドレス領域を判定し、制御部31(41)へ伝えることができる。   In this example, the case where the address recognition unit 34 (44) determines the address area assigned to itself based on the address information before and after the change circuit 33 (34) has been described as an example. Since the size of the address area to be occupied is determined, by referring to this size, the allocated address area is determined based only on the previous or subsequent address information, and is transmitted to the control unit 31 (41). Can do.

また、この例では、本体2に近い拡張ユニットの方をより低位のアドレス領域へ割り当てている場合を例にして説明したが、本体2に近い拡張ユニットの方を、より高位のアドレス領域へ割り当ててもよい。この場合は、初期アドレス指示部22は、初期アドレスとして最も高位のアドレス領域(例えば、AA7)を示す値を出力し、各拡張ユニット3(4)の変更回路33(43)は、前段から受け取ったアドレス情報から、占有アドレス記憶部32からの値を減算して出力すればよい。   In this example, the case where the extension unit closer to the main body 2 is assigned to a lower address area has been described as an example. However, the extension unit closer to the main body 2 is assigned to a higher address area. May be. In this case, the initial address instruction unit 22 outputs a value indicating the highest address area (for example, AA7) as the initial address, and the change circuit 33 (43) of each expansion unit 3 (4) receives from the previous stage. The value from the occupied address storage unit 32 may be subtracted from the address information.

ところで、各拡張ユニット3・4が正常に動作し続けることができればよいが、種々の要因によって各拡張ユニット3・4が誤動作することがある。特に、本実施形態のように、信号線LSDが時分割で駆動される場合には、時分割駆動せずにバス幅を広げた場合と同等のデータ転送速度を確保するためには、駆動周波数を上げる必要があるので、許容可能な伝送タイミングのズレが短くならざるを得ず、例えば、ノイズの影響などによって、誤動作する虞れがある。さらに、本実施形態のように、リードまたはライトサイクルの何番目のクロックであるかによって、信号線LSDを伝送される信号の意味が変化する場合には、プログラマブル表示器1の本体2と拡張ユニット3(4)との間で、何番目のクロックであるのかの認識、言い換えると、現在伝送中の信号の意味の認識が互いに相違すると、信号を正常に伝送できなくなってしまう。   By the way, it is only necessary that the expansion units 3 and 4 can continue to operate normally. However, the expansion units 3 and 4 may malfunction due to various factors. In particular, when the signal line LSD is driven in a time-sharing manner as in this embodiment, in order to ensure the same data transfer speed as when the bus width is expanded without the time-sharing driving, the driving frequency Therefore, an allowable transmission timing shift must be shortened, and there is a risk of malfunction due to, for example, the influence of noise. Furthermore, when the meaning of the signal transmitted through the signal line LSD changes depending on the clock number of the read or write cycle as in this embodiment, the main body 2 and the extension unit of the programmable display 1 If the recognition of the clock number with respect to 3 (4), in other words, the recognition of the meaning of the currently transmitted signal is different from each other, the signal cannot be transmitted normally.

例えば、本体2が、例えば、伝送方向の変更指示CHGを既に伝送し終えているにも拘わらず、拡張ユニット3(4)が、当該変更指示CHGを待ち受ける状態に入ってしまうと、すなわち、現在の信号線LSDが、上記変更指示CHGか、それ以外の信号かを伝送していると解釈してしまうと、それ以降は、正常にデータを送受できなくなってしまう。   For example, when the main unit 2 has already transmitted the transmission direction change instruction CHG, for example, the expansion unit 3 (4) enters a state of waiting for the change instruction CHG, that is, If it is interpreted that the signal line LSD is transmitting the change instruction CHG or any other signal, data cannot be transmitted and received normally thereafter.

これに対して、本実施形態に係るプログラマブル表示器1の本体2には、図1に示すように、バス11に接続された初期化処理部24が設けられており、当該初期化処理部24は、例えば、制御部21からの指示やバス11の監視などによって、本体2の制御部21が拡張ユニット3・4の資源のいずれかへアクセスしている間にタイムアウトが発生したことを検知すると、図7に示すように、バス11の信号線LSAへ、アクティブのアボート信号ABORT_Lを出力すると共に、バス11の信号線LSDへ、その資源を含む拡張ユニットを特定するための信号IDを送信することによって、当該拡張ユニットへ初期化を指示する。   In contrast, as shown in FIG. 1, the main body 2 of the programmable display device 1 according to the present embodiment is provided with an initialization processing unit 24 connected to the bus 11, and the initialization processing unit 24. When, for example, an instruction from the control unit 21 or monitoring of the bus 11 detects that a timeout has occurred while the control unit 21 of the main body 2 is accessing any of the resources of the expansion units 3 and 4, 7, the active abort signal ABORT_L is output to the signal line LSA of the bus 11, and the signal ID for specifying the expansion unit including the resource is transmitted to the signal line LSD of the bus 11. To instruct the expansion unit to initialize.

上記信号IDは、例えば、図8に示すように、上述した図4などと同様に、特定の位置のビット(例えば、第3ビット〜第1ビット)の値が、その資源を含むアドレス領域を示しており、それによって、当該アドレス領域に割り当てられた拡張ユニットを特定できる。例えば、図8の例では、拡張ユニット3の資源にタイムアウトが発生し、拡張ユニット3へ初期化を指示する場合を示しているので、当該ビットの値は、拡張ユニット3に割り当てられたアドレス領域AA0を示す値(”000”)に設定されている。   For example, as shown in FIG. 8, the signal ID is an address area in which the value of a bit at a specific position (for example, the third bit to the first bit) includes the resource, as in FIG. As a result, the extension unit assigned to the address area can be specified. For example, the example of FIG. 8 shows a case where a timeout occurs in the resource of the extension unit 3 and the extension unit 3 is instructed to initialize, so that the value of the bit is the address area allocated to the extension unit 3 A value (“000”) indicating AA0 is set.

一方、各拡張ユニット3(4)には、特許請求の範囲に記載の初期化処理手段として、バス11に接続され、初期化処理部24からの初期化指示を受け付ける初期化処理部35(45)が設けられている。当該初期化処理部35(45)は、信号線LAを伝送されるアボート信号ABORT_Lを監視しており、アボート信号ABORT_Lがアクティブになると、その時点の信号線LSDの信号(より正確には、上記特定の位置のビットの値)に基づき、当該アボート信号ABORT_Lが自機器の初期化を指示しているか否かを判定し、自機器の初期化を指示していると判定した場合、制御部31(41)へ初期化を指示する。   On the other hand, each expansion unit 3 (4) is connected to the bus 11 as initialization processing means described in the claims, and an initialization processing unit 35 (45) that receives an initialization instruction from the initialization processing unit 24. ) Is provided. The initialization processing unit 35 (45) monitors the abort signal ABORT_L transmitted through the signal line LA. When the abort signal ABORT_L becomes active, the signal on the signal line LSD at that time (more precisely, the above-mentioned Based on the value of the bit at a specific position), it is determined whether or not the abort signal ABORT_L instructs the initialization of the own device, and if it is determined that the initialization of the own device is instructed, the control unit 31 Instruct the initialization to (41).

例えば、図8の例では、上記信号IDの上記ビットは、アドレス領域AA0を示す値に設定されており、拡張ユニット3において、図1に示すアドレス認識部34は、自機器に割り当てられたアドレス領域がアドレス領域AA0と認識している。したがって、拡張ユニット3の初期化処理部35は、上記信号IDの上記ビットが、アドレス認識部34によって自機器へ割り当てられていると認識されている領域を示していることに基づいて、アボート信号ABORT_Lが自機器の初期化を指示していると判断し、制御部31へ初期化を指示する。一方、この例の場合は、拡張ユニット4の初期化処理部45によって、上記アボート信号ABORT_Lが自機器の初期化を示していないと判断されるので、拡張ユニット4の制御部41は、初期化を行わず、通常の処理を続行する。   For example, in the example of FIG. 8, the bit of the signal ID is set to a value indicating the address area AA0. In the extension unit 3, the address recognition unit 34 shown in FIG. The area is recognized as an address area AA0. Therefore, the initialization processing unit 35 of the extension unit 3 determines that the abort signal is based on the fact that the bit of the signal ID indicates an area recognized by the address recognition unit 34 as being allocated to the own device. It is determined that ABORT_L is instructing initialization of the own device, and the control unit 31 is instructed to initialize. On the other hand, in the case of this example, the initialization processing unit 45 of the extension unit 4 determines that the abort signal ABORT_L does not indicate initialization of the own device, so the control unit 41 of the extension unit 4 The normal processing is continued without performing.

これにより、本実施形態に係るプログラマブル表示器1では、本体2に装着された拡張ユニット3・4のいずれ(例えば、3)に異常が発生した場合であっても、他の拡張ユニット(この場合は、4)を初期化することなく、異常が発生した拡張ユニット(3)のみへ初期化を指示できる。   Thereby, in the programmable display 1 which concerns on this embodiment, even if it is a case where abnormality has generate | occur | produced in any (for example, 3) of the expansion units 3 * 4 with which the main body 2 was mounted | worn, another expansion unit (in this case) Can instruct initialization only to the expansion unit (3) in which an abnormality has occurred without initializing 4).

なお、各拡張ユニット3(4)の初期化処理部35(45)は、アボート信号ABORT_Lがアクティブになったときの信号線LSDの信号を監視しているだけであり、制御部31(41)とは異なり、サイクルの何クロック目であるかによって処理を変更しない。したがって、制御部31(41)が暴走した場合でも、何ら支障なく、自機器への初期化指示を受け取り、自機器の制御部31(41)へ初期化を指示できる。   Note that the initialization processing unit 35 (45) of each expansion unit 3 (4) only monitors the signal on the signal line LSD when the abort signal ABORT_L becomes active, and the control unit 31 (41). Unlike the above, the processing is not changed depending on the clock number of the cycle. Therefore, even when the control unit 31 (41) runs out of control, the initialization instruction to the own device can be received without any trouble, and the initialization can be instructed to the control unit 31 (41) of the own device.

さらに、本実施形態に係る各拡張ユニット3(4)において、初期化処理部35(45)は、例えば、制御部31(41)からの通知や特定の資源の監視などによって、制御部31(41)の初期化終了を検知すると、図7に示すように、イネーブル信号CMDEN_Lをアクティブにして、本体2の初期化処理部24へ、初期化終了を通知する。   Furthermore, in each expansion unit 3 (4) according to the present embodiment, the initialization processing unit 35 (45), for example, by the notification from the control unit 31 (41) or the monitoring of a specific resource, When the completion of initialization 41) is detected, the enable signal CMDEN_L is made active as shown in FIG. 7, and the initialization processing unit 24 of the main body 2 is notified of the completion of initialization.

一方、上記プログラマブル表示器1の本体2において、アドレス認識部23は、アボート信号ABORT_Lをアクティブにした後の期間、イネーブル信号CMDEN_Lを監視しており、イネーブル信号CMDEN_Lがアクティブになると、初期化を指示した拡張ユニット3(4)が初期化を終了したと判断して、例えば、当該拡張ユニット3(4)の資源のうち、タイムアウトが発生した資源へ再度アクセスするなど、異常からの復帰した後の処理として予め定められた処理を行う。   On the other hand, in the main body 2 of the programmable display 1, the address recognition unit 23 monitors the enable signal CMDEN_L for a period after the abort signal ABORT_L is activated, and instructs initialization when the enable signal CMDEN_L becomes active The extension unit 3 (4) has determined that the initialization has been completed and, for example, the resource of the extension unit 3 (4) is re-accessed to a resource in which a timeout has occurred, and after the recovery from the abnormality A predetermined process is performed as the process.

これにより、初期化の最大所要時間として予め定められた時間が経過してから上記後処理を行う構成と比較して、本実施形態に係るプログラマブル表示器1の本体2の初期化処理部24は、より早い時点で、異常の発生した拡張ユニットが再度使用可能になったことを把握でき、当該拡張ユニットの使用を再開できる。   As a result, the initialization processing unit 24 of the main body 2 of the programmable display 1 according to the present embodiment is compared with the configuration in which the post-processing is performed after a predetermined time has elapsed as the maximum required time for initialization. At an earlier point in time, it is possible to grasp that the expansion unit in which an abnormality has occurred becomes usable again, and the use of the expansion unit can be resumed.

ところで、上記では、プログラマブル表示器1の本体2へ各拡張ユニット3・4を装着することによって、伝送路12を構成し、各拡張ユニット3・4が前段から送出されたアドレス情報を、自機器の占有するアドレス領域の大きさに応じて変更して次段へ伝送することによって、各拡張ユニット3・4へ割り当てるアドレス領域を決定していたが、これに限るものではない。例えば、拡張ユニット3・4の装着前に、拡張ユニット3・4が、例えば、ディップスイッチの設定を読み取るなどして、ユーザによるアドレス領域の指定を受け取り、それに基づいて、自機器に割り当てられたアドレス領域を識別してもよい。ただし、本実施形態のように、アドレス領域を設定すれば、装着する拡張ユニット3・4の数や、それぞれが占有するアドレス了領域の大きさに拘わらず、それぞれの拡張ユニット3・4が、自機器へ割り当てられるアドレス領域を自動的に認識することができるので、拡張ユニット3・4……を装着する際のユーザの手間を大幅に削減できる。   By the way, in the above, by attaching each expansion unit 3 or 4 to the main body 2 of the programmable display 1, the transmission path 12 is configured, and the address information sent from the previous stage by each expansion unit 3 or 4 The address area to be assigned to each expansion unit 3 or 4 is determined by changing the size according to the size of the address area occupied by the transmission unit and transmitting it to the next stage. However, the present invention is not limited to this. For example, before the expansion units 3 and 4 are attached, the expansion units 3 and 4 receive the designation of the address area by the user, for example, by reading the setting of the dip switch, and are assigned to the own device based on the designation. An address area may be identified. However, if the address area is set as in the present embodiment, each expansion unit 3 or 4 is independent of the number of expansion units 3 or 4 to be mounted and the size of the address termination area occupied by each. Since it is possible to automatically recognize the address area assigned to the own device, it is possible to greatly reduce the user's labor when attaching the extension units 3.

また、上記では、初期化の指示を受けた拡張ユニット3(4)が、イネーブル信号CMDEN_Lによって、初期化の終了を通知する構成について説明したが、初期化の終了を通知できれば、初期化の終了を伝える信号線は、これに限るものではない。   In the above description, the extension unit 3 (4) that has received the initialization instruction has been described to notify the end of initialization by the enable signal CMDEN_L. However, if the end of initialization can be notified, the end of the initialization is completed. The signal line for transmitting the signal is not limited to this.

例えば、イネーブル信号CMDEN_Lではなく、応答用(初期化終了の通知用)の信号線を上記バス11に設けると共に、拡張ユニット3(4)を特定するための信号IDを伝送した後は、アボート信号ABORT_Lを非アクティブに設定すれば、プログラマブル表示器1の本体2は、ある拡張ユニット3(4)が初期化処理を行っている最中にも、他の拡張ユニット3(4)へアクセスできる。   For example, instead of the enable signal CMDEN_L, a signal line for response (for notification of completion of initialization) is provided on the bus 11, and after transmitting the signal ID for specifying the expansion unit 3 (4), the abort signal If ABORT_L is set to inactive, the main body 2 of the programmable display device 1 can access another extension unit 3 (4) while a certain extension unit 3 (4) is performing the initialization process.

なお、この構成であっても、アボート信号ABORT_Lがアクティブの間に、信号線LSDによって、初期化処理すべき拡張ユニット3(4)を示す信号を伝送できるので、信号線の増加は、上記応答用の信号線のみに留めることができる。また、この場合、応答するのは、初期化を指示した拡張ユニット3(4)のみなので、1つの拡張ユニット3(4)のみへ初期化を指示するのであれば、バス11に設ける信号線の増加本数を1本に抑えることができる。一方、応答信号の伝送用に複数の信号線を設ければ、複数の拡張ユニット3(4)へ同時に初期化を指示し、それぞれからの応答を同時に待ち受けることができる。なお、この場合であっても、信号線LSDを占有するのは、アボート信号ABORT_Lがアクティブの期間のみなので、上記信号IDの伝送後、アボート信号ABORT_Lを非アクティブに設定することによって、これらの拡張ユニット3…を初期化している間、プログラマブル表示器1の本体2は、信号線LSDを用いて、他の拡張ユニットへアクセスできる。   Even in this configuration, while the abort signal ABORT_L is active, a signal indicating the expansion unit 3 (4) to be initialized can be transmitted by the signal line LSD. Can be used only for the signal line. In this case, since only the extension unit 3 (4) instructing initialization responds, if only one extension unit 3 (4) is instructed to initialize, the signal line provided on the bus 11 The increased number can be reduced to one. On the other hand, if a plurality of signal lines are provided for transmission of response signals, it is possible to instruct initialization to the plurality of extension units 3 (4) at the same time and wait for responses from the respective units simultaneously. Even in this case, the signal line LSD is occupied only during the period in which the abort signal ABORT_L is active. After the signal ID is transmitted, the extension of the signal line LSD is set by setting the abort signal ABORT_L to inactive. While initializing the units 3..., The main body 2 of the programmable display 1 can access other extension units using the signal line LSD.

なお、本実施形態では、プログラマブル表示器1の本体2および各拡張ユニット3・4に設けられた上記各部材21〜24・24、31〜35および41〜45は、例えば、ASIC(Application Specific Integrated Circuit )などの回路によって実現されているが、これらの部材を、例えば、CPUなどの演算手段が、ROMやRAMなどの記憶手段に格納されたプログラムを実行し、タッチパネルや液晶表示装置などの入出力手段、あるいは、インターフェース回路などの通信手段を制御することによって実現してもよい。この場合は、上記プログラムを記録した記録媒体(例えば、CD−ROMなど)を読み取り、当該プログラムを上記演算手段に実行させることによって、これらの部材を実現することができる。また、例えば、シリアルケーブルやローカルエリアネットワークあるいは、他の通信路を介してプログラムをダウンロードするためのプログラムが、上記コンピュータに予めインストールされていれば、当該通信路を介して、上記コンピュータへ上記プログラムを配付することもできる。ただし、初期化処理部35(45)は、異常が発生した場合に、初期化指示を受け付けるために、例えば、アボート信号ABORT_Lによって上記演算手段へ割り込みをかけるなどして、異常発生時に初期化指示を受け付けることができるように構成したり、これらの部材35(45)のみを上記演算手段とは別の回路によって実現したりすることが望まれる。   In the present embodiment, the members 21 to 24, 24, 31 to 35, and 41 to 45 provided in the main body 2 and the expansion units 3 and 4 of the programmable display 1 are, for example, ASIC (Application Specific Integrated). These components are realized by a circuit stored in a storage unit such as a ROM or RAM by an arithmetic unit such as a CPU, and an input device such as a touch panel or a liquid crystal display device. You may implement | achieve by controlling communication means, such as an output means or an interface circuit. In this case, these members can be realized by reading a recording medium (for example, a CD-ROM) on which the program is recorded and causing the calculation means to execute the program. Further, for example, if a program for downloading a program via a serial cable, a local area network, or another communication path is installed in the computer in advance, the program is transferred to the computer via the communication path. Can also be distributed. However, the initialization processing unit 35 (45) receives an initialization instruction when an abnormality occurs, for example, by interrupting the arithmetic means by the abort signal ABORT_L, and so on when the abnormality occurs. It is desirable that the configuration can be received, or only these members 35 (45) can be realized by a circuit different from the calculation means.

本体に装着された拡張ユニットのうち、異常が発生した拡張ユニットのみを早急かつ確実に異常状態から復帰させることができ、例えば、プログラマブル表示器の機能を拡張する用途など、異常状態からの早急かつ確実な復帰が要求される情報処理装置の機能を拡張する用途に好適に使用できる。   Of the expansion units attached to the main unit, only the expansion unit in which an abnormality has occurred can be quickly and surely restored from the abnormal state.For example, the function of the programmable display can be expanded immediately from the abnormal state. The present invention can be suitably used for expanding the functions of an information processing apparatus that requires a reliable return.

本発明の実施形態を示すものであり、プログラマブル表示器の本体、および、それに装着された拡張ユニットの要部構成を示すブロック図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 illustrates an embodiment of the present invention, and is a block diagram illustrating a configuration of a main part of a programmable display device and a main part of an extension unit attached thereto. 上記各拡張ユニットへ割り当てられたアドレス領域を示す図面である。It is drawing which shows the address area allocated to each said expansion unit. 上記プログラマブル表示器の本体が拡張ユニットからデータを読み出す際に、バスの各信号線および拡張ユニットの内部を伝送される信号を示すタイミングチャートである。It is a timing chart which shows the signal transmitted through the signal line of a bus | bath, and the inside of an expansion unit, when the main body of the said programmable display reads data from an expansion unit. 上記バスの各信号線に流れる信号の値の一例を示す図面である。It is drawing which shows an example of the value of the signal which flows into each signal line of the said bus | bath. 上記本体が拡張ユニットへデータを書き込む際に、上記バスの各信号線および拡張ユニットの内部を伝送される信号を示すタイミングチャートである。6 is a timing chart showing signals transmitted through each signal line of the bus and the inside of the extension unit when the main body writes data to the extension unit. 上記バスの各信号線に流れる信号の値の一例を示す図面である。It is drawing which shows an example of the value of the signal which flows into each signal line of the said bus | bath. 異常が発生した場合に、上記バスに伝送される信号を示すタイミングチャートである。It is a timing chart which shows the signal transmitted to the said bus | bath when abnormality has generate | occur | produced. 上記バスの各信号線に流れる信号の値の一例を示す図面である。It is drawing which shows an example of the value of the signal which flows into each signal line of the said bus | bath.

符号の説明Explanation of symbols

2 本体(情報処理装置)
3・4 拡張ユニット
11 バス
32・42 占有アドレス記憶部(アドレス領域決定手段)
33・43 変更回路(アドレス領域決定手段)
34・44 アドレス認識部(アドレス領域決定手段)
35・45 初期化処理部(初期化処理手段)
C31・C32・C41・C42 コネクタ
LSD 信号線(共用の信号線)
2 Body (Information processing device)
3.4 Expansion unit 11 Bus 32/42 Occupied address storage unit (address area determination means)
33.43 Change circuit (address area determination means)
34.44 Address recognition unit (address area determination means)
35.45 Initialization processing unit (initialization processing means)
C31 / C32 / C41 / C42 Connector LSD signal line (common signal line)

Claims (3)

2つのコネクタと、
上記両コネクタ間を接続すると共に、上記両コネクタの一方へ接続された情報処理装置または他の拡張ユニットと、他方に接続された他の拡張ユニットと、自機器とをバス接続するためのバスと、
上記バスの信号線の1つへ初期化指示の信号が伝送されている間に、当該バスの他の信号線へ伝送されている、拡張ユニットを特定するための特定用の信号が、自機器を示しているか否かを判定し、自機器を示している場合は、自機器を初期化すると共に、初期化処理が終了すると、上記バスの信号線の1つへ、初期化終了を示す応答信号を出力する初期化処理手段とを備えていることを特徴とする情報処理装置の拡張ユニット。
Two connectors,
A bus for connecting the information processing apparatus or other expansion unit connected to one of the two connectors, another expansion unit connected to the other, and the own device via a bus while connecting the connectors ,
While the initialization instruction signal is transmitted to one of the signal lines of the bus, the identification signal for identifying the extension unit transmitted to the other signal line of the bus is If the self-device is indicated, the self-device is initialized, and when the initialization process is completed, a response indicating the completion of initialization is sent to one of the bus signal lines. An expansion unit for an information processing apparatus, comprising: initialization processing means for outputting a signal.
上記バスには、共用の信号線が含まれており、
上記拡張ユニットは、複数回に分けて当該共用の信号線を伝送される信号群によって、アクセス対象のアドレス、当該アクセス対象の処理内容を示すコマンド、および、処理に関連するデータを送受すると共に、
上記初期化処理手段は、上記共用の信号線によって伝送される、上記特定用の信号に基づいて、自機器の初期化の要否を判定することを特徴とする請求項1記載の情報処理装置の拡張ユニット。
The above bus includes a common signal line,
The extension unit transmits and receives an address to be accessed, a command indicating the processing contents of the access target, and data related to the processing by a signal group transmitted through the shared signal line in a plurality of times.
2. The information processing apparatus according to claim 1, wherein the initialization processing unit determines whether or not the own device needs to be initialized based on the specific signal transmitted through the shared signal line. Expansion unit.
上記両コネクタには、上記両コネクタの一方へ接続された情報処理装置または他の拡張ユニットと、自機器と、他方に接続される他の拡張ユニットとを縦続接続するための端子が設けられており、
前段となる上記情報処理装置または他の拡張ユニットから通知されたアドレス情報によって、上記情報処理装置のアドレス空間における、自機器のアドレス領域の位置を決定すると共に、予め定められた、自機器の占有するアドレス領域の大きさに応じて、上記アドレス情報を変更して、次の段となる上記他の拡張ユニットへ送出するアドレス領域決定手段を備えていることを特徴とする請求項1または2記載の情報処理装置の拡張ユニット。
The both connectors are provided with terminals for cascading the information processing apparatus or other extension unit connected to one of the two connectors, the own device, and another extension unit connected to the other. And
Based on the address information notified from the information processing apparatus or other expansion unit in the previous stage, the position of the address area of the own apparatus in the address space of the information processing apparatus is determined, and the predetermined occupation of the own apparatus is determined. 3. An address area determining means for changing the address information according to the size of the address area to be transmitted and sending the address information to the other extension unit at the next stage. Expansion unit for information processing equipment.
JP2003350918A 2003-10-09 2003-10-09 Expansion unit for information processing equipment Expired - Fee Related JP4219784B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003350918A JP4219784B2 (en) 2003-10-09 2003-10-09 Expansion unit for information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003350918A JP4219784B2 (en) 2003-10-09 2003-10-09 Expansion unit for information processing equipment

Publications (2)

Publication Number Publication Date
JP2005115762A true JP2005115762A (en) 2005-04-28
JP4219784B2 JP4219784B2 (en) 2009-02-04

Family

ID=34542340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003350918A Expired - Fee Related JP4219784B2 (en) 2003-10-09 2003-10-09 Expansion unit for information processing equipment

Country Status (1)

Country Link
JP (1) JP4219784B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179637A (en) * 2005-12-27 2007-07-12 Kenwood Corp Recorder and/or reproducer, controller and control method
JP2009169738A (en) * 2008-01-17 2009-07-30 Ricoh Co Ltd Electronic equipment and method for controlling electronic equipment
CN103576570A (en) * 2012-08-01 2014-02-12 株式会社安川电机 Control device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179637A (en) * 2005-12-27 2007-07-12 Kenwood Corp Recorder and/or reproducer, controller and control method
JP4702046B2 (en) * 2005-12-27 2011-06-15 株式会社ケンウッド Recording and / or reproducing device, control device and control method
JP2009169738A (en) * 2008-01-17 2009-07-30 Ricoh Co Ltd Electronic equipment and method for controlling electronic equipment
CN103576570A (en) * 2012-08-01 2014-02-12 株式会社安川电机 Control device
JP2014032451A (en) * 2012-08-01 2014-02-20 Yaskawa Electric Corp Controller
CN103576570B (en) * 2012-08-01 2016-01-27 株式会社安川电机 Control device

Also Published As

Publication number Publication date
JP4219784B2 (en) 2009-02-04

Similar Documents

Publication Publication Date Title
RU2140667C1 (en) Computer system with bus interface
EP1142210B1 (en) Interface interlace
US7539801B2 (en) Computing device with flexibly configurable expansion slots, and method of operation
US10102177B2 (en) Serial communication system, communication control unit, and electronic device for finding and assigning unused addresses
JP5530269B2 (en) Communication interface device and communication method
JPH08286947A (en) Microcomputer
US9213615B2 (en) Information processing apparatus with debugging unit and debugging method therefor
EP0939360A2 (en) Switching mechanism and disk array apparatus having the switching mechanism
JP4219784B2 (en) Expansion unit for information processing equipment
JP2000293485A (en) Communication interface
CN114996184B (en) Compatible implementation SPI or I 2 Interface module of slave C and data transmission method
JP3477306B2 (en) Extended input / output interface
KR101260313B1 (en) Electric apparatus and data sending/receiving method thereof and slave apparatus and communication method between the plural number of apparatuses
KR101816895B1 (en) Management serial bus for chassis type communication equipment
CN111913904A (en) Method for automatically assigning mutually different addresses to a plurality of slave devices using a master-slave communication protocol and device therefor
JPH11163970A (en) Intra-device substrate control system
CN112947287A (en) Control method, controller and electronic equipment
KR102044212B1 (en) Method for assigning different addresses on a plurality of slave devices using I2C communication protocol and a device for the same
KR20070102823A (en) Device for controlling address in a i2c protocol
JP5516402B2 (en) Information processing apparatus and information processing apparatus control method
JP6841876B2 (en) Flexible connection of processor modules
CN213024170U (en) Computing device
US8006012B2 (en) Data storage system
JP2003022212A (en) Bi-directional ram
CN108933882B (en) Camera module and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051013

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080819

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081020

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20081020

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081111

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081112

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees