JP2006324749A - Control device and address setting method - Google Patents
Control device and address setting method Download PDFInfo
- Publication number
- JP2006324749A JP2006324749A JP2005143858A JP2005143858A JP2006324749A JP 2006324749 A JP2006324749 A JP 2006324749A JP 2005143858 A JP2005143858 A JP 2005143858A JP 2005143858 A JP2005143858 A JP 2005143858A JP 2006324749 A JP2006324749 A JP 2006324749A
- Authority
- JP
- Japan
- Prior art keywords
- control device
- address setting
- predetermined
- storage means
- station
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、FA分野で使用される制御装置に関し、特にネットワークサーボ制御装置およびそのアドレス設定方法に関する。 The present invention relates to a control device used in the FA field, and more particularly to a network servo control device and its address setting method.
従来、ネットワークサーボ制御装置の使用軸数は、一般的に4軸程度であり、その局アドレスは、16進のロータリスイッチ等で設定していた(例えば、非特許文献1参照)。
上記ロータリスイッチを使用すれば、16の局アドレスを設定できるが、全局に同時にデータを送る一斉放送があるのでこれが1局分となり、実質15局までの設定となっていた。
このように、従来のネットワークサーボ制御装置の接続数は15局が最大であった。
If the above rotary switch is used, 16 station addresses can be set. However, since there is a simultaneous broadcast that simultaneously sends data to all the stations, this is for one station, and the setting is actually up to 15 stations.
Thus, the maximum number of connections of the conventional network servo control apparatus is 15 stations.
従来のネットワークサーボ制御装置は、15のアドレスまでしか設定できなかったので、16以上の局を接続するには、スイッチを増設する必要があった。
しかしながら、通常は4局程度の使用であるから、最大接続数が15局であっても問題無いにもかかわらず、カタログスペックでの競争の為に余計なハードを追加する事は無駄である。さらに、スイッチの増加は、設定ミスの増加につながるうえ、パネル表面を占有するという問題もあった。
Since the conventional network servo control device can only set up to 15 addresses, it is necessary to add a switch to connect 16 or more stations.
However, since about 4 stations are usually used, it is useless to add extra hardware for competition in the catalog specifications even though there is no problem even if the maximum number of connections is 15. Furthermore, an increase in switches leads to an increase in setting mistakes and also occupies the panel surface.
本発明はこのような問題点に鑑みてなされたものであり、スイッチを増設せずとも、16局以上を接続することができるとともに、機能の拡張が可能な制御装置を提供することを目的とする。 The present invention has been made in view of such problems, and it is an object of the present invention to provide a control device capable of connecting 16 stations or more without expanding the number of switches and capable of expanding functions. To do.
上記問題を解決するため、本発明は、次のように構成したのである。
請求項1に記載の発明は、記憶手段と局アドレス設定スイッチとを備え、ディージーチェーン接続される制御装置において、前記局アドレス設定スイッチが所定の値に設定されたとき、前記記憶手段の第1の記憶領域に記憶された値に基づいて、所定の動作を切り替えることを特徴とするものである。
また、請求項2に記載の発明は、前記所定の動作は、前記記憶手段の所定の記憶領域に記憶された値を局アドレスとする動作と、前記記憶手段の所定の記憶領域に記憶された値により決まる機能を指定する動作であることを特徴とするものである。
また、請求項3に記載の発明は、前記記憶手段の所定の記憶領域に記憶された値により決まる機能は、前記制御装置が主局となる機能である
ことを特徴とするものである。
また、請求項4に記載の発明は、記憶手段と局アドレス設定スイッチとを備え、ディージーチェーン接続される制御装置において、前記局アドレス設定スイッチが所定の値に設定されたとき、前記記憶手段の第1の記憶領域に記憶された値に基づいて、前記記憶手段の第2の記憶領域に記憶された値を局アドレスとすることを特徴とするものである。
また、請求項5に記載の発明は、記憶手段と局アドレス設定スイッチとを備え、ディージーチェーン接続される制御装置において、前記局アドレス設定スイッチが所定の値に設定され、前記記憶手段の第1の記憶領域に記憶された値に基づいて、所定の動作を切り替えることを特徴とするものである。
また、請求項6に記載の発明は、前記所定の動作は、前記記憶手段の所定の記憶領域に記憶された値を局アドレスとする動作と、前記記憶手段の所定の記憶領域に記憶された値により決まる機能を指定する動作であることを特徴とするものである。
また、請求項7に記載の発明は、前記記憶手段の所定の記憶領域に記憶された値により決まる機能は、前記制御装置が主局となる機能であることを特徴とするものである。
また、請求項8に記載の発明は、記憶手段と局アドレス設定スイッチとを備え、ディージーチェーン接続される制御装置において、前記局アドレス設定スイッチが所定の値に設定され、前記記憶手段の第1の記憶領域に記憶された値に基づいて、前記記憶手段の第2の記憶領域に記憶された値を局アドレスとすることを特徴とするものである。
In order to solve the above problem, the present invention is configured as follows.
According to the first aspect of the present invention, in a control device comprising a storage means and a station address setting switch and being daisy chain connected, when the station address setting switch is set to a predetermined value, the first of the storage means The predetermined operation is switched based on the value stored in the storage area.
According to a second aspect of the present invention, the predetermined operation is stored in the predetermined storage area of the storage means and the operation using the value stored in the predetermined storage area of the storage means as a station address. It is an operation for designating a function determined by a value.
According to a third aspect of the present invention, the function determined by the value stored in a predetermined storage area of the storage means is a function in which the control device is a main station.
According to a fourth aspect of the present invention, in a control device comprising a storage means and a station address setting switch and being connected in a daisy chain, when the station address setting switch is set to a predetermined value, the storage means Based on the value stored in the first storage area, the value stored in the second storage area of the storage means is used as the station address.
According to a fifth aspect of the present invention, in a control device comprising a storage means and a station address setting switch, the station address setting switch being set to a predetermined value in a daisy chain connected control device, the first of the storage means The predetermined operation is switched based on the value stored in the storage area.
According to a sixth aspect of the present invention, the predetermined operation is stored in the predetermined storage area of the storage means and the operation using the value stored in the predetermined storage area of the storage means as a station address. It is an operation for designating a function determined by a value.
The invention according to claim 7 is characterized in that the function determined by the value stored in a predetermined storage area of the storage means is a function in which the control device is a main station.
The invention according to claim 8 is provided with a storage means and a station address setting switch, and in the control device connected in a daisy chain, the station address setting switch is set to a predetermined value, and the first of the storage means Based on the value stored in the storage area, the value stored in the second storage area of the storage means is used as the station address.
請求項1、5に記載の発明によると、局アドレス設定スイッチを所定の設定値とすることで動作が切り替わるので、別途設定スイッチを設けることなく、機能拡張を図ることができる。
また、請求項2、6に記載の発明によると、局アドレス設定スイッチを所定の設定値とすることで、局アドレス設定動作と、機能拡張の指定動作を切り替えることができるので、別途設定スイッチを設けることなく、機能の拡張が可能となる。
また、請求項3、7に記載の発明によると、局アドレス設定スイッチを所定の設定値とすることで主局として動作するので、別途設定スイッチを設けることなく、機能の拡張が可能となる。
また、請求項4、8に記載の発明によると、局アドレス設定スイッチを所定の設定値とすることで15以上の局アドレスを指定することができるので、別途局アドレス設定スイッチを設けることなく、接続局数を増やすことができる。
According to the first and fifth aspects of the present invention, since the operation is switched by setting the station address setting switch to a predetermined setting value, the function can be expanded without providing a separate setting switch.
According to the second and sixth aspects of the present invention, the station address setting switch and the function expansion specifying operation can be switched by setting the station address setting switch to a predetermined setting value. The function can be expanded without providing it.
According to the third and seventh aspects of the present invention, the station address setting switch is operated as a main station by setting the station address setting switch to a predetermined setting value. Therefore, the function can be expanded without providing a separate setting switch.
Further, according to the inventions of claims 4 and 8, by setting the station address setting switch to a predetermined setting value, it is possible to designate 15 or more station addresses, so that a separate station address setting switch is not provided. The number of connected stations can be increased.
以下、本発明の実施の形態について図を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1はネットワークサーボ制御装置の接続を示す説明図であり、子局となる制御装置が主局(図示せず)に対して少なくとも3台ディージーチェーン接続された状態を示している。
図において、11a、11b、11cは制御装置であって、本実施例においては、ネットワークサーボ制御装置である。
12はロータリスイッチである。ロータリスイッチ12を用いて、ネットワークサーボ制御装置11の局アドレスが、各々重複しないように設定される。
FIG. 1 is an explanatory diagram showing the connection of the network servo control device, and shows a state where at least three control devices as slave stations are daisy chain connected to a main station (not shown).
In the figure,
図3はネットワークサーボ制御装置11に設けられたメモリーの、あるアドレスのパラメータP100以降の内容を示した説明図である。
図3(a)において、P100には値00hが、続くパラメータP101には、値73hが記憶されている。
FIG. 3 is an explanatory diagram showing the contents after a parameter P100 at a certain address in the memory provided in the network servo control device 11. As shown in FIG.
In FIG. 3A, the value 00h is stored in P100, and the value 73h is stored in the subsequent parameter P101.
次に、本発明の制御装置の動作について説明する。
図2は、主局と子局のデータ伝送の様子を示すタイムチャートである。伝送のタイミングは時分割の半二重で、周期Tを16分割して、1局当たり時間T1でデータの授受が行われる。なお、本内容は、特公平6−19660号記載の分散型数値制御装置に記載されている。
破線の上側は主局のコントローラから、下が子局たるネットワークサーボ制御装置からの返答である。ここで、子局のアドレスは50番台となっている。主局がFFhのアドレス宛てにデータを送信(一斉放送)すると最後に全ての子局に割込が発生し、このタイミングで演算の同期が行われる。
Next, the operation of the control device of the present invention will be described.
FIG. 2 is a time chart showing a state of data transmission between the main station and the slave station. The transmission timing is time-division half-duplex. The period T is divided into 16, and data is exchanged at a time T1 per station. This content is described in a distributed numerical control apparatus described in Japanese Patent Publication No. 6-19660.
The upper side of the broken line is a response from the controller of the main station, and the lower is a response from the network servo control device as a slave station. Here, the addresses of the slave stations are in the 50s. When the main station transmits data to the address of FFh (broadcasting), all the slave stations are interrupted at the end, and operations are synchronized at this timing.
ここで、ロータリスイッチ12で設定出来るのは50番台の下の桁である。さらに、一斉放送の部分が割り当てられないので、ネットワークサーボ制御装置は15局しか接続出来ないが、0hにスイッチが設定されると、メモリーに書き込まれたパラメータの値が、アドレスとなる様にする。
すなわち、ネットワークサーボ制御装置使用前に、各局のアドレスの設定を行うが、このとき、ロータリスイッチ12を0hに設定すると、P100の値を参照し、P100の値が00hならば、アドレス設定モードであることを判断し、続くパラメータP101が局アドレスとなる。
以上より、事前に各局アドレスが重複しないように、記憶手段の所定のアドレスに局アドレスを書き込んでおくことで、16局以上のアドレスをロータリスイッチ1つで設定できる。
Here, what can be set by the
That is, the address of each station is set before using the network servo controller. At this time, if the
As described above, it is possible to set addresses of 16 stations or more with one rotary switch by writing station addresses at predetermined addresses in the storage means so that the station addresses do not overlap in advance.
図3(b)は、第2の実施例を示すパラメータP100以降の内容を示した説明図である。図において、P100には値01hが、続くパラメータP101には、値01hが記憶されている。なお、実施例1とは、P100に記憶されている値が異なっている。
図4は第2実施例を示すネットワークサーボ制御装置の説明図である。
ロータリスイッチ12を0hに設定すると、P100の値を参照し、P100が01hであるときはサーボ制御装置の動作を指定するモードであると判断する。そして、P101が01hであるときは、該当サーボ制御装置が主局となるように予め設定しておくことで、入出力モジュールの状態で自分のサーボ軸を動かすとともに、他のサーボ制御装置に対しても指令を与える事が出来る。
以上より、単なるアドレス設定にとどまらず、機能の拡張を図ることができる。
FIG. 3B is an explanatory diagram showing the contents after the parameter P100 showing the second embodiment. In the figure, the value 01h is stored in P100, and the value 01h is stored in the subsequent parameter P101. In addition, the value memorize | stored in P100 differs from Example 1. FIG.
FIG. 4 is an explanatory diagram of the network servo control apparatus showing the second embodiment.
When the
From the above, it is possible to expand functions beyond mere address setting.
なお、上記実施例においては、ロータリスイッチが0hに設定されると、P100値を参照するようにしているが、Fhでも良く、さらには任意であっても構わない。
また、上記ロータリスイッチは、ディップスイッチ等の任意のスイッチでも良い。
また、パラメータP100に記憶させておく値は上記実施例に限らず、予め決定したものであれば任意でよい。P101についても同様である。
また、P100とP101は連続したアドレスでなくとも良く、同一アドレスであっても良い。すなわち、物理的な記憶領域が異なっていれば良く、それぞれ区別してアクセスできれば良い。さらにP101は、P100に記憶された値によって異なる記憶領域としても良い。
In the above embodiment, when the rotary switch is set to 0h, the P100 value is referred to. However, Fh may be used, and it may be arbitrary.
The rotary switch may be any switch such as a dip switch.
Further, the value stored in the parameter P100 is not limited to the above embodiment, and may be arbitrary as long as it is determined in advance. The same applies to P101.
Further, P100 and P101 need not be continuous addresses, but may be the same address. That is, it is only necessary that the physical storage areas are different, and it is sufficient that they can be accessed separately. Furthermore, P101 may be a different storage area depending on the value stored in P100.
11a、11b、11c ネットワークサーボ制御装置
12 ロータリスイッチ
11a, 11b, 11c
Claims (8)
前記局アドレス設定スイッチが所定の値に設定されたとき、
前記記憶手段の第1の記憶領域に記憶された値に基づいて、所定の動作を切り替えることを特徴とする制御装置。 In a control device comprising a storage means and a station address setting switch and connected in a daisy chain,
When the station address setting switch is set to a predetermined value,
A control apparatus that switches a predetermined operation based on a value stored in a first storage area of the storage means.
前記局アドレス設定スイッチが所定の値に設定されたとき、
前記記憶手段の第1の記憶領域に記憶された値に基づいて、前記記憶手段の第2の記憶領域に記憶された値を局アドレスとすることを特徴とする制御装置。 In a control device comprising a storage means and a station address setting switch and connected in a daisy chain,
When the station address setting switch is set to a predetermined value,
A control apparatus characterized in that, based on a value stored in the first storage area of the storage means, a value stored in the second storage area of the storage means is used as a station address.
前記局アドレス設定スイッチが所定の値に設定され、
前記記憶手段の第1の記憶領域に記憶された値に基づいて、所定の動作を切り替えることを特徴とする制御装置のアドレス設定方法。 In a control device comprising a storage means and a station address setting switch and connected in a daisy chain,
The station address setting switch is set to a predetermined value,
An address setting method for a control device, wherein a predetermined operation is switched based on a value stored in a first storage area of the storage means.
前記局アドレス設定スイッチが所定の値に設定され、
前記記憶手段の第1の記憶領域に記憶された値に基づいて、前記記憶手段の第2の記憶領域に記憶された値を局アドレスとすることを特徴とする制御装置のアドレス設定方法。 In a control device comprising a storage means and a station address setting switch and connected in a daisy chain,
The station address setting switch is set to a predetermined value,
An address setting method for a control apparatus, wherein a value stored in the second storage area of the storage means is used as a station address based on a value stored in the first storage area of the storage means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005143858A JP2006324749A (en) | 2005-05-17 | 2005-05-17 | Control device and address setting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005143858A JP2006324749A (en) | 2005-05-17 | 2005-05-17 | Control device and address setting method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006324749A true JP2006324749A (en) | 2006-11-30 |
Family
ID=37544127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005143858A Pending JP2006324749A (en) | 2005-05-17 | 2005-05-17 | Control device and address setting method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006324749A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03266246A (en) * | 1990-03-16 | 1991-11-27 | Hitachi Ltd | Magnetic recording and reproducing device |
JPH0936895A (en) * | 1995-07-18 | 1997-02-07 | Ekushingu:Kk | Terminal equipment |
JPH09137992A (en) * | 1995-11-16 | 1997-05-27 | Sanyo Electric Co Ltd | Air-conditioning apparatus |
JPH09200210A (en) * | 1996-01-11 | 1997-07-31 | Yaskawa Electric Corp | Address setting method |
JPH10290236A (en) * | 1997-04-11 | 1998-10-27 | Komatsu Electron Kk | Multicommunication device |
JPH11341026A (en) * | 1998-05-26 | 1999-12-10 | Sekisui Chem Co Ltd | Communication control system for network terminal |
JP2003338821A (en) * | 2002-05-20 | 2003-11-28 | Nec Viewtechnology Ltd | Wireless network system |
-
2005
- 2005-05-17 JP JP2005143858A patent/JP2006324749A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03266246A (en) * | 1990-03-16 | 1991-11-27 | Hitachi Ltd | Magnetic recording and reproducing device |
JPH0936895A (en) * | 1995-07-18 | 1997-02-07 | Ekushingu:Kk | Terminal equipment |
JPH09137992A (en) * | 1995-11-16 | 1997-05-27 | Sanyo Electric Co Ltd | Air-conditioning apparatus |
JPH09200210A (en) * | 1996-01-11 | 1997-07-31 | Yaskawa Electric Corp | Address setting method |
JPH10290236A (en) * | 1997-04-11 | 1998-10-27 | Komatsu Electron Kk | Multicommunication device |
JPH11341026A (en) * | 1998-05-26 | 1999-12-10 | Sekisui Chem Co Ltd | Communication control system for network terminal |
JP2003338821A (en) * | 2002-05-20 | 2003-11-28 | Nec Viewtechnology Ltd | Wireless network system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10572420B2 (en) | Information processing apparatus, information processing program, and information processing method | |
WO2011108026A1 (en) | Control system provided with programmable display, programmable display, and drawing data creation means thereof | |
JP2016110458A (en) | Programmable logic controller, basic unit, control method and program | |
JP4849340B2 (en) | Programmable controller and unit | |
WO2013186889A1 (en) | I/o device, programmable logic controller, and arithmetic processing method | |
WO2015162754A1 (en) | Control system, master station, and remote station | |
JP6304048B2 (en) | Control system and control device | |
JP2015179375A (en) | Program rewrite system and electronic control unit | |
US20200174454A1 (en) | Identifier (id) based communication system | |
JP2006324749A (en) | Control device and address setting method | |
JP2010199836A (en) | Wireless network structure | |
CN110278716B (en) | PLC, network unit, CPU unit, and data transfer method | |
US7246184B2 (en) | Method for configuring and/or operating an automation device | |
JP4567982B2 (en) | Link setting device for control equipment | |
JP2002023813A (en) | Host computer and recording medium with its program recorded and control system using the same | |
JP2005229322A (en) | Master slave synchronous communication system | |
JP6762546B1 (en) | Serial communication method and serial communication system | |
JP3024345B2 (en) | Data link method | |
JP4073383B2 (en) | Relay device between scan transmission networks | |
JP2007241570A (en) | Setting system of shared memory for communication between programmable controller | |
US8032738B2 (en) | Method for the start-up of numerical controls of machine tools or production machinery and numerical control for machine tools or production machinery | |
JP2014016907A (en) | Communication system, and address allocation method | |
JP2001282312A (en) | Display system for plc and data communication method between display and data | |
JP2004242031A (en) | Communication system | |
JP2006311298A (en) | Remote control apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080411 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100802 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100817 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20101209 |