JP2012221793A - Signal lamp control device, device for creating data for signal light control, and programs therefor - Google Patents

Signal lamp control device, device for creating data for signal light control, and programs therefor Download PDF

Info

Publication number
JP2012221793A
JP2012221793A JP2011087334A JP2011087334A JP2012221793A JP 2012221793 A JP2012221793 A JP 2012221793A JP 2011087334 A JP2011087334 A JP 2011087334A JP 2011087334 A JP2011087334 A JP 2011087334A JP 2012221793 A JP2012221793 A JP 2012221793A
Authority
JP
Japan
Prior art keywords
control
signal
light
control signal
cells
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
Application number
JP2011087334A
Other languages
Japanese (ja)
Other versions
JP2012221793A5 (en
Inventor
Minoru Yoshida
稔 吉田
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 JP2011087334A priority Critical patent/JP2012221793A/en
Publication of JP2012221793A publication Critical patent/JP2012221793A/en
Publication of JP2012221793A5 publication Critical patent/JP2012221793A5/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a signal lamp consisting of a plurality of cells that emits the light of different colors by the same control signal or the light of color according to different control signals.SOLUTION: A setting file FL set for a signal light that includes a plurality of LEDs of different lighting colors in each cell is stored in a flash ROM 14. By the setting file FL, the cell and the lighting color are individually associated with each one of a plurality of control signals given from the outside for making the cell emit light. By replacing the lighting color in the setting file FL with a combination of an LED corresponding to the lighting color based on a conversion table creating section 411, a conversion table TBL that specifies an LED to be turned on in a cell corresponding to a control signal is created and stored in a memory 13. In relation to the control signal from the outside, an I/O control section 412 controls inside I/O so as to turn on an LED that is specified in a cell corresponding to the control signal by referring to the conversion table TBL.

Description

本発明は、発光色を容易に変更することができる積層型の信号灯の制御装置、信号灯制御用のデータを作成する装置およびそれらのプログラムに関するものである。   The present invention relates to a stack type signal lamp control device capable of easily changing an emission color, a device for creating signal light control data, and a program thereof.

一般に、装置の稼働状況を報知する手段として、信号灯がよく知られている。信号灯としては、異なる発光色の発光部が複数積層された積層型の信号灯が普及している。   In general, a signal lamp is well known as means for notifying the operating status of the apparatus. As a signal lamp, a stacked type signal lamp in which a plurality of light emitting portions having different emission colors are stacked is widely used.

このような信号灯は、装置を制御するプログラマブルロジックコントローラ(PLC)などの制御装置から供給された制御信号によって点灯が制御される。通常、制御信号は複数用意されており、それぞれの制御信号に対応する発光部をその発光部の発光色で発光させる。ユーザは、発光部の発光色に独自の意味を持たせることから、それに応じて発光部が配置された信号灯を利用したい。例えば、装置に異常が発生したときに最上段の発光部を赤で発光させる場合、装置の異常発生時に出力される制御信号を当該発光部に与えるように、制御装置と信号灯との間の制御信号用の配線を接続する。   Lighting of such a signal lamp is controlled by a control signal supplied from a control device such as a programmable logic controller (PLC) that controls the device. Usually, a plurality of control signals are prepared, and a light emitting unit corresponding to each control signal is caused to emit light in the emission color of the light emitting unit. Since the user gives a unique meaning to the emission color of the light emitting unit, the user wants to use a signal lamp in which the light emitting unit is arranged accordingly. For example, when the uppermost light emitting unit emits red light when an abnormality occurs in the device, control between the control device and the signal lamp is performed so that a control signal output when the abnormality occurs in the device is given to the light emitting unit. Connect the signal wiring.

しかしながら、上記のような積層型の信号灯は、発光部の配置が、上段に赤の発光部、中段に黄の発光部、下段に緑の発光部というように固定されているので、ユーザの要望に応じて発光部(発光色)の位置を変更することができない。また、発光色そのものを全く異なる発光色に変更することもできない。   However, in the above-mentioned stacked type signal lamp, the arrangement of the light emitting unit is fixed such that the upper part is a red light emitting part, the middle part is a yellow light emitting part, and the lower part is a green light emitting part. The position of the light emitting part (light emission color) cannot be changed in accordance with. In addition, the emission color itself cannot be changed to a completely different emission color.

したがって、このようなユーザの要望に応じるため、信号灯の製造者は、発光部の配置が異なる信号灯を製造して、在庫として保持しておく必要がある。また、このような信号灯は、導入後に制御装置を交換することによって制御信号が交換前と異なる場合、新たな制御信号に対応しないことがある。   Therefore, in order to meet such a user's request, the manufacturer of the signal lamp needs to manufacture a signal lamp with a different arrangement of the light emitting units and keep it in stock. Further, such a signal lamp may not correspond to a new control signal when the control signal is different from that before the replacement by replacing the control device after introduction.

上記のような不都合を解消する信号灯として、異なる点灯色の複数のLEDを1つのユニットに内蔵した信号灯がある(特許文献1)。このような信号灯は、ユニットを単独で使用することを前提としているが、1つのユニットが異なる色で発光するので、積層する接続構造を設けることにより、積層型の信号灯として構成することができる。このような信号灯では、ユニットの配置を変えることなく、各層のユニットの発光色を変更することができる。   As a signal lamp that solves the above inconvenience, there is a signal lamp in which a plurality of LEDs having different lighting colors are incorporated in one unit (Patent Document 1). Such a signal lamp is based on the premise that the unit is used alone, but since one unit emits light in different colors, it can be configured as a stacked signal lamp by providing a laminated connection structure. In such a signal lamp, it is possible to change the emission color of the units in each layer without changing the arrangement of the units.

特開2000−353401号公報(2000年12月19日公開)JP 2000-353401 A (released on December 19, 2000)

特許文献1に記載された信号灯は、1つのユニットを単独で利用するため、点灯色を変更するときには各LEDの点灯状態を制御すればよい。しかしながら、このようなユニットを複数組み合わせて積層型の信号灯として構成しようとすると、個別に各ユニットのLEDの点灯を制御する必要がある。   Since the signal lamp described in Patent Document 1 uses a single unit independently, the lighting state of each LED may be controlled when changing the lighting color. However, when a plurality of such units are combined to form a stacked signal lamp, it is necessary to individually control the lighting of the LEDs of each unit.

このため、任意に各ユニットの発光状態を変更させる場合、LEDの点灯制御が複雑になる。例えば、同じ装置の稼働状況を報知させるために、状況に応じて同じ制御信号によっても各ユニットの発光状態を異ならせる場合、上記の制御信号用の配線の各ユニットへの接続を変更する必要がある。また、上記のように制御信号が変わると、制御信号に応じた所望の発光状態を得ることができない。このような不都合を解消するには、やはり、各ユニットへの上記の配線の接続を変更する必要がある。   For this reason, when changing the light emission state of each unit arbitrarily, the lighting control of LED becomes complicated. For example, in order to notify the operating status of the same device, when the light emission state of each unit is changed by the same control signal according to the situation, it is necessary to change the connection of the control signal wiring to each unit. is there. Further, when the control signal changes as described above, a desired light emission state corresponding to the control signal cannot be obtained. In order to eliminate such inconvenience, it is necessary to change the connection of the above wiring to each unit.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、複数のセルにより構成される信号灯を、同じ制御信号により異なる発光色で発光させたり、異なる制御信号に応じた発光色で発光させたりすることができる信号灯制御装置を提供することである。   The present invention has been made in view of the above problems, and an object of the present invention is to cause a signal lamp composed of a plurality of cells to emit light with different emission colors by the same control signal, or to emit light according to different control signals. It is an object of the present invention to provide a signal light control device that can emit light with colors.

本発明に係る信号灯制御装置は、異なる点灯色のLEDを複数有し、点灯する前記LEDの組み合わせによって定まる発光色で発光する発光層が複数積層されてなる信号灯における前記LEDの点灯を制御する信号灯制御装置であって、前記LEDを通電する通電手段と、前記発光層を発光させるために外部から与えられる複数の制御信号のそれぞれに前記発光層および前記発光色を個々に対応付けた設定情報を記憶する記憶手段と、前記設定情報における前記発光色を当該発光色に対応する前記組み合わせと置き替えることにより、前記制御信号に対応する前記発光層において点灯させる前記LEDを特定する点灯情報を作成する点灯情報作成手段と、前記点灯情報に基づいて、入力される前記制御信号に対応する点灯すべき前記LEDを通電するように前記通電手段を制御する通電制御手段とを備えていることを特徴としている。   The signal lamp control device according to the present invention includes a plurality of LEDs having different lighting colors, and a signal lamp that controls lighting of the LEDs in a signal lamp in which a plurality of light emitting layers emitting light having a light emission color determined by a combination of the LEDs to be lighted are stacked. A control device, comprising: energization means for energizing the LED; and setting information in which the light emitting layer and the emission color are individually associated with each of a plurality of control signals given from the outside in order to cause the light emitting layer to emit light. The lighting information for specifying the LED to be lit in the light emitting layer corresponding to the control signal is created by replacing the light emitting color in the setting information with the combination corresponding to the light emitting color. Lighting information creating means, and based on the lighting information, the LED to be turned on corresponding to the control signal inputted It is characterized in that it comprises a current supply control means for controlling the energization means to electricity.

上記の構成では、点灯情報作成手段により、記憶手段に記憶された設定情報に基づいて、設定情報における発光色が対応するLEDの組み合わせと置き替えられることで、点灯情報が作成される。点灯情報により、制御信号に対応する発光層において点灯させるLEDが特定される。   In the above configuration, the lighting information is created by the lighting information creating unit replacing the corresponding light emission color in the setting information based on the setting information stored in the storage unit. The LED to be lit in the light emitting layer corresponding to the control signal is specified by the lighting information.

例えば、制御信号が0番,1番,2番で特定される3つの信号であり、発光層が3層(第1〜第3発光層)であるとする。また、第1〜第3発光層をそれぞれ「赤」,「黄」,「緑」の発光色で発光させるものとする。この場合、設定情報では、0番,1番,2番の制御信号に、それぞれ第1〜第3発光層と、「赤」,「黄」,「緑」の発光色とが個々に対応付けられるように設定されているとする。また、各発光層は、R,G,Bの3色のLEDを有しているとする。この場合、点灯情報作成手段により、上記の発光色「赤」,「黄」,「緑」が、それぞれR,RおよびG,GのLEDの組み合わせ(図7(b)参照)に置き替えられる。   For example, it is assumed that the control signals are three signals specified by No. 1, No. 1, and No. 2, and the light emitting layers are three layers (first to third light emitting layers). In addition, the first to third light emitting layers emit light of “red”, “yellow”, and “green”, respectively. In this case, in the setting information, the control signals of No. 0, No. 1, and No. 2 are individually associated with the first to third emission layers and the emission colors of “red”, “yellow”, and “green”, respectively. Suppose that it is set to be able to. Each light emitting layer is assumed to have LEDs of three colors of R, G, and B. In this case, the above-mentioned emission colors “red”, “yellow”, and “green” are replaced by combinations of R, R, G, and G LEDs (see FIG. 7B) by the lighting information creation unit. .

点灯情報が作成された状態で、制御信号が入力されると、通電制御手段により、点灯情報に基づいて、その制御信号に対応する点灯すべきLEDを点灯するように通電手段が制御される。すると、点灯すべきLEDが、通電手段により通電されて点灯する。   When a control signal is input in a state where the lighting information is created, the energization control unit controls the energization unit to turn on the LED to be lit corresponding to the control signal based on the lighting information. Then, the LED to be lit is energized by the energizing means and is lit.

例えば、上記の1番の制御信号に対して、点灯情報により、第2発光層を「黄」で発光させるためにRおよびGのLEDが特定されると、第2発光層におけるRおよびGのLEDが点灯する。   For example, when the R and G LEDs are specified by the lighting information to cause the second light emitting layer to emit “yellow” with respect to the first control signal, the R and G of the second light emitting layer are specified. LED lights up.

本発明の信号灯制御プログラムは、前記信号灯制御装置における前記点灯情報作成手段および前記通電制御手段としてコンピュータを機能させるための信号灯制御プログラムである。   The signal lamp control program of the present invention is a signal lamp control program for causing a computer to function as the lighting information creating means and the energization control means in the signal light control device.

このように、信号灯制御プログラムをコンピュータに読み取らせて実行させることにより、信号灯の制御をソフトウェアにより行うことができる。これにより、設定情報を適宜変更することで、信号灯の制御を容易に変更することができる。   In this way, the signal lamp can be controlled by software by causing the computer to read and execute the signal lamp control program. Thereby, control of a signal lamp can be easily changed by changing setting information suitably.

本発明の信号灯制御用データ作成装置は、前記信号灯制御装置で用いられる前記設定情報を作成する信号灯制御用データ作成装置であって、複数の前記制御信号のそれぞれに前記発光層および前記発光色を個々に対応付けるユーザインターフェースを提供するユーザインターフェース提供手段を備えていることを特徴としている。   The signal light control data creation device of the present invention is a signal light control data creation device for creating the setting information used in the signal light control device, wherein the light emitting layer and the light emission color are respectively added to a plurality of the control signals. It is characterized by comprising user interface providing means for providing a user interface associated with each.

上記の構成では、ユーザインターフェース提供手段により提供されるユーザインターフェースを用いて、制御信号に発光層および発光色を対応付けることができる。これにより、信号灯制御用データ作成装置を用いて、ユーザによる設定情報の作成を容易に行うことができる。   In the above configuration, the light emitting layer and the light emission color can be associated with the control signal using the user interface provided by the user interface providing means. Thereby, it is possible to easily create the setting information by the user using the signal light control data creation device.

本発明の信号灯制御用データ作成プログラムは、前記信号灯制御用データ作成装置における前記ユーザインターフェース提供手段としてコンピュータを機能させるためのプログラムである。   The signal light control data creation program of the present invention is a program for causing a computer to function as the user interface providing means in the signal light control data creation device.

このように、信号灯制御用データ作成プログラムをコンピュータに読み取らせて実行させることにより、設定情報の作成をソフトウェアにより行うことができる。これにより、ユーザによる設定情報の作成を容易に行うことができる。   As described above, the setting information can be created by software by causing the computer to read and execute the signal lamp control data creation program. Thereby, creation of setting information by a user can be performed easily.

本発明に係る信号灯制御装置は、以上のように構成されているので、複数のセルにより構成される信号灯を、同じ制御信号により異なる発光色で発光させたり、異なる制御信号に応じた発光色で発光させたりすることができる。したがって、特別な制御信号を発生するための制御システムをユーザにより構築する必要がなく、既存のPLCのような制御装置から提供される制御信号を用いて信号灯の発光を容易に制御することができるという効果を奏する。   Since the signal lamp control device according to the present invention is configured as described above, a signal lamp composed of a plurality of cells is caused to emit light with different emission colors by the same control signal, or with emission colors according to different control signals. It can be made to emit light. Therefore, it is not necessary to construct a control system for generating a special control signal by the user, and the light emission of the signal lamp can be easily controlled using a control signal provided from a control device such as an existing PLC. There is an effect.

本発明の一実施形態に係る信号灯の構造を示す斜視図である。It is a perspective view which shows the structure of the signal lamp which concerns on one Embodiment of this invention. 上記信号灯の一部の構造を示す分解斜視図である。It is a disassembled perspective view which shows a partial structure of the said signal lamp. 上記信号灯に取り付けられるLED基板の構造を示す正面図である。It is a front view which shows the structure of the LED board attached to the said signal lamp. 上記信号灯に取り付けられる他のLED基板の構造の一部を拡大して示す正面図である。It is a front view which expands and shows a part of structure of the other LED board attached to the said signal lamp. 上記信号灯を制御する制御回路の構成を示すブロック図である。It is a block diagram which shows the structure of the control circuit which controls the said signal lamp. 上記信号灯で発光可能な色とLEDの点灯色(R,G,B)との関係を表したカラーコードを示す図である。It is a figure which shows the color code showing the relationship between the color which can be light-emitted with the said signal lamp, and the lighting color (R, G, B) of LED. (a)は上記制御回路におけるフラッシュROMに記憶される発光例1の設定ファイルの構成を示す図であり、(b)は上記制御回路におけるメモリに展開される、上記設定ファイルに対応する変換テーブルの構成を示す図である。(A) is a figure which shows the structure of the setting file of the light emission example 1 memorize | stored in flash ROM in the said control circuit, (b) is the conversion table corresponding to the said setting file developed by the memory in the said control circuit. FIG. 上記制御回路において実現される制御部の構成を示すブロック図である。It is a block diagram which shows the structure of the control part implement | achieved in the said control circuit. 上記制御回路で利用される設定ファイルを作成するPCの構成を示すブロック図である。It is a block diagram which shows the structure of PC which produces the setting file utilized with the said control circuit. 上記PCが有する設定ファイル作成部がユーザインターフェースとして提供する設定ファイル作成ウインドウの構成を示す図である。It is a figure which shows the structure of the setting file preparation window which the setting file preparation part which the said PC has provides as a user interface. (a)は発光例2の上記設定ファイルの構成を示す図であり、(b)は当該設定ファイルに対応する変換テーブルの構成を示す図である。(A) is a figure which shows the structure of the said setting file of the light emission example 2, (b) is a figure which shows the structure of the conversion table corresponding to the said setting file. (a)は発光例3の上記設定ファイルの構成を示す図であり、(b)は当該設定ファイルに対応する変換テーブルの構成を示す図である。(A) is a figure which shows the structure of the said setting file of the light emission example 3, (b) is a figure which shows the structure of the conversion table corresponding to the said setting file. (a)は発光例4の上記設定ファイルの構成を示す図であり、(b)は当該設定ファイルに対応する変換テーブルの構成を示す図である。(A) is a figure which shows the structure of the said setting file of the light emission example 4, (b) is a figure which shows the structure of the conversion table corresponding to the said setting file. (a)は発光例5の上記設定ファイルの構成を示す図であり、(b)は当該設定ファイルに対応する変換テーブルの構成を示す図である。(A) is a figure which shows the structure of the said setting file of the light emission example 5, (b) is a figure which shows the structure of the conversion table corresponding to the said setting file. (a)は発光例6の上記設定ファイルの構成を示す図であり、(b)は当該設定ファイルに対応する変換テーブルの構成を示す図である。(A) is a figure which shows the structure of the said setting file of the light emission example 6, (b) is a figure which shows the structure of the conversion table corresponding to the said setting file. (a)は発光例7の上記設定ファイルの構成を示す図であり、(b)は当該設定ファイルに対応する変換テーブルの構成を示す図である。(A) is a figure which shows the structure of the said setting file of the light emission example 7, (b) is a figure which shows the structure of the conversion table corresponding to the said setting file. (a)〜(g)は上記信号灯における各セルの発光例を示す図である。(A)-(g) is a figure which shows the light emission example of each cell in the said signal lamp.

本発明の一実施形態について図1〜図17に基づいて説明すると、以下の通りである。   One embodiment of the present invention is described below with reference to FIGS.

〔1.信号灯の構成〕
図1および図2に示すように、信号灯1は、外観をグローブ2およびベースハウジング3により構成されている。
[1. (Configuration of signal light)
As shown in FIGS. 1 and 2, the signal lamp 1 is configured by a globe 2 and a base housing 3 in appearance.

〔1−1.グローブの構造〕
図1および図2に示すように、グローブ2は、円筒状に形成されたカバーであり、分割体21,22が接合されることにより構成されている。分割体21,22は、樹脂等により形成されている。
[1-1. (Glove structure)
As shown in FIGS. 1 and 2, the globe 2 is a cover formed in a cylindrical shape, and is configured by joining the divided bodies 21 and 22. The divided bodies 21 and 22 are made of resin or the like.

なお、グローブ2は、円筒状に限らず方形の筒状などであってもよい。   The globe 2 is not limited to a cylindrical shape, and may be a rectangular tube shape.

また、グローブ2の内部は、遮光板23によって所定の間隔で区切られている。グローブ2において、遮光板23で区画される空間が信号灯1におけるセルCL1〜CL12(発光層)を形成している。これにより、信号灯1は、セルCL1〜CL12が複数積層された構造を有する。   Further, the inside of the globe 2 is partitioned by a light shielding plate 23 at a predetermined interval. In the globe 2, the space defined by the light shielding plate 23 forms cells CL <b> 1 to CL <b> 12 (light emitting layer) in the signal lamp 1. Thereby, the signal lamp 1 has a structure in which a plurality of cells CL1 to CL12 are stacked.

なお、セルCL1〜CL12については、共通する事項を説明する場合、「CL」の符号を用いる。また、以降の説明では、セルCLの数が12である場合について説明する。   In addition, about the cells CL1-CL12, the code | symbol "CL" is used when explaining a common matter. In the following description, a case where the number of cells CL is 12 will be described.

遮光板23は、各セルCLに配置されるLED7からの出射光が隣接するセルCLに進入しないように遮光するために、グローブ2に嵌め込みにより組み付けられている。この遮光板23は、表面が反射性の素材で形成されることにより、LED7からの出射光を反射して外部に拡散させることができる。また、遮光板23は、半円板24,25が接合されることにより構成される。   The light shielding plate 23 is assembled by fitting into the globe 2 so as to shield the light emitted from the LEDs 7 arranged in each cell CL so as not to enter the adjacent cell CL. Since the surface of the light shielding plate 23 is made of a reflective material, the light emitted from the LED 7 can be reflected and diffused to the outside. The light shielding plate 23 is configured by joining the semicircular plates 24 and 25.

半円板24,25は、それぞれの接合側となる端縁部分に、切り欠かれた凹部24a,25aを有している。凹部24a,25aは、半円板24,25が接合された状態で遮光板23の中央部に矩形状の穴を形成する。この穴は、LED基板4を配置かつ保持するために利用される。   The semicircular plates 24 and 25 have cutout recesses 24a and 25a at the edge portions on the respective joining sides. The recesses 24a and 25a form a rectangular hole in the central portion of the light shielding plate 23 in a state where the semicircular plates 24 and 25 are joined. This hole is used for arranging and holding the LED substrate 4.

〔1−2.ベースハウジングの構造〕
図1に示すように、ベースハウジング3は、グローブ2を支持する基礎部分であり、樹脂等により円筒状に形成されている。ベースハウジング3内の底面には、制御基板5が配置されている。制御基板5は、後述する制御回路11(図5参照)が実装されている基板である。
[1-2. Base housing structure
As shown in FIG. 1, the base housing 3 is a basic portion that supports the globe 2 and is formed in a cylindrical shape by resin or the like. A control board 5 is disposed on the bottom surface in the base housing 3. The control board 5 is a board on which a control circuit 11 (see FIG. 5) described later is mounted.

〔1−3.LED基板の構造および配置〕
図3に示すように、LED基板4は、プリント配線基板6および複数のLED7により構成されている。プリント配線基板6は、長尺の方形状に形成されており、両面にLED7が実装されている。
[1-3. LED board structure and arrangement]
As shown in FIG. 3, the LED board 4 includes a printed wiring board 6 and a plurality of LEDs 7. The printed wiring board 6 is formed in a long rectangular shape, and LEDs 7 are mounted on both sides.

LED7は、表面実装型(チップ型)のLEDである。このLED7は、グローブ2の各セルCL内に位置するように、分散してLED基板4に実装されている。具体的には、異なる点灯色のLED7は、LED基板4において、各セルCLに対応する位置に配置されている。これにより、各セルCLはLED7を複数有することになる。   The LED 7 is a surface mount type (chip type) LED. The LEDs 7 are dispersed and mounted on the LED substrate 4 so as to be located in each cell CL of the globe 2. Specifically, the LEDs 7 having different lighting colors are arranged on the LED substrate 4 at positions corresponding to the respective cells CL. As a result, each cell CL has a plurality of LEDs 7.

なお、以降の説明では、LED7としてR(赤)、G(緑)、B(青)の各色のLEDが設けられる場合について説明する。   In the following description, a case where LEDs of R (red), G (green), and B (blue) are provided as LEDs 7 will be described.

また、図4に示すように、LED基板4は、表面実装型のLED7の代わりに、砲弾型のLED8が実装されていてもよい。LED8は、プリント配線基板6に形成されたスルーホール6aに配置されるように、それぞれのリード線がプリント配線基板6に半田付けされている。以降では、LED7を用いた例について説明するが、LED8を用いても、同様に本実施形態の信号灯1が機能することはもちろんである。   As shown in FIG. 4, the LED board 4 may be mounted with a bullet-type LED 8 instead of the surface-mounted LED 7. Each LED 8 is soldered to the printed wiring board 6 so that the LED 8 is disposed in a through hole 6 a formed in the printed wiring board 6. Hereinafter, an example using the LED 7 will be described, but it goes without saying that the signal lamp 1 of the present embodiment functions similarly even if the LED 8 is used.

図1および図2に示すように、LED基板4は、半円板24,25により凹部24a,25aで狭持されることにより各遮光板23に保持されている。このようにして、LED基板4はグローブ2内に配置される。   As shown in FIGS. 1 and 2, the LED substrate 4 is held by the light shielding plates 23 by being sandwiched between the recesses 24 a and 25 a by the semicircular plates 24 and 25. In this way, the LED substrate 4 is disposed in the globe 2.

なお、LED基板4のグローブ2における配置構造については、上記の例に限定されることはない。   In addition, about the arrangement | positioning structure in the globe 2 of the LED board 4, it is not limited to said example.

〔1−4.制御回路の構成〕
図5に示すように、制御回路11(信号灯制御装置)は、上記のセルCL1〜CL12を、予め設定されたグループに分割し、外部からの制御信号に基づいて、グループ毎に指定された点灯色のLED7の点灯を制御する。制御回路11は、この制御機能を実現するために、CPU12、メモリ13、フラッシュROM14、内部I/O15、メモリカードインターフェース(図中「メモリカードI/F」)16、USB−UARTコンバータ17および外部I/O18を備えている。また、制御回路11は、PLC(Programmable Logic Controller)31からの制御信号に基づいてセルCL内のLED7の点灯を制御する。
[1-4. Configuration of control circuit)
As shown in FIG. 5, the control circuit 11 (signal lamp control device) divides the cells CL1 to CL12 into groups set in advance, and lightings designated for each group based on a control signal from the outside. The lighting of the color LED 7 is controlled. In order to realize this control function, the control circuit 11 includes a CPU 12, a memory 13, a flash ROM 14, an internal I / O 15, a memory card interface ("memory card I / F" in the figure) 16, a USB-UART converter 17 and an external device. I / O18 is provided. The control circuit 11 controls lighting of the LEDs 7 in the cell CL based on a control signal from a PLC (Programmable Logic Controller) 31.

〔1−4−1.PLCの構成〕
PLC31は、信号灯1が稼働状況を表示する対象としている装置34を制御する制御装置であり、装置34の稼働状況に応じて上記の制御信号の値を変化させる。制御信号は、複数用意されており、それぞれ、セルCLを発光させるための“1”(アクティブ)と、セルCLを発光させないための“0”(非アクティブ)との2値をとる。PLC31と信号灯1(制御回路11)との間には、各制御信号を伝送するための複数の信号線と、グランド用の1本の信号線とが個別に配線されている。
[1-4-1. Configuration of PLC]
The PLC 31 is a control device that controls the device 34 for which the signal lamp 1 displays the operation status, and changes the value of the control signal according to the operation status of the device 34. A plurality of control signals are prepared, and each takes a binary value of “1” (active) for causing the cell CL to emit light and “0” (inactive) for preventing the cell CL to emit light. A plurality of signal lines for transmitting each control signal and one signal line for ground are individually wired between the PLC 31 and the signal lamp 1 (control circuit 11).

上記の制御信号用の信号線は、PLC31が出力可能な最大の制御信号に応じて設けられている。後述する0番,1番,2番の3つの制御信号を用いる場合、制御信号用の信号線は少なくとも3つ必要となる。   The signal line for the control signal is provided according to the maximum control signal that the PLC 31 can output. When three control signals of No. 0, No. 1, and No. 2 described later are used, at least three signal lines for control signals are required.

〔1−4−2.設定ファイルおよび変換テーブルの構成〕
続いて、CPU12で扱われる設定ファイルFLおよび変換テーブルTBLについて説明する。
[1-4-2. Configuration file and conversion table configuration]
Next, the setting file FL and conversion table TBL handled by the CPU 12 will be described.

まず、R,G,BのLED7の発光により表現できる色は、図6に示すカラーコードからわかるように、赤、緑、青、黄、紫、水色および白の7色(点灯)と、無色(非点灯)とからなる8色である。カラーコードにおいては、“0”がLED7の消灯状態を表し、“1”がLED7の点灯状態を表している。   First, as can be seen from the color code shown in FIG. 6, the colors that can be expressed by the light emission of the R, G, and B LEDs 7 are seven colors (lighting) of red, green, blue, yellow, purple, light blue, and white, and colorless. 8 colors consisting of (non-lighting). In the color code, “0” represents the off state of the LED 7 and “1” represents the on state of the LED 7.

なお、上記のカラーコードは、例えば後述するCPU12に内蔵される前述の記憶領域に記憶されている。   The above color code is stored in the above-described storage area built in the CPU 12 described later, for example.

〈設定ファイル〉
設定ファイルFL(設定情報)は、上記の制御信号のそれぞれにと各セルCLおよび発光色を個々に対応付けている。この設定ファイルFLにより、対応する制御信号の値が“1”となるときに、制御信号に対応するセルCLおよび発光色が特定される。例えば、図7(a)に示す設定ファイルFLでは、制御信号として0番,1番,2番の3つの制御信号が用意されている。この設定ファイルFLでは、0番の制御信号にセルCL1〜CL4および「赤」の発光色が設定され、1番の制御信号にセルCL5〜CL8および「黄」の発光色が設定され、2番の制御信号にセルCL9〜CL12および「緑」の発光色が設定されている。
<setting file>
The setting file FL (setting information) associates each cell CL and the light emission color with each of the above control signals. With this setting file FL, when the value of the corresponding control signal is “1”, the cell CL and the emission color corresponding to the control signal are specified. For example, in the setting file FL shown in FIG. 7A, three control signals 0, 1, and 2 are prepared as control signals. In this setting file FL, the cells CL1 to CL4 and “red” emission color are set in the control signal No. 0, and the cells CL5 to CL8 and “yellow” emission color are set in the No. 1 control signal. In the control signal, the cells CL9 to CL12 and the emission color of “green” are set.

〈変換テーブル〉
変換テーブルTBLは、上記の設定ファイルFLに基づいて作成され、PLC31からの上記の制御信号と、当該制御信号に対応するセルCLにおいて点灯させるLED7とを対応付けるテーブルである。換言すれば、この変換テーブルTBLは、制御信号の“1”の値を対応するセルCLにおけるLED7の点灯状態(点灯の有無)に変換する。したがって、変換テーブルTBLは、制御信号が入力されると、その値が“1”であるときに、当該制御信号に対応するセルCLについて点灯状態を出力する。
<Conversion table>
The conversion table TBL is a table that is created based on the setting file FL and associates the control signal from the PLC 31 with the LED 7 that is lit in the cell CL corresponding to the control signal. In other words, the conversion table TBL converts the value of “1” of the control signal into the lighting state (whether or not lighting) of the LED 7 in the corresponding cell CL. Therefore, when a control signal is input, the conversion table TBL outputs a lighting state for the cell CL corresponding to the control signal when the value is “1”.

図7(b)に示すように、変換テーブルTBLでは、“1”がLED7の点灯を示し、“0”がLED7の非点灯を示している。この変換テーブルTBLは、図7(a)に示す設定ファイルFLに基づいて作成されている。また、変換テーブルTBLにおいては、0番,1番,2番の制御信号(“1”)が、それぞれ、セルCL1〜CL4のRのLED7の点灯と、セルCL5〜CL8のR,GのLED7の点灯と、セルCL9〜CL12のGのLED7の点灯と対応付けられている。   As shown in FIG. 7B, in the conversion table TBL, “1” indicates that the LED 7 is lit, and “0” indicates that the LED 7 is not lit. This conversion table TBL is created based on the setting file FL shown in FIG. In the conversion table TBL, the control signals (“1”) of No. 0, No. 1, and No. 2 respectively turn on the R LEDs 7 of the cells CL1 to CL4 and the R and G LEDs 7 of the cells CL5 to CL8. And the lighting of the G LED 7 in the cells CL9 to CL12.

〔1−4−3.CPUの構成〕
CPU12は、下記の(1)〜(4)の機能を備えている。
(1)メモリ制御
図5に示すように、CPU12は、メモリ13およびフラッシュROM14の書き込みおよび読み出しの制御を行う。特に、CPU12は、前述の設定ファイルFLを、メモリカードインターフェース16を介してメモリカード32から読み込んでフラッシュROM14に書き込む。あるいは、CPU12は、設定ファイルFLを、USB−UARTコンバータ17を介してPC(パーソナルコンピュータ)33から取得して、フラッシュROM14に書き込む。また、CPU12は、後述のように作成した変換テーブルTBLをメモリ13に書き込む。
(2)通信制御
CPU12は、外部機器との通信の制御を行う。具体的には、CPU12は、USB−UARTコンバータ17を介したPC33との通信、および外部I/O18を介したPLC31との通信を制御する。
(3)I/O制御
CPU12は、LED7の点灯および消灯を制御するために内部I/O15の動作を制御する。このI/O制御の機能については、CPU12が制御プログラムを実行することにより実現される制御機能(後述の制御部41(図8参照))として後に詳しく説明する。
(4)変換テーブル作成
CPU12は、フラッシュROM14に記憶されている設定ファイルFLに基づいて変換テーブルTBLを作成し、当該変換テーブルTBLをメモリ13に記憶させる。この変換テーブルTBL作成の機能については、CPU12が制御プログラムを実行することにより実現される制御機能(後述の制御部41)として後に詳しく説明する。
[1-4-3. CPU configuration]
The CPU 12 has the following functions (1) to (4).
(1) Memory Control As shown in FIG. 5, the CPU 12 controls writing and reading of the memory 13 and the flash ROM 14. In particular, the CPU 12 reads the setting file FL described above from the memory card 32 via the memory card interface 16 and writes it to the flash ROM 14. Alternatively, the CPU 12 acquires the setting file FL from the PC (personal computer) 33 via the USB-UART converter 17 and writes it in the flash ROM 14. Further, the CPU 12 writes the conversion table TBL created as described later in the memory 13.
(2) Communication control The CPU 12 controls communication with an external device. Specifically, the CPU 12 controls communication with the PC 33 via the USB-UART converter 17 and communication with the PLC 31 via the external I / O 18.
(3) I / O control The CPU 12 controls the operation of the internal I / O 15 in order to control the turning on and off of the LED 7. This I / O control function will be described in detail later as a control function (a control unit 41 (see FIG. 8) described later) realized by the CPU 12 executing a control program.
(4) Creation of Conversion Table The CPU 12 creates a conversion table TBL based on the setting file FL stored in the flash ROM 14 and stores the conversion table TBL in the memory 13. The function of creating the conversion table TBL will be described later in detail as a control function (a control unit 41 described later) realized by the CPU 12 executing a control program.

〔1−4−4.メモリおよびフラッシュROMの構成〕
メモリ13は、上記の変換テーブルTBLを展開するために設けられる。また、メモリ13は、CPU12が各種の処理を行うときの作業領域として用いられる。
[1-4-4. Configuration of memory and flash ROM]
The memory 13 is provided for developing the conversion table TBL. The memory 13 is used as a work area when the CPU 12 performs various processes.

フラッシュROM14(記憶手段)は、上記の設定ファイルFLを記憶するために設けられる。フラッシュROM14に設定ファイルFLを記憶した後には、メモリカード32やPC33を制御回路11から切り離してもよい。   The flash ROM 14 (storage means) is provided for storing the setting file FL. After the setting file FL is stored in the flash ROM 14, the memory card 32 and the PC 33 may be disconnected from the control circuit 11.

なお、設定ファイルFLのデータサイズは小さいので、不揮発性の記憶領域(EPROMの領域やフラッシュROMの小さい領域)を内蔵したCPUをCPU12として用いて、その記憶領域に設定ファイルFLを記憶させてもよい。これにより、別途フラッシュROM14を設ける必要がなく、信号灯1の低コスト化を図ることができる。   Since the data size of the setting file FL is small, even if a CPU having a nonvolatile storage area (EPROM area or flash ROM small area) is used as the CPU 12, the setting file FL is stored in the storage area. Good. Thereby, it is not necessary to separately provide the flash ROM 14, and the cost of the signal lamp 1 can be reduced.

〔1−4−5.内部I/Oの構成〕
内部I/O15(通電手段)は、CPU12(制御部41)の制御によりLED7への通電と非通電とを切り替える回路である。具体的には、内部I/O15は、各LED7と電源回路(図示せず)との接続および切り離しをするためにLED7と同数のトランジスタを有している。各トランジスタは、CPU12(制御部41)より与えられるON/OFF制御信号によりトランジスタをON/OFFさせる。
[1-4-5. Internal I / O configuration]
The internal I / O 15 (energization means) is a circuit that switches between energization and non-energization of the LED 7 under the control of the CPU 12 (control unit 41). Specifically, the internal I / O 15 has the same number of transistors as the LEDs 7 in order to connect and disconnect each LED 7 and a power supply circuit (not shown). Each transistor turns the transistor ON / OFF by an ON / OFF control signal given from the CPU 12 (control unit 41).

〔1−4−6.メモリカードインターフェースの構成〕
メモリカードインターフェース16は、メモリカード32からのデータの読み出し、およびメモリカード32へのデータの書き込みを行うリーダ/ライタである。メモリカードインターフェース16で読み書きできるメモリカード32としては、SDカード(登録商標)、CFカード(登録商標)などがある。
[1-4-6. (Memory card interface configuration)
The memory card interface 16 is a reader / writer that reads data from the memory card 32 and writes data to the memory card 32. Examples of the memory card 32 that can be read and written by the memory card interface 16 include an SD card (registered trademark) and a CF card (registered trademark).

メモリカード32に記憶された設定ファイルFLをメモリカードインターフェース16によりフラッシュROM14に読み込む場合、メモリカード32毎に異なる設定ファイルFLを記憶させておけばよい。これにより、メモリカード32を交換するだけで設定ファイルFLを変更することができる。   When the setting file FL stored in the memory card 32 is read into the flash ROM 14 by the memory card interface 16, a different setting file FL may be stored for each memory card 32. Thereby, the setting file FL can be changed only by exchanging the memory card 32.

また、メモリカード32に設定ファイルFLを記憶させることにより、信号灯1と離れた場所にあるPC33で設定ファイルFLを作成した場合でも、作成した設定ファイルFLを制御回路11に読み込ませることができる。   Further, by storing the setting file FL in the memory card 32, the generated setting file FL can be read by the control circuit 11 even when the setting file FL is generated by the PC 33 located away from the signal lamp 1.

〔1−4−7.USB−UARTコンバータの構成〕
USB−UARTコンバータ17は、PC33からのUSB信号を非同期式のシリアル信号に変換する回路である。このUSB−UARTコンバータ17を用いることにより、信号灯1にUSBポートを設けることができ、一般にUSBポートを備えるPC33との通信が容易になる。それゆえ、USBケーブルを介して、PC33で作成した設定ファイルFLを制御回路11に転送することが可能となる。
[1-4-7. Configuration of USB-UART converter]
The USB-UART converter 17 is a circuit that converts a USB signal from the PC 33 into an asynchronous serial signal. By using the USB-UART converter 17, the signal lamp 1 can be provided with a USB port, and generally communication with the PC 33 having the USB port is facilitated. Therefore, the setting file FL created by the PC 33 can be transferred to the control circuit 11 via the USB cable.

〔1−4−8.外部I/Oの構成〕
外部I/O18は、PLC31との間の通信を行うI/Oであり、PLC31から入力される前述の制御信号をCPU12に転送する。外部I/O18には、各入力ポートに制御信号が入力されて、CPU12に取り込まれる。外部I/O18とPLC31との間は、複数の制御信号をそれぞれ伝送するための複数の信号線と、グランド用の1本の信号線とで接続されている。
[1-4-8. Configuration of external I / O]
The external I / O 18 is an I / O that performs communication with the PLC 31, and transfers the control signal input from the PLC 31 to the CPU 12. A control signal is input to each input port of the external I / O 18 and is captured by the CPU 12. The external I / O 18 and the PLC 31 are connected by a plurality of signal lines for transmitting a plurality of control signals, respectively, and a single signal line for ground.

〔1−4−9.制御部の構成〕
図8に示すように、制御部41は、前述のCPU12が制御プログラムを実行することにより実現される制御機能をブロックとして表したものである。この制御部41は、変換テーブル作成部411およびI/O制御部412を有している。
[1-4-9. Configuration of control unit]
As shown in FIG. 8, the control unit 41 represents a control function realized by the CPU 12 executing a control program as a block. The control unit 41 includes a conversion table creation unit 411 and an I / O control unit 412.

〔1−4−9(a).変換テーブル作成部の構成〕
変換テーブル作成部411(点灯情報作成手段)は、フラッシュROM14から設定ファイルFLを読み出して、当該設定ファイルFLにおいて設定された、制御信号についてのセルCLおよび発光色の対応付けに基づいて変換テーブルTBLを作成する。具体的には、変換テーブル作成部411は、上記の対応付けにおける発光色を、前述のカラーコードを参照して当該発光色に対応するR,G,Bの各LED7の組み合わせと置き替える。これにより、変換テーブル作成部411は、制御信号に対応するセルCLにおいて点灯させるLEDを特定する変換テーブルTBL(点灯情報)を作成する。また、変換テーブル作成部411は、“1”の制御信号が入力されると、その制御信号に対応するセルCLにおけるLED7の点灯状態を出力し、“0”の制御信号が入力されると、その制御信号に対応するセルCLにおけるLED7の点灯状態を出力しないように変換テーブルTBLを構成する。
[1-4-9 (a). Configuration of conversion table creation unit]
The conversion table creation unit 411 (lighting information creation unit) reads the setting file FL from the flash ROM 14 and converts the conversion table TBL based on the correspondence between the cell CL and the emission color for the control signal set in the setting file FL. Create Specifically, the conversion table creation unit 411 replaces the emission color in the above association with a combination of R, G, and B LEDs 7 corresponding to the emission color with reference to the color code described above. Thereby, the conversion table creation unit 411 creates a conversion table TBL (lighting information) that identifies the LED to be lit in the cell CL corresponding to the control signal. Further, when the control signal “1” is input, the conversion table creation unit 411 outputs the lighting state of the LED 7 in the cell CL corresponding to the control signal, and when the control signal “0” is input, The conversion table TBL is configured not to output the lighting state of the LED 7 in the cell CL corresponding to the control signal.

変換テーブル作成部411は、このようにして作成した変換テーブルTBLをメモリ13に書き込む。   The conversion table creation unit 411 writes the conversion table TBL created in this way into the memory 13.

〔1−4−9(b).I/O制御部の構成〕
I/O制御部412(通電制御手段)は、次のようにして、PLC31からの制御信号に基づき、変換テーブルTBLを参照して内部I/O15におけるトランジスタのON/OFFを制御する。具体的には、I/O制御部412は、PLC31から外部I/O18に入力される0番,1番,2番の制御信号の値をCPU12のレジスタに取り込む。また、I/O制御部412は、取り込んだ各制御信号の値を、入力値として変換テーブルTBLに与え、当該入力値に対応して出力されるLED7の点灯状態に基づくON/OFF制御信号を出力する。
[1-4-9 (b). Configuration of I / O control unit]
The I / O control unit 412 (energization control means) controls ON / OFF of the transistors in the internal I / O 15 with reference to the conversion table TBL based on the control signal from the PLC 31 as follows. Specifically, the I / O control unit 412 takes in the values of the control signals of No. 0, No. 1 and No. 2 input from the PLC 31 to the external I / O 18 into the register of the CPU 12. Further, the I / O control unit 412 gives the value of each captured control signal as an input value to the conversion table TBL, and outputs an ON / OFF control signal based on the lighting state of the LED 7 output corresponding to the input value. Output.

例えば、0番,1番,2番の制御信号がそれぞれ“1”,“0”,“0”である場合、図7(b)に示す変換テーブルTBLにおいて、0番の制御信号に対応するセルCL1〜CL4に対して点灯状態が出力される。一方、1番,2番の制御信号に対応するセルCL5〜CL8,セルCL9〜CL12に対して点灯状態が出力されない。この場合、I/O制御部412は、セルCL1〜CL4のRのLED7のみを点灯させるように、ON/OFF制御信号を内部I/O15に与える。   For example, when the control signals of No. 0, No. 1, and No. 2 are “1”, “0”, and “0”, respectively, they correspond to the No. 0 control signal in the conversion table TBL shown in FIG. A lighting state is output to the cells CL1 to CL4. On the other hand, the lighting state is not output to the cells CL5 to CL8 and the cells CL9 to CL12 corresponding to the first and second control signals. In this case, the I / O control unit 412 gives an ON / OFF control signal to the internal I / O 15 so that only the R LEDs 7 of the cells CL1 to CL4 are turned on.

〔1−4−9(c).制御部の実現形態〕
上記のように構成される制御部41を実現する制御プログラム(信号灯制御プログラム)のプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)は、予めCPU12におけるプログラム記憶領域などの所定の領域に記憶されている。あるいは、当該プログラムコードは、制御回路11がネットワークと通信可能に構成されていれば、ネットワークを介してダウンロードされてもよい。
[1-4-9 (c). Realization form of control unit]
Program codes (execution format program, intermediate code program, source program) of a control program (signal lamp control program) for realizing the control unit 41 configured as described above are stored in a predetermined area such as a program storage area in the CPU 12 in advance. Has been. Alternatively, the program code may be downloaded via the network if the control circuit 11 is configured to be able to communicate with the network.

このネットワークとしては、インターネットやLANに限定されず、イントラネットやエキストラネットが利用可能である。また、ネットワークとして、ISDN(integrated services digital network)、VAN(value-added network)、CATV(community antenna television)通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等も利用可能である。また、ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE(institute of electrical and electronic engineers)1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL(asynchronous digital subscriber loop)回線等の有線でもよい。あるいは、当該伝送媒体としては、IrDAやリモコンのような赤外線であってもよい。また、無線の伝統媒体としては、Bluetooth(登録商標)、802.11無線、HDR(high data rate)、衛星回線、地上波デジタル網等も利用可能である。   This network is not limited to the Internet or a LAN, and an intranet or an extranet can be used. In addition, ISDN (integrated services digital network), VAN (value-added network), CATV (community antenna television) communication network, virtual private network, telephone line network, mobile communication network, satellite communication A net or the like is also available. Further, the transmission medium constituting the network is not particularly limited. For example, IEEE (institute of electrical and electronic engineers) 1394, USB, power line carrier, cable TV line, telephone line, ADSL (asynchronous digital subscriber loop) line, etc. It may be wired. Alternatively, the transmission medium may be an infrared ray such as IrDA or a remote controller. Further, as a wireless traditional medium, Bluetooth (registered trademark), 802.11 wireless, HDR (high data rate), satellite line, terrestrial digital network, and the like can be used.

ただし、このようにネットワークから制御プログラムをダウンロードする場合には、そのダウンロード用プログラムは予め制御回路11に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。   However, when the control program is downloaded from the network in this way, the download program may be stored in the control circuit 11 in advance, or may be installed from another recording medium.

〔2.PCの構成〕
PC33は、汎用のパーソナルコンピュータであり、設定ファイルFLを作成する機能を有することができる。設定ファイルFLの作成機能は、アプリケーションプログラムとして提供され、PC33にインストールされることにより、PC33を信号灯制御用データ作成装置として動作させることができる。以下に、PC33の構成について詳細に説明する。
[2. PC configuration]
The PC 33 is a general-purpose personal computer and can have a function of creating a setting file FL. The function of creating the setting file FL is provided as an application program and is installed in the PC 33, whereby the PC 33 can be operated as a signal light control data creation device. Hereinafter, the configuration of the PC 33 will be described in detail.

図9に示すように、PC33は、設定ファイル作成部331と、メモリ332と、記憶装置333と、USBインターフェース(図中「USB I/F」にて示す)334と、メモリカードインターフェース(図中「メモリカードI/F」にて示す)335とを備えている。   9, the PC 33 includes a setting file creation unit 331, a memory 332, a storage device 333, a USB interface (indicated by “USB I / F” in the figure) 334, and a memory card interface (in the figure). 335) (indicated by “memory card I / F”).

〔2−1.設定ファイル作成部の構成〕
設定ファイル作成部331(ユーザインターフェース提供手段)は、ユーザにより与えられる情報に基づいて、前述の制御信号にセルCLおよび発光色を対応付けて設定ファイルFLを作成する。設定ファイル作成部331は、ユーザによる情報の入力を支援するために、例えば、図10に示すような設定ファイル作成ウインドウ101をユーザインターフェースとして提供する。
[2-1. Configuration of the configuration file creation unit]
The setting file creation unit 331 (user interface providing unit) creates the setting file FL by associating the cell CL and the emission color with the control signal described above based on information given by the user. The setting file creation unit 331 provides, for example, a setting file creation window 101 as shown in FIG. 10 as a user interface in order to support input of information by the user.

なお、ユーザインターフェースとしては、下記の設定ファイル作成ウインドウ101に限らず、他のユーザインターフェースを用いてもよい。   The user interface is not limited to the setting file creation window 101 described below, and other user interfaces may be used.

〔2−1−1.設定ファイル作成ウインドウの構成〕
設定ファイル作成ウインドウ101は、設定マトリクス103を有している。
[2-1-1. Configuration of the configuration file creation window]
The setting file creation window 101 has a setting matrix 103.

設定マトリクス103は、各セルCL1〜CL12に対応する行と、各制御信号に対応する列とからなるマトリクス状の入力欄103aを有している。入力欄103aには、上記の行と列とが交差する部分に設定ボックス103bが設けられている。設定マトリクス103は、例えば、制御信号として、0番,1番,2番,3番,4番,5番の6つの制御信号に対する設定を可能にしているが、制御信号の数はこれに限定されない。   The setting matrix 103 has a matrix-like input field 103a composed of rows corresponding to the cells CL1 to CL12 and columns corresponding to the control signals. In the input field 103a, a setting box 103b is provided at a portion where the above-described row and column intersect. The setting matrix 103 enables, for example, settings for six control signals of No. 0, No. 1, No. 2, No. 3, No. 4, and No. 5 as control signals, but the number of control signals is limited to this. Not.

なお、制御信号の数は、PLC31が出力可能な制御信号の最大数である。したがって、いずれの制御信号を用いるかはユーザによって任意に決定される。図10は、0番,1番,2番の制御信号を用いた例を示している。   The number of control signals is the maximum number of control signals that the PLC 31 can output. Therefore, which control signal is used is arbitrarily determined by the user. FIG. 10 shows an example using control signals of No. 0, No. 1, and No. 2.

また、設定マトリクス103は、上記の各設定ボックス103bにセルCLの発光色を設定するように構成されている。具体的には、各設定ボックス103bは、予め規定されているセルCLの発光色(前述の8色)から1つが選択可能となるように、リストボックスにより構成されている。これにより、制御信号にセルCLおよび発光色を対応付けることができる。   The setting matrix 103 is configured to set the emission color of the cell CL in each of the setting boxes 103b. Specifically, each setting box 103b is configured by a list box so that one can be selected from the light emission colors (previously described eight colors) of the cell CL. Thereby, the cell CL and the emission color can be associated with the control signal.

なお、図示はしないが、例えば、設定ファイル作成ウインドウ101に制御信号の何れかを指定するためのボタン等を用意しておいてもよい。これにより、ユーザに指定された制御信号に対してのみ、設定マトリクス103における設定を受け付けるようにすることができる。   Although not shown, for example, a button for designating any of the control signals may be prepared in the setting file creation window 101. Thereby, the setting in the setting matrix 103 can be received only for the control signal designated by the user.

このように、設定ファイル作成ウインドウ101は、予め用意されている複数の制御信号のそれぞれに各セルCLおよび発光色を個々に対応付けて設定できるように構成されている。しかも、設定マトリクス103は、設定ファイルFLにおける対応付けをユーザに分かりやすく視覚化したものといえる。これにより、ユーザは、制御信号およびセルCLに対して容易に発光色を設定することができる。   As described above, the setting file creation window 101 is configured so that each cell CL and emission color can be individually associated with each of a plurality of control signals prepared in advance. In addition, it can be said that the setting matrix 103 visualizes the correspondence in the setting file FL in an easy-to-understand manner for the user. Thereby, the user can easily set the emission color for the control signal and the cell CL.

設定ファイル作成部331は、設定ファイルを保存する操作がユーザにより行われると、設定ファイル作成ウインドウ101によって設定された制御信号と発光色との対応付けを確定し、これらを含む設定ファイルFLを記憶装置333に保存する。さらに、設定ファイル作成部331は、必要に応じて、記憶装置333から読み出した設定ファイルFLを、USBインターフェース334を介して制御回路11に送信したり、メモリカードインターフェース335によりメモリカード32に書き込んだりする。   When an operation for saving a setting file is performed by the user, the setting file creation unit 331 determines the correspondence between the control signal set by the setting file creation window 101 and the emission color, and stores the setting file FL including these. Save to device 333. Furthermore, the setting file creation unit 331 transmits the setting file FL read from the storage device 333 to the control circuit 11 via the USB interface 334 or writes it to the memory card 32 via the memory card interface 335 as necessary. To do.

〔2−1−2.設定ファイル作成部の実現形態〕
上記のように構成される設定ファイル作成部331は、前述のようにアプリケーションプログラム(信号灯制御用データ作成プログラム)がCPUに実行されることにより実現される。このアプリケーションプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)は、予め記憶装置333などの所定の領域に記憶されている。あるいは、当該プログラムコードは、PC33と分離可能に構成されるコンピュータ読み取り可能な記録媒体にも記録可能である。当該プログラムコードは、その記録媒体からPC33にインストールされてもよい。
[2-1-2. Realization form of setting file creation unit]
The setting file creation unit 331 configured as described above is realized by executing the application program (signal lamp control data creation program) on the CPU as described above. Program codes (execution format program, intermediate code program, source program) of this application program are stored in a predetermined area such as the storage device 333 in advance. Alternatively, the program code can be recorded on a computer-readable recording medium configured to be separable from the PC 33. The program code may be installed in the PC 33 from the recording medium.

上記の記録媒体としては、例えば、テープ系、ディスク系、半導体メモリ系の媒体を用いることができる。テープ系の媒体としては、磁気テープやカセットテープ等が用いられる。磁気ディスク系の媒体は、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクを含む。また、光ディスク系の媒体は、CD−ROM(compact disc read-only memory)/MO(magneto-optical)/MD(Mini Disc)/DVD(digital versatile disk)/CD−R(CD Recordable)等の光ディスクを含む。半導体メモリ系の媒体は、ICカード(メモリカードを含む)/光カード等のカード系の媒体を含む。また、半導体メモリ系の媒体は、マスクROM/EPROM(erasable programmable read-only memory)/EEPROM(electrically erasable and programmable read-only memory)/フラッシュROM等を含む。   As the recording medium, for example, a tape-type, disk-type, or semiconductor memory-type medium can be used. As the tape medium, a magnetic tape, a cassette tape or the like is used. Magnetic disk media include magnetic disks such as floppy (registered trademark) disks / hard disks. In addition, optical disc media are optical discs such as CD-ROM (compact disc read-only memory) / MO (magneto-optical) / MD (mini disc) / DVD (digital versatile disk) / CD-R (CD recordable). including. The semiconductor memory medium includes a card medium such as an IC card (including a memory card) / optical card. Semiconductor memory media include mask ROM / EPROM (erasable programmable read-only memory) / EEPROM (electrically erasable and programmable read-only memory) / flash ROM.

あるいは、当該プログラムコードは、PC33がネットワークと通信可能に構成されていれば、ネットワークを介してダウンロードされてもよい。このネットワークとしては、制御部41を実現する制御プログラムのプログラムコードをダウンロードするための前述の各種のネットワークが利用できる。   Alternatively, the program code may be downloaded via the network if the PC 33 is configured to be able to communicate with the network. As this network, the above-described various networks for downloading the program code of the control program for realizing the control unit 41 can be used.

〔3.信号灯の動作〕
続いて、上記のように構成される信号灯1の点灯動作について説明する。
[3. (Signal lamp operation)
Next, the lighting operation of the signal lamp 1 configured as described above will be described.

〔3−1.変換テーブルの作成〕
まず、メモリカード32またはPC33から読み込まれた設定ファイルFLが、制御回路11のフラッシュROM14に書き込まれる。この状態で、変換テーブル作成部411により、フラッシュROM14に記憶された設定ファイルFLに設定されている各情報を参照して、図7(b)に示すような変換テーブルTBLが作成される。この変換テーブルTBLは、変換テーブル作成部411によりメモリ13に書き込まれる。
[3-1. (Create conversion table)
First, the setting file FL read from the memory card 32 or the PC 33 is written to the flash ROM 14 of the control circuit 11. In this state, the conversion table creation unit 411 creates a conversion table TBL as shown in FIG. 7B with reference to each piece of information set in the setting file FL stored in the flash ROM 14. The conversion table TBL is written into the memory 13 by the conversion table creation unit 411.

例えば、セルCL1〜CL4と、セルCL5〜CL8と、セルCL9〜CL12について、それぞれ、0番,1番,2番の制御信号と、「赤」,「黄」,「緑」の発光色との対応付けが設定ファイルFLで規定されているとする。この場合、図7(b)に示す変換テーブルTBLには、その対応付けに基づいて、制御信号に対する各セルCLにおけるLED7の点灯状態が規定される。   For example, for the cells CL1 to CL4, the cells CL5 to CL8, and the cells CL9 to CL12, the control signals of No. 0, No. 1, and No. 2, and the emission colors of “red”, “yellow”, and “green”, respectively. Is defined in the setting file FL. In this case, in the conversion table TBL shown in FIG. 7B, the lighting state of the LED 7 in each cell CL with respect to the control signal is defined based on the association.

〔3−2.外部I/Oの制御〕
PLC31から外部I/O18を介して制御回路11に制御信号が入力されると、I/O制御部412により、0番,1番,2番の制御信号の値がCPU12のレジスタに取り込まれる。この状態で、I/O制御部412により、メモリ13における変換テーブルTBLに“1”となる制御信号が入力されると、当該制御信号に対応するセルCLの点灯状態が変換テーブルTBLから出力される。すると、I/O制御部412により、点灯状態の出力対象となるセルCLにおいて、その点灯状態に応じたLED7が点灯するように、ON/OFF制御信号が内部I/O15に出力される。内部I/O15では、ON/OFF制御信号を受けて、点灯させるLED7に対応するトランジスタがONする。これにより、変換テーブルTBLにより制御信号と対応付けられたLED7が点灯する。
[3-2. External I / O control]
When a control signal is input from the PLC 31 to the control circuit 11 via the external I / O 18, the values of the 0th, 1st and 2nd control signals are taken into the register of the CPU 12 by the I / O control unit 412. In this state, when a control signal that is “1” is input to the conversion table TBL in the memory 13 by the I / O control unit 412, the lighting state of the cell CL corresponding to the control signal is output from the conversion table TBL. The Then, the I / O control unit 412 outputs an ON / OFF control signal to the internal I / O 15 so that the LED 7 corresponding to the lighting state is turned on in the cell CL that is the output target of the lighting state. In the internal I / O 15, the transistor corresponding to the LED 7 to be lit is turned on in response to the ON / OFF control signal. Thereby, LED7 matched with the control signal by the conversion table TBL lights.

〔3−3.セルの発光例〕
上記のように構成されて動作する信号灯1の発光例についていくつか説明する。
[3-3. Example of cell emission)
Several examples of light emission of the signal lamp 1 configured and operating as described above will be described.

〈発光例1〉
発光例1では、図7(a)に示す設定ファイルFLが用いられる。この設定ファイルFLでは、0番の制御信号にセルCL1〜CL4および発光色「赤」を対応付け、1番の制御信号にセルCL5〜CL8および発光色「黄」を対応付け、2番の制御信号にセルCL9〜CL12および発光色「緑」とを対応付けている。
<Light emission example 1>
In the light emission example 1, the setting file FL shown in FIG. 7A is used. In this setting file FL, the cells CL1 to CL4 and the emission color “red” are associated with the 0th control signal, and the cells CL5 to CL8 and the emission color “yellow” are associated with the 1st control signal. The cells are associated with the cells CL9 to CL12 and the emission color “green”.

図7(b)に示す変換テーブルTBLは、上記の設定ファイルFLに基づいて作成されている。この変換テーブルTBLや後述する他の変換テーブルTBLでは、制御信号と点灯させるLED7の組み合わせとがセルCL毎に対応付けられている。したがって、このような変換テーブルTBLを用いることにより、図17(a)に示すように、セルCL1〜CL12を点灯させることができる。具体的には、0番の制御信号が“1”となるときにセルCL1〜CL4が「赤」で発光し、1番の制御信号が“1”となるときにセルCL5〜CL8が「黄」で発光し、2番の制御信号が“1”となるときにセルCL9〜CL12が「緑」で発光する。   The conversion table TBL shown in FIG. 7B is created based on the setting file FL. In this conversion table TBL and other conversion tables TBL described later, a combination of the control signal and the LED 7 to be lit is associated with each cell CL. Therefore, by using such a conversion table TBL, the cells CL1 to CL12 can be turned on as shown in FIG. Specifically, when the control signal No. 0 is “1”, the cells CL1 to CL4 emit light in “red”, and when the control signal No. 1 is “1”, the cells CL5 to CL8 are “yellow”. ", And when the second control signal is" 1 ", the cells CL9 to CL12 emit" green ".

この発光例では、隣り合う複数のセルCLが4つずつまとまって同色で発光する。これにより、信号灯1を3層(3色)の信号灯として利用することができる。
〈発光例2〉
発光例2では、図11(a)に示す設定ファイルFLが用いられる。この設定ファイルFLでは、0番の制御信号にセルCL9〜CL12および発光色「赤」を対応付け、1番の制御信号にセルCL5〜CL8および発光色「黄」を対応付け、2番の制御信号にセルCL1〜CL4および発光色「緑」を対応付けている。
In this light emission example, four adjacent cells CL emit light of the same color. Thereby, the signal lamp 1 can be used as a signal lamp of three layers (three colors).
<Light emission example 2>
In the light emission example 2, the setting file FL shown in FIG. 11A is used. In this setting file FL, the cells CL9 to CL12 and the emission color “red” are associated with the control signal No. 0, and the cells CL5 to CL8 and the emission color “yellow” are associated with the No. 1 control signal. The cells are associated with the cells CL1 to CL4 and the emission color “green”.

図11(b)に示す変換テーブルTBLは、上記の設定ファイルFLに基づいて作成されている。このような変換テーブルTBLを用いることにより、図17(b)に示すように、セルCL1〜CL12を点灯させることができる。具体的には、0番の制御信号が“1”となるときにセルCL9〜CL12が「赤」で発光し、1番の制御信号が“1”となるときにセルCL5〜CL8が「黄」で発光し、2番の制御信号が“1”となるときにセルCL1〜CL4が「緑」で発光する。   The conversion table TBL shown in FIG. 11B is created based on the setting file FL. By using such a conversion table TBL, the cells CL1 to CL12 can be turned on as shown in FIG. Specifically, when the control signal No. 0 is “1”, the cells CL9 to CL12 emit light in “red”, and when the control signal No. 1 is “1”, the cells CL5 to CL8 are “yellow”. , And when the second control signal is “1”, the cells CL1 to CL4 emit “green”.

この発光例では、発光例1と同様に、信号灯1を3層(3色)の信号灯として利用することができる。ただし、この発光例では、同じ発光色を用いていても、セルCL1〜CL4およびセルCL9〜CL12の間で制御信号との対応付けが異なるため、発光色(色の位置)が発光例1と異なる。
〈発光例3〉
発光例3では、図12(a)に示す設定ファイルFLが用いられる。この設定ファイルFLでは、0番の制御信号にセルCL1〜CL4および発光色「緑」を対応付け、1番の制御信号にセルCL5〜CL8および発光色「黄」を対応付け、2番の制御信号にセルCL9〜CL12および発光色「赤」を対応付けている。
In this light emission example, as in the light emission example 1, the signal lamp 1 can be used as a signal lamp having three layers (three colors). However, in this light emission example, even though the same light emission color is used, the correspondence between the cells CL1 to CL4 and the cells CL9 to CL12 is different from that of the control signal, so the light emission color (color position) is the same as that of the light emission example 1. Different.
<Light emission example 3>
In the light emission example 3, the setting file FL shown in FIG. In this setting file FL, the cells CL1 to CL4 and the emission color “green” are associated with the 0th control signal, and the cells CL5 to CL8 and the emission color “yellow” are associated with the 1st control signal. The cells are associated with the cells CL9 to CL12 and the emission color “red”.

図12(b)に示す変換テーブルTBLは、上記の設定ファイルFLに基づいて作成されている。このような変換テーブルTBLを用いることにより、図17(c)に示すように、セルCL1〜CL12を点灯させることができる。具体的には、0番の制御信号が“1”となるときにセルCL1〜CL4が「緑」で発光し、1番の制御信号が“1”となるときにセルCL5〜CL8が「黄」で発光し、2番の制御信号が“1”となるときにセルCL9〜CL12が「赤」で発光する。   The conversion table TBL shown in FIG. 12B is created based on the setting file FL. By using such a conversion table TBL, the cells CL1 to CL12 can be turned on as shown in FIG. Specifically, when the control signal No. 0 becomes “1”, the cells CL1 to CL4 emit “green”, and when the control signal No. 1 becomes “1”, the cells CL5 to CL8 become “yellow”. , And when the second control signal becomes “1”, the cells CL9 to CL12 emit “red”.

この発光例では、発光例2と同様の発光パターンでセルCL1〜C12が発光するが、セルCL1〜CL4およびセルCL9〜CL12の間で制御信号との対応付けが発光例2と異なる。また、この発光例では、セルCL1〜CL4およびセルCL9〜CL12の間で制御信号との対応付けが発光例1と同じであるが、制御信号と対応付けられた発光色が発光例1と異なる。
〈発光例4〉
発光例4では、図13(a)に示す設定ファイルFLが用いられる。この設定ファイルFLでは、0番の制御信号にセルCL1〜CL4および発光色「青」を対応付け、1番の制御信号にセルCL5〜CL8および発光色「白」を対応付け、2番の制御信号にセルCL9〜CL12および発光色「紫」を対応付けている。
In this light emission example, the cells CL1 to C12 emit light in the same light emission pattern as in the light emission example 2, but the correspondence between the cells CL1 to CL4 and the cells CL9 to CL12 is different from that in the light emission example 2. In this light emission example, the correspondence between the cells CL1 to CL4 and the cells CL9 to CL12 is the same as that of the light emission example 1, but the light emission color associated with the control signal is different from that of the light emission example 1. .
<Light emission example 4>
In the light emission example 4, the setting file FL shown in FIG. 13A is used. In this setting file FL, the cells CL1 to CL4 and the emission color “blue” are associated with the control signal No. 0, and the cells CL5 to CL8 and the emission color “white” are associated with the control signal No. 1, and the control No. 2 is performed. The cells are associated with the cells CL9 to CL12 and the emission color “purple”.

図13(b)に示す変換テーブルTBLは、上記の設定ファイルFLに基づいて作成されている。このような変換テーブルTBLを用いることにより、図17(d)に示すように、セルCL1〜CL12を点灯させることができる。具体的には、0番の制御信号が“1”となるときにセルCL1〜CL4が「青」で発光し、1番の制御信号が“1”となるときにセルCL5〜CL8が「白」で発光し、2番の制御信号が“1”となるときにセルCL9〜CL12が「紫」で発光する。   The conversion table TBL shown in FIG. 13B is created based on the setting file FL. By using such a conversion table TBL, the cells CL1 to CL12 can be turned on as shown in FIG. Specifically, when the control signal No. 0 is “1”, the cells CL1 to CL4 emit light “blue”, and when the control signal No. 1 is “1”, the cells CL5 to CL8 are “white”. ", And when the second control signal is" 1 ", the cells CL9 to CL12 emit light in" purple ".

この発光例では、発光例1と同様に、信号灯1を3層(3色)の信号灯として利用することができる。ただし、この発光例では、各層を構成するセルCLに同じ制御信号が対応付けられていても、使用する発光色が発光例1と異なる。
〈発光例5〉
発光例5では、図14(a)に示す設定ファイルFLが用いられる。この設定ファイルFLでは、0番の制御信号にセルCL1,CL4,CL7,CL10および発光色「赤」を対応付け、1番の制御信号にセルCL2,CL5,CL8,CL11および発光色「黄」を対応付け、2番の制御信号にセルCL3,CL6,CL9,CL12および発光色「緑」を対応付けている。
In this light emission example, as in the light emission example 1, the signal lamp 1 can be used as a signal lamp having three layers (three colors). However, in this light emission example, even if the same control signal is associated with the cell CL constituting each layer, the light emission color to be used is different from that of the light emission example 1.
<Light emission example 5>
In the light emission example 5, the setting file FL shown in FIG. 14A is used. In this setting file FL, the cells CL1, CL4, CL7, CL10 and the emission color “red” are associated with the control signal No. 0, and the cells CL2, CL5, CL8, CL11 and the emission color “yellow” are associated with the control signal No. 1. The second control signal is associated with the cells CL3, CL6, CL9, CL12 and the emission color “green”.

図14(b)に示す変換テーブルTBLは、上記の設定ファイルFLに基づいて作成されている。このような変換テーブルTBLを用いることにより、図17(e)に示すように、セルCL1〜CL12を点灯させることができる。具体的には、0番の制御信号が“1”となるときにセルCL1,CL4,CL7,CL10が「赤」で発光し、1番の制御信号が“1”となるときにセルCL2,CL5,CL8,CL11が「黄」で発光し、2番の制御信号が“1”となるときにセルCL3,CL6,CL9,CL12が「緑」で発光する。   The conversion table TBL shown in FIG. 14B is created based on the setting file FL. By using such a conversion table TBL, the cells CL1 to CL12 can be turned on as shown in FIG. Specifically, the cells CL1, CL4, CL7, and CL10 emit “red” when the control signal 0 is “1”, and the cells CL2 and CL2 when the control signal 1 is “1”. CL5, CL8, and CL11 emit light at “yellow”, and when the second control signal becomes “1”, the cells CL3, CL6, CL9, and CL12 emit light at “green”.

この発光例では、発光例1〜4と異なり、隣り合うセルCLが互いに異なる色で発光する。
〈発光例6〉
発光例6では、図15(a)に示す設定ファイルFLが用いられる。この設定ファイルFLでは、0番の制御信号にセルCL1〜CL3および発光色「赤」を対応付け、1番の制御信号にセルCL4〜CL6および発光色「黄」を対応付け、2番の制御信号にセルCL7〜CL9および発光色「緑」を対応付け、3番の制御信号にセルCL10〜CL12および発光色「青」を対応付けている。
In this light emission example, unlike the light emission examples 1 to 4, adjacent cells CL emit light in different colors.
<Light emission example 6>
In the light emission example 6, the setting file FL shown in FIG. 15A is used. In this setting file FL, the cells CL1 to CL3 and the emission color “red” are associated with the 0th control signal, and the cells CL4 to CL6 and the emission color “yellow” are associated with the 1st control signal. The cells CL7 to CL9 and the emission color “green” are associated with the signal, and the cells CL10 to CL12 and the emission color “blue” are associated with the third control signal.

図15(b)に示す変換テーブルTBLは、上記の設定ファイルFLに基づいて作成されている。このような変換テーブルTBLを用いることにより、図17(f)に示すように、セルCL1〜CL12を点灯させることができる。具体的には、0番〜3番の制御信号が“1”となるときに、それぞれ、セルCL1〜CL3が「赤」で発光し、セルCL4〜CL6が「黄」で発光し、セルCL7〜CL9が「緑」で発光し、セルCL10〜CL12が「青」で発光する。   The conversion table TBL shown in FIG. 15B is created based on the setting file FL. By using such a conversion table TBL, the cells CL1 to CL12 can be turned on as shown in FIG. Specifically, when the control signals of No. 0 to No. 3 are “1”, the cells CL1 to CL3 emit light “red”, the cells CL4 to CL6 emit light “yellow”, and the cell CL7. ˜CL9 emits light with “green”, and the cells CL10 to CL12 emit with “blue”.

この発光例では、発光例1〜5と異なり、4つの制御信号を用いることにより、4色で発光させている。
〈発光例7〉
発光例7では、図16(a)に示す設定ファイルFLが用いられる。この設定ファイルFLでは、0番の制御信号にセルCL1,CL2および発光色「赤」を対応付け、1番の制御信号にセルCL3,CL4および発光色「黄」を対応付け、2番の制御信号にセルCL5,CL6および発光色「緑」を対応付けている。また、この設定ファイルFLでは、3番の制御信号にセルCL7,CL8および発光色「青」を対応付け、4番の制御信号にセルCL9,CL10および発光色「白」を対応付け、5番の制御信号にセルCL11,CL12および発光色「紫」を対応付けている。
In this light emission example, unlike the light emission examples 1 to 5, light is emitted in four colors by using four control signals.
<Light emission example 7>
In the light emission example 7, the setting file FL shown in FIG. In the setting file FL, the cells CL1 and CL2 and the emission color “red” are associated with the control signal No. 0, and the cells CL3 and CL4 and the emission color “yellow” are associated with the control signal No. 1 and the control No. 2 is performed. The cells are associated with the cells CL5 and CL6 and the emission color “green”. Also, in this setting file FL, the cells CL7 and CL8 and the emission color “blue” are associated with the third control signal, and the cells CL9 and CL10 and the emission color “white” are associated with the fourth control signal. Are associated with the cells CL11 and CL12 and the emission color “purple”.

図16(b)に示す変換テーブルTBLは、上記の設定ファイルFLに基づいて作成されている。このような変換テーブルTBLを用いることにより、図17(g)に示すように、セルCL1〜CL12を点灯させることができる。具体的には、0番〜2番の制御信号が“1”となるときに、それぞれ、セルCL1,CL2が「赤」で発光し、セルCL3,CL4が「黄」で発光し、セルCL5,CL6が「緑」で発光する。また、3番〜5番の制御信号が“1”となるときに、それぞれ、セルCL7,CL8が「青」で発光し、セルCL9,CL10が「白」で発光し、セルCL11,CL12が「紫」で発光する。   The conversion table TBL shown in FIG. 16B is created based on the setting file FL. By using such a conversion table TBL, the cells CL1 to CL12 can be turned on as shown in FIG. Specifically, when the control signals of Nos. 0 to 2 are “1”, the cells CL1 and CL2 emit “red”, the cells CL3 and CL4 emit “yellow”, and the cell CL5 , CL6 emits light with “green”. When the control signals of No. 3 to No. 5 are “1”, the cells CL7 and CL8 emit “blue”, the cells CL9 and CL10 emit “white”, and the cells CL11 and CL12 Flashes in “purple”.

この発光例では、発光例1〜6と異なり、6つの制御信号を用いることにより、6色で発光させている。   In this light emission example, unlike the light emission examples 1 to 6, light is emitted in six colors by using six control signals.

〔4.実施形態の総括〕
本実施形態に係る信号灯1は、上記のように構成されて動作することにより、下記のように特筆すべき効果を奏する。
[4. Summary of Embodiments]
The signal lamp 1 according to the present embodiment has the following remarkable effects by being configured and operating as described above.

〔4−1.信号灯の制御〕
信号灯1は、制御部41により、設定ファイルFLに規定された情報に基づいて作成した変換テーブルTBLの対応付けにしたがって、各セルCLにおいて点灯させるLED7を入力される制御信号に応じて特定し、特定したLED7を点灯させる。これにより、設定ファイルFLを用いて、制御信号にセルCLおよび発光色を任意に対応付けて、信号灯1の発光パターンを所望に設定することができる。
[4-1. (Signal light control)
The signal lamp 1 is identified by the control unit 41 in accordance with the control signal inputted to the LED 7 to be lit in each cell CL according to the correspondence of the conversion table TBL created based on the information defined in the setting file FL, The identified LED 7 is turned on. Thereby, using the setting file FL, the cell CL and the emission color can be arbitrarily associated with the control signal, and the emission pattern of the signal lamp 1 can be set as desired.

それゆえ、1つの信号灯1において図17(a)〜(g)に示すように様々な発光パターンで各セルCLを発光させることができる。   Therefore, each cell CL can emit light with various light emission patterns as shown in FIGS. 17A to 17G in one signal lamp 1.

〈発光色の位置の変更〉
これにより、同じ制御信号を用いていても、同じ発光色で発光するセルCL(発光色の位置)を異ならせることができる。これは、制御信号に対応付けるセルCLと発光色とを任意に選択することにより各種の発光パターンが得られることによる。例えば、図17(a),(c)に示す発光パターンは、ともに制御信号が同じであるが、この制御信号に対応付けられるセルCLが同じである一方、この制御信号に対応付けられる発光色が一部で異なる。このため、図17(a),(c)に示す発光パターンセルにおけるセルCL1〜CL4およびセルCL9〜CL12のように、同じ0番,2番の制御信号に対して、「赤」と「緑」とが入れ替わっており、それぞれ発光色の位置が異なる。
<Changing the emission color position>
Accordingly, even when the same control signal is used, the cells CL (light emission color positions) that emit light with the same light emission color can be made different. This is because various light emission patterns can be obtained by arbitrarily selecting the cell CL and the light emission color associated with the control signal. For example, the light emission patterns shown in FIGS. 17A and 17C have the same control signal, but the cell CL associated with this control signal is the same, while the light emission color associated with this control signal. There are some differences. For this reason, as in the cells CL1 to CL4 and the cells CL9 to CL12 in the light emission pattern cells shown in FIGS. ”, And the positions of the emission colors are different.

〈発光色の変更〉
同じ制御信号に対して発光色を異ならせる場合も、同様のことがいえる。例えば、図17(a),(d)に示す発光パターンは、ともに制御信号が同じであるが、この制御信号に対応付けられるセルCLが同じである一方、この制御信号に対応付けられる発光色が全て異なる。このため、図17(a),(d)に示す発光パターンのように、同じ0番〜2番の制御信号に対して、各セルCL1〜CL12の発光色が全く異なる。
<Changing the emission color>
The same can be said for different emission colors for the same control signal. For example, the light emission patterns shown in FIGS. 17A and 17D have the same control signal, but have the same cell CL associated with this control signal, while the light emission color associated with this control signal. Are all different. For this reason, as in the light emission patterns shown in FIGS. 17A and 17D, the light emission colors of the cells CL1 to CL12 are completely different with respect to the same control signal of Nos. 0 to 2.

〈制御信号の対応付けの変更〉
同じ制御信号を用いていても、同じ発光色で発光するセルCL(発光色の位置)を変えずに、制御信号に対するセルCLの対応付けを異ならせることもできる。例えば、図17(b),(c)に示す発光パターンは同じであるが、この制御信号に対応付けられるセルCLおよび発光色が一部で異なる。このため、例えば、0番の制御信号により、図17(b)に示す発光パターンではセルCL9〜CL12が「赤」で発光する一方、図17(c)に示す発光パターンではセルCL1〜CL4が「緑」で発光する。したがって、異なる制御信号を用いても、同じセルCLを同じ発光色で発光させることができる。
<Changing control signal mapping>
Even if the same control signal is used, the correspondence of the cell CL to the control signal can be made different without changing the cell CL (light emission color position) that emits light with the same emission color. For example, although the light emission patterns shown in FIGS. 17B and 17C are the same, the cells CL and the light emission colors associated with this control signal are partially different. Therefore, for example, according to the control signal No. 0, the cells CL9 to CL12 emit “red” in the light emission pattern shown in FIG. 17B, while the cells CL1 to CL4 in the light emission pattern shown in FIG. Emits “green” light. Therefore, even if different control signals are used, the same cell CL can be made to emit light with the same emission color.

〈制御信号の変更〉
制御信号を異ならせても、その制御信号に応じた発光パターンを得ることができる。例えば、図17(a),(f)に示す発光パターンは、制御信号の数が異なっている。図17(a)に示す発光パターンでは、3つの制御信号を用いて「赤」,「黄」,「緑」を発光させている。これに対し、図17(f)に示す発光パターンでは、さらに3番の制御信号に基づいてセルCL10〜CL12に「青」を発光させることにより、4色で発光させることができる。また、図17(g)に示す発光パターンでは、6つの制御信号を用いることにより、さらに「白」,「紫」を発光させて、6色の発光を可能としている。
<Change control signal>
Even if the control signal is varied, a light emission pattern corresponding to the control signal can be obtained. For example, the light emission patterns shown in FIGS. 17A and 17F have different numbers of control signals. In the light emission pattern shown in FIG. 17A, “red”, “yellow”, and “green” are emitted using three control signals. On the other hand, in the light emission pattern shown in FIG. 17F, the cells CL10 to CL12 can be caused to emit light in four colors based on the third control signal. Further, in the light emission pattern shown in FIG. 17G, by using six control signals, “white” and “purple” are further emitted, so that six colors can be emitted.

これにより、装置34によって製造される製品に応じて信号灯1の発光色の数を変更する必要が生じた場合、制御信号を変更し、それに合わせて設定ファイルFLを変更することにより、利用可能な制御信号の数の範囲で所望の発光数に変更することができる。例えば、図17(a)に示すように3つの発光色を発光させていた状態から、制御信号を変更することにより、図17(f)に示すように発光色を4色に増加させたり、図17(g)に示すように発光色を6色に増加させたりすることができる。   Thereby, when it becomes necessary to change the number of emission colors of the signal lamp 1 according to the product manufactured by the device 34, it can be used by changing the control signal and changing the setting file FL accordingly. The number of light emission can be changed to a desired number within the range of the number of control signals. For example, by changing the control signal from the state where the three emission colors are emitted as shown in FIG. 17A, the emission color is increased to four colors as shown in FIG. As shown in FIG. 17G, the emission color can be increased to six colors.

〔4−2.信号灯の構造〕
特許文献1に記載された複数のユニットを組み合わせて信号灯を構成する場合、各ユニットを機構的および電気的に接続する構造が必要となる。このような接続構造は、機構的な精度が要求されるだけでなく、装置の振動などの環境による影響や経年変化により、接続機構の緩みだけでなく、電気接点の接続不良や融着も生じやすいという不都合がある。
[4-2. (Signal light structure)
When a signal lamp is configured by combining a plurality of units described in Patent Document 1, a structure for mechanically and electrically connecting each unit is required. Such a connection structure not only requires mechanical accuracy, but also due to environmental influences such as vibration of the device and aging, not only the connection mechanism is loosened, but also poor connection and fusion of electrical contacts occur. There is an inconvenience that it is easy.

これに対し、信号灯1は、グローブ2が遮光板23により所定の間隔で区画されることでセルCLが形成され、各セルCLには同一構成のLED7が配置されている。また、グローブ2が一体に形成され、LED7が各セルCL内に位置するように単一のLED基板4に実装されている。このような構造により、上記の複数のユニットを接続する信号灯のように、ユニット間の構造的および電気的な接続構造を必要とすることがない。したがって、信号灯1を容易に製造することができる。   On the other hand, in the signal lamp 1, a cell CL is formed by dividing the globe 2 by a light shielding plate 23 at a predetermined interval, and an LED 7 having the same configuration is disposed in each cell CL. Further, the globe 2 is integrally formed, and the LED 7 is mounted on the single LED substrate 4 so as to be positioned in each cell CL. With such a structure, there is no need for a structural and electrical connection structure between the units as in the signal lamp connecting the plurality of units. Therefore, the signal lamp 1 can be easily manufactured.

しかも、上記のようにセルCLの発光パターンを任意に変更することができる。これにより、単一構成の信号灯1により、多数の発光パターンで発光することが可能となる。したがって、固定的な発光パターンを有する構成の信号灯を製作して在庫として保持しておく必要がない。   Moreover, the light emission pattern of the cell CL can be arbitrarily changed as described above. Thereby, it becomes possible to emit light with a large number of light emission patterns by the signal lamp 1 having a single configuration. Therefore, it is not necessary to manufacture and hold a signal lamp having a fixed light emission pattern as an inventory.

また、各セルCLを比較的薄く形成することにより、信号灯1の全長を抑えることができるだけでなく、複数のセルCLでグループを形成した場合でも、グループの長さを抑えることができる。   Further, by forming each cell CL relatively thin, not only the total length of the signal lamp 1 can be suppressed, but also the length of the group can be suppressed even when a group is formed by a plurality of cells CL.

〔4−3.設定ファイル作成〕
PC33は、設定ファイル作成部331を備えることにより、所望の設定ファイルをユーザにより作成することができる。これにより、PC33からUSBケーブルを介して直接設定ファイルを信号灯1に転送したり、メモリカード32を介して信号灯1に読み込んだりすることができる。
[4-3. Setting file creation)
The PC 33 includes the setting file creation unit 331, so that a user can create a desired setting file. Thereby, the setting file can be directly transferred from the PC 33 to the signal lamp 1 via the USB cable, or can be read into the signal lamp 1 via the memory card 32.

〔5.付記事項〕
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。
[5. (Additional notes)
The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

本発明の信号灯制御装置は、異なる点灯色のLEDを各層で有する積層型の信号灯に対して、設定された各層の分割数および発光パターンで発光するように各層のLEDの点灯を制御する。これにより、本発明の信号灯制御装置は、単一のハードウェア構成を有する信号灯に、発光形態を自由に変更できる機能を追加することに好適に利用できる。   The signal lamp control device of the present invention controls the lighting of the LEDs in each layer so as to emit light with the set number of divisions and the light emission pattern for a stacked signal lamp having LEDs of different lighting colors in each layer. Thereby, the signal lamp control apparatus of this invention can be utilized suitably for adding the function which can change a light emission form freely to the signal lamp which has a single hardware structure.

1 信号灯
2 グローブ
4 LED基板
6 プリント配線基板
7 LED
8 LED
11 制御回路(信号灯制御装置)
12 CPU
13 メモリ
14 フラッシュROM(記憶手段)
15 内部I/O(通電手段)
16 メモリカードインターフェース
17 USB−UARTコンバータ
18 外部I/O
31 PLC
32 メモリカード
33 PC
41 制御部
101 設定ファイル作成ウインドウ(ユーザインターフェース)
103 設定マトリクス
331 設定ファイル作成部(ユーザインターフェース提供手段)
334 USBインターフェース
335 メモリカードインターフェース
411 変換テーブル作成部(点灯情報作成手段)
412 I/O制御部(通電制御手段)
CL セル(発光層)
FL 設定ファイル(設定情報)
TBL 変換テーブル(点灯情報)
1 Signal Light 2 Globe 4 LED Board 6 Printed Wiring Board 7 LED
8 LED
11 Control circuit (signal lamp control device)
12 CPU
13 Memory 14 Flash ROM (storage means)
15 Internal I / O (energization means)
16 Memory card interface 17 USB-UART converter 18 External I / O
31 PLC
32 Memory card 33 PC
41 Control Unit 101 Setting File Creation Window (User Interface)
103 Setting matrix 331 Setting file creation unit (user interface providing means)
334 USB interface 335 Memory card interface 411 Conversion table creation unit (lighting information creation means)
412 I / O control unit (energization control means)
CL cell (light emitting layer)
FL setting file (setting information)
TBL conversion table (lighting information)

Claims (4)

異なる点灯色のLEDを複数有し、点灯する前記LEDの組み合わせによって定まる発光色で発光する発光層が複数積層されてなる信号灯における前記LEDの点灯を制御する信号灯制御装置であって、
前記LEDを通電する通電手段と、
前記発光層を発光させるために外部から与えられる複数の制御信号のそれぞれに前記発光層および前記発光色を個々に対応付けた設定情報を記憶する記憶手段と、
前記設定情報における前記発光色を当該発光色に対応する前記組み合わせと置き替えることにより、前記制御信号に対応する前記発光層において点灯させる前記LEDを特定する点灯情報を作成する点灯情報作成手段と、
前記点灯情報に基づいて、入力される前記制御信号に対応する点灯すべき前記LEDを通電するように前記通電手段を制御する通電制御手段とを備えていることを特徴とする信号灯制御装置。
A signal lamp control device that controls the lighting of the LED in a signal lamp having a plurality of light emitting layers that have a plurality of light emitting layers that emit light with a light emission color determined by a combination of the LEDs to be lighted, and having a plurality of LEDs with different lighting colors,
Energization means for energizing the LED;
Storage means for storing setting information in which the light emitting layer and the emission color are individually associated with each of a plurality of control signals given from the outside in order to cause the light emitting layer to emit light;
Lighting information creating means for creating lighting information for identifying the LED to be turned on in the light emitting layer corresponding to the control signal by replacing the emission color in the setting information with the combination corresponding to the emission color;
A signal lamp control device comprising: an energization control unit that controls the energization unit to energize the LED to be lit corresponding to the input control signal based on the lighting information.
請求項1に記載の信号灯制御装置における前記点灯情報作成手段および前記通電制御手段としてコンピュータを機能させるための信号灯制御プログラム。   The signal lamp control program for functioning a computer as the said lighting information preparation means and the said electricity supply control means in the signal lamp control apparatus of Claim 1. 請求項1に記載の信号灯制御装置で用いられる前記設定情報を作成する信号灯制御用データ作成装置であって、
複数の前記制御信号のそれぞれに前記発光層および前記発光色を個々に対応付けるユーザインターフェースを提供するユーザインターフェース提供手段を備えていることを特徴とする信号灯制御用データ作成装置。
A signal light control data creation device for creating the setting information used in the signal light control device according to claim 1,
A signal light control data creation device, comprising: a user interface providing unit that provides a user interface that individually associates the light emitting layer and the light emission color with each of the plurality of control signals.
請求項3に記載の信号灯制御用データ作成装置における前記ユーザインターフェース提供手段としてコンピュータを機能させるための信号灯制御用データ作成プログラム。   A signal light control data creation program for causing a computer to function as the user interface providing means in the signal light control data creation device according to claim 3.
JP2011087334A 2011-04-11 2011-04-11 Signal lamp control device, device for creating data for signal light control, and programs therefor Pending JP2012221793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011087334A JP2012221793A (en) 2011-04-11 2011-04-11 Signal lamp control device, device for creating data for signal light control, and programs therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011087334A JP2012221793A (en) 2011-04-11 2011-04-11 Signal lamp control device, device for creating data for signal light control, and programs therefor

Publications (2)

Publication Number Publication Date
JP2012221793A true JP2012221793A (en) 2012-11-12
JP2012221793A5 JP2012221793A5 (en) 2013-09-26

Family

ID=47273068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011087334A Pending JP2012221793A (en) 2011-04-11 2011-04-11 Signal lamp control device, device for creating data for signal light control, and programs therefor

Country Status (1)

Country Link
JP (1) JP2012221793A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103343937A (en) * 2013-06-07 2013-10-09 华荣科技股份有限公司 Lamp and lamp control method
WO2014181425A1 (en) 2013-05-09 2014-11-13 株式会社パトライト Signal display lamp
CN106545896A (en) * 2016-10-20 2017-03-29 东莞市剑威电子科技有限公司 A kind of kitchen appliance knob with alarm function and its method of work

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222910A (en) * 1999-01-29 2000-08-11 Asahi Denki Kk Signal light
JP2001202803A (en) * 2000-01-20 2001-07-27 Matsushita Electric Ind Co Ltd Signal indicating lamp using light-emitting diode
JP2001242810A (en) * 1999-12-29 2001-09-07 Spx Corp Multicolored industrial signal device
JP2005134998A (en) * 2003-10-28 2005-05-26 Nec Saitama Ltd Control system, control method and control program for key backlight

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222910A (en) * 1999-01-29 2000-08-11 Asahi Denki Kk Signal light
JP2001242810A (en) * 1999-12-29 2001-09-07 Spx Corp Multicolored industrial signal device
JP2001202803A (en) * 2000-01-20 2001-07-27 Matsushita Electric Ind Co Ltd Signal indicating lamp using light-emitting diode
JP2005134998A (en) * 2003-10-28 2005-05-26 Nec Saitama Ltd Control system, control method and control program for key backlight

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014181425A1 (en) 2013-05-09 2014-11-13 株式会社パトライト Signal display lamp
JP5967457B2 (en) * 2013-05-09 2016-08-10 株式会社パトライト Signal indicator
CN103343937A (en) * 2013-06-07 2013-10-09 华荣科技股份有限公司 Lamp and lamp control method
CN106545896A (en) * 2016-10-20 2017-03-29 东莞市剑威电子科技有限公司 A kind of kitchen appliance knob with alarm function and its method of work
CN106545896B (en) * 2016-10-20 2019-04-02 东莞市剑威电子科技有限公司 A kind of kitchen appliance knob and its working method with alarm function

Similar Documents

Publication Publication Date Title
CN101802490B (en) Assembled block and display system
US8525421B2 (en) Lighting apparatus and method
KR102061437B1 (en) Light emitting diode switch device and array
JP4673404B2 (en) Electronic device having light bus for light emission control
US10387700B2 (en) Emission control system using barcode information
US8564223B2 (en) Light programmable apparatus with light programmable lamp, setting device, and main structure
CN101551694A (en) Active enclosure for computing device
JP2012221793A (en) Signal lamp control device, device for creating data for signal light control, and programs therefor
US4776120A (en) Display device for telephone or a similar electric appliance
KR101045891B1 (en) Reusable and energy saving led sign board
JP5583759B2 (en) Data path generation method in modular lighting system
EP2830035A1 (en) Led block display apparatus for providing educational function and control method thereof
JP2013104752A (en) Lighting system, control method, program, and recording medium
US9869970B2 (en) Hologram module, display device having the same and wearing device having the same
WO2010010975A1 (en) Image lighting system with an art sense
US20170245648A1 (en) Multifunctional electrically-connected furniture
US10119690B2 (en) Kind of LED light
JP2007317438A (en) Face light-emitting lighting system
JP2008258584A (en) Led unit
US20090261741A1 (en) Cover figure-displaying device for an electronic device
JP2021501443A (en) Light source sensitive optics with reconfigurable chip-on-board light emitting diode array
CN210575065U (en) Music box
KR20100094406A (en) Control method for generating varying colored lights in keyboard and self-luminous keyboard for realizing the same method
JP4621473B2 (en) Luminescent display system
CN210606579U (en) Color-changing advertisement screen

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130805

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140507

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140916