JP3317580B2 - Solenoid valve control device - Google Patents
Solenoid valve control deviceInfo
- Publication number
- JP3317580B2 JP3317580B2 JP11385294A JP11385294A JP3317580B2 JP 3317580 B2 JP3317580 B2 JP 3317580B2 JP 11385294 A JP11385294 A JP 11385294A JP 11385294 A JP11385294 A JP 11385294A JP 3317580 B2 JP3317580 B2 JP 3317580B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- controller
- solenoid valve
- memory
- communication
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 102
- 230000004044 response Effects 0.000 claims description 8
- 230000002457 bidirectional effect Effects 0.000 claims description 2
- 239000012530 fluid Substances 0.000 description 21
- 230000005284 excitation Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 238000007599 discharging Methods 0.000 description 1
- 238000003475 lamination Methods 0.000 description 1
Landscapes
- Valve Housings (AREA)
- Magnetically Actuated Valves (AREA)
- Electromagnets (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、電磁弁を連設した複数
のマニホールドのそれぞれに設けられ各マニホールドの
電磁弁を一括駆動する制御器と、これら制御器と双方向
に通信可能に設けた通信指令器とを備えた電磁弁制御装
置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a controller which is provided in each of a plurality of manifolds having solenoid valves connected in series and which drives the solenoid valves of each manifold collectively, and is provided so as to be able to communicate bidirectionally with these controllers. The present invention relates to an electromagnetic valve control device including a communication commander.
【0002】[0002]
【従来の技術】従来、この種の電磁弁制御装置には図7
に示すものがある。このものは、電磁弁90A、・・
・、90Rを連設したマニホールド91、92、93の
それぞれに、電磁弁駆動データによりマニホールド単位
で電磁弁を一括駆動する制御器94、95、96を備
え、各制御器94、95、96にはマニホールド91、
92、93相互を識別する識別コードを設定し、これら
各制御器94、95、96を通信指令器97と通信線9
8で接続している。そして、通信指令器97にはプログ
ラマブルコントローラ99から出力される電磁弁駆動デ
ータを一時記憶するメモリを備え、ここで記憶されたデ
ータに送信先の識別コードを付加して各制御器94、9
5、96へ通信線98を介し直列信号で順次送信し、識
別コードが一致する制御器にて並列信号に変換して電磁
弁を一括駆動し、対応すシリンダを作動するよう設けて
いる。2. Description of the Related Art Conventionally, a solenoid valve control device of this kind is shown in FIG.
There are the following. This is a solenoid valve 90A, ...
Each of the manifolds 91, 92, and 93 having a series of 90Rs is provided with controllers 94, 95, and 96 for collectively driving the solenoid valves in manifold units based on the solenoid valve drive data. Is manifold 91,
An identification code for identifying each other is set, and these controllers 94, 95, and 96 are connected to a communication commander 97 and a communication line 9.
8 is connected. The communication commander 97 includes a memory for temporarily storing the solenoid valve driving data output from the programmable controller 99. The controller 94, 9
5 and 96 are sequentially transmitted as serial signals via a communication line 98, and are converted into parallel signals by a controller having the same identification code, and the solenoid valves are collectively driven to operate corresponding cylinders.
【0003】各シリンダ100A、・・・、100Iに
はその作動を検出する検出スイッチ101A、・・・、
101Iを設け、これら検出スイッチ101A、・・
・、101Iの電気配線102、103、104を制御
器94、95、96と接続し、検出スイッチ101A、
・・・、101Iより出力される検出信号を並列信号の
検出データとして制御器94、95、96で受信し、制
御器94、95、96からはこの検出データを識別コー
ドと共に通信指令器97へ直列信号で返信し、通信指令
器97にて並列信号に変換してメモリへ一時記憶し、プ
ログラマブルコントローラ99へ入力するよう設けてい
る。Each of the cylinders 100A,..., 100I has a detection switch 101A,.
101I, and these detection switches 101A,.
The electric wires 102, 103, and 104 of 101I are connected to the controllers 94, 95, and 96, and the detection switches 101A,
.., The detection signals output from 101I are received as parallel signal detection data by controllers 94, 95, and 96. Controllers 94, 95, and 96 send the detection data together with identification codes to communication commander 97. A response is provided as a serial signal, converted into a parallel signal by the communication commander 97, temporarily stored in the memory, and input to the programmable controller 99.
【0004】このため、通信指令器97のメモリ内で
は、電磁弁駆動データを記憶する領域と検出データを記
憶する領域とをそれぞれ制御器94、95、96ごとに
グループ化して構成するようあらかじめ設定して設けて
いる。この設定は、装置の主電源を投入したのちの試運
転に先立って、画面105とキーボード106とを備え
た操作器107をプログラマブルコントローラ99に接
続し、操作器107の画面105を見ながらキーボード
106を操作して行なっている。For this reason, in the memory of the communication commander 97, an area for storing the solenoid valve driving data and an area for storing the detection data are preset so as to be grouped by the controllers 94, 95 and 96, respectively. It is provided. In this setting, prior to the trial operation after the main power supply of the apparatus is turned on, an operating device 107 having a screen 105 and a keyboard 106 is connected to the programmable controller 99, and the keyboard 106 is operated while watching the screen 105 of the operating device 107. The operation is performed.
【0005】[0005]
【発明が解決しようとする課題】ところが、このもので
は、操作器107の画面105を見ながらキーボード1
06を操作して行なうので、設定に手間がかかり簡単に
行なうことができないという問題点があった。However, in this case, the keyboard 1 is viewed while viewing the screen 105 of the operating device 107.
However, there is a problem in that the setting is troublesome and cannot be easily performed because the setting is performed by operating the 06.
【0006】本発明はこのような問題点を解決するもの
で、通信指令器のメモリ内で並列入力信号の記憶領域を
グループ化して構成する設定を、操作器を使って手動操
作することなく簡単に行なうことができる電磁弁制御装
置を提供することを目的とする。The present invention solves such a problem. The setting for grouping the storage areas of the parallel input signals in the memory of the communication command unit can be easily performed without manual operation using an operation unit. It is an object of the present invention to provide an electromagnetic valve control device which can be performed in a timely manner.
【0007】[0007]
【課題を解決するための手段】このため本発明は、電磁
弁を連設した複数のマニホールドのそれぞれに、直列信
号の電磁弁駆動データを受信して並列信号に変換すると
共に、この並列信号により一括駆動される電磁弁や流体
回路の作動を示す検出データを直列信号に変換して返信
する双方向に通信可能な通信器を備えてマニホールド相
互を識別する識別コードを有した制御器と、並列信号の
電磁弁駆動データを直列信号に変換して制御器へ送信す
ると共に、制御器に備えた通信器より返信される直列信
号の検出データを受信して並列信号に変換する双方向に
通信可能な通信器を備えてプログラマブルコントローラ
より出力する前記並列信号の電磁弁駆動データと制御器
より返信される並列信号の検出データとをそれぞれ所定
域に一時記憶するメモリを備えた通信指令器とを有し、
各制御器は自らに備えた通信器が通信する電磁弁駆動デ
ータと検出データとを一時記憶してこれら両データを記
憶する記憶領域を設定可能に設けたメモリを備え、主電
源を投入した直後に通信指令器から送信される問合せコ
ードに応答して前記メモリの記憶領域に対応する記憶領
域データを通信指令器へ返信可能に設け、通信指令器は
各制御器から返信される記憶領域データに基づいて、自
らに備えたメモリ内で電磁弁駆動データと検出データと
をそれぞれ制御器ごとに並べるよう前記両データを格納
するアドレスを演算する演算器を設けている。SUMMARY OF THE INVENTION Therefore, the present invention provides a method for receiving serial valve solenoid valve drive data from a plurality of manifolds each having a series of solenoid valves and converting the serial signal into parallel signals. A controller having an identification code for identifying manifolds with a bidirectionally communicable device that converts detection data indicating the operation of a collectively driven solenoid valve or fluid circuit into a serial signal and returns the signal, and a parallel controller Two-way communication that converts signal solenoid valve drive data into a serial signal and sends it to the controller, and receives serial signal detection data returned from the communicator provided in the controller and converts it into a parallel signal And a temporary communication device for temporarily storing the solenoid valve drive data of the parallel signal output from the programmable controller and the detection data of the parallel signal returned from the controller in predetermined areas. And a communication command unit having a memory,
Each controller has a memory that temporarily stores electromagnetic valve drive data and detection data that are communicated by a communication device provided therein and that can set a storage area for storing both data, and immediately after the main power is turned on. In response to an inquiry code transmitted from the communication commander, a storage area data corresponding to the storage area of the memory is provided so as to be returned to the communication commander, and the communication commander transmits the storage area data returned from each controller. On the basis of this, a computing unit is provided for computing an address for storing the solenoid valve drive data and the detection data so that the data is arranged for each controller in a memory provided therein.
【0008】[0008]
【作用】このような本発明の構成によると、主電源を投
入した直後に通信指令器から制御器へ送信される問合せ
コードに応答して各制御器からは、識別コードと共に、
設定された電磁弁駆動データの記憶領域データと検出デ
ータの記憶領域データとが順次通信指令器へ返信され
る。通信指令器の演算器は、受信した制御器の前記両記
憶領域データに基づいて、電磁弁駆動データを格納する
アドレスと検出データを格納するアドレスとを制御器ご
とに並べるよう演算するため、通信指令器のメモリ内
で、並列入力信号の記憶領域を制御器ごとにグループ化
して構成する設定を自動化して簡単に行なうことができ
る。According to the configuration of the present invention, in response to the inquiry code transmitted from the communication commander to the controller immediately after the main power is turned on, each of the controllers transmits the identification code together with the identification code.
The storage area data of the set solenoid valve drive data and the storage area data of the detection data are sequentially returned to the communication commander. The arithmetic unit of the communication command unit performs an arithmetic operation so that an address for storing solenoid valve drive data and an address for storing detection data are arranged for each controller based on the two storage area data of the received controller. In the memory of the command unit, the setting for configuring the storage areas of the parallel input signals by grouping them for each controller can be automated and easily performed.
【0009】[0009]
【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1乃至図6において、1は第1マニホールド
で、圧力源2へ接続する供給通路6と、タンク4へ接続
する戻り通路5と、供給通路3から分岐したパイッロッ
ト通路6とを長手方向へ延在して内部に形成していると
共に、流体アクチュエータへ接続する複数の負荷路7
A、・・・、7Dを長手方向に沿った側面に開口し内部
に形成している。8A、8Bは第1マニホールド1の積
層部で、供給通路3、戻り通路5、負荷通路9A、・・
・、9D、パイロット通路6にそれぞれ連通の供給路1
0A、10B、戻り路11A、11B、負荷路7A、・
・・、7D、パイロット路12A、12Bを開口して設
け、第1マニホールド1の長手方向へ隔てて三個有して
いる。An embodiment of the present invention will be described below with reference to the drawings. 1 to 6, reference numeral 1 denotes a first manifold which extends in a longitudinal direction a supply passage 6 connected to the pressure source 2, a return passage 5 connected to the tank 4, and a pilot passage 6 branched from the supply passage 3. And a plurality of load paths 7 formed therein and connected to the fluid actuator.
A,..., 7D are formed on the inside with openings on the side surfaces along the longitudinal direction. 8A and 8B are lamination portions of the first manifold 1, and supply passage 3, return passage 5, load passage 9A,.
, 9D, supply path 1 communicating with pilot path 6
0A, 10B, return paths 11A, 11B, load paths 7A,.
.., 7D and pilot paths 12A and 12B are provided with openings, and three are provided in the longitudinal direction of the first manifold 1 at intervals.
【0010】前記三個の積層部のそれぞれにはパイロッ
ト操作式の切換弁13A、13B、13Cを最上段に位
置させて逆止弁付流量調整弁14A、14Bを積層設置
し、流体アクチュエータを作動させる流体回路を構成す
るよう設けている。15A、・・・、15Fは切換弁1
3A、13B、13Cをパイロット操作する電磁弁で、
各積層部に対し両側面に一対づつ設置し、一対の電磁弁
15A15B、15C15D、15E15Fのそれぞれ
において、これら一対の電磁弁の励磁・非励磁により対
応する切換弁13A、13B、13Cのパイロット室へ
圧力源2より供給通路3を流通し供給通路3より分岐し
たパイロット通路6のパイロット流体を供給したりパイ
ロット室のパイロット流体をタンク4へ排出したりして
切換弁13A、13B、13Cを切り換え制御するよう
設けている。[0010] In each of the three stacked portions, a pilot-operated switching valve 13A, 13B, 13C is located at the uppermost stage, and flow control valves 14A, 14B with check valves are stacked and installed, and a fluid actuator is operated. It is provided so as to constitute a fluid circuit to be operated. , 15F are switching valves 1
3A, 13B and 13C are pilot operated solenoid valves.
A pair of solenoid valves 15A15B, 15C15D, and 15E15F are installed on each side surface of each of the laminated portions. The switching valves 13A, 13B and 13C are controlled by supplying the pilot fluid in the pilot passage 6 branched from the supply passage 3 through the supply passage 3 from the pressure source 2 and discharging the pilot fluid in the pilot chamber to the tank 4. Is provided.
【0011】16A、16B、16Cは流体アクチュエ
ータとしてのシリンダで、ホース17にて負荷路7A、
・・・、7Dと接続し、切換弁13A、13B、13C
の切り換え作動により対応するシリンダ16A、16
B、16Cのピストンロッド18A、18B、18Cを
前進後退させるよう設けている。そして、一対の電磁弁
15A15B、15C15D、15E15Fのうち、電
磁弁15A、15C、15Eの励磁により切換弁13
A、13B、13Cが切り換え作動されてシリンダ16
A、16B、16Cのピストンンロッド18A、18
B、18Cが前進し、電磁弁15B、15D、15Fの
励磁により切換弁13A、13B、13Cが切り換え作
動されてシリンダ16A、16B、16Cのピストンロ
ッド18A、18B、18Cが後退するよう設けてい
る。Reference numerals 16A, 16B, and 16C denote cylinders serving as fluid actuators.
..., connected to 7D, switching valves 13A, 13B, 13C
Corresponding to the cylinders 16A and 16
The piston rods 18A, 18B and 18C of B and 16C are provided so as to move forward and backward. Then, of the pair of solenoid valves 15A15B, 15C15D, 15E15F, the switching valve 13 is excited by exciting the solenoid valves 15A, 15C, 15E.
A, 13B and 13C are switched and cylinder 16
Piston rods 18A, 18 of A, 16B, 16C
B, 18C advance, and the switching valves 13A, 13B, 13C are switched by the excitation of the solenoid valves 15B, 15D, 15F, and the piston rods 18A, 18B, 18C of the cylinders 16A, 16B, 16C are retracted. .
【0012】19A、19B、19Cはシリンダ16
A、16B、16Cの作動を検出する検出スイッチで、
シリンダ16A、16B、16Cの端部に設け、ピスト
ンロッド18A、18B、18Cの前進端を検出するよ
う設けている。そして、検出スイッチ19A、19B、
19Cで検出された検出信号は、電気配線20にて第1
マニホールド1の上面に設けた制御器S1へ入力される
よう設けている。19A, 19B and 19C are cylinders 16
A, 16B, A detection switch that detects the operation of 16C,
It is provided at an end of each of the cylinders 16A, 16B, and 16C, and is provided so as to detect a forward end of the piston rod 18A, 18B, and 18C. Then, the detection switches 19A, 19B,
The detection signal detected at 19C is transmitted to the first
It is provided so as to be inputted to a controller S1 provided on the upper surface of the manifold 1.
【0013】21は第2マニホールドで、積層部を五個
有している点で第1マニホールド1の構成と相違してい
る以外第1マニホールド1と同一構成と成している。五
個の積層部のそれぞれにはパイロット操作式の切換弁2
2A、・・・、22Eを最上段に位置させて逆止弁付流
量調整弁を積層配置し、流体アクチュエータを作動させ
る流体回路を構成するよう設けている。23A、・・
・、23Jは切換弁22A、・・・、22Eをパイロッ
ト操作する電磁弁で、各積層部に対し両側面に一対づつ
設置し、一対の電磁弁23A23B、23C23D、2
3E23F、23G23H、23I23Jのそれぞれに
おいて、これら一対の電磁弁の励磁・非励磁により対応
する切換弁22A、・・・、22Eのパイロット室へ圧
力源2より供給通路を流通し供給通路より分岐したパイ
ロット通路のパイロット流体を供給したりパイロット室
のパイロット流体をタンク4へ排出したりして切換弁2
2A、・・・、22Eを切り換え制御するよう設けてい
る。Reference numeral 21 denotes a second manifold, which has the same configuration as the first manifold 1 except that the second manifold has five laminated portions and is different from the configuration of the first manifold 1. Each of the five stacked sections has a pilot operated switching valve 2
, 22E are positioned at the uppermost stage, and the flow control valves with check valves are arranged in a stacked manner to provide a fluid circuit for operating the fluid actuator. 23A, ...
.., 22E are pilot operated solenoid valves, and a pair of solenoid valves 23A23B, 23C23D, 2E are installed on each side of each laminated portion.
In each of 3E23F, 23G23H, and 23I23J, the pilot passage of the supply passage from the pressure source 2 to the pilot chamber of the corresponding switching valve 22A,. The switching valve 2 supplies the pilot fluid in the passage and discharges the pilot fluid in the pilot chamber to the tank 4.
, 22E are provided for switching control.
【0014】24A、・・・、24Eは流体アクチュエ
ータとしてのシリンダで、ホース25にて負荷路と接続
し、切換弁22A、・・・、22Eの切り換え作動によ
り対応するシリンダ24A、・・・、24Eのピストン
ロッド25A、・・・、25Eを前進後退させるよう設
けている。そして、一対の電磁弁23A23B、23C
23D、23E23F、23G23H、23I23Jの
うち電磁弁23A、23C、23E、23G、23Iの
励磁により切換弁22A、・・・、22Iが切り換え作
動されてシリンダ25A、・・・、25Eのピストンロ
ッド26A、・・・、26Eが前進し、電磁弁23B、
23D、23F、23H、23Jの励磁により切換弁2
2A、・・・、22Eが切り換え作動されてシリンダ2
5A、・・・、25Eのピストンロッド26A、・・
・、26Eが後退するよう設けている。, 24E are cylinders as fluid actuators, which are connected to a load path by a hose 25, and are operated by switching the switching valves 22A,. , 25E of 24E are provided so as to move forward and backward. And a pair of solenoid valves 23A23B, 23C
The solenoid valves 23A, 23C, 23E, 23G, and 23I of 23D, 23E23F, 23G23H, and 23I23J are operated to switch the switching valves 22A,. ..., 26E moves forward and the solenoid valve 23B,
Switching valve 2 by excitation of 23D, 23F, 23H, 23J
, 22E are switched to operate cylinder 2
5A,..., 25E piston rod 26A,.
., 26E are provided to retreat.
【0015】27A、・・・、27Eはシリンダ25
A、・・・、25Eの作動を検出する検出スイッチで、
シリンダ25A、・・・、25Eの端部に設け、ピスト
ンロッド26A、・・・、26Eの前進端を検出するよ
う設けている。そして、検出スイッチ27A、・・・、
27Eで検出された検出信号は、電気配線24にて第2
マニホールド21の上面に設けた制御器S2へ入力され
るよう設けている。, 27E are cylinders 25.
A, ..., a detection switch that detects the operation of 25E,
, 25E to detect the forward ends of the piston rods 26A,..., 26E. Then, the detection switches 27A,.
The detection signal detected at 27E is applied to the second
It is provided so as to be inputted to a controller S2 provided on the upper surface of the manifold 21.
【0016】29は第3マニホールドで、積層部を二個
有している点で第1マニホールド1の構成と相違してい
る以外第1マニホールド1と同一構成と成している。二
個の積層部のそれぞれにはパイロット操作式の切換弁3
0A、30Bを最上段に位置させて逆止弁付流量調整弁
を積層設置し、流体アクチュエータを作動させる流体回
路を構成するよう設けている。31A、・・・、31D
は切換弁30A、30Bをパイロット操作する電磁弁
で、各積層部に対し両側面に一対づつ設置し、一対の電
磁弁31A31B、31C31Dのそれぞれにおいて、
これら一対の電磁弁の励磁・非励磁により対応する切換
弁30A、30Bのパイッロト室へ圧力源2より供給通
路を流通し供給通路より分岐したパイロット通路のパイ
ロット流体を供給したりパイロット室のパイロット流体
をタンク4へ排出したりして切換弁30A、30Bを切
り換え制御するよう設けている。Reference numeral 29 denotes a third manifold which has the same configuration as the first manifold 1 except that the third manifold has two laminated portions and is different from the configuration of the first manifold 1. Each of the two stacked parts has a pilot operated switching valve 3
A flow control valve with a check valve is laminated and installed with 0A and 30B positioned at the uppermost stage to provide a fluid circuit for operating a fluid actuator. 31A, ..., 31D
Is a solenoid valve for pilot-operating the switching valves 30A and 30B. A pair of solenoid valves is provided on each side of each laminated portion, and in each of the pair of solenoid valves 31A31B and 31C31D,
By energizing / de-energizing the pair of solenoid valves, the supply fluid flows through the supply passage from the pressure source 2 to the corresponding pilot chambers of the switching valves 30A and 30B, and the pilot fluid in the pilot passage branched from the supply passage is supplied. Is discharged to the tank 4 to control switching of the switching valves 30A and 30B.
【0017】32A、32Bは流体アクチュエータとし
てのシリンダで、ホース33にて負荷路と接続し、切換
弁30A、30Bの切り換え作動により対応するシリン
ダ32A、32Bのピストンロッド34A、34Bを前
進後退させるよう設けている。そして、一対の電磁弁3
1A31B、31C31Dのうち、電磁弁31A、31
Cの励磁により切換弁30A、30Bが切り換え作動さ
れてシリンダ32A、32Bのピストンロッド34A、
34Bが前進し、電磁弁31B、31Dの励磁により切
換弁30A、30Bが切り換え作動されてシリンダ32
A、32Bのピストンロッド34A、34Bが後退する
よう設けている。Reference numerals 32A and 32B denote cylinders as fluid actuators, which are connected to a load path by a hose 33, and the switching valves 30A and 30B are operated so that the piston rods 34A and 34B of the corresponding cylinders 32A and 32B are moved forward and backward. Provided. And a pair of solenoid valves 3
Of 1A31B and 31C31D, solenoid valves 31A and 31
The switching valves 30A and 30B are switched by the excitation of C, and the piston rods 34A and 34A of the cylinders 32A and 32B are switched.
34B moves forward, the switching valves 30A and 30B are switched by the excitation of the solenoid valves 31B and 31D, and the cylinder 32
A, 32B are provided so that the piston rods 34A, 34B retreat.
【0018】35A、35Bはシリンダ32A、32B
の作動を検出する検出スイッチで、シリンダ32A、3
2Bの端部に設け、ピストンロッド34A、34Bの前
進端を検出するよう設けている。そして、検出スイッチ
35A、35Bで検出された検出信号は、電気配線36
にて第3マニホールド29の上面に設けた制御器S3へ
入力されるよう設けている。35A and 35B are cylinders 32A and 32B
Detection switches for detecting the operation of the cylinders 32A, 3A
It is provided at the end of 2B to detect the forward ends of the piston rods 34A, 34B. The detection signals detected by the detection switches 35A and 35B are connected to the electric wiring 36.
Is provided to be input to the controller S3 provided on the upper surface of the third manifold 29.
【0019】そして、各マニホールド1、21、29に
接続のシリンダにより機械や装置に有する複数の駆動機
構のそれぞれを駆動するようにしており、各マニホール
ド1、21、29は駆動機構近傍に分散配置されてい
る。さらに、各マニホールド1、21、29に設けた制
御器S1、S2、S3は通信線37を介し制御指令器3
8と接続している。Each of a plurality of drive mechanisms of the machine or the apparatus is driven by a cylinder connected to each of the manifolds 1, 21, and 29. Each of the manifolds 1, 21, and 29 is distributed and arranged in the vicinity of the drive mechanism. Have been. Further, controllers S1, S2, and S3 provided in each of the manifolds 1, 21, and 29 are connected to a control command unit 3 via a communication line 37.
8 is connected.
【0020】制御器S1は以下の如く構成されている。
39はメモリで、自己の制御器の識別コードを読み出し
可能に記憶させて有している。40は通信制御素子で、
通信素子41が受信する直列信号を並列信号に変換し、
この並列信号に有する識別コードをメモリ39に記憶さ
せた識別コードと比較し、一致すれば並列信号中に有す
る電磁弁駆動データをメモリ39に一時記憶し、また、
メモリ39に一時記憶された検出データを自己の制御器
S1の識別コードを付加して直列信号に変換し、通信素
子41へ出力するよう設けている。そして、通信制御素
子40と通信素子41とで通信器42を構成している。The controller S1 is configured as follows.
Reference numeral 39 denotes a memory which has an identification code of its own controller readably stored therein. 40 is a communication control element,
The serial signal received by the communication element 41 is converted into a parallel signal,
The identification code included in the parallel signal is compared with the identification code stored in the memory 39, and if they match, the solenoid valve drive data included in the parallel signal is temporarily stored in the memory 39.
The detection data temporarily stored in the memory 39 is converted into a serial signal by adding the identification code of its own controller S <b> 1 and output to the communication element 41. A communication device 42 is configured by the communication control element 40 and the communication element 41.
【0021】43は演算器で、メモリ39に一時記憶さ
れた電磁弁駆動データを読み出してバス線44を介し電
磁弁駆動回路45へ出力し、この電磁弁駆動データによ
って励磁される電磁弁の励磁電流を検出する電流検出器
46が出力する励磁電流信号と、前記データによって駆
動するシリンダ16A、16B、16Cの作動を検出す
る検出スイッチ19A、19B、19Cが出力する検出
信号とを、電磁弁15A、・・・、15Fとシリンダ1
6A、16B、16Cの作動を示す検出データとしてメ
モリ39に書き込んで一時記憶させるよう設けている。An arithmetic unit 43 reads the solenoid valve driving data temporarily stored in the memory 39 and outputs the data to a solenoid valve driving circuit 45 via a bus line 44. The solenoid valve is excited by the solenoid valve driving data. An electromagnetic valve 15A converts an excitation current signal output from a current detector 46 for detecting a current and a detection signal output from detection switches 19A, 19B, and 19C for detecting operation of the cylinders 16A, 16B, and 16C driven by the data. , ..., 15F and cylinder 1
It is provided that the data is written into the memory 39 as detection data indicating the operation of 6A, 16B, and 16C and is temporarily stored.
【0022】47は通信器42で受信する電磁弁駆動デ
ータをメモリ39に一時記憶させるためにメモリ39に
記憶領域をバイト数N1で設定する電磁弁駆動データ設
定スイッチで、スイッチ47Aをオン設定することで1
バイトの記憶領域を設定し、スイッチ47Bをオン設定
することで、2バイトの記憶領域を設定すると共に、こ
の設定に出力コードbを付加するよう設けている。な
お、一実施例では第1マニホールド1に電磁弁15A、
・・・、15Fを六個設けており、6ビットの電磁弁駆
動データで電磁弁15A、・・・、15Fが一括駆動さ
れるため、メモリ39には1バイトの記憶領域を設定す
る。Reference numeral 47 denotes an electromagnetic valve drive data setting switch for setting a storage area in the memory 39 by the number of bytes N1 in order to temporarily store the electromagnetic valve drive data received by the communication device 42 in the memory 39. The switch 47A is turned on. By 1
By setting a byte storage area and turning on the switch 47B, a 2-byte storage area is set, and an output code b is added to this setting. In one embodiment, the first manifold 1 has a solenoid valve 15A,
, 15F are provided, and the solenoid valves 15A,..., 15F are collectively driven by 6-bit solenoid valve driving data. Therefore, a 1-byte storage area is set in the memory 39.
【0023】48は検出データをメモリ39に一時記憶
するためにメモリ39に記憶領域をバイト数M1で設定
する検出データ設定スイッチで、スイッチ48Aをオン
設定することで1バイトの記憶領域を設定し、スイッチ
48Bをオン設定することで2バイトの記憶領域を設定
すると共に、この設定に入力コードcを付加するよう設
けている。なお、一実施例では、電流検出器46より6
ビットの励磁電流信号と検出スイッチ19A、19B、
19Cより3ビットの検出信号を得ており、メモリ39
には2バイトの記憶領域を設定する。そして、通信器4
2は、問合せコードに応答して電磁弁駆動データ設定ス
イッチ47と検出データ設定スイッチ48のオン・オフ
状態を読み込み、記憶領域データとして返信するよう設
けている。Reference numeral 48 denotes a detection data setting switch for setting a storage area in the memory 39 with the number of bytes M1 in order to temporarily store the detection data in the memory 39. By turning on the switch 48A, a 1-byte storage area is set. By setting the switch 48B to ON, a 2-byte storage area is set, and an input code c is added to this setting. In one embodiment, the current detector 46 outputs
Bit excitation current signal and detection switches 19A, 19B,
A 3-bit detection signal is obtained from 19C.
Is set to a 2-byte storage area. And communication device 4
Numeral 2 is provided to read ON / OFF states of the solenoid valve drive data setting switch 47 and the detection data setting switch 48 in response to the inquiry code, and to return them as storage area data.
【0024】制御器S2は以下の如く構成されている。
49はメモリで、自己の制御器の識別コードを読み出し
可能に記憶させて有している。50は通信制御素子で、
通信素子51が受信する直列信号を並列信号に変換し、
この並列信号に有する識別コードをメモリ49に記憶さ
せた識別コードと比較し、一致すれば並列信号中に有す
る電磁弁駆動データをメモリ49に一時記憶し、また、
メモリ49に一時記憶された検出データを自己の制御器
S2の識別コードを付加して直列信号に変換し、通信素
子51へ出力するよう設けている。そして、通信制御素
子50と通信素子51とで通信器52を構成している。The controller S2 is configured as follows.
Reference numeral 49 denotes a memory which has an identification code of its controller stored in a readable manner. 50 is a communication control element,
The serial signal received by the communication element 51 is converted into a parallel signal,
The identification code included in the parallel signal is compared with the identification code stored in the memory 49, and if they match, the solenoid valve driving data included in the parallel signal is temporarily stored in the memory 49.
The detection data temporarily stored in the memory 49 is converted into a serial signal by adding the identification code of its own controller S2, and is output to the communication element 51. The communication device 52 is constituted by the communication control element 50 and the communication element 51.
【0025】53は演算器で、メモリ49に一時記憶さ
れた電磁弁駆動データを読み出してバス線54を介し電
磁弁駆動回路55へ出力し、この電磁弁駆動データによ
って励磁される電磁弁の励磁電流を検出する電流検出器
56が出力する励磁電流信号と、前記データによって駆
動するシリンダ24A、・・・、24Eの作動を検出す
る検出スイッチ27A、・・・、27Eが出力する検出
信号とを、電磁弁23A、・・・、23Jとシリンダ2
4A、・・・、24Eの作動を示す検出データとしてメ
モリ49に書き込んで一時記憶させるよう設けている。Numeral 53 denotes an arithmetic unit which reads out the solenoid valve driving data temporarily stored in the memory 49 and outputs it to the solenoid valve driving circuit 55 via the bus line 54, and the solenoid valve is excited by the solenoid valve driving data. An excitation current signal output by a current detector 56 that detects a current and a detection signal output by detection switches 27A,..., 27E that detect the operation of the cylinders 24A,. , Solenoid valve 23A, ..., 23J and cylinder 2
.., 24E are written into the memory 49 and temporarily stored.
【0026】57は通信器52で受信する電磁弁駆動デ
ータをメモリ49に一時記憶させるためにメモリ49に
記憶領域をバイト数N2で設定する電磁弁駆動データ設
定スイッチで、スイッチ57Aをオン設定することで1
バイトの記憶領域を設定し、スイッチ57Bをオン設定
することで、2バイトの記憶領域を設定するよう設けて
いる。なお、一実施例では第2マニホールド21に電磁
弁23A、・・・、23Jを十個設けており、10ビッ
トの電磁弁駆動データで電磁弁23A、・・・、23J
が一括駆動されるため、メモリ49には2バイトの記憶
領域を設定する。Reference numeral 57 denotes an electromagnetic valve drive data setting switch for setting the storage area in the memory 49 by the number of bytes N2 in order to temporarily store the electromagnetic valve drive data received by the communication device 52 in the memory 49, and turns on the switch 57A. By 1
A 2-byte storage area is set by setting a byte storage area and turning on the switch 57B. In one embodiment, ten solenoid valves 23A,..., 23J are provided in the second manifold 21, and the solenoid valves 23A,.
Are collectively driven, a 2-byte storage area is set in the memory 49.
【0027】58は検出データをメモリ49に一時記憶
するためにメモリ49に記憶領域をバイト数M2で設定
する検出データ設定スイッチで、スイッチ58Aをオン
設定することで1バイトの記憶領域を設定し、スイッチ
58Bをオン設定することで2バイトの記憶領域を設定
するよう設けている。なお、一実施例では、電流検出器
56より10ビットの励磁電流信号と検出スイッチ27
A、・・・、27Eより5ビットの検出信号を得てお
り、メモリ49には2バイトの記憶領域を設定する。そ
して、通信器52は、問合せコードに応答して電磁弁駆
動データ設定スイッチ57と検出データ設定スイッチ5
8のオン・オフ状態を読み込み、記憶領域データとして
返信するよう設けている。Reference numeral 58 denotes a detection data setting switch for setting a storage area in the memory 49 by the number of bytes M2 in order to temporarily store the detection data in the memory 49. A 1-byte storage area is set by turning on the switch 58A. , The switch 58B is turned on to set a 2-byte storage area. In one embodiment, the 10-bit excitation current signal from the current detector 56 and the detection switch 27
A,..., 27E are obtained from the 5-bit detection signal, and a 2-byte storage area is set in the memory 49. The communicator 52 responds to the inquiry code by setting the solenoid valve drive data setting switch 57 and the detection data setting switch 5
8 is provided so as to read the on / off state and return it as storage area data.
【0028】制御器S3は以下の如く構成されている。
59はメモリで、自己の制御器の識別コードを読み出し
可能に記憶させて有している。60は通信制御素子で、
通信素子61が受信する直列信号を並列信号に変換し、
この並列信号に有する識別コードをメモリ59に記憶さ
せた識別コードと比較し、一致すれば並列信号中に有す
る電磁弁駆動データをメモリ59に一時記憶し、また、
メモリ59に一時記憶された検出データを自己の制御器
S3の識別コードを付加して直列信号に変換し、通信素
子61へ出力するよう設けている。そして、通信制御素
子60と通信素子61とで通信器62を構成している。The controller S3 is configured as follows.
Reference numeral 59 denotes a memory which has an identification code of its own controller in a readable manner. 60 is a communication control element,
The serial signal received by the communication element 61 is converted into a parallel signal,
The identification code included in the parallel signal is compared with the identification code stored in the memory 59, and if they match, the solenoid valve driving data included in the parallel signal is temporarily stored in the memory 59.
The detection data temporarily stored in the memory 59 is converted into a serial signal by adding the identification code of its own controller S3, and is output to the communication element 61. The communication control element 60 and the communication element 61 constitute a communication device 62.
【0029】63は演算器で、メモリ59に一時記憶さ
れた電磁弁駆動データを読み出してバス線64を介し電
磁弁駆動回路65へ出力し、この電磁弁駆動データによ
って励磁される電磁弁の励磁電流を検出する電流検出器
66が出力する励磁電流信号と前記データによって駆動
するシリンダ23A、23Bの作動を検出する検出スイ
ッチ35A、35Bが出力する検出信号とを電磁弁31
A、・・・、31Dとシリンダ32A、32Bの作動を
示す検出データとしてメモリ59に書き込んで一時記憶
させるよう設けている。Numeral 63 denotes an arithmetic unit which reads out the solenoid valve driving data temporarily stored in the memory 59 and outputs it to the solenoid valve driving circuit 65 via the bus line 64 to excite the solenoid valve which is excited by the solenoid valve driving data. The electromagnetic valve 31 outputs an exciting current signal output from a current detector 66 that detects a current and detection signals output from detection switches 35A and 35B that detect the operation of the cylinders 23A and 23B driven by the data.
A,..., 31D and detection data indicating the operation of the cylinders 32A, 32B are written in the memory 59 and temporarily stored.
【0030】67は通信器62で受信する電磁弁駆動デ
ータをメモリ59に一時記憶させるためにメモリ59に
記憶領域をバイト数N3で設定する電磁弁駆動データ設
定スイッチで、スイッチ67Aをオン設定することで1
バイトの記憶領域を設定し、スイッチ67Bをオン設定
することで、2バイトの記憶領域を設定するよう設けて
いる。なお、一実施例では第3マニホールド29に電磁
弁31A、・・・、31Dを四個設けており、4ビット
の電磁弁駆動データで電磁弁31A、・・・、31Dが
一括駆動されるため、メモリ59には1バイトの記憶領
域を設定する。Reference numeral 67 denotes an electromagnetic valve drive data setting switch for setting a storage area in the memory 59 with the number of bytes N3 in order to temporarily store the electromagnetic valve drive data received by the communication device 62 in the memory 59, and turns on the switch 67A. By 1
A 2-byte storage area is set by setting a byte storage area and turning on the switch 67B. In one embodiment, four electromagnetic valves 31A,..., 31D are provided in the third manifold 29, and the electromagnetic valves 31A,. , A one-byte storage area is set in the memory 59.
【0031】68は検出データをメモリ59に一時記憶
するためにメモリ59に記憶領域をバイト数M3で設定
する検出データ設定スイッチで、スイッチ58Aをオン
設定することで1バイトの記憶領域を設定し、スイッチ
68Bをオン設定することで2バイトの記憶領域を設定
するよう設けている。なお、一実施例では、電流検出器
66より4ビットの励磁電流信号と検出スイッチ35
A、35Bより2ビットの検出信号を得ており、メモリ
59には2バイトの記憶領域を設定する。そして、通信
器62は、問合せコードに応答して電磁弁駆動データ設
定スイッチ67と検出データ設定スイッチ68のオン・
オフ状態を読み込み、記憶領域データとして返信するよ
う設けている。Reference numeral 68 designates a detection data setting switch for setting a storage area in the memory 59 by the number of bytes M3 for temporarily storing the detection data in the memory 59. By turning on the switch 58A, a 1-byte storage area is set. , The switch 68B is turned on to set a 2-byte storage area. In one embodiment, the 4-bit excitation current signal from the current detector 66 and the detection switch 35
A 2-bit detection signal is obtained from A and 35B, and a 2-byte storage area is set in the memory 59. Then, in response to the inquiry code, the communication device 62 turns on / off the solenoid valve drive data setting switch 67 and the detection data setting switch 68.
The off state is read and returned as storage area data.
【0032】69はプログラマブルコントローラで、第
1マニホールド1、第2マニホールド21、第3マニホ
ールド29に設けた電磁弁15A、・・・15F、23
A、・・・、23J、31A、・・・、31Dをあらか
じめプログラムされた手順に従って一括駆動するよう電
磁弁駆動データを出力する出力カード70と、電磁弁駆
動データによって励磁される電磁弁の励磁電流を検出す
る電流検出器46、56、66が出力する励磁電流信号
と前記データによって駆動するシリンダの作動を検出す
る検出スイッチ19A、19B、19C、27A、・・
・、27E、35A、35Bが出力する検出信号とを検
出データとして入力する入力カード71とを備えてい
る。Reference numeral 69 denotes a programmable controller, which is a solenoid valve provided on the first manifold 1, the second manifold 21, and the third manifold 29.
A,..., 23J, 31A,..., 31D output solenoid valve driving data so as to collectively drive the solenoid valves according to a pre-programmed procedure, and excitation of the solenoid valve excited by the solenoid valve driving data. Detection switches 19A, 19B, 19C, 27A,... For detecting the operation of the cylinder driven by the exciting current signals output by the current detectors 46, 56, 66 for detecting the current and the data.
, 27E, 35A, and 35B, and an input card 71 for inputting detection signals output as detection data.
【0033】出力カード70は、1点が1個の電磁弁を
励磁・非励磁する信号を出力する出力端子を32点有
し、これら出力端子は8点ごとの出力ポート72A、・
・・、72Dに分割され、出力ポート72Aより第1マ
ニホールド1の六個の電磁弁15A、・・・、15Fを
一括駆動するために制御器S1へ送信する6ビットの電
磁弁駆動データを一括出力し、出力ポート72Bと出力
ポート72Cより第2マニホールド21の十個の電磁弁
23A、・・・23Jを一括駆動するために制御器S2
へ送信する10ビットの電磁弁駆動データを一括出力
し、出力ポート72Dより第3マニホールド29の四個
の電磁弁31A、・・・、31Dを一括駆動するために
制御器S3へ送信する4ビットの電磁弁駆動データを一
括出力するよう設け、各ポートのビット数に対応した配
線73A、73B、73Cをバス線74と接続して設け
ている。The output card 70 has 32 output terminals, each of which outputs a signal for energizing / de-energizing one solenoid valve, and these output terminals are provided at every eight output ports 72A,.
.., 15D, and collectively collects 6-bit solenoid valve driving data transmitted from the output port 72A to the controller S1 to collectively drive the six solenoid valves 15A,..., 15F of the first manifold 1. The controller S2 is used to collectively drive the ten solenoid valves 23A,... 23J of the second manifold 21 from the output port 72B and the output port 72C.
, Which collectively outputs 10-bit solenoid valve driving data to be transmitted to the controller S3 for collectively driving the four solenoid valves 31A,..., 31D of the third manifold 29 from the output port 72D. Are provided so as to collectively output the solenoid valve driving data, and wirings 73A, 73B, and 73C corresponding to the number of bits of each port are provided so as to be connected to the bus line 74.
【0034】また、入力カード71は、1点が1個の励
磁電流信号と検出信号とを入力する入力端子を40点有
し、これら入力端子は8点ごとの入力ポート75A、・
・・、75Eに分割され、入力ポート75Aと入力ポー
ト75Bにて制御器S1からの第1マニホールド1の9
ビットの検出データを一括入力し、入力ポート75Cと
入力ポート75Dにて制御器S2からの第2マニホール
ド21の15ビットの検出データを一括入力し、入力ポ
ート75Eにて制御器S3からの第3マニホールド29
の6ビットの検出データを一括入力するよう設け、各ポ
ートのビット数に対応した配線76A、76B、76C
をバス線74と接続して設けている。The input card 71 has 40 input terminals, each of which has one input of an excitation current signal and a detection signal. These input terminals are provided at input ports 75A for every eight points.
.. divided into 75E, and the first manifold 1 from the controller S1 at the input port 75A and the input port 75B.
The input data of the second manifold 21 from the controller S2 is input collectively at the input port 75C and the input port 75D, and the third input from the controller S3 is input at the input port 75E. Manifold 29
, And the wirings 76A, 76B, 76C corresponding to the number of bits of each port.
Are connected to the bus line 74.
【0035】通信指令器38は以下の如く構成されてい
る。77はメモリで、制御器S1、S2、S3の識別コ
ードと主電源投入時に読み出される問合せコードとを読
み出し可能に記憶させて有している。78は通信制御素
子で、メモリ77に一時記憶された並列信号の電磁弁駆
動データを識別コードと共に直列信号に変換して通信素
子79へ出力し、各制御器S1、S2、S3より返信さ
れる識別コードを付加した直列信号の検出データを通信
素子79で受信して並列信号に変換し、メモリ77の所
定のアドレスへ記憶するよう設けている。また、通信制
御素子78は、主電源を投入直後にはメモリ77に記憶
された問合せコードを直列信号に変換し、各制御器S
1、S2、S3へ送信するよう設けると共に、各制御器
S1、S2、S3より返信される記憶領域データを直列
信号で受信し、並列信号に変換してメモリ77に記憶す
るよう設けている。なお、通信制御素子78と通信素子
79とで通信器80を構成している。The communication commander 38 is configured as follows. Reference numeral 77 denotes a memory in which identification codes of the controllers S1, S2, and S3 and an inquiry code that is read when the main power is turned on are stored in a readable manner. Reference numeral 78 denotes a communication control element, which converts the solenoid valve drive data of the parallel signal temporarily stored in the memory 77 into a serial signal together with the identification code, outputs the serial signal to the communication element 79, and is returned from each of the controllers S1, S2, S3. The detection data of the serial signal to which the identification code is added is received by the communication element 79, converted into a parallel signal, and stored at a predetermined address of the memory 77. The communication control element 78 converts the inquiry code stored in the memory 77 into a serial signal immediately after turning on the main power supply, and
1, S2, and S3, and the storage area data returned from each of the controllers S1, S2, and S3 is received as a serial signal, converted into a parallel signal, and stored in the memory 77. The communication device 80 is composed of the communication control element 78 and the communication element 79.
【0036】81は演算器で、メモリ77に記憶された
電磁弁駆動データ設定スイッチ47、57、67と検出
データ設定スイッチ48、58、68のデータに基づい
て、、プログラマブルコントローラ69の出力ポート7
2Aより出力する第1マニホールド1の六個の電磁弁1
5A、・・・、15Fを一括駆動するために制御器S1
へ送信する6ビットの電磁弁駆動データを格納する1バ
イトの記憶領域N1と、出力ポート72Bと出力ポート
72Cより出力する第2マニホールド21の十個の電磁
弁23A、・・・、23Jを一括駆動するために制御器
S2へ送信する10ビットの電磁弁駆動データを格納す
る2バイトの記憶領域N2と、出力ポート72Dより出
力する第3マニホールド29の四個の電磁弁31A、・
・・、31Dを一括駆動するために制御器S3へ送信す
る4ビットの電磁弁駆動データを格納する1バイトの記
憶領域N3と、第1マニホールド1の制御器S1より返
信され入力ポート75Aと入力ポート75Bに入力され
る9ビットの検出データを格納する2バイトの記憶領域
M1と、第2マニホールド21の制御器S2より返信さ
れ入力ポート75Cと入力ポート75Dに入力される1
5ビットの検出データを格納する2バイトの記憶領域M
2と、第3マニホールド29の制御器S3より返信され
入力ポート75Eに入力される6ビットの検出データを
格納する1バイトの記憶領域M3とをメモリ77内に制
御器ごとにグループ化する演算をするよう設けている。Numeral 81 denotes an arithmetic unit based on the data of the solenoid valve drive data setting switches 47, 57, 67 and the detection data setting switches 48, 58, 68 stored in the memory 77, based on the output port 7 of the programmable controller 69.
Six solenoid valves 1 of the first manifold 1 that output from 2A
Controller S1 for driving 5A,..., 15F collectively
, A 1-byte storage area N1 for storing 6-bit solenoid valve drive data to be transmitted to the second manifold 21 and output from the output port 72B and the output port 72C. A 2-byte storage area N2 for storing 10-bit solenoid valve driving data to be transmitted to the controller S2 for driving, and four solenoid valves 31A of the third manifold 29 output from the output port 72D.
.., A 1-byte storage area N3 for storing 4-bit solenoid valve drive data to be transmitted to the controller S3 to drive the 31D collectively, and input to the input port 75A returned from the controller S1 of the first manifold 1 A 2-byte storage area M1 for storing 9-bit detection data input to the port 75B, and 1 input to the input port 75C and the input port 75D returned from the controller S2 of the second manifold 21
2-byte storage area M for storing 5-bit detection data
2 and a 1-byte storage area M3 for storing 6-bit detection data returned from the controller S3 of the third manifold 29 and input to the input port 75E in the memory 77 by an operation for grouping by controller. Is provided.
【0037】すなわち、82において制御器S1の電磁
弁駆動データを格納する先頭アドレスA1を演算し、8
3において制御器S1の検出データを格納する先頭アド
レスB1を演算する。ここで、出力コードbは電磁弁駆
動データであることを認識するデータ、入力コードcは
検出データであることを認識するデータである。84に
おいて、S1の電磁弁駆動データのバイト数より制御器
S2の電磁弁駆動データを格納する先頭アドレスA2を
演算する。一実施例ではN1は1バイトであるからA2
はA1+1となる。85において、S2の電磁弁駆動デ
ータのバイト数より制御器S3の電磁弁駆動データを格
納する先頭アドレスA3を演算する。一実施例ではN2
は2バイトであるからA3はA1+3となる。That is, the start address A1 for storing the solenoid valve driving data of the controller S1 is calculated at 82, and 8 is calculated.
In step 3, the start address B1 for storing the detection data of the controller S1 is calculated. Here, the output code b is data for recognizing the solenoid valve driving data, and the input code c is data for recognizing the detection data. At 84, a start address A2 for storing the solenoid valve drive data of the controller S2 is calculated from the number of bytes of the solenoid valve drive data of S1. In one embodiment, N1 is one byte, so A2
Becomes A1 + 1. In step 85, a start address A3 for storing the solenoid valve drive data of the controller S3 is calculated from the number of bytes of the solenoid valve drive data of S2. In one embodiment, N2
Is 2 bytes, so A3 is A1 + 3.
【0038】また、86において、制御器S1の検出デ
ータのバイト数より制御器S2の検出データを格納する
先頭アドレスB2を演算する。一実施例ではM1は2バ
イトであるからB2はB1+2となる。87において、
S2の検出データのバイト数より制御器S3の検出デー
タを格納する先頭アドレスB3を演算する。一実施例で
はM2は2バイトであるからB3はB1+4となる。At 86, a start address B2 for storing the detected data of the controller S2 is calculated from the number of bytes of the detected data of the controller S1. In one embodiment, M1 is 2 bytes, so B2 is B1 + 2. At 87,
The head address B3 for storing the detection data of the controller S3 is calculated from the number of bytes of the detection data of S2. In one embodiment, B3 is B1 + 4 because M2 is 2 bytes.
【0039】次にかかる構成の作動を説明する。プログ
ラマブルコントローラ69の出力カード70より電磁弁
駆動データが出力されていない状態では、各マニホール
ド1、21、29に接続のシリンダ16A、・・・、1
6C、24A、・・・、24E、32A、32Bは図1
の如く後退端にある。この状態より、第1マニホールド
1の電磁弁を駆動する電磁弁駆動データが出力カード7
0から出力されると、通信指令器38に有する通信制御
素子78は、メモリ77のあらかじめ設定されたアドレ
スA1から1バイトの領域へ前記データを一時記憶し、
送信すべき第1マニホールド1の制御器S1の識別コー
ドを付加し、この並列信号を直列信号に変換して通信線
37へ送信する。Next, the operation of the above configuration will be described. In a state where the solenoid valve driving data is not output from the output card 70 of the programmable controller 69, the cylinders 16A connected to the respective manifolds 1, 21, 29,.
6C, 24A,..., 24E, 32A, 32B are shown in FIG.
It is at the retreat end like. From this state, the solenoid valve driving data for driving the solenoid valve of the first manifold 1 is output from the output card 7.
When output from 0, the communication control element 78 included in the communication command unit 38 temporarily stores the data in a 1-byte area from a preset address A1 in the memory 77,
An identification code of the controller S1 of the first manifold 1 to be transmitted is added, the parallel signal is converted to a serial signal, and transmitted to the communication line 37.
【0040】第1マニホールド1の制御器S1では、通
信制御素子40は前記データを受信して並列信号に変換
し、メモリ39の電磁弁駆動データ設定スイッチ47で
設定した領域へ記憶する。演算器43はあらかじめメモ
リ39に記憶された識別コードと送信された電磁弁駆動
データに有する識別コードとを比較し、一致すれば受信
した電磁弁駆動データを電磁弁駆動回路45へ一括出力
する。この電磁弁駆動データに基づき第1マニホールド
1に設けた電磁弁が駆動され、対応するシリンダが作動
する。シリンダの作動は、検出スイッチ19A、・・
・、19Cにより検出され、電気配線20を介し制御器
S1へ入力される。同時に、電磁弁15A、・・・、1
5Fの励磁電流が電流検出器46によって検出される。
そして、検出スイッチ19A、・・・、19Cの検出信
号と、電流検出器46の励磁電流信号との検出データ
は、メモリ39の検出データ設定スイッチ48で設定し
た領域へ記憶される。通信制御素子40は、前記検出デ
ータに自らの識別コードを付加して通信指令器38へ返
信する。通信指令器38の通信制御素子78は前記検出
データを受信して並列信号に変換し、メモリ77のあら
かじめ設定されたアドレスB1から1バイトの領域へ前
記データを一時記憶する。このデータは、プログラマブ
ルコントローラ69に読み込こまれて、次のプログラム
の処理が開始される。In the controller S 1 of the first manifold 1, the communication control element 40 receives the data, converts it into a parallel signal, and stores it in the area set by the solenoid valve drive data setting switch 47 of the memory 39. The arithmetic unit 43 compares the identification code stored in the memory 39 in advance with the identification code included in the transmitted solenoid valve drive data, and if they match, outputs the received solenoid valve drive data to the solenoid valve drive circuit 45 in a lump. The solenoid valve provided in the first manifold 1 is driven based on the solenoid valve driving data, and the corresponding cylinder operates. The operation of the cylinder is detected by the detection switch 19A,.
, Detected by 19C and input to the controller S1 via the electric wiring 20. At the same time, the solenoid valves 15A,.
The exciting current of 5F is detected by the current detector 46.
The detection data of the detection signals of the detection switches 19A,..., 19C and the excitation current signal of the current detector 46 are stored in the area of the memory 39 set by the detection data setting switch 48. The communication control element 40 adds its own identification code to the detection data and returns it to the communication commander 38. The communication control element 78 of the communication commander 38 receives the detection data, converts it into a parallel signal, and temporarily stores the data in a 1-byte area from a preset address B1 in the memory 77. This data is read into the programmable controller 69, and the processing of the next program is started.
【0041】そして、メモリ77内で電磁弁駆動データ
と検出データとを一時記憶する記憶領域は、装置の主電
源を投入した直後に通信指令器38から各制御器S1、
S2、S3へ送信される問合せコードに応答して各制御
器S1、S2、S3から順次返信される電磁弁駆動デー
タ設定スイッチ47、57、67と検出データ設定スイ
ッチ48、58、68のデータに基づいて行われる。す
なわち、制御器S1用の電磁弁駆動データD1の先頭ア
ドレスA1と検出データK1の先頭アドレスB1を演算
し、電磁弁駆動データD1のバイト数を先頭アドレスA
1と加算して電磁弁駆動データD2の先頭アドレスA2
を求め、電磁弁駆動データD1とD2のバイト数を先頭
アドレスA1と加算して電磁弁駆動データD3の先頭ア
ドレスA3を求めている。このため、制御器S1の電磁
弁駆動データを格納する領域をアドレスA1より1バイ
ト確保でき、この領域に続いて制御器S2の電磁弁駆動
データを格納する領域をアドレスA1+1より2バイト
確保でき、さらに続いて制御器S3の電磁弁駆動データ
を格納する領域をアドレスA1+3より1バイト確保で
きる。同様に、検出データK1のバイト数を先頭アドレ
スB1と加算して検出データK2の先頭アドレスB2を
求め、検出データK1とK2のバイト数を先頭アドレス
B1と加算して検出データK3の先頭アドレスB3を求
めている。このため、制御器S1の検出データを格納す
る領域をアドレスB1より2バイト確保でき、この領域
に続いて制御器S2の検出データを格納する領域をアド
レスB1+2より2バイト確保でき、さらに続いて制御
器S3の検出データを格納する領域をB1+4より1バ
イト確保できる。The storage area for temporarily storing the solenoid valve drive data and the detection data in the memory 77 is provided by the communication commander 38 immediately after the main power of the apparatus is turned on.
The data of the solenoid valve drive data setting switches 47, 57, 67 and the detection data setting switches 48, 58, 68 sequentially returned from the controllers S1, S2, S3 in response to the inquiry code transmitted to S2, S3. It is done based on. That is, the start address A1 of the solenoid valve drive data D1 for the controller S1 and the start address B1 of the detection data K1 are calculated, and the number of bytes of the solenoid valve drive data D1 is calculated as the start address A.
1 and the start address A2 of the solenoid valve drive data D2
And the number of bytes of the solenoid valve drive data D1 and D2 is added to the start address A1 to determine the start address A3 of the solenoid valve drive data D3. Therefore, an area for storing the solenoid valve drive data of the controller S1 can be secured by 1 byte from the address A1, and an area for storing the solenoid valve drive data of the controller S2 can be secured by 2 bytes from the address A1 + 1 following this area. Subsequently, an area for storing the solenoid valve driving data of the controller S3 can be secured by one byte from the address A1 + 3. Similarly, the number of bytes of the detection data K1 is added to the start address B1 to obtain a start address B2 of the detection data K2, and the number of bytes of the detection data K1 and K2 is added to the start address B1 to obtain the start address B3 of the detection data K3. Seeking. Therefore, an area for storing the detection data of the controller S1 can be secured by 2 bytes from the address B1, and an area for storing the detection data of the controller S2 can be secured by 2 bytes from the address B1 + 2 following this area. An area for storing the detection data of the detector S3 can be secured by one byte from B1 + 4.
【0042】このように、通信指令器38の演算器81
は、プログラマブルコントローラ69の出力ポート72
A、・・・、72Dより出力され通信指令器38によっ
て各制御器S1、S2、S3へ送信される電磁弁駆動デ
ータと、各制御器S1、S2、S3より返信され通信指
令器38によってプログラマブルコントローラの入力ポ
ート75A、・・・、75Eへ入力される検出データと
を、通信指令器38のメモリ77内で一時記憶させるア
ドレスを、主電源を投入した直後に制御器ごとに並べる
よう演算するため、通信指令器38のメモリ77内で、
電磁弁駆動データと検出データの記憶領域を制御器ごと
にグループ化して構成する設定を自動化して簡単に行う
ことができる。As described above, the computing unit 81 of the communication command unit 38
Is the output port 72 of the programmable controller 69
A,..., 72D, solenoid valve drive data output from the communication commander 38 and transmitted to the controllers S1, S2, and S3, and returned from the controllers S1, S2, and S3 and programmed by the communication commander 38. An address for temporarily storing the detection data input to the input ports 75A,..., 75E of the controller in the memory 77 of the communication commander 38 is calculated so as to be arranged for each controller immediately after the main power is turned on. Therefore, in the memory 77 of the communication command unit 38,
The storage area for the solenoid valve drive data and the detection data is grouped for each controller, and the setting for configuring can be automated and easily performed.
【0043】また、通信指令器38に備えた演算器81
により電磁弁駆動データと検出データとを記憶する領域
をグループ化して構成する設定ができるようになり、従
来のように、画面とキーボードとを備えた操作器が不要
となり、装置のコストを低減できる。A computing unit 81 provided in the communication command unit 38
This makes it possible to make settings for grouping and configuring areas for storing solenoid valve drive data and detection data, and eliminates the need for an operating device having a screen and a keyboard as in the related art, thereby reducing the cost of the device. .
【0044】さらに、主電源を投入するのみで設定でき
るため、従来のものと比較すると大幅に手間をはぶくこ
とができ、設定操作をさらに簡単に行うことができる。Furthermore, since the setting can be performed only by turning on the main power, the time and labor can be greatly reduced as compared with the conventional one, and the setting operation can be performed more easily.
【0045】なお、一実施例では通信指令器38の通信
器80を各制御器S1、S2、S3の通信器42、5
2、62と通信線37で接続し、通信線37を介し双方
向に通信可能に設けたが、これを無線で行ってもよい。In one embodiment, the communicator 80 of the communication commander 38 is connected to the communicators 42, 5 of the controllers S1, S2, S3.
Although the communication lines 37 are connected to the communication lines 2 and 62 so as to be able to communicate bidirectionally via the communication line 37, this may be performed wirelessly.
【0046】さらに、一実施例では、検出データは、電
流検出器46、56、66が出力する励磁電流信号と、
シリンダ16A、・・・、16C、24A、・・・、2
4E、32A、32Bの作動を示す検出スイッチ19
A、・・・、19C、27A、・・・、27E、35
A、35Bの検出信号との両者であったが、これらのう
ちどちらか一方であってもよい。また、前記検出信号
は、シリンダ16A、・・・、16C、24A、・・・
24E、32A、32B内の作動流体の圧力を示す信号
であってもよい。Further, in one embodiment, the detection data includes an exciting current signal output from the current detectors 46, 56, and 66,
Cylinders 16A,..., 16C, 24A,.
Detection switch 19 indicating operation of 4E, 32A, 32B
A, ..., 19C, 27A, ..., 27E, 35
A and 35B are both detection signals, but either one of them may be used. Also, the detection signal is output from the cylinders 16A,..., 16C, 24A,.
It may be a signal indicating the pressure of the working fluid in 24E, 32A, 32B.
【0047】[0047]
【発明の効果】このように本発明によれば、電磁弁を連
設した複数のマニホールドのそれぞれに、直列信号の電
磁弁駆動データを受信して並列信号に変換すると共に、
この並列信号により一括駆動される電磁弁や流体回路の
作動を示す検出データを直列信号に変換して返信する双
方向に通信可能な通信器を備えてマニホールド相互を識
別する識別コードを有した制御器と、並列信号の電磁弁
駆動データを直列信号に変換して制御器へ送信すると共
に、制御器に備えた通信器より返信される直列信号の検
出データを受信して並列信号に変換する双方向に通信可
能な通信器を備えてプログラマブルコントローラより出
力する前記並列信号の電磁弁駆動データと制御器より返
信される並列信号の検出データとをそれぞれ所定域に一
時記憶するメモリを備えた通信指令器とを有し、各制御
器は自らに備えた通信器が通信する電磁弁駆動データと
検出データとを一時記憶してこれら両データを記憶する
記憶領域を設定可能に設けたメモリを備え、主電源を投
入した直後に通信指令器から送信される問合せコードに
応答して前記メモリの記憶領域に対応する記憶領域デー
タを通信指令器へ返信可能に設け、通信指令器は各制御
器から返信される記憶領域データに基づいて、自らに備
えたメモリ内で電磁弁駆動データと検出データとをそれ
ぞれ制御器ごとに並べるよう前記両データを格納するア
ドレスを演算する演算器を設けたことにより、主電源を
投入した直後に各制御器より返信される記憶領域データ
に基づいて通信指令器の演算器により電磁弁駆動データ
と検出データとをそれぞれ制御器ごとに並べるよう電磁
弁駆動データを格納するアドレスと検出データを格納す
るアドレスとが演算されるため、通信指令器のメモリ内
で、並列入力信号の記憶領域を制御器ごとにグループ化
して構成する設定を自動化して簡単に行うことができ
る。As described above, according to the present invention, the solenoid valve drive data of the serial signal is received and converted into a parallel signal by each of the plurality of manifolds having the solenoid valves connected in series.
A control device that has a bidirectional communicator that converts detection data indicating the operation of an electromagnetic valve or a fluid circuit that is collectively driven by the parallel signal into a serial signal and returns the identification data, and that has an identification code for identifying the manifolds. And a controller that converts the solenoid valve driving data of the parallel signal into a serial signal and transmits it to the controller, and also receives the detection data of the serial signal returned from the communication device provided in the controller and converts it into a parallel signal. A communication command comprising a memory for temporarily storing in a predetermined area each of the solenoid valve drive data of the parallel signal outputted from the programmable controller and the detection data of the parallel signal returned from the controller, provided with a communication device capable of communicating in a predetermined direction. Each controller temporarily stores solenoid valve drive data and detection data that are communicated by its own communication device, and can set a storage area to store both data. And a memory area corresponding to the memory area of the memory is returned to the communication commander in response to an inquiry code transmitted from the communication commander immediately after the main power is turned on. Based on the storage area data returned from each controller, the controller calculates the address for storing the solenoid valve drive data and the detection data in the memory provided therein so that the two data are arranged for each controller. The solenoid valve drive data and the detection data are arranged for each controller by the arithmetic unit of the communication commander based on the storage area data returned from each controller immediately after the main power is turned on. Since the address for storing the solenoid valve drive data and the address for storing the detection data are calculated, the storage area of the parallel input signal is controlled in the memory of the communication commander. It can be easily performed by automated settings configured by grouping every.
【0048】また、通信指令器に備えた演算器により電
磁弁駆動データと検出データとを記憶する領域をグルー
プ化して構成する設定ができるようになり、従来のよう
な画面とキーボードとを備えた操作器が不要となり、装
置のコストを低減できる。Further, it becomes possible to make settings for grouping and configuring areas for storing solenoid valve drive data and detection data by an arithmetic unit provided in the communication commander, and to provide a conventional screen and keyboard. The operation device is not required, and the cost of the device can be reduced.
【0049】さらに、主電源を投入するのみで設定でき
るため、従来のものと比較すると大幅に手間をはぶくこ
とができ、設定操作をさらに簡単に行うことができる。Further, since the setting can be performed only by turning on the main power, the time and labor can be greatly reduced as compared with the conventional one, and the setting operation can be performed more easily.
【図1】本発明の一実施例を示す電磁弁制御装置の構成
を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a solenoid valve control device according to an embodiment of the present invention.
【図2】マニホールドの流体回路図である。FIG. 2 is a fluid circuit diagram of a manifold.
【図3】各制御器の電気回路図である。FIG. 3 is an electric circuit diagram of each controller.
【図4】プログラマブルコントローラと通信指令器の電
気回路のブロック図である。FIG. 4 is a block diagram of an electric circuit of a programmable controller and a communication command device.
【図5】通信指令器のメモリ内に電磁弁駆動データと検
出データとを格納するアドレスの演算手順を示すフロー
チャートである。FIG. 5 is a flowchart showing a procedure for calculating an address for storing solenoid valve drive data and detection data in a memory of a communication commander.
【図6】メモリの記憶領域を示すブロック図である。FIG. 6 is a block diagram showing a storage area of a memory.
【図7】従来例の電磁弁制御装置の構成を示すブロック
図である。FIG. 7 is a block diagram showing a configuration of a conventional solenoid valve control device.
1、21、29 マニホールド 15A、15B、15C、15D、15E、15F、2
3A、23B、23C、23D、23E、23F、23
G、23H、23I、23J、31A、31B、31
C、31D 電磁弁 16A、16B、16C、24A、24B、24C、2
4D、24E、32A、32B 流体アクチュエータ 19A、19B、19C、27A、27B、27C、2
7D、27E、35A、35B 検出スイッチ 38 通信指令器 39、49、59、77 メモリ 42、52、62、80 通信器 69 プログラマブルコントローラ 81 演算器 S1、S2、S3 制御器1, 21, 29 Manifolds 15A, 15B, 15C, 15D, 15E, 15F, 2
3A, 23B, 23C, 23D, 23E, 23F, 23
G, 23H, 23I, 23J, 31A, 31B, 31
C, 31D solenoid valve 16A, 16B, 16C, 24A, 24B, 24C, 2
4D, 24E, 32A, 32B Fluid actuator 19A, 19B, 19C, 27A, 27B, 27C, 2
7D, 27E, 35A, 35B Detection switch 38 Communication commander 39, 49, 59, 77 Memory 42, 52, 62, 80 Communication device 69 Programmable controller 81 Operation unit S1, S2, S3 Controller
Claims (1)
それぞれに、直列信号の電磁弁駆動データを受信して並
列信号に変換すると共に、この並列信号により一括駆動
される電磁弁や流体回路の作動を示す検出データを直列
信号に変換して返信する双方向に通信可能な通信器を備
えてマニホールド相互を識別する識別コードを有した制
御器と、並列信号の電磁弁駆動データを直列信号に変換
して制御器へ送信すると共に、制御器に備えた通信器よ
り返信される直列信号の検出データを受信して並列信号
に変換する双方向に通信可能な通信器を備えてプログラ
マブルコントローラより出力する前記並列信号の電磁弁
駆動データと制御器より返信される並列信号の検出デー
タとをそれぞれ所定域に一時記憶するメモリを備えた通
信指令器とを有し、各制御器は自らに備えた通信器が通
信する電磁弁駆動データと検出データとを一時記憶して
これら両データを記憶する記憶領域を設定可能に設けた
メモリを備え、主電源を投入した直後に通信指令器から
送信される問合せコードに応答して前記メモリの記憶領
域に対応する記憶領域データを通信指令器へ返信可能に
設け、通信指令器は各制御器から返信される記憶領域デ
ータに基づいて、自らに備えたメモリ内で電磁弁駆動デ
ータと検出データとをそれぞれ制御器ごとに並べるよう
前記両データを格納するアドレスを演算する演算器を設
けたことを特徴とする電磁弁制御装置。1. A plurality of manifolds provided with solenoid valves connected in series receive solenoid valve driving data of a serial signal and convert the data into parallel signals. A controller having an identification code for identifying manifolds with a two-way communicator that converts detection data indicating operation into a serial signal and returns it, and converts solenoid valve drive data of a parallel signal into a serial signal. It has a bidirectional communicator that converts and transmits to the controller and receives serial signal detection data returned from the communicator provided in the controller and converts it into a parallel signal. A communication commander having a memory for temporarily storing the electromagnetic valve drive data of the parallel signal and the detection data of the parallel signal returned from the controller in a predetermined area, Each controller has a memory that temporarily stores electromagnetic valve drive data and detection data that are communicated by a communication device provided therein and that can set a storage area for storing both data, and immediately after the main power is turned on. In response to an inquiry code transmitted from the communication commander, a storage area data corresponding to the storage area of the memory is provided so as to be returned to the communication commander, and the communication commander transmits the storage area data returned from each controller. A solenoid valve control device, comprising: an arithmetic unit for calculating an address for storing both the solenoid valve drive data and the detection data in a memory provided in the memory so as to arrange the solenoid valve drive data and the detection data for each controller. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11385294A JP3317580B2 (en) | 1994-04-28 | 1994-04-28 | Solenoid valve control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11385294A JP3317580B2 (en) | 1994-04-28 | 1994-04-28 | Solenoid valve control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07301358A JPH07301358A (en) | 1995-11-14 |
| JP3317580B2 true JP3317580B2 (en) | 2002-08-26 |
Family
ID=14622690
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11385294A Expired - Fee Related JP3317580B2 (en) | 1994-04-28 | 1994-04-28 | Solenoid valve control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3317580B2 (en) |
-
1994
- 1994-04-28 JP JP11385294A patent/JP3317580B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07301358A (en) | 1995-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102271132B1 (en) | Inverter booster pump system with sub-controller | |
| US10253482B2 (en) | Control valve diagnostic system in hydraulic circuit | |
| US6901315B2 (en) | Device for controlling a hydraulic actuator | |
| EP2996442A1 (en) | Signal display lamp | |
| JP3317580B2 (en) | Solenoid valve control device | |
| JPH06241212A (en) | Electronic control unit for hydraulic circuit | |
| CA2660045C (en) | Rock drilling apparatus and method for controlling rock drilling apparatus | |
| JP2016070488A (en) | Fault diagnosis system of control valve in hydraulic circuit | |
| KR101037165B1 (en) | Protective relay | |
| JPH07190234A (en) | Solenoid valve control device | |
| KR200176502Y1 (en) | Remote motor controller | |
| JPH0259346B2 (en) | ||
| JP3317572B2 (en) | Solenoid valve control device | |
| JP3174440B2 (en) | Solenoid valve control device | |
| KR100489989B1 (en) | System for driving control rod of nuclear reactor | |
| JP3317561B2 (en) | Solenoid valve control device | |
| JPH07280129A (en) | Solenoid valve control device | |
| KR100316580B1 (en) | Input-output port auto connection apparatus using a memory port connection system | |
| KR19980041620A (en) | Construction machine control system | |
| JP3011975B2 (en) | Screen display system in automation line | |
| KR20110072071A (en) | Beacon lamp control device of construction machinery and its method | |
| JP2992060B2 (en) | Screen display system in automation line | |
| JP2002195440A (en) | Drive control method for solenoid valve | |
| KR20010028540A (en) | micro chip is interior in marine start panel | |
| JPH0510475A (en) | Solenoid valve unit with storing means |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090614 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |