JP3383763B2 - Electrical control device for multiple controlled devices of different models - Google Patents

Electrical control device for multiple controlled devices of different models

Info

Publication number
JP3383763B2
JP3383763B2 JP36052897A JP36052897A JP3383763B2 JP 3383763 B2 JP3383763 B2 JP 3383763B2 JP 36052897 A JP36052897 A JP 36052897A JP 36052897 A JP36052897 A JP 36052897A JP 3383763 B2 JP3383763 B2 JP 3383763B2
Authority
JP
Japan
Prior art keywords
connector
program
control
controlled
control device
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.)
Expired - Fee Related
Application number
JP36052897A
Other languages
Japanese (ja)
Other versions
JPH11194805A (en
Inventor
浩司 土川
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.)
Hoshizaki Electric Co Ltd
Original Assignee
Hoshizaki Electric Co Ltd
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 Hoshizaki Electric Co Ltd filed Critical Hoshizaki Electric Co Ltd
Priority to JP36052897A priority Critical patent/JP3383763B2/en
Publication of JPH11194805A publication Critical patent/JPH11194805A/en
Application granted granted Critical
Publication of JP3383763B2 publication Critical patent/JP3383763B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Water Treatment By Electricity Or Magnetism (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、機種の異なる複数
の被制御機器を単一のマイクロコンピュータによって制
御する電気制御装置に関するものである
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of models of different types.
Controllable devices by a single microcomputer
It relates an electrical control device for control.

【0002】[0002]

【従来の技術】従来、この種の電気制御装置は、内蔵
したマイクロコンピュータのプログラム実行結果に応じ
被制御機器である電磁バルブやモータなどを制御して
いて、例えば、電解水生成装置にも用いられている。と
ころが、電解水生成装置には、原水のみを電気分解する
タイプ、食塩水を原水に混入して電気分解するタイプ、
大容量タイプ、小容量タイプ等、電解水を生成するとい
う同じ機能を達成するが仕様が異なるものが多数存在す
る。従ってこのような場合には、それぞれの仕様に応じ
た電気制御装置を多種類にわたり生産する必要が生ず
る。そこで、マイクロコンピュータに複数のプログラム
を予め記憶させておき、仕様に応じたプログラムを選択
して実行させるよう構成することにより、電気制御装
置の種類の削減が図られている。
Conventionally, electrical control device of this kind is not controlling the solenoid valves and the motor as the controlled device in accordance with a program execution result of built-in microcomputer, for example, electrolytic water generation apparatus It is also used in. However, in the electrolyzed water generator, a type that electrolyzes only raw water, a type that electrolyzes salt water by mixing it with raw water,
There are many types such as large capacity type and small capacity type that achieve the same function of generating electrolyzed water but have different specifications. Therefore, in such a case, it becomes necessary to produce a large number of electric control devices according to the respective specifications. Therefore, it allowed to advance stores a plurality of programs in a microcomputer, by configuring so as to select and execute the program in accordance with the specifications, reduce types of electrical control device is achieved.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の電気制御装置においては、回路基板上に設けられ
た「DIPスイッチ」の切換えよってマイクロコンピュ
ータに対するプログラム選択の指示(仕様設定)を行う
ようになっているため、作業者は精密ドライバーや爪の
先などを用いる必要があり、効率的に指示を与えること
ができないという問題がある。又、電解水生成装置等が
設置された後に、設置場所(現地)にて仕様を変更する
場合にあっては、装置の設置環境等に起因して作業効率
が一層悪くなり、又、補修のためにマイクロコンピュー
タを含む回路基板を交換する場合等においては、サービ
スマンが「DIPスイッチ」の切換え設定を誤ってしま
う可能性もある。
However [0005] In the conventional electric control device, to perform the instructions of the program selected for the microcomputer I by switching the provided on the circuit board "DIP switch" (SETTINGS) Therefore, it is necessary for an operator to use a precision screwdriver or a tip of a nail, and there is a problem that an instruction cannot be given efficiently. Also, if the specifications are changed at the installation site (onsite) after the electrolyzed water generator is installed, the work efficiency will be further deteriorated due to the installation environment of the device, and repair Therefore, when the circuit board including the microcomputer is replaced, the service person may erroneously set the "DIP switch".

【0004】[0004]

【発明の概要】本発明は上記問題点に対処するためにな
されたものであり、その目的は、プログラム選択のため
の指示等の電気制御装置の仕様設定を作業性よく行う
ことができ、しかも、仕様設定を誤る可能性を低減する
ことにある。
SUMMARY OF THE INVENTION The present invention has been accomplished to solve the above-described problems, and an object, a specification setting for the electrical control of the instruction or the like for the program selection can be performed with good workability, Moreover, there is a need to reduce the possibility of incorrect specification settings.

【0005】上記の目的達成するため、本発明は、機種
の異なる複数の被制御機器の作動をそれぞれ制御するた
めの複数の異なる制御プログラムを予め記憶した記憶部
を有するマイクロコンピュータと、該コンピュータに前
記被制御機器を接続する制御信号入出力用コネクタと、
前記被制御機器に対応する複数の接続端子を選択的に接
地して短絡させるプログラム選択用コネクタを備えて、
前記コンピュータが前記プログラム選択用コネクタの接
続端子の接地状態に応じて前記複数の異なる制御プログ
ラムを選択的に実行するようにした電気的制御装置を提
供するものである。
In order to achieve the above object, the present invention provides a model
Control the operation of multiple controlled devices with different
Storage unit that stores multiple different control programs in advance
And a microcomputer having
A control signal input / output connector for connecting the controlled device,
Selectively connect multiple connection terminals corresponding to the controlled device.
Equipped with a program selection connector for grounding and shorting,
The computer connects the program selection connector.
The plurality of different control programs depending on the grounding state of the connection terminal.
Providing an electrical control device for selectively executing the ram
It is something to offer.

【0006】上記のように構成した電気制御装置にお
いては、製造時や回路基板交換を伴う補修時等におい
て行う電気制御装置へのプログラム選択の指示はプロ
グラム選択用コネクタの接続端子の接地状態を変更する
だけで達成でき、機種の変更に係る作業性が大幅に改善
されるとともに機種の設定を誤る可能性が低減される。
また、選択すべきプログラムを変更する場合にも、メー
カー側が予め所定の接続端子を準備しておくことによ
り、現地における作業者がプログラム選択のための指示
を間違える可能性が少なくなるという利点を有してい
る。
[0006] In the electrical control apparatus configured as described above, an instruction of the program selection to an electrical control unit for the repair or the like involve the exchange of manufacturing or when the circuit board is pro
This can be achieved simply by changing the grounding state of the connection terminal of the gram selection connector, which greatly improves the workability of changing the model and reduces the possibility of setting the model incorrectly.
In addition , even when changing the program to be selected, the manufacturer prepares a predetermined connection terminal in advance, which has the advantage of reducing the possibility that the local worker will make a mistake in the instruction for selecting the program. is doing.

【0007】本発明の実施にあたっては、前記被制御機
器に共通の制御プログラムを前記記憶部に記憶させて、
前記コンピュータが前記複数の異なる制御プログラムを
選択的に実行すると共に前記共通の制御プログラムを実
行するようにしてもよく、或いは、前記記憶部に前記被
制御機器にそれぞれ固有の制御データを記憶させるデー
タ入力手段を設けて、前記コンピュータが前記複数の異
なる制御プログラムを選択的に実行するとき同制御プロ
グラムによって制御される被制御機器に固有の制御デー
タを前記記憶部から取り込んで同制御データに基づき当
該被制御機器の作動を制御する制御信号を前記制御信号
入出力用コネクタを通して出力するようにしてもよい。
In implementing the present invention, the controlled machine
By storing a control program common to the vessels in the storage unit,
The computer executes the plurality of different control programs.
Selectively execute and execute the common control program
May be performed, or the storage unit may store
Data for storing control data unique to each control device
Data input means is provided to enable the computer to
When a control program that selectively becomes
Control data specific to the controlled device controlled by
Data from the storage unit and apply it based on the control data.
The control signal for controlling the operation of the controlled device is the control signal.
You may make it output via an input / output connector.

【0008】第2の特徴を有する電気制御装置において
は、マイクロコンピュータが複数の接続端子を有するコ
ネクタの一方と接続されていて、コネクタの接続端子の
状態に応じてプログラムの実行に使用されるデータを選
択することにより制御対象部品に応じた制御を行う。接
続端子の状態は、第1の特徴と同様、コネクタの他方に
よって決定されるため、制御対象部品に応じた制御を行
うためのデータ選択の指示はコネクタの他方を一方に接
続するだけで達成でき、電気制御装置の仕様設定に係る
作業性が大幅に改善されるとともに、仕様設定を誤る可
能性が低減され得る。
In the electric control device having the second characteristic, the microcomputer is connected to one of the connectors having a plurality of connection terminals, and the data used for executing the program according to the state of the connection terminals of the connector. By selecting, control is performed according to the control target component. As with the first feature, the state of the connection terminal is determined by the other side of the connector, so the data selection instruction for performing control according to the control target component can be achieved simply by connecting the other side of the connector to one side. The workability of setting the specifications of the electric control device can be significantly improved, and the possibility of setting the specifications incorrectly can be reduced.

【0009】[0009]

【0010】[0010]

【0011】[0011]

【発明の実施の形態】本発明の第1実施形態に係る電気
制御装置10は、図5に示されたインジェクション式の
電解水生成装置の本体50内部に収容される。電解水生
成装置本体50内には電気制御装置10の他、濃塩水タ
ンク51等のタンク類や図示されていないが電解水生成
のために必要な部品類などが収容されている。部品類等
とは、一対の電極を対向して収容し同電極間で被処理水
を電気分解する電解槽、同電解槽に被処理水としての希
塩水を供給するためのポンプ、原水の電解槽への供給を
制御する電磁バルブ等である。
BEST MODE FOR CARRYING OUT THE INVENTION An electric control device 10 according to a first embodiment of the present invention is housed inside a main body 50 of an injection type electrolyzed water producing device shown in FIG. In the electrolyzed water producing apparatus main body 50, in addition to the electric control device 10, tanks such as a concentrated salt water tank 51 and components (not shown) necessary for producing electrolyzed water are accommodated. Parts etc. are an electrolysis tank that accommodates a pair of electrodes facing each other and electrolyzes the water to be treated between the electrodes, a pump for supplying dilute salt water as the water to be treated to the electrolysis tank, and an electrolysis of raw water. An electromagnetic valve or the like that controls the supply to the tank.

【0012】電解水生成装置本体50には、外部からの
原水(水道水)を電解水生成装置本体内部に供給するた
めの原水供給管、電解槽にて電気分解されて生成された
酸性水及びアルカリ性水を外部に注出するための注出管
等からなる接続管52が接続されている。又、電解水生
成装置本体50には、常時は閉じられて使用される蓋5
3が設けられている。
The electrolyzed water producing apparatus main body 50 has a raw water supply pipe for supplying raw water (tap water) from the outside into the electrolyzed water producing apparatus main body, acidic water electrolyzed and produced in an electrolytic cell, and A connecting pipe 52 such as a spout pipe for pouring alkaline water to the outside is connected. In addition, the main body 50 of the electrolyzed water generator 50 is a lid 5 that is always closed and used.
3 is provided.

【0013】図1は、表示パネル30(図2参照)と天
井板が取外された状態の電気制御装置10を示してい
る。電気制御装置10の底板11には基板12が固定さ
れ、基板12上には、メモリ(ROM,RAM)を内蔵
したワンチップのマイクロコンピュータ13、マイクロ
コンピュータ13によってデータの書込み及び読出しが
行われるとともに電力が供給されていない状態において
も記憶したデータを保持するEEPROM(読み書き可
能な記憶手段)14、及びコネクタ15〜18等の電子
部品類が設けられている。尚、これらの電子部品類は基
板12上で電気的に接続されている。
FIG. 1 shows the electric control unit 10 with the display panel 30 (see FIG. 2) and the ceiling plate removed. A board 12 is fixed to a bottom plate 11 of the electric control device 10, and a one-chip microcomputer 13 having a built-in memory (ROM, RAM) on the board 12 writes and reads data by the microcomputer 13. An electronic component such as an EEPROM (readable / writable storage unit) 14 that holds stored data even when power is not supplied, and connectors 15 to 18 is provided. Note that these electronic components are electrically connected on the substrate 12.

【0014】マイクロコンピュータ13は、少なくとも
2種類の(仕様の)電解水生成装置を制御(本実施形態
では3種類の電解水生成装置を制御)することができる
ように、各仕様に応じた複数のプログラムと各仕様に共
通するプログラムをROM内に記憶している。3種類の
電解水生成装置とは、「電解槽に連続的に供給される原
水に、濃塩水タンクからの濃塩水をポンプによって直接
混入して電気分解するタイプ(インジェクション
式)」、「原水と濃塩水タンクからの濃塩水とを希塩水
タンク内に供給して希塩水として一旦貯留し、この希塩
水を電解槽に供給して電気分解するタイプ(タンク
式)」、「原水に塩水を添加することなく電気分解する
タイプ(原水式)」のことである。
The microcomputer 13 controls a plurality of electrolyzed water producing devices of at least two types (specifications) (in this embodiment, three types of electrolyzed water producing devices are controlled) so as to control a plurality of electrolyzed water producing devices. And a program common to each specification are stored in the ROM. The three types of electrolyzed water generators are "a type (injection type) in which concentrated salt water from a concentrated salt water tank is directly mixed by electrolysis with the raw water continuously supplied to the electrolytic cell" A type (tank type) in which concentrated salt water from a concentrated salt water tank is supplied to the diluted salt water tank and temporarily stored as diluted salt water, and this diluted salt water is supplied to an electrolytic cell for electrolysis, "adding salt water to raw water It is a type (raw water type) that can be electrolyzed without doing so.

【0015】図1に示されたコネクタ17は、電気制御
装置10のケース外板をなす側板19に設けられた制御
信号入出力用コネクタ21のオス側21a(以下、オス
側21aという)に電気制御装置10の内部側にて接続
される。オス側21aは、制御装置10の外部側におい
てコネクタ21のメス側21cと接続されて、メス側2
1cに接続された導線22を介して電解水生成装置本体
50内の制御対象部品(ポンプ、電磁バルブ等)に接続
される。この詳細が、図4に示されていて、オス側21
aは樹脂成形された本体の中央を貫通する接続ピン21
bを保持している。接続ピン21bは、メス側21cに
保持されたピン受け21d内に挿入されて、ピン受け2
1dと接続された導線22を介して制御対象部品と接続
される。
The connector 17 shown in FIG. 1 is electrically connected to a male side 21a (hereinafter referred to as a male side 21a) of a control signal input / output connector 21 provided on a side plate 19 which forms a case outer plate of the electric control unit 10. It is connected inside the control device 10. The male side 21a is connected to the female side 21c of the connector 21 on the outside of the control device 10, and the female side 2a
It is connected to a control target component (pump, electromagnetic valve, etc.) in the electrolyzed water producing apparatus main body 50 via a conductor 22 connected to 1c. This detail is shown in FIG.
a is a connection pin 21 that penetrates the center of the resin-molded main body
Holds b. The connection pin 21b is inserted into the pin receiver 21d held by the female side 21c, and
It is connected to the control target component via the conductor wire 22 connected to 1d.

【0016】同様にコネクタ18は、電気制御装置10
の側板19に設けられたプログラム選択用コネクタ23
のオス側23a(以下、オス側23aという)に電気制
御装置10の内部側にて接続されている。プログラム選
択用コネクタ23は制御信号入出力用コネクタ21と断
面において同構造をとり、オス側23aは、その本体の
中央を貫通する5本の接続ピン23bを有している(図
4、図3(A)及び(B)参照)。尚、図3(A)及び
(B)に示された接続ピン23bのうち、図中一番左に
位置する接続ピン23bは図1のコネクタ18を介して
接地されており、以下「接地ピン」という。又、同図に
おける左方から2番目の接続ピン23bから順に1番ピ
ン、2番ピン、3番ピン、4番ピンを構成している。
Similarly, the connector 18 is connected to the electric control unit 10.
23 for program selection provided on the side plate 19 of the
To the male side 23a (hereinafter, referred to as male side 23a) of the electric control device 10 inside. The program selection connector 23 has the same structure as the control signal input / output connector 21 in cross section, and the male side 23a has five connection pins 23b penetrating the center of its main body (FIGS. 4 and 3). (See (A) and (B)). Of the connection pins 23b shown in FIGS. 3A and 3B, the leftmost connection pin 23b in the figure is grounded via the connector 18 of FIG. ". Further, the first pin, the second pin, the third pin, and the fourth pin are formed in order from the second connection pin 23b from the left in the figure.

【0017】図3(A)及び(B)に示されているよう
に、プログラム選択用コネクタ23のメス側23cは、
接続ピン23bの各々が一方から挿入される導体の円筒
状のピン受け23dを有している。ピン受け23dはメ
ス側23cの本体を貫通しており、ピン受け23cの他
方からもピン状の先端部を有する接続線24が挿入可能
となっている。
As shown in FIGS. 3A and 3B, the female side 23c of the program selection connector 23 is
Each of the connection pins 23b has a conductor-shaped cylindrical pin receiver 23d inserted from one side. The pin receiver 23d penetrates through the main body on the female side 23c, and the connecting wire 24 having a pin-shaped tip portion can be inserted from the other side of the pin receiver 23c.

【0018】図3(A)には、接続線24の両端が図示
左方から1番目と2番目に位置するピン受け23dに挿
入されている状態のメス側23cが示されており、この
状態のメス側23cがオス側23aに接続されると、接
地ピンと1番ピンが接続されて1番ピンが「短絡」さ
れ、2番〜4番ピンは「開放」された状態を保つ。又、
図3(B)には、接続線24の両端が図示左方から1,
4及び5番目に位置するピン受け23dに挿入されてい
る状態のメス側23cが示されており、このメス側23
cがオス側23aに接続されると3番ピンと4番ピンは
短絡し、1番ピン及び2番ピンは開放された状態を保
つ。尚、メス側23cは、接続線24とメス側23cに
よって作られたループを通り制御信号線22を包囲する
結束バンド25により制御信号線22に結束されてい
て、メス側23cがオス側23aから引抜かれたときに
紛失されることのないように構成されている(図1参
照)。
FIG. 3A shows the female side 23c in which both ends of the connecting wire 24 are inserted into the pin receivers 23d located at the first and second positions from the left in the figure. When the female side 23c is connected to the male side 23a, the ground pin and the first pin are connected, the first pin is "short-circuited", and the second to fourth pins are kept "open". or,
In FIG. 3B, both ends of the connection line 24 are 1,
The female side 23c is shown inserted into the fourth and fifth pin receivers 23d.
When c is connected to the male side 23a, pins 3 and 4 are short-circuited, and pins 1 and 2 are kept open. The female side 23c is bound to the control signal line 22 by a binding band 25 that surrounds the control signal line 22 through a loop formed by the connecting line 24 and the female side 23c, and the female side 23c from the male side 23a. It is constructed so that it will not be lost when it is pulled out (see FIG. 1).

【0019】図2に示された表示パネル30は、電気制
御装置10の前面に取付けられて電解水生成装置の運転
状態の表示を行うとともに、EEPROM14が記憶し
て保持するデータを書込む(変更する)ための外部入力
装置として用いられるもので、表示パネル30の前面に
は、第1〜第6スイッチ31〜36、LEDからなる数
字表示部37a,37b、警告ランプ38及び電源スイ
ッチ39等が設けられている。尚、表示パネル30は、
コネクタ(図示せず)及び導線(図示せず)により基板
12上のコネクタ15に接続される。
The display panel 30 shown in FIG. 2 is mounted on the front surface of the electric control device 10 to display the operating state of the electrolyzed water producing device and to write (change) the data stored and held by the EEPROM 14. The first to sixth switches 31 to 36, numeral display portions 37a and 37b made of LEDs, a warning lamp 38, a power switch 39 and the like are provided on the front surface of the display panel 30. It is provided. The display panel 30 is
It is connected to the connector 15 on the substrate 12 by a connector (not shown) and a lead wire (not shown).

【0020】表示パネル30からのEEPROM14へ
のデータの入力(書込み指示)は、作業者が第2スイッ
チ32を一度押圧して書込みモードとした後、第1スイ
ッチ31で変更したいEEPROM14内のデータの種
類を特定し、第3,第4スイッチ33,34を操作して
所望のデータを入力した後に(数字表示部37a,37
bに表示される)、再度第2スイッチ32を押圧した時
点で完了(書込み指示が発生)するよう構成してある。
Data input (writing instruction) from the display panel 30 to the EEPROM 14 is performed by the operator pressing the second switch 32 once to enter the writing mode and then changing the data in the EEPROM 14 to be changed by the first switch 31. After specifying the type and operating the third and fourth switches 33 and 34 to input desired data (numerals display portions 37a, 37
(displayed in b)), and when the second switch 32 is pressed again, the completion (writing instruction is generated) is configured.

【0021】次に、以上のように構成された電気制御装
置10の作動について説明する。先ず、製造時(出荷
時)においては、作業者はインジェクション式の電解水
生成装置用として準備されている図3(B)に図示され
たプログラム選択用コネクタ23のメス側23cを、電
気制御装置10の側板19に設けられたオス側23aに
挿入して接続する。その後、電気制御装置10は電解水
生成装置本体50に組込まれて出荷され、電解水生成装
置本体50が現地にて設置される。
Next, the operation of the electric control unit 10 configured as above will be described. First, at the time of manufacturing (at the time of shipment), an operator sets the female side 23c of the program selection connector 23 shown in FIG. 3B, which is prepared for an injection type electrolyzed water generator, to an electric control device. 10 is inserted into the male side 23a provided on the side plate 19 to be connected. After that, the electric control device 10 is incorporated in the electrolyzed water producing device main body 50 and shipped, and the electrolyzed water producing device main body 50 is installed on site.

【0022】電解水生成装置本体50が設置された後
に、表示パネル30上の電源スイッチ39が投入される
と、マイクロコンピュータ13はROM内に記憶してい
る図6のフローチャートにより示されたプログラムをス
テップ600から開始し、ステップ605に進む。
When the power switch 39 on the display panel 30 is turned on after the electrolyzed water producing apparatus main body 50 is installed, the microcomputer 13 executes the program shown in the flowchart of FIG. 6 stored in the ROM. It starts from step 600 and proceeds to step 605.

【0023】ステップ605においては、コネクタ23
の接続ピン23bの接続状況(接続端子の状態)を確認
する。即ち、「何れの接続ピンも短絡されていない」状
態か否かを判定する。図3(B)に示されたメス側23
cが挿入されたコネクタ23のオス側23aにあっては
3番ピンと4番ピンが接地(短絡)されているので、マ
イクロコンピュータ13はステップ605を「No」と
判定し、ステップ610へと進んで表示パネル30上の
警告ランプ38を消灯する。尚、警告ランプ38の点灯
制御については後述する。
In step 605, the connector 23
The connection status of the connection pin 23b (state of the connection terminal) is confirmed. That is, it is determined whether or not the state is "no connection pin is short-circuited". Female side 23 shown in FIG. 3 (B)
Since pin 3 and pin 4 are grounded (short-circuited) on the male side 23a of the connector 23 in which c is inserted, the microcomputer 13 determines step 605 to be “No” and proceeds to step 610. The warning lamp 38 on the display panel 30 is turned off. The lighting control of the warning lamp 38 will be described later.

【0024】ステップ610に続いてマイクロコンピュ
ータ13はステップ615に進み、共通プログラムを実
行する。共通プログラムとは、電気制御装置10が使用
されることが予定される3種類の電解水生成装置につい
て共通に実行されるプログラムであり、例えば、電解槽
の電極間に流れる電流を計測するプログラム、原水の水
温を検出するためのプログラムなどである。
Following step 610, the microcomputer 13 proceeds to step 615 and executes the common program. The common program is a program that is commonly executed for the three types of electrolyzed water generators in which the electric control device 10 is scheduled to be used, and, for example, a program that measures the current flowing between the electrodes of the electrolytic cell, A program for detecting the temperature of raw water.

【0025】共通プログラムの実行後、マイクロコンピ
ュータ13はステップ620に進んでオス側23aの3
番ピン及び4番ピンが短絡されているか否かを判定す
る。現時点では3番ピンと4番ピンが短絡されているの
で、ステップ620を「Yes」と判定し、ステップ6
25へと進んで「Aプログラム」を実行する。「Aプロ
グラム」とは、インジェクション式の電解水生成装置に
特有のプログラムであり、例えば、電解水に連続的に供
給される原水に混入される濃塩水の量を調整するポンプ
(の吐出量)を制御するルーチンなどを含んだ電解水を
生成するためのプログラムである。
After the execution of the common program, the microcomputer 13 proceeds to step 620 and proceeds to step 3 of the male side 23a.
It is determined whether the No. 4 pin and the No. 4 pin are short-circuited. Since pins 3 and 4 are short-circuited at this point, step 620 is determined as “Yes” and step 6
Go to 25 and execute the "A program". The “A program” is a program peculiar to the injection type electrolyzed water generator, and is, for example, a pump (a discharge amount of a pump) for adjusting the amount of concentrated salt water mixed in the raw water continuously supplied to the electrolyzed water. This is a program for generating electrolyzed water including a routine for controlling.

【0026】マイクロコンピュータ13は、ステップ6
25の処理後は再びステップ615に戻って共通プログ
ラムを実行し、以降はステップ620,625,615
のステップを繰返す。以上の作動により、インジェクシ
ョン式の電解水生成装置に適合した制御が実行され、電
解水が生成される。
The microcomputer 13 executes step 6
After the processing of 25, the process returns to step 615 again to execute the common program, and thereafter, steps 620, 625, 615.
Repeat step. By the above operation, control suitable for the injection-type electrolyzed water producing apparatus is executed, and electrolyzed water is produced.

【0027】次に、製造時(出荷時)において、図3
(A)において図示左方から1,2,3,5番目に位置
するピン受け23c間が接続線24によって接続された
メス側23cを、オス側23aに挿入した場合について
説明する。このメス側23cは、タンク式の電解水生成
装置を制御する場合に用いられるもので、オス側23a
の1,2及び4番ピンを短絡する。尚、電気制御装置1
0はタンク式電解水生成装置の本体に組込まれて設置さ
れる。
Next, at the time of manufacturing (at the time of shipping), FIG.
A case will be described in which the female side 23c in which the pin receivers 23c located at the first, second, third, and fifth positions from the left in FIG. The female side 23c is used when controlling a tank-type electrolyzed water generator, and the male side 23a.
Short-circuit pins 1, 2 and 4. The electric control device 1
0 is installed in the body of the tank-type electrolyzed water generator.

【0028】電解水生成装置本体の設置後に電源スイッ
チ39が投入されると、マイクロコンピュータ13は図
6のプログラムをステップ605,610,615と実
行した後にステップ620へ進み、この場合において
は、1,2及び4番ピンが短絡されているので同ステッ
プ620を「No」と判定してステップ630へと進
む。ステップ630は、1,2,及び4番ピンが短絡し
ているか否かを判定するステップであるため、マイクロ
コンピュータ13は「Yes」と判定してステップ63
5へと進む。
When the power switch 39 is turned on after the electrolyzed water producing apparatus main body is installed, the microcomputer 13 executes the program of FIG. 6 in steps 605, 610 and 615 and then proceeds to step 620. , 2 and 4 are short-circuited, the step 620 is judged as “No” and the process proceeds to the step 630. Since step 630 is a step of determining whether or not pins 1, 2, and 4 are short-circuited, the microcomputer 13 determines “Yes” and proceeds to step 63.
Go to 5.

【0029】ステップ635においては、マイクロコン
ピュータ13はタンク式電解水生成装置に特有のプログ
ラムを含む電解水生成のためのプログラム(Bプログラ
ム)を実行する。特有のプログラムとは、例えば、濃塩
水タンクから希塩水タンクへの濃塩水供給量を制御する
プログラム等である。マイクロコンピュータ13はステ
ップ635の実行後は再びステップ615に戻り、以降
ステップ620,630,635を繰返す。以上によ
り、タンク式の電解水生成装置に適合した制御が実行さ
れ、電解水が生成される。
In step 635, the microcomputer 13 executes a program (B program) for electrolyzed water production including a program specific to the tank electrolyzed water production apparatus. The specific program is, for example, a program for controlling the amount of concentrated salt water supplied from the concentrated salt water tank to the diluted salt water tank. After executing step 635, the microcomputer 13 returns to step 615 again, and repeats steps 620, 630 and 635 thereafter. As described above, the control suitable for the tank-type electrolyzed water producing apparatus is executed to produce electrolyzed water.

【0030】同様にして、原水式の電解水生成装置を制
御する場合には、2,3番ピンを短絡するためのメス側
23cをオス側23aに挿入して出荷する。この場合に
は、マイクロコンピュータ13は、ステップ620,6
30の両方を「No」と判定し、原水式の電解水生成装
置に特有のプログラムを含むプログラム(Cプログラ
ム)を実行する。
Similarly, when controlling the raw water type electrolyzed water generator, the female side 23c for short-circuiting the second and third pins is inserted into the male side 23a before shipment. In this case, the microcomputer 13 causes the steps 620, 6
Both 30 are determined to be “No”, and a program (C program) including a program specific to the raw water type electrolyzed water producing apparatus is executed.

【0031】又、何らかの原因によりメス側23cが接
続されていない場合には、マイクロコンピュータ13は
ステップ600に続くステップ605にて「Yes」と
判定しステップ645へ進み、ステップ645にて表示
パネル30上の警告ランプ38を点灯してメス側23c
が接続されていないことを表示する。
If the female side 23c is not connected for some reason, the microcomputer 13 makes a "Yes" determination at step 605 following step 600, proceeds to step 645, and proceeds to step 645 to display panel 30. The upper warning lamp 38 is turned on and the female side 23c
Indicates that is not connected.

【0032】以上説明したように、マイクロコンピュー
タ13は使用が予定される電解水生成装置に対応した複
数のプログラム(A,B及びCプログラム)を予め記憶
しており、プログラム選択用のコネクタ23の接続ピン
23bの短絡・開放状態、即ち、接続端子状態に応じて
プログラムを選択して実行する。従って、製造時(出荷
時)には、所定のコネクタ23のメス側23cをオス側
23aに挿入・接続するだけで、所望の制御を達成する
電気制御装置に変更することができる。即ち、電気制御
装置10は極めて容易に機種設定(仕様設定)がなされ
得る利点を有する。尚、短絡か開放かを選択できる接続
ピンがn本あるコネクタを使用すれば、2n種類の仕様
設定が可能となる。
As described above, the microcomputer 13 stores in advance a plurality of programs (A, B and C programs) corresponding to the electrolyzed water producing apparatus to be used, and the connector 23 for program selection is used. The program is selected and executed according to the short-circuit / open state of the connection pin 23b, that is, the connection terminal state. Therefore, at the time of manufacture (at the time of shipment), it is possible to change to an electric control device that achieves a desired control simply by inserting and connecting the female side 23c of the predetermined connector 23 into the male side 23a. That is, the electric control device 10 has an advantage that model setting (specification setting) can be performed very easily. It should be noted that if a connector having n connection pins that can select short circuit or open circuit is used, 2 n kinds of specifications can be set.

【0033】次に第2実施形態について説明すると、第
2実施形態は、第1実施形態のマイクロコンピュータ1
3が図6のフローチャートにより示されたプログラムを
ROM内に記憶していて実行するのに対し、第2実施形
態のマイクロコンピュータ13が図7のフローチャート
により示されたプログラムをROM内に記憶して実行す
る点においてのみ第1実施形態と異なっている。従っ
て、以下、その作動を中心に説明する。
Next, the second embodiment will be described. The second embodiment is the microcomputer 1 of the first embodiment.
3 stores the program shown in the flowchart of FIG. 6 in the ROM and executes the program, the microcomputer 13 of the second embodiment stores the program shown in the flowchart of FIG. 7 in the ROM. Only the execution point is different from the first embodiment. Therefore, the operation will be mainly described below.

【0034】先ず、出荷時において、インジェクション
式の電解水生成装置に適合した電気制御装置10とする
ために、コネクタ23の1,4番ピンを接地(短絡)す
るコネクタ23のメス側23cをオス側23aに接続し
ておく。この電気制御装置10が、電解水生成装置本体
50に収容されて現地に設置された後に電源スイッチ3
9が投入されると、マイクロコンピュータ13は図7の
フローチャートにより示されたプログラムをステップ7
00から開始する。
First, at the time of shipment, the female side 23c of the connector 23 for grounding (short-circuiting) the pins 1 and 4 of the connector 23 is male so that the electrical control device 10 is suitable for the injection type electrolyzed water producing device. It is connected to the side 23a. After the electric control device 10 is housed in the electrolyzed water producing device main body 50 and installed at the site, the power switch 3
9 is input, the microcomputer 13 executes the program shown in the flowchart of FIG.
Start from 00.

【0035】マイクロコンピュータ13は、続くステッ
プ705にてコネクタ23の1,4番ピンが短絡してい
るか否かを判定する。上述したように、1,4番ピンは
短絡されているため、マイクロコンピュータ13はステ
ップ705を「Yes」と判定してステップ710に進
む。ステップ710は、インジェクション式の電解水生
成装置の制御に専用のプログラム(Aプログラム)を実
行するステップであり、マイクロコンピュータ13は、
その後Aプログラムを実行し続ける。このようにして、
電気制御装置10はインジェクション式の電解水生成装
置に適合した制御を実行する。
At the following step 705, the microcomputer 13 determines whether or not pins 1 and 4 of the connector 23 are short-circuited. As described above, since the pins 1 and 4 are short-circuited, the microcomputer 13 determines step 705 to be “Yes” and proceeds to step 710. Step 710 is a step of executing a program (A program) dedicated to the control of the injection-type electrolyzed water generator, and the microcomputer 13
After that, the program A continues to be executed. In this way
The electric control device 10 executes control suitable for an injection-type electrolyzed water generation device.

【0036】同様に、電気制御装置10は、コネクタ2
3のオス側23aに2,4番ピンを短絡するメス側23
cが挿入されると、タンク式の電解水生成装置に適合し
た装置に変更される。即ち、この場合には、マイクロコ
ンピュータ13は、前述のステップ705を「No」と
判定し、2,4番ピンが短絡しているか否かを判定する
ステップ715に進み、同ステップ715を「Yes」
と判定してステップ720に進んで、以降はステップ7
20にてタンク式の電解水生成装置の制御に専用のプロ
グラム(Bプログラム)を実行し続ける。
Similarly, the electric control unit 10 includes a connector 2
Female side 23 that shorts pins 2 and 4 to male side 23a of 3
When c is inserted, the device is changed to a device suitable for a tank-type electrolyzed water generating device. That is, in this case, the microcomputer 13 determines the above-mentioned step 705 as “No”, proceeds to step 715 for determining whether the second and fourth pins are short-circuited, and the step 715 returns “Yes”. "
And proceeds to step 720, and thereafter, step 7
At 20, the program (B program) dedicated to the control of the tank-type electrolyzed water generator is continuously executed.

【0037】尚、マイクロコンピュータ13は、ステッ
プ705及びステップ715の両ステップとも「No」
と判定した場合には、コネクタ23のメス側23cが挿
入されていないか、予定していないメス側23cが挿入
されている場合であるので、ステップ725にて警告ラ
ンプ38を点灯する。
The microcomputer 13 returns "No" in both step 705 and step 715.
If it is determined that the female side 23c of the connector 23 is not inserted or the female side 23c which is not planned is inserted, the warning lamp 38 is turned on at step 725.

【0038】以上説明したように、第2実施形態におけ
るマイクロコンピュータ13は、制御すべき電解水生成
装置に専用のプログラムをROM(記憶部)内に複数記
憶していて、コネクタ23の接続ピン(接続端子)の状
態に応じて制御すべき電解水生成装置(機種)に専用の
プログラムを選択して実行するものである。従って、第
2実施形態の電気制御装置10は、共通のプログラムを
有しない複数の機種を制御の対象とする場合に適してい
る。尚、制御すべき機種に対応したコネクタ23のメス
側23cをオス側23aに挿入するだけで、制御すべき
機種に応じた制御を達成する電気制御装置10とするこ
とができる点においては第1実施形態と同様である。
As described above, the microcomputer 13 in the second embodiment stores a plurality of programs dedicated to the electrolyzed water producing apparatus to be controlled in the ROM (storage section), and the connecting pin ( A program dedicated to the electrolyzed water generator (model) to be controlled according to the state of the connection terminal) is selected and executed. Therefore, the electric control device 10 of the second embodiment is suitable when a plurality of models that do not have a common program are targets of control. The electric control device 10 that achieves the control according to the model to be controlled can be obtained only by inserting the female side 23c of the connector 23 corresponding to the model to be controlled into the male side 23a. It is similar to the embodiment.

【0039】次に、第3実施形態について説明する。第
3実施形態の電気制御装置10は、電解水の単位時間当
りの生成量が大きいタンク式電解水生成装置と、生成量
が小さいタンク式電解水生成装置との2機種に対応可能
とされている。この場合、制御の基本動作自体は両機種
において同じであるが、例えば、電気分解する希塩水濃
度を所定の値にするために必要な濃塩水タンクから希塩
水タンクに供給すべき濃塩水の流量(濃塩水量)が異な
るため、濃塩水量を制御する電磁バルブに対しては異な
る制御をする必要がある。
Next, a third embodiment will be described. The electric control device 10 according to the third embodiment is compatible with two types of tank-type electrolyzed water generators that generate a large amount of electrolyzed water per unit time and tank-type electrolyzed water generators that generate a small amount of electrolyzed water. There is. In this case, the basic operation of the control itself is the same for both models, but for example, the flow rate of concentrated salt water to be supplied from the concentrated salt water tank to the diluted salt water tank necessary to bring the concentration of diluted salt water to be electrolyzed to a predetermined value. Since the (concentrated salt water amount) is different, it is necessary to control the electromagnetic valve for controlling the concentrated salt water amount differently.

【0040】具体的には、電磁バルブは、Hi(高レベ
ル)信号とLo(低レベル)信号とを所定周期で繰返す
パルス列信号におけるHi信号の出力期間において、濃
塩水タンクと希塩水タンクを連結する流路を開けて濃塩
水流量を制御する。従って、容積が異なる希塩水タンク
内の塩水濃度を両機種間で同一にするためには、希塩水
タンク内の塩水濃度センサー出力が同一であってもHi
信号の出力期間を異ならしめる必要がある。そこで、マ
イクロコンピュータ13は、塩水濃度センサー出力に対
する電磁バルブに出力すべきパルス列信号の特性(周期
は同一であるがHi信号の出力時間が異なるもの)を両
機種に対応するデータとして予めROMの所定領域に内
に記憶し、図8のフローチャートに示されたプログラム
(ROM内に記憶している)を実行する。尚、その他の
点は第1実施形態と同一である。
Specifically, the electromagnetic valve connects the concentrated salt water tank and the dilute salt water tank during the output period of the Hi signal in the pulse train signal in which the Hi (high level) signal and the Lo (low level) signal are repeated at a predetermined cycle. Open the flow path to control the flow rate of concentrated salt water. Therefore, in order to make the salt water concentrations in the dilute salt water tanks having different volumes the same between both models, even if the salt water concentration sensor outputs in the dilute salt water tank are the same, Hi
It is necessary to make the signal output periods different. Therefore, the microcomputer 13 predetermines a characteristic of the pulse train signal to be output to the electromagnetic valve with respect to the output of the salt water concentration sensor (having the same cycle but different output time of the Hi signal) as predetermined data in the ROM in advance. The program is stored in the area and the program (stored in the ROM) shown in the flowchart of FIG. 8 is executed. The other points are the same as those in the first embodiment.

【0041】先ず、コネクタ23のオス側23aにコネ
クタ23の1,4番ピンを短絡させるためのメス側23
cが挿入して接続されている場合について説明すると、
電解水生成装置設置後の使用者による電源スイッチ39
の投入により、マイクロコンピュータ13は図8のプロ
グラムをステップ800から開始してステップ805に
進み、コネクタ23の1,4番ピンが短絡しているか否
かを判定する。現時点では、コネクタ23の1,4番ピ
ンは短絡されているので、マイクロコンピュータ13は
ステップ805を「Yes」と判定してステップ810
に進む。
First, the male side 23a of the connector 23 is shorted to the female side 23 for short-circuiting pins 1 and 4 of the connector 23.
Explaining the case where c is inserted and connected,
Power switch 39 by user after installation of electrolyzed water generator
8, the microcomputer 13 starts the program of FIG. 8 from step 800 and proceeds to step 805 to determine whether pins 1 and 4 of the connector 23 are short-circuited. At this point, since pins 1 and 4 of the connector 23 are short-circuited, the microcomputer 13 determines that step 805 is “Yes” and determines step 810.
Proceed to.

【0042】ステップ810では、後述のステップ82
0にて実行される電解水生成プログラムに使用されるパ
ルス列信号の特性データを、ROMの所定(記憶)領域
からRAMの特定の(記憶)領域へ移行してデータのセ
ットを行う。このデータは大容量のタンク式電解水生成
装置(機種A)に適合されているものである。マイクロ
コンピュータ13は、その後、後述のステップ835で
点灯される警告ランプ38の消灯を行うステップ815
を実行してステップ820に進み、電解水生成プログラ
ムを実行する。
In step 810, step 82 described later is executed.
The characteristic data of the pulse train signal used for the electrolyzed water generation program executed at 0 is transferred from a predetermined (storage) area of the ROM to a specific (storage) area of the RAM to set the data. This data is adapted to a large capacity tank type electrolyzed water generator (model A). Thereafter, the microcomputer 13 turns off the warning lamp 38 that is turned on in step 835, which will be described later, in step 815.
Is executed to proceed to step 820, and the electrolyzed water generation program is executed.

【0043】この電解水生成プログラムの実行において
は、例えば、希塩水タンク内の塩濃度センサー出力が目
標塩濃度より小さいことを示す場合、電気制御装置10
は電磁バルブに対して希塩水タンク内への濃塩水流量を
増大するためのパルス列信号を出力するが、その際にス
テップ810にて特定領域にセットしておいたデータを
用いてパルス列信号中のHi信号の出力期間を決定す
る。以上により、大容量のタンク式電解水生成装置に適
合された制御が実行される。
In the execution of this electrolyzed water producing program, for example, when the output of the salt concentration sensor in the dilute salt water tank indicates that it is smaller than the target salt concentration, the electric control unit 10
Outputs a pulse train signal for increasing the flow rate of concentrated salt water into the diluted salt water tank to the electromagnetic valve. At that time, the data set in the specific region in step 810 is used to output the pulse train signal in the pulse train signal. The output period of the Hi signal is determined. As described above, the control adapted to the large-capacity tank type electrolyzed water producing apparatus is executed.

【0044】電気制御装置10が小容量のタンク式電解
水生成装置の制御を行うようにするためには、コネクタ
23のオス側23aの2,4番ピンを短絡するコネクタ
23のメス側23cを挿入して接続しておく。この場合
には、マイクロコンピュータ13はステップ805を
「No」と判定してステップ825に進み、2,4番ピ
ンが短絡しているか否かを判定する。
In order for the electric control unit 10 to control the small-capacity tank type electrolyzed water producing apparatus, the female side 23c of the connector 23 for short-circuiting pins 2 and 4 of the male side 23a of the connector 23 is shorted. Insert and connect. In this case, the microcomputer 13 determines step 805 to be “No” and proceeds to step 825 to determine whether or not pins 2 and 4 are short-circuited.

【0045】ステップ825においては、マイクロコン
ピュータ13は「Yes」と判定するのでステップ83
0に進み、小容量のタンク式電解水生成装置(機種B)
に適合されたパルス列信号の特性データを、ROMの所
定領域から前述したRAMの特定の領域へ移行してデー
タのセットを行う。その後、マイクロコンピュータ13
は、前述のステップ815を経由してステップ820に
進み、高容量の電解水生成装置と共通の電解水生成プロ
グラムを実行するが、このとき使用されるデータは小容
量のタンク式電解水生成装置に適合したものとなってい
るので、結果として小容量のタンク式電解水生成装置に
適合した制御が実行される。尚、コネクタ23のメス側
23cを挿入し忘れた場合には、マイクロコンピュータ
13はステップ805,825の両ステップとも「N
o」と判定し、ステップ835にて警告ランプ38を点
灯してコネクタの挿入忘れを報知する。
In step 825, the microcomputer 13 determines "Yes", so step 83
Go to 0, small capacity tank type electrolyzed water generator (model B)
The characteristic data of the pulse train signal adapted to the above is transferred from a predetermined area of the ROM to a specific area of the RAM described above to set the data. After that, the microcomputer 13
Goes to step 820 through the above-mentioned step 815 to execute the electrolyzed water producing program common to the high-capacity electrolyzed water producing apparatus. The data used at this time is the small-capacity tank electrolyzed water producing apparatus. Therefore, as a result, the control adapted to the small-capacity tank type electrolyzed water generator is executed. If the female side 23c of the connector 23 is forgotten to be inserted, the microcomputer 13 executes "N" in both steps 805 and 825.
It is determined to be “o”, and the warning lamp 38 is turned on in step 835 to notify that the connector is forgotten to be inserted.

【0046】以上から明らかなように、第3実施形態に
あっては、ステップ810又はステップ830にてセッ
トされるデータは、大容量又は小容量のタンク式電解水
生成装置(制御すべき機種)に各々適合されたものであ
るから、結果として、マイクロコンピュータ13は、両
機種に適合した制御を実行することになる。尚、第3実
施形態は、電気制御装置10が制御対象とする機種間で
共通に使用できるプログラムが存在する場合であって、
そのプログラムに使用されるデータのみを変更すればそ
れぞれの機種に適合した制御が可能である場合に適して
いる。一般にプログラムの記憶には大容量を必要とする
が、データは相対的に小容量であるため、第3実施形態
はマイクロコンピュータ13のROM容量に制約がある
場合等にも有効である。
As is apparent from the above, in the third embodiment, the data set in step 810 or step 830 is a large-capacity or small-capacity tank type electrolytic water generator (model to be controlled). In this case, as a result, the microcomputer 13 executes control suitable for both models. The third embodiment is a case in which there is a program that can be commonly used by the models controlled by the electric control device 10.
It is suitable when it is possible to perform control suitable for each model by changing only the data used for the program. Generally, a large capacity is required to store the program, but the data is relatively small capacity, so the third embodiment is also effective when the ROM capacity of the microcomputer 13 is limited.

【0047】次に、第4実施形態について説明する。第
4実施形態の電気制御装置10は、第3実施形態の図8
に代えて図9のフローチャートにより示されたプログラ
ムを用い、第3実施形態における機種別のデータをセッ
トする特定領域として基板12上のEEPROM14
(内の記憶領域)を使用する。尚、第4実施形態の他の
点については第3実施形態と同一である。
Next, a fourth embodiment will be described. The electrical control device 10 of the fourth embodiment is the same as that of the third embodiment shown in FIG.
Instead of the above, the program shown in the flowchart of FIG. 9 is used, and the EEPROM 14 on the substrate 12 is used as a specific area for setting model-specific data in the third embodiment.
(Internal storage area) is used. The other points of the fourth embodiment are the same as those of the third embodiment.

【0048】先ず、使用者が表示パネル30(図2参
照)の第1スイッチ31を押圧(オン)しながら電源3
9を投入した場合を説明すると、マイクロコンピュータ
13がステップ900から図9のプログラムを開始し、
続いて第1スイッチ31がオンとなっているか否かの判
定を行うステップ905を「Yes」と判定してステッ
プ910に進む。
First, while the user presses (turns on) the first switch 31 of the display panel 30 (see FIG. 2), the power source 3
To describe the case where 9 is input, the microcomputer 13 starts the program of FIG. 9 from step 900,
Then, step 905 which determines whether the first switch 31 is turned on is determined as “Yes” and the process proceeds to step 910.

【0049】ところで、電気制御装置10の出荷時、又
は基板12を交換した場合には、EEPROM14内の
各アドレスのデータは「00」或は「FF」(16進法
表示)となっているため、後述の電解水生成プログラム
(ステップ925参照)により使用されるEEPROM
14内のデータ(記憶内容)を、制御する電解水生成装
置に適合した基本値に初期化しておく必要がある。ステ
ップ910は、この初期化を行うステップであるが、そ
の際、マイクロコンピュータ13はコネクタ23の各接
続ピンの短絡状態(何番ピンが短絡しているか)に応じ
たデータをROMの所定領域から読出してEEPROM
14に書込み、記憶させる。
By the way, when the electric controller 10 is shipped or when the board 12 is replaced, the data of each address in the EEPROM 14 is "00" or "FF" (hexadecimal notation). , EEPROM used by the electrolyzed water generation program (see step 925) described below
It is necessary to initialize the data (storage contents) in 14 to a basic value suitable for the electrolyzed water generating apparatus to be controlled. Step 910 is a step of performing this initialization. At that time, the microcomputer 13 outputs data corresponding to the short-circuited state of each connection pin of the connector 23 (which pin is short-circuited) from a predetermined area of the ROM. Read and EEPROM
Write to 14 and store.

【0050】その後、マイクロコンピュータ13はステ
ップ915に進み表示パネル31からEEPROM14
へのデータの書込み指示(前述した第2スイッチ32の
操作等)があるか否かを判定する。通常時はEEPRO
M14への書込み指示はないため、マイクロコンピュー
タ13はステップ925に進み、ステップ925にて電
解水生成プログラムを実行する。この電解水生成プログ
ラムは、第3実施形態の電解水生成プログラムと同様な
ものであるが、実行されるときにはEEPROM14内
のデータを使用するように構成されている。従って、マ
イクロコンピュータ13は、コネクタ23の接続ピンの
短絡状態に応じて選択されたデータを用いて制御を実行
することになる。
After that, the microcomputer 13 proceeds to step 915 and displays the EEPROM 14 from the display panel 31.
It is determined whether or not there is an instruction to write data to (such as the operation of the second switch 32 described above). Normally, EEPRO
Since there is no write instruction to M14, the microcomputer 13 proceeds to step 925 and executes the electrolyzed water generation program at step 925. This electrolyzed water generation program is similar to the electrolyzed water generation program of the third embodiment, but is configured to use the data in the EEPROM 14 when it is executed. Therefore, the microcomputer 13 executes control using the data selected according to the short-circuit state of the connection pin of the connector 23.

【0051】一方、電解水生成装置の設置環境(例え
ば、原水の種類)などに応じて制御量を微調整するため
にEEPROM14へのデータの書込み(データの変
更)が可能となっている。即ち、マイクロコンピュータ
13は、ステップ915にてデータの書込み指示がある
と判定したときはステップ920に進み、ステップ92
0において表示パネル31により設定された値を指定さ
れたデータの種類に応じたEEPROM14内の所定記
憶領域に書込んだ後、ステップ925へと進んで電解水
生成装置プログラムを実行する。従って、マイクロコン
ピュータ13は、以降、変更されたデータを用いて電解
水生成装置の制御を行う。
On the other hand, it is possible to write data (change data) to the EEPROM 14 in order to finely adjust the control amount in accordance with the installation environment of the electrolyzed water generator (for example, the type of raw water). That is, when the microcomputer 13 determines in step 915 that there is a data write instruction, the microcomputer 13 proceeds to step 920, and step 92
At 0, the value set by the display panel 31 is written in a predetermined storage area in the EEPROM 14 corresponding to the designated data type, and then the process proceeds to step 925 to execute the electrolyzed water generation device program. Therefore, the microcomputer 13 thereafter controls the electrolyzed water producing apparatus using the changed data.

【0052】尚、使用者が、第1スイッチ31を押圧
(オン)することなく電源スイッチ39を投入する通常
の場合には、マイクロコンピュータ13はステップ90
0,905,915と進み、表示パネル31からの書込
み指示がなければ、ステップ925の電解水生成プログ
ラムを実行し、実行後はステップ915へと戻る。
Incidentally, in a normal case where the user turns on the power switch 39 without pressing (turning on) the first switch 31, the microcomputer 13 causes the step 90 to proceed.
The process proceeds to 0, 905, and 915, and if there is no writing instruction from the display panel 31, the electrolyzed water generation program of step 925 is executed, and after execution, the process returns to step 915.

【0053】以上説明した第4実施形態によれば、所定
の条件(EEPROM14のデータの初期化条件)が成
立したとき、即ち、第1スイッチを押圧して電源スイッ
チを投入するという条件が成立したとき、電解水生成プ
ログラムで使用されるEEPROM14内のデータが、
制御対象とする機種に適合した値に初期化される。加え
て、表示パネル30からのデータの書込みにより初期化
されたデータの変更も可能であり、電解水生成装置50
の設置環境に適合した制御を達成することができる。
又、このことは、EEPROM14内のデータが装置の
設置環境に応じて変更された後に装置の設置場所を変更
した場合にも、再度EEPROM14内のデータを初期
化する必要があることを意味する。このような場合であ
っても、本装置は第1スイッチを押圧して電源スイッチ
を投入することにより、EEPROM14内のデータを
初期化することができ、データの初期化の煩雑な作業が
省略できる利点を有している。
According to the fourth embodiment described above, when the predetermined condition (condition for initializing the data in the EEPROM 14) is satisfied, that is, the condition that the first switch is pressed to turn on the power switch is satisfied. At this time, the data in the EEPROM 14 used in the electrolyzed water generation program is
It is initialized to a value suitable for the model to be controlled. In addition, the data initialized by writing the data from the display panel 30 can be changed.
It is possible to achieve control suitable for the installation environment.
This also means that even if the installation location of the device is changed after the data in the EEPROM 14 is changed according to the installation environment of the device, the data in the EEPROM 14 must be initialized again. Even in such a case, the present apparatus can initialize the data in the EEPROM 14 by pressing the first switch and turning on the power switch, and the complicated work of initializing the data can be omitted. Have advantages.

【0054】尚、ステップ905では、所定の条件(E
EPROM14のデータの初期化条件)が成立したか否
かの判定を、「第1スイッチ31がオンされているか否
か」を判定することにより行うこととしたが、前述した
ように出荷時、又は基板12を交換した場合には、EE
PROM14内のデータは「FF」又は「00」となっ
ているので、ステップ905にて「EEPROM14内
のデータが所定の値(「FF」,「00」)か否か」を
判定するようにして、所定の値である場合にステップ9
10に進むよう構成してもよい。この場合には、作業者
が第1スイッチ31を押圧する必要がないため、初期化
に係る作業性が改善される。
In step 905, a predetermined condition (E
The determination of whether or not the condition for initializing the data of the EPROM 14) is established by determining "whether or not the first switch 31 is turned on". EE when the board 12 is replaced
Since the data in the PROM 14 is "FF" or "00", it is determined in step 905 "whether the data in the EEPROM 14 is a predetermined value (" FF "," 00 ")". , If it is a predetermined value, step 9
It may be configured to proceed to 10. In this case, the operator does not need to press the first switch 31, so the workability associated with the initialization is improved.

【0055】次に、第5実施形態について説明すると、
第5実施形態は第1〜第4実施形態がプログラム選択
(又はデータ選択)用コネクタとして用いたコネクタ2
3に代えてコネクタ16(図1参照)を使用する点での
み異なり、その他の点については、第1〜第4実施形態
と同一である。
Next, the fifth embodiment will be described.
The fifth embodiment is a connector 2 used in the first to fourth embodiments as a program selection (or data selection) connector.
3 except that the connector 16 (see FIG. 1) is used instead of the connector 3, and the other points are the same as in the first to fourth embodiments.

【0056】コネクタ16は、コネクタ23とほぼ同様
な構造を有するものであって、オス側が基板12上に固
定されて5本の接続ピンを立設し、各接続ピンは基板1
2上の配線(プリント配線を含む)によりマイクロコン
ピュータ13に接続されている。又、5本の接続ピンの
うち図1において図示左方から1番目に位置する接続ピ
ンは接地されていて、次いで左方から順に1,2,3及
び4番ピンを構成している。コネクタ16のメス側は、
コネクタ23のメス側と同一構造を有していて、オス側
に挿入して接続される。尚、図1に示されるように、コ
ネクタ16は結束バンド25によってコネクタ17とコ
ネクタ21を結ぶ導線に結束されている。
The connector 16 has a structure similar to that of the connector 23. The male side is fixed on the board 12 and five connection pins are provided upright, and each connection pin is connected to the board 1.
It is connected to the microcomputer 13 by wiring (including printed wiring) on the upper part 2. Of the five connection pins, the connection pin located first from the left in FIG. 1 is grounded, and then comprises pins 1, 2, 3, and 4 in order from the left. The female side of the connector 16 is
It has the same structure as the female side of the connector 23 and is inserted and connected to the male side. As shown in FIG. 1, the connector 16 is bound by a binding band 25 to a conductor wire connecting the connector 17 and the connector 21.

【0057】このように構成されたコネクタ16を有す
る第5実施形態の電気制御回路10において、基板12
を修理のために交換する場合について説明すると、先
ず、作業者は電気制御装置10の側板19からコネクタ
のメス側21cを引抜く。続いて、電気制御装置10を
電解水生成装置本体50から取出し、表示パネル30及
び天井板を取外す。次に、コネクタ16,17のメス側
を各オス側から引抜いた後、基板12を底板11から取
外して交換用の基板12を底板11に固定する。続い
て、この交換した基板12に取付いているコネクタ1
6,17のオス側に、先に引抜いたメス側を挿入して接
続し、表示パネル30と天井板を取付けて電気制御装置
10を電解水生成装置本体50内に戻し、最後にコネク
タのメス側21cをオス側21aに挿入して作業を終了
する。
In the electric control circuit 10 of the fifth embodiment having the connector 16 thus constructed, the substrate 12
In the case of exchanging for repair, the operator first pulls out the female side 21c of the connector from the side plate 19 of the electric control device 10. Subsequently, the electric control device 10 is taken out from the electrolyzed water producing device main body 50, and the display panel 30 and the ceiling plate are removed. Next, after pulling out the female side of each of the connectors 16 and 17 from each male side, the substrate 12 is removed from the bottom plate 11 and the replacement substrate 12 is fixed to the bottom plate 11. Next, the connector 1 attached to the exchanged board 12
The male side of 6, 17 is inserted and connected to the female side that has been pulled out earlier, the display panel 30 and the ceiling plate are attached, the electric control device 10 is returned to the inside of the electrolyzed water producing device main body 50, and finally the female connector. The side 21c is inserted into the male side 21a, and the work is completed.

【0058】以上の第5実施形態の電気制御装置10に
おいては、設置場所にて基板12を交換する場合、交換
した基板12のコネクタ16のオス側に交換前に使用さ
れていたコネクタ16のメス側を挿入するだけという極
めて簡単な作業により、仕様の設定がなされる。又、コ
ネクタ16のメス側は、結束バンド25によってコネク
タ17と接続した導線と結束されているため、基板12
の交換時に紛失するおそれがないという利点を有する。
In the electric control device 10 of the fifth embodiment described above, when the board 12 is replaced at the installation location, the female side of the connector 16 on the male side of the connector 16 of the replaced board 12 has been used before the replacement. The specifications are set by a very simple operation of inserting the side. Further, since the female side of the connector 16 is bound with the conductor wire connected to the connector 17 by the binding band 25, the board 12
It has the advantage that there is no risk of loss during replacement.

【0059】以上説明したように、本発明によればマイ
クロコンピュータを含む電気制御装置のケース外板に設
けられたコネクタの一方、又は、マイクロコンピュータ
を搭載する基板上に設けられたコネクタ一方に、コネク
タの他方を接続するという極めて簡単な操作により、電
気制御装置を種々の機種に対応した仕様を有する装置へ
と変更できるため、出荷時や補修時、或は仕様変更に係
る作業性が大幅に改善される。
As described above, according to the present invention, one of the connectors provided on the case outer plate of the electric control device including the microcomputer, or one of the connectors provided on the board on which the microcomputer is mounted, The electrical control device can be changed to a device with specifications corresponding to various models by a very simple operation of connecting the other side of the connector, so that the workability at the time of shipping, repairing, or specification change is greatly improved. Be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の第1から第5実施形態に係る電気制
御装置の斜視図である。
FIG. 1 is a perspective view of an electric control device according to first to fifth embodiments of the present invention.

【図2】 図1に示した電気制御装置の前面に取付けら
れる表示パネルである。
FIG. 2 is a display panel mounted on the front surface of the electric control device shown in FIG.

【図3】 図1に示したプログラム選択用コネクタの斜
視図である。
FIG. 3 is a perspective view of the program selection connector shown in FIG.

【図4】 図1に示した制御信号入出力用コネクタ及び
プログラム選択用コネクタの装着状態におけるコネクタ
断面図である。
FIG. 4 is a connector cross-sectional view in a mounted state of the control signal input / output connector and the program selection connector shown in FIG.

【図5】 図1に示した電気制御装置が使用される電解
水生成装置本体の全体図である。
FIG. 5 is an overall view of an electrolyzed water generator main body in which the electric control device shown in FIG. 1 is used.

【図6】 本発明の第1実施形態に係る電気制御装置の
フローチャートである。
FIG. 6 is a flowchart of the electric control device according to the first embodiment of the present invention.

【図7】 本発明の第2実施形態に係る電気制御装置の
フローチャートである。
FIG. 7 is a flowchart of an electric control device according to a second embodiment of the present invention.

【図8】 本発明の第3実施形態に係る電気制御装置の
フローチャートである。
FIG. 8 is a flowchart of an electric control device according to a third embodiment of the present invention.

【図9】 本発明の第4実施形態に係る電気制御装置の
フローチャートである。
FIG. 9 is a flowchart of an electric control device according to a fourth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10…電気制御装置、12…基板、13…マイクロコン
ピュータ、14…EEPROM、21…制御信号入出力
用コネクタ、23…プログラム選択用コネクタ、23a
…オス側、23c…メス側、24…接続線、25…結束
バンド
10 ... Electric control device, 12 ... Board, 13 ... Microcomputer, 14 ... EEPROM, 21 ... Control signal input / output connector, 23 ... Program selection connector, 23a
... male side, 23c ... female side, 24 ... connection line, 25 ... bundling band

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】機種の異なる複数の被制御機器の作動をそ
れぞれ制御するための複数の異なる制御プログラムを予
め記憶した記憶部を有するマイクロコンピュータと、 該コンピュータに前記被制御機器を接続する制御信号入
出力用コネクタと、 前記被制御機器に対応する複数の接続端子を選択的に接
地して短絡させるプログラム選択用コネクタを備えて、 前記コンピュータが前記プログラム選択用コネクタの接
続端子の接地状態に応じて前記複数の異なる制御プログ
ラムを選択的に実行するようにした 電気制御装置。
1. The operation of a plurality of controlled devices of different models is controlled.
Pre-program multiple different control programs to control each
And a control signal input for connecting the controlled device to the computer.
Selectively connect the output connector and multiple connection terminals corresponding to the controlled device.
The computer is provided with a program selection connector for short-circuiting, and the computer is connected to the program selection connector.
The plurality of different control programs depending on the grounding state of the connection terminal.
Electrical control apparatus adapted to selectively perform the ram.
【請求項2】前記被制御機器に共通の制御プログラムを
前記記憶部に記憶させて、前記コンピュータが前記複数
の異なる制御プログラムを選択的に実行すると共に前記
共通の制御プログラムを実行するようにした請求項1に
記載の電気制御装置
2. A control program common to the controlled devices
The storage unit stores the plurality of computers.
Of selectively executing different control programs of
According to claim 1, wherein a common control program is executed.
The electrical control device described .
【請求項3】前記記憶部に前記被制御機器にそれぞれ固
有の制御データを記憶させるデータ入力手段を設けて、
前記コンピュータが前記複数の異なる制御プログラムを
選択的に実行するとき同制御プログラムによって制御さ
れる被制御機器に固有の制御データを前記記憶部から取
り込んで同制御データに基づき当該被制御機器の作動を
制御する制御信号を前記制御信号入出力用コネクタを通
して出力するようにした請求項1に記載の電気制御装
置。
3. The controlled device is fixed to the storage unit, respectively.
By providing a data input means for storing the available control data,
The computer executes the plurality of different control programs.
When selectively executed, it is controlled by the same control program.
Control data unique to the controlled device
To control the operation of the controlled device based on the control data.
The control signal to be controlled is passed through the control signal input / output connector.
The electric control device according to claim 1, wherein the electric control device outputs the electric power .
【請求項4】前記コンピュータを装置本体を構成するケ
ースの底板に取出し可能に設置した回路基板上に固定
し、前記制御信号入出力用コネクタと前記プログラム選
択用コネクタを前記ケースの側壁板に取付けて、前記回
路基板上に脱着可能に設けた第1のコネクタを介して前
記制御信号入出力用コネクタを前記コンピュータに接続
すると共に、前記回路基板上に脱着可能に設けた第2の
コネクタを介して前記プログラム選択用コネクタを前記
コンピュータに接続した請求項1に記載の電気的制御装
置。
4. A computer which constitutes the main body of the computer.
Fixed on a circuit board that is detachably installed on the bottom plate of the base
The control signal input / output connector and the program selection
Attach the optional connector to the side wall plate of the case and
Through the first connector that is detachably installed on the road board
Connect the control signal input / output connector to the computer.
And a second detachably mounted on the circuit board.
The program selection connector is connected via the connector.
The electrical control device according to claim 1, which is connected to a computer.
Place
JP36052897A 1997-12-26 1997-12-26 Electrical control device for multiple controlled devices of different models Expired - Fee Related JP3383763B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36052897A JP3383763B2 (en) 1997-12-26 1997-12-26 Electrical control device for multiple controlled devices of different models

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36052897A JP3383763B2 (en) 1997-12-26 1997-12-26 Electrical control device for multiple controlled devices of different models

Publications (2)

Publication Number Publication Date
JPH11194805A JPH11194805A (en) 1999-07-21
JP3383763B2 true JP3383763B2 (en) 2003-03-04

Family

ID=18469792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36052897A Expired - Fee Related JP3383763B2 (en) 1997-12-26 1997-12-26 Electrical control device for multiple controlled devices of different models

Country Status (1)

Country Link
JP (1) JP3383763B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4601061B2 (en) * 2005-03-29 2010-12-22 三菱レイヨン・クリンスイ株式会社 Ionized water generator
JP2007140937A (en) * 2005-11-18 2007-06-07 Jtekt Corp Control panel
JP4720657B2 (en) * 2006-07-13 2011-07-13 日本電気株式会社 Communication service selection system and portable terminal
JP5533013B2 (en) * 2010-02-23 2014-06-25 パナソニック株式会社 Fuel cell system
CN102515318B (en) * 2012-01-14 2013-09-11 杭州共创环保科技有限公司 Electrochemical sewage treatment equipment and control method thereof

Also Published As

Publication number Publication date
JPH11194805A (en) 1999-07-21

Similar Documents

Publication Publication Date Title
JP3383763B2 (en) Electrical control device for multiple controlled devices of different models
CN1731365A (en) Mainboard Basic Input or Output System (BIOS) prosthetic device
CN105702187A (en) Interface circuit and test device
CN101224325B (en) Semiconductor laser therapeutic apparatus with improved power control and interface mode
CN215814136U (en) ECU (electronic control Unit) flashing device
CN106125374A (en) For driving the driving plate of liquid crystal cell in bore hole 3D display module
JP2001224761A (en) Game machine
JP2017167703A (en) Electrical apparatus
CN213338420U (en) Modularized water plant main control unit
CN213276329U (en) But building electromechanical control device of remote data collection
US6592333B1 (en) Universal condensate pump kit
CN207486748U (en) Led controller
KR100215333B1 (en) Washing machine
CN206269086U (en) Ceiling fan lamp controller and Lamp with ceiling fan
CN201066586Y (en) Electronic controller for electric horn
CN216527015U (en) Actuating mechanism convenient to match with valve switch position
CN218866699U (en) Light modulation controller of LCD display screen
CN112520795A (en) Modular waterworks drive unit
CN214478189U (en) Underwater vehicle electronic component program downloading and switching device
JP2001047251A (en) Controller for welding
JP4350842B2 (en) Data writing apparatus, data writing method, and connection tool
CN112255986A (en) Modularized water plant main control unit
CN117601955A (en) EPS electric control unit compatible with full redundancy and partial redundancy and assembly method
CN115729584A (en) ECU (electronic control unit) flashing method and device
JPH0125969Y2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081220

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091220

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101220

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111220

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111220

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121220

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121220

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131220

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees