JPH04205106A - Programmable controller - Google Patents
Programmable controllerInfo
- Publication number
- JPH04205106A JPH04205106A JP2328926A JP32892690A JPH04205106A JP H04205106 A JPH04205106 A JP H04205106A JP 2328926 A JP2328926 A JP 2328926A JP 32892690 A JP32892690 A JP 32892690A JP H04205106 A JPH04205106 A JP H04205106A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- programmable controller
- communication parameter
- input
- connected 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 claims abstract description 67
- 238000000034 method Methods 0.000 claims abstract description 11
- 230000005540 biological transmission Effects 0.000 claims abstract description 9
- 238000001514 detection method Methods 0.000 claims description 12
- 238000012508 change request Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 5
- 230000001360 synchronised effect Effects 0.000 abstract description 2
- 230000004075 alteration Effects 0.000 abstract 5
- 238000010586 diagram Methods 0.000 description 3
- 101100289061 Drosophila melanogaster lili gene Proteins 0.000 description 1
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 238000005086 pumping Methods 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
本発明:ま、入出力ボートの通信ハラメータ(1云送達
度、データ構成、1二速制御B手順)の設定変更手段を
有するプログラマブルコントローラ二二関する。Detailed Description of the Invention [Industrial Application Fields] The present invention: A programmable controller having means for changing the settings of communication parameters (1 delivery rate, data configuration, 1 two-speed control B procedure) of an input/output boat. Two matters.
[従来の技術]
従来の装置は、接続機器とのデータの送受信を行なうた
めの送受信ボートの通信パラメータを変更する手段とし
ては、
(1)第4図に示すように通信パラメータ設定用のS〜
を用意し、ユーザーのsw操作によって接続相手の持つ
通信パラメータ二二合わせる。[Prior Art] In a conventional device, as means for changing communication parameters of a transmitting/receiving boat for transmitting/receiving data with a connected device, (1) as shown in FIG.
The communication parameters of the connection partner are adjusted by the user's SW operation.
(2)接続機器よりあらがしめ定められたヒツトパター
ン(1ビツトたけ1となるデータ)のデータを受信し、
そのデータを直接講へて通信パラメータの伝送速度を算
出し、受信装置側のパラメータを合わせる(特開昭57
190445)。という技術かあった。(2) Receive data of a predetermined hit pattern (data where every bit is 1) from the connected device,
The data is directly used to calculate the transmission speed of the communication parameters, and the parameters on the receiving device side are adjusted.
190445). There was a technique called that.
[発明が解決しようとする問題]
上記従来技術こま、まず(1)では、最近σ)・])H
′。[Problem to be solved by the invention] In the above prior art piece, first, in (1), recently σ)・])H
'.
(ヒされたブロアー77フルコシト[’7− ”−・リ
−λb\〜9−)実装か困難であ;〕、結局通信バー1
べ′−タリ変史、す)てざないという問題かj’l−)
た。(It was difficult to install the blower 77 that was hit ['7-"-・Lee-λb\~9-]), and in the end, the communication bar 1
Is it a question of Betari Henshi, S)tezanai?
Ta.
また(2)てこま、S〜の実装か不用で通1ijハ9・
メータのうち圧送速度を自動的:こ変更可能たh)、デ
ータ構成、伝送制−手順の変更:こ間し考慮乃)されて
いないため、データ構成、伝送制御手順か固定かされて
しまう欠点かあった。Also, (2) Tekoma, whether S~ is implemented or not, it is 1ijha9・
The pumping speed of the meter can be changed automatically (h), but the data structure and transmission control procedure are not taken into account for a while, so the data structure and transmission control procedure are fixed. There was.
本発明の目的こよ、実装困難な小形プログラマブルコン
トローラでも、通信パラメータの設定を接続機器の持つ
通信バラメータ二二合わせる事か可能なフ゛ロクラマブ
ルコントローラを提供する二とにある。The object of the present invention is to provide a programmable controller that allows communication parameter settings to match those of a connected device even in a small programmable controller that is difficult to implement.
さらに、設定SWをなくしたこと;こより、ユーサーを
S〜の設定操作のわずられしさから間放し、使い勝手の
よいプログラマブルコントローラを提供することにある
。Furthermore, the setting SW is eliminated; this relieves the user from the hassle of setting the S~, thereby providing an easy-to-use programmable controller.
[課題を解決するための手段]
上記目的を達成するためここ、通温インタフェースに接
続相手からの通信パラメータの変史要求活号を検出する
検出手段と、上記検出f−段;こ上る1史要求検出に基
つき通はハラ^−9の変更を指示する指示手段を設け、
上記指示手段D)らの指示二二基づきその後送信された
接続相手からの通信ハラメータ変更コマシトてブロクラ
マフルコンI・ローラ側の通信ハラメータのデータ構成
・伝送制御手順の少なくとも一方を変更するように構成
したものである。[Means for Solving the Problems] In order to achieve the above object, we provide a detection means for detecting an activation signal for changing the history of communication parameters from a connected party to the heating interface, and the above-mentioned detection f-stage; Based on the detection of the request, the guide provides an instruction means for instructing the change of Hara^-9,
Based on the instruction 22 from the above-mentioned instruction means D), it is configured to change at least one of the data structure and transmission control procedure of the communication harameter on the Brokrama Full Control I/roller side based on the communication harameter change frame from the connection partner that is subsequently sent. This is what I did.
[作用コ
上記検出手段での通信パラメータ変更要求信号の受信に
基つき、接続機器とプログラマブルコントローラの通信
パラメータ変更の同期がとられ、これに依って接続機器
及びプログラマブルコントローラの両者の通信パラメー
タがあるかしめ決めらrした通信パラメータに設定し直
され、通信による通信パラメータ変更を行なっても、接
続機器か出した通信パラメータ変更要求コマンドをプロ
グラマブルコントローラ側で正しく受信する二とかてき
、)゛ログラマフルコントローラの通信ハラメータを接
続機器の要求通りに設定し直す二と1戸できる。また、
なんパ)f))の9ト部要因(ノイズ等〉で、通信コマ
シトv1正ヒー受入れかくとも、接続代器側に再度、E
記検出手段から縁:J返゛r処理を11ける二とここよ
;J、確実;こf更することかできる。[Operation: Based on the reception of the communication parameter change request signal by the detection means, the communication parameter changes of the connected device and the programmable controller are synchronized, and thereby the communication parameters of both the connected device and the programmable controller are changed. Even if the communication parameters are reset to predetermined communication parameters and the communication parameters are changed via communication, the programmable controller side will correctly receive the communication parameter change request command sent from the connected device. It is possible to reconfigure the communication parameters of the device according to the requirements of the connected device. Also,
Due to factors (noise, etc.) in part 9 of f)), even if the communication frame v1 positive heat is accepted, the E
From the detection means mentioned above, the J return process can be changed from 11 to 2.
[実施例コ 以下、本発明の一実施例を図面を2招して説明する。[Example code] Hereinafter, one embodiment of the present invention will be described with reference to two drawings.
)第1図は、本発明を実施するためのプログラマブルコ
ントローラの基本的な構成である。二のプログラマブル
コントローラは演算制御を行なう〜IPし°4、ンステ
ムROM / RA M 5、ニーサーブログラムメモ
リ6、人出力部7、接続機器2とのデータの入出力を行
なう通信インタフェース部8を備えている。) FIG. 1 shows the basic configuration of a programmable controller for implementing the present invention. The second programmable controller is equipped with an IP address 4 for performing arithmetic control, a system ROM/RAM 5, a knee program memory 6, a human output section 7, and a communication interface section 8 for inputting and outputting data with the connected device 2. ing.
M P L; 4は、ユーザプログラムメモリ6に記憶
されているンーケンスプログラムを読み出し・、シーケ
ンス演算を順次寅1テして、入出力部7を介してシーケ
ンス別画対象3を制障する。また、5IPU4は、通信
インタフェース部8の入出力ボート12を介して接続さ
れた接続機器2からのコマシトでニーサーブログラムメ
モリ6の内容をW換えたり、人出力部7のモニタをiテ
なったりするサーヒス処理を実1テする
以上のようなフ′ロクラマフルコントローラに方−゛い
て、通信インタフェース部8とtfi続機器との間でデ
ータの送受信制御を1テなう通信制御部9の通信パラメ
ータ(伝送速度、データ構成、伝送制御手順)の設定変
更は次のようにしてなされろ。通信インタフェース8内
に指示手段lOを設け、人出力ボート12!こ接続され
た接続機器2からの通信パラメータ変更要求信号を通信
パラメータ変更人力信号検出手段11て常に監視し、本
信号の入力を検出したら検出手段11からの検出信号に
基づいて指示手段10からフラグを出力させ、MPU4
に通信パラメータ変更指示を与える。本フラグにより、
接続機器とプログラマブルコントローラの通信パラメー
タ変更開始の同期をとる三とができる。M P L; 4 reads out the sequence program stored in the user program memory 6 , sequentially performs sequence calculations, and interrupts the sequence separate image object 3 via the input/output unit 7 . In addition, the 5IPU 4 changes the contents of the knee server program memory 6 or changes the monitor of the human output unit 7 with information from the connected device 2 connected via the input/output port 12 of the communication interface unit 8. The communication control unit 9 controls the transmission and reception of data between the communication interface unit 8 and the TFI connected device. Change the settings of communication parameters (transmission speed, data structure, transmission control procedure) as follows. An instruction means lO is provided in the communication interface 8, and the human output boat 12! The communication parameter change human input signal detection means 11 constantly monitors the communication parameter change request signal from the connected connected device 2, and when the input of this signal is detected, the instruction means 10 issues a flag based on the detection signal from the detection means 11. output, MPU4
gives instructions to change communication parameters. With this flag,
It is possible to synchronize the start of communication parameter changes between the connected device and the programmable controller.
第2図かM P L+ 4 二こよる通信パラメータ変
更処理のフローチャ−1・である。接続機器側かス9−
1281−ろと、始めに通信ハラメーク変更要求13号
の出力2つをiテない、−テ;こ第3図:こ示す通信ハ
ラメータの設定側て通信ハラメー9の初期設定、30を
行なっ。プログラマアルコントローラーリて二ま通信パ
ラメータ変更開始フラグ0N20でスフ−1−21する
と、まず、接続機器側と同し・第3図に示す通信パラメ
ータの設定例で通信パラメータの初期設定22を1テな
う。FIG. 2 is a flowchart 1 of communication parameter change processing in MPL+4. Connected device side 9-
1281-Rot, first input the two outputs of Communication Hara-Meter Change Request No.13. When the programmer controller repeats Step 1-21 with the communication parameter change start flag 0N20, first, the initial settings 22 of the communication parameters are set in one step using the communication parameter setting example shown in Figure 3, which is the same as the connected device side. Now.
ここまでの手順で、プログラマアルコントローラ側と、
接続機器例の通信パラメータか同一となり、以降、接続
機器とプログラマブルコントローラ間のデータの授受が
正しく行なえるようになる。With the steps up to this point, the programmer controller side,
The communication parameters of the connected devices become the same, and henceforth data can be exchanged correctly between the connected devices and the programmable controller.
次に接続機器1j11!こよるプログラマブルコントロ
ーラII!11への通信パラメータ変更要求コマンドの
送信処理31及び、プログラマアルコントローラ側の通
信変更要求コマンドの受信処理23を行ない、接続機器
の目的とする通信パラメータをプログラマアルコントロ
ーラへ伝える。受信したデータは、誤りかないV)どう
かを確認する目的で受信データのチエツクを1テい、チ
エツク結果を応答データとして、接続I!器側へ送活す
る。25か正常応答処理、36か異常応答処理で、:3
2が接続機器…リリ応答受信処理である。また、接続機
器側でもつ答データのチエツクをiテない、応薯チー9
に異常V)あろ場合:ま、再度通信ハラメータ変更要求
信号の出力2つから実1テさせろ二とにより接続機器が
らプログラマフルコシトローラへ目的とする通1gハラ
メータか正しく伝2)る。Next is the connected device 1j11! Koyoru Programmable Controller II! A process 31 for transmitting a communication parameter change request command to the programmable controller 11 and a process 23 for receiving a communication change request command on the programmable controller side are performed to transmit the intended communication parameters of the connected device to the programmable controller. The received data is checked once to confirm whether it is correct or not, and the check result is used as response data to connect I! Send life to the vessel side. 25 is normal response processing, 36 is abnormal response processing, :3
2 is the connected device...Lili response reception processing. In addition, the answering team 9 does not check the answer data on the connected device side.
If there is an abnormality V): Well, once again, make sure to output 2 outputs of the communication harameter change request signal 2) to correctly transmit the desired 1g harameter from the connected equipment to the programmer full cocitrol.
チエツク結果か正常な場合は、接続機器の目的とする通
信パラメータへ通信パラメータの変更処理26.34を
実行する。If the check result is normal, communication parameter change processing 26 and 34 is executed to the target communication parameters of the connected device.
[発明の効果]
本発明によれば、SWが実装困難な小形プログラマブル
コントローラでも、入出力ボートの通信ハラメータの設
定を接続機器が目的時する通信パラメータに変更するこ
とができる。[Effects of the Invention] According to the present invention, even in a small programmable controller in which SW is difficult to implement, it is possible to change the settings of the communication parameter of the input/output boat to the communication parameters intended for the connected device.
また、設定S〜νをなくしたことここより、ユーザーを
S〜νの設定操作のわずられしさから開放し、使い勝手
のよいプログラマアルコントローラときす二とかできる
。Furthermore, since the settings S to ν are eliminated, the user is freed from the troublesome operation of setting S to ν, and an easy-to-use programmable controller can be created.
′?、1図:!本発明の一実施例のプログラマアルコン
トローラの基本的な構成図、第2図こよ通信パラメータ
変更処理のフローチャーI・図、第3図は通信ハラヌー
タ設定例説明図、第4図は通信パラメータ設定SWの設
定例説明図である。
l・・プログラマアルコントローラ、2・・・接続機器
3・・・ノーケンス制1all対象、4・・・MPU、
5・・・ンステムROM / R、A〜1.6・・・ユ
ーザプログラムメモリ、7−・・入出力部、8・・・通
信インタフェース部、9・・・通信制御部、10・・・
指示手段、11・・・通信パラメータ変更要求信号検出
手段、12・・・人出力ボート、21・・・プログラマ
ブルコントローラ側の通信パラメータ変更処理、28・
・・接続機器側の通信パラメータ変更処理
羊 I 圀
第 2 図
J73 図′? , Figure 1:! A basic configuration diagram of the programmer controller according to an embodiment of the present invention, Fig. 2 is a flowchart of communication parameter change processing, Fig. 3 is an explanatory diagram of a communication Haranuta setting example, and Fig. 4 is a communication parameter setting FIG. 4 is an explanatory diagram of an example of SW settings. l...Programmer controller, 2...Connected device 3...No-kense system 1all target, 4...MPU,
5... System ROM/R, A~1.6... User program memory, 7-... Input/output section, 8... Communication interface section, 9... Communication control section, 10...
Instruction means, 11... Communication parameter change request signal detection means, 12... Human output boat, 21... Communication parameter change processing on the programmable controller side, 28.
...Communication parameter change processing on the connected device side Figure J73
Claims (1)
の送受信を行なうための通信インタフェースと、データ
の送受信を行なう際の通信プロトコルに関する通信パラ
メータでを設定変更できる手段を持ったプログラマブル
コントローラにおいて、上記通信インタフェースに接続
相手からの通信パラメータの変更要求信号を検出する検
出手段と、上記検出手段による変更要求検出に基づき通
信パラメータの変更を指示する指示手段を設け、上記指
示手段からの指示に基づきその後送信された接続相手か
らの通信パラメータ変更コマンドでプログラマブルコン
トローラ側の通信パラメータのデータ構成・伝送制御手
順の少なくとも一方を変更するように構成されたことを
特徴とするプログラマブルコントローラ。In a programmable controller that has a communication interface for transmitting and receiving data between the programmable controller and its connected device, and a means for changing the settings of communication parameters related to the communication protocol when transmitting and receiving data, a device connected to the communication interface a detection means for detecting a communication parameter change request signal from a communication parameter; and an instruction means for instructing a communication parameter change based on the detection of the change request by the detection means; 1. A programmable controller characterized in that the programmable controller is configured to change at least one of a data configuration of communication parameters and a transmission control procedure on the programmable controller side in response to a communication parameter change command from the programmable controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP02328926A JP3085403B2 (en) | 1990-11-30 | 1990-11-30 | Programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP02328926A JP3085403B2 (en) | 1990-11-30 | 1990-11-30 | Programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04205106A true JPH04205106A (en) | 1992-07-27 |
JP3085403B2 JP3085403B2 (en) | 2000-09-11 |
Family
ID=18215639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP02328926A Expired - Lifetime JP3085403B2 (en) | 1990-11-30 | 1990-11-30 | Programmable controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3085403B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10312202A (en) * | 1997-05-12 | 1998-11-24 | Sharp Corp | Programmable controller |
WO2016123851A1 (en) * | 2015-02-02 | 2016-08-11 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for synchronizing communication parameters |
-
1990
- 1990-11-30 JP JP02328926A patent/JP3085403B2/en not_active Expired - Lifetime
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10312202A (en) * | 1997-05-12 | 1998-11-24 | Sharp Corp | Programmable controller |
WO2016123851A1 (en) * | 2015-02-02 | 2016-08-11 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for synchronizing communication parameters |
Also Published As
Publication number | Publication date |
---|---|
JP3085403B2 (en) | 2000-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0313470A (en) | Monitor for elevator | |
JPH11169338A (en) | Electronic endoscope apparatus capable of making non-scope connection display | |
WO1990000109A1 (en) | Nominal data automatic setting method of visual sensor system | |
JP7251324B2 (en) | Communication device, automatic baud rate setting method, and communication system | |
JPS62159947A (en) | Communication terminal equipment | |
JPH04205106A (en) | Programmable controller | |
JPH04186443A (en) | Information processor | |
JP2020518875A5 (en) | ||
TW201715397A (en) | Detecting system and method for baseboard management controller | |
JPS59220835A (en) | Audio response unit | |
JP2620410B2 (en) | Liquid chromatograph | |
JP2969762B2 (en) | Monitoring method | |
JPH04181852A (en) | Modem provided with state diagnostic function | |
JP2775671B2 (en) | Liquid chromatograph | |
CN116058769A (en) | Endoscope body state detection method and device for endoscope, endoscope and storage medium | |
JP3695904B2 (en) | Supervisory control device | |
JPH0420465A (en) | Remote maintenance device for elevator | |
JPH0527859A (en) | Automatic system operation control method | |
JP3097213B2 (en) | Security monitoring device | |
JP2000181600A (en) | Medical care and welfare device having automatic switching display function | |
JPH05108397A (en) | Hardware fault monitoring system | |
JPS6340420A (en) | Analog signal transmission equipment | |
JPH06261115A (en) | Transmitter-receiver with signal level setting control | |
JPH09277659A (en) | Automatic confirming device of printing equipment | |
JPH0220197A (en) | Line connecting system between numerical control device and its peripheral equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080707 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080707 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090707 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090707 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100707 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110707 Year of fee payment: 11 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110707 Year of fee payment: 11 |