[go: up one dir, main page]

JPS5985502A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPS5985502A
JPS5985502A JP19516782A JP19516782A JPS5985502A JP S5985502 A JPS5985502 A JP S5985502A JP 19516782 A JP19516782 A JP 19516782A JP 19516782 A JP19516782 A JP 19516782A JP S5985502 A JPS5985502 A JP S5985502A
Authority
JP
Japan
Prior art keywords
map
remote
unit
registered
control 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.)
Granted
Application number
JP19516782A
Other languages
Japanese (ja)
Other versions
JPH035603B2 (en
Inventor
Yukio Konno
幸男 今野
Shigeru Kimura
茂 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Tateisi Electronics Co
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tateisi Electronics Co, Omron Tateisi Electronics Co filed Critical Tateisi Electronics Co
Priority to JP19516782A priority Critical patent/JPS5985502A/en
Publication of JPS5985502A publication Critical patent/JPS5985502A/en
Publication of JPH035603B2 publication Critical patent/JPH035603B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1199Inserting or taking out of boards during power on, hot plug in
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34299Memory with I-O and pointer, external I-O with map, edit map, pointer to adapt I-O

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)
  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To ensure a safe operation even though an I/O unit is changed at the side of a remote controller by delivering the contents of a register storage region with no change when a mode setting means of a CPU is set in an I/O map register holding mode. CONSTITUTION:A mode setting switch 24 is set previously in a register holding mode when a power supply is applied again after the unit of a channel CH6 is removed with a remote device 5. Under such conditions, a PC register remote I/O map of a storage region 23 is kept as it is although a new RS production I/O map is transmitted to a PCCPU2 from an RS unit 7 via an MS unit 4. Therefore a PC register remote map obtained before the cut-off of the power supply is stored in a storage region 72. This is due to a channel constitution of the device 5, and therefore an operation is carried out as if the unit of the channel CH6 that is removed at the time of cut-off existed. Furthermore no shift is caused to channels CH7-CH12, and a normal operation is secured.

Description

【発明の詳細な説明】 (イ)発明の分野 この発明はプログラマブルコントローラ、特ニCPU、
I/、(入力/出力)ユニツJ含む本体■ 装置から分離して遠隔地にも複数の4ユニット全持つ遠
隔装置を設け、これら遠隔装置の縮ユニットをも含めて
本体装置のCPUで運転制御を行ナウプログラマブルコ
ントローラに関する。
[Detailed Description of the Invention] (a) Field of the Invention This invention relates to a programmable controller, a special CPU,
Main unit including I/, (input/output) unit J ■ Multiple remote devices with all 4 units are installed in remote locations separated from the device, and the operation of these remote devices, including the compression units, is controlled by the main device's CPU. About the line now programmable controller.

(ロ)発明の荷置 一般に、プログラマブルコントローラ(以下PCという
)システムを制御系に設置する場合、場■ 所的な条件から、10ユニツトのいくつかは本体装置か
ら分離しなけれはならない場合がしばしばある。
(b) Storage of the invention Generally, when a programmable controller (hereinafter referred to as PC) system is installed in a control system, some of the 10 units often have to be separated from the main unit due to local conditions. be.

第1図は本体装置から分離した遠隔地に複数のし。ユニ
ットを持つ遠隔装置を設けたPCシヌテムの構成図であ
る。同図において1は本体装置であって、この本体装置
1にFi、pcのCPU2.複数のレユニット5及びリ
モート4制御局ユニ〇 ット(以下P/ISユニットという)4が内蔵されてい
る。5は本体装置1よシ離れて設けられる遠隔装置であ
って複数のV。ユニット6及びリモートI10遠隔地制
御局(以下RSユニットという)7を内蔵している。本
体装置1及び遠隔装M5の谷ユニットはチャネルスロッ
トにそれぞれ装着されている。このPCシステムではR
Sユニット7で遠隔装置5の各4ユニツト6の入力・出
方データを取り込みあるいはレマップ(各縮ユニットの
入力・出力の区別、その規模すなわち何点で構成される
か、いずれのスロットに入っているか等を示す情報)を
作成し、これら入力・出力データ及びるマツプを伝送路
8を介してMSユニット4に送シ、PC、、CPU2で
は、これら遠隔装置5の各−ユニット6の各情報をMS
ユニット4を介して一括して授受し、運転制御を行なっ
ている。このようなPCシステムでは本体装@1と遠隔
装置5は場所が離れていることもあってAC供給電源は
それぞれ別々に接続されている。
Figure 1 shows multiple remote locations separated from the main unit. 1 is a block diagram of a PC synutem equipped with a remote device having a unit; FIG. In the figure, 1 is a main unit, and this main unit 1 has Fi, a CPU 2 of a PC. A plurality of remote units 5 and remote control station units (hereinafter referred to as P/IS units) 4 are built-in. 5 is a remote device provided apart from the main device 1, and includes a plurality of Vs. It incorporates a unit 6 and a remote I10 remote control station (hereinafter referred to as an RS unit) 7. The valley units of the main device 1 and the remote device M5 are respectively installed in channel slots. In this PC system, R
The S unit 7 imports or remaps the input/output data of each of the four units 6 of the remote device 5 (distinguishes the input/output of each compression unit, its scale, that is, how many points it consists of, and which slot it is in). The input/output data and the map are sent to the MS unit 4 via the transmission line 8, and the PC, CPU 2 transmits each information of each remote device 5 to the unit 6. MS
The data is sent and received all at once via the unit 4, and the operation is controlled. In such a PC system, the main unit 1 and the remote device 5 are connected to separate AC power supplies because they are located far apart from each other.

そのためたとえば遠隔装置5側で何らかの異常が生じ、
遠隔装置5の電源を断し、さらに異常を除去するために
4ユニツト6の配列構成を変更し、その後遠隔装置5の
電源を復旧させた場合を想定すると、遠隔装置5の電源
断以前にpc、cPU2に書き込まれたユーザプログラ
ムによりPCシヌテムが運転されることになシ、遠隔装
置5の実際のし0ユニツトの構成とCPU2の登録■ル
マツプにずれが生じ、制御系に予期せぬ不都合な事態を
発生するおそれがあった。それゆえ。
Therefore, for example, some abnormality occurs on the remote device 5 side,
Assuming that the power to the remote device 5 is turned off, the arrangement of the four units 6 is changed to remove the abnormality, and the power to the remote device 5 is then restored, the PC However, since the PC system is not operated by the user program written in the cPU 2, there may be a discrepancy between the actual unit configuration of the remote device 5 and the registered map of the CPU 2, which may cause unexpected inconvenience to the control system. There was a risk that an incident would occur. therefore.

遠隔装置5側でし。ユニット6に故障が生じその故障1
/ユニツトのみを除去したPCシステムの運転を行なう
場合でも、ユーザープログラムを変更することを要し、
プログラム変更がなされないと、故障ユニットが復旧す
るまでPCシヌテムを運転で@ないという問題があった
On the remote device 5 side. A failure occurred in unit 6 and the failure 1
/ Even when operating a PC system with only the unit removed, it is necessary to change the user program.
If the program was not changed, there was a problem that the PC system could not be operated until the faulty unit was repaired.

(ハ)発明の目的 この発明の目的は、上記問題点を解消し、たとえは遠隔
装置の4ユニツト構成に変更が生じても、この変更とは
無関係に、運転(〜得るPCを提供するにある。
(c) Purpose of the Invention The purpose of the present invention is to solve the above-mentioned problems, and to provide a PC that can be operated (~ obtained) even if the four-unit configuration of the remote device is changed, regardless of the change. be.

に)発明の編成と効果 上記目的を達成するためにこの発明のPCは。) organization and effect of the invention; In order to achieve the above object, the present invention provides a PC.

CPU、!:、複数のレユニットと、これらし。ユ〇 ニットと同列レベルで設けられるリモート /制御局(
MSユニット)を含む本体装置と、複数の昆ユニットと
これらるユニットを管理するりモート%遠隔地制御局(
RSユニット)ヲ含み。
CPU! :, multiple units and these. Remote/control station (
MS unit), multiple units, and a remote control station (MS unit) that manages these units.
RS unit) included.

伝送路を介して前記本体装置に接続される遠隔装置とよ
りなル、前記リモート4遠隔地制御局には、前記遠隔装
置のIるユニットの協マツプを作成する手段と9作成さ
れた1ルマツプを記憶する領域及び前記CPUK登録済
のM11記%マツプ全記°臆する領域を持つ第1の記憶
手段と、この第1記憶手段の登録済記憶領域に記憶され
たV。マツプに基づき前記遠隔装置の運転全行なう手段
を備え、前記リモート%制御局には1前記リモ一ト縮遠
隔地制御局で作成される縮マツプと前記CPUに登録済
のI、6マツプを記憶する領域を持つ第2の記憶手段と
、前記リモート4遠隔地■ 制御局よりの前記るマツプ全mI記自身の4マツプ記憶
領域に受ける一方この偽マツプを前記CPUへ送出し、
かつ前記CPUよシの登録済工 %マツプを受けて自身の登録済4マツプ記憶領域に記憶
するとともに前記リモート偽遠隔地制御局に送出する制
御手段を備え、前記CPUに■ は、10マツプ新規作成モードと登録保持モードを選択
的に設定する設定手段と、前記リモートVo制御局よシ
の前記縮マツプを登録記憶する記憶領域と、@記設定手
段がV。マツプ新規作成モードに設定されたとき、前記
登録記゛財領域に新■ たな4マツプを登録更新してその登録済データを出力し
、前記設定手段が4マツプ登録保持モードに設定された
とセ1ス前記登録記憶領域の内容ケ不変更のまま出力す
る制御手段全備えている。
In addition to the remote device connected to the main unit via a transmission path, the remote control station 4 includes means for creating a cooperative map of the units of the remote device; a first storage means having an area for storing the CPUK-registered M11% map and an area for storing the entire CPUK-registered M11% map, and a V stored in the registered storage area of the first storage means. The remote control station is provided with a means for completely operating the remote device based on the map, and the remote control station stores a reduced map created by the remote reduced remote control station and I and 6 maps registered in the CPU. a second storage means having an area for storing the map, and a second storage means having an area for storing all the maps from the control station in the four remote locations, and sending this false map to the CPU;
and control means for receiving a registered work% map from the CPU and storing it in its own registered 4 map storage area and sending it to the remote fake remote control station; A setting means for selectively setting a creation mode and a registration holding mode, a storage area for registering and storing the reduced map of the remote Vo control station, and a setting means V. When the new map creation mode is set, a new 4-map is registered and updated in the registered storage area and the registered data is output, and the setting means is set to the 4-map registration retention mode. 1. All control means are provided for outputting the contents of the registered storage area unchanged.

この発明のPCKよれは1本俸装置のCPUに設けられ
る設定手段を登録保持モードに設定するこ’Mv、たと
え遠隔装置の%ユニットの構成が変更され、リモート偽
遠隔地制御局で作成されるV。マツプに変更が生じても
、PC,CPUの登録偽マツプは変更011の状態が保
持され、この登録偽マツプがリモート4制御局を経てす
■ モート/。遠隔地制御局に伝送され、リモート偽遠隔地
制御局はこの伝送されて来た従前の登工 録4マツプに基づいて運転されるから、遠隔装置側で1
本体装置側に無断で4ユニツトの構成を変更しても、何
の影響を学えることな(PCシステムを安全に運転する
ことができる。
The PCK aspect of this invention is to set the setting means provided in the CPU of the one-way device to the registration holding mode. . Even if a change occurs to the map, the registered fake map of the PC or CPU will remain in the changed state of 011, and this registered fake map will pass through the remote 4 control stations. The information is transmitted to the remote control station, and the remote fake remote control station is operated based on the transmitted previous registration map.
Even if you change the configuration of the four units without permission from the main unit, you will not be able to learn what the impact will be (the PC system can be operated safely).

(ホ)実施例の説明 以下、扶施例により、この発明をさらに詳細に説明する
(E) Description of Examples The present invention will be described in further detail below with reference to Examples.

実施例P Cシステムの基本構成は第1図に示す通りで
あるが、PC−CPU2には第2図に示すマツプを有す
るメモリ20を内蔵してお9.このメモリ20のうち、
21はチャネルCHD カラCH14までの全4ユニツ
トのI/2.情報を記憶する1/情報記憶領域であり、
各チャネル毎に■“何点で構成されるか2.のデータ、
■゛ゞゞ入力力か1.の識別データ、■入力・出力デー
タがそれぞれ記憶されている。なお22はRSユニット
7で作工 成される遠隔装置58各4ユニツトの4マツプ(R8作
成偽マツプという)を一時的に記・1.ハする領域であ
る。2乙はPC*体装型装置録される遠隔装置5の各I
/ユニットの47・ンブ(登録リモートV。マツプとい
う)を記憶する領域である。
The basic configuration of the embodiment PC system is as shown in FIG. 1, but the PC-CPU 2 has a built-in memory 20 having a map shown in FIG. 2. Of this memory 20,
21 is the I/2. of all 4 units up to channel CHD Kara CH14. 1/information storage area for storing information,
For each channel, ■ “How many points does it consist of? 2. Data,”
■゛ゞゞInput power?1. identification data, and input/output data are stored respectively. Note that 22 temporarily records four maps (referred to as R8 created false maps) of four remote units 58 each created by the RS unit 7. This is an area where 2 B is a PC * body-mounted device Each I of the remote device 5 to be recorded
This is an area for storing the 47-number (registered remote V. map) of the /unit.

第6図は第1図に示すPCシステムにおいて。FIG. 6 shows the PC system shown in FIG. 1.

この発明に係るリモートエロ部を抽出して概略的に示し
たブロック図である。pc 、CPU2には」二記した
R8作成%マツプ記憶領域22.pc登録リす−ト%マ
ツプ記憶領域23を持つメモリ20の他に、さらにし0
マツプ新規登録モードと登録縮マツプ保持モードを選択
指定するモード設定ヌイツチ24を備えている。
FIG. 1 is a block diagram schematically showing an extracted remote erotic part according to the present invention. pc, CPU2 has R8 creation% map storage area 22. In addition to the memory 20 having the PC registration map storage area 23, there is also
A mode setting switch 24 is provided for selecting and specifying a new map registration mode and a registered reduced map retention mode.

MSユニット4にH,R8作成協マツプ記憶全口域41
.マツプ登録フラグ42.登録リモートレマツプ記憶領
域4ろ及びマツプ登録フラグ44を含むメモリ40を備
えている。マツプ登録フラグ42はRSユニット7で作
成された遠隔装置5の1/  ユニット6のし。マツプ
がRSユニット7よシ伝送され、R8作成マツプ記゛1
.ハ碩域41にストア完了した時に立てられるフラグで
あり、マ・ツブ確立フラグ44はPC、CPU2よりデ
ータバスを通じて登録リモート%マツ’;’Ml:ば領
域43にストアされ、転送が終了した時に立てられるフ
ラグである。
MS unit 4 has H, R8 creation association map memory entire area 41
.. Map registration flag 42. A memory 40 including a registered remote map storage area 4 and a map registration flag 44 is provided. The map registration flag 42 is set to 1/1 of the remote device 5 created by the RS unit 7. The map is transmitted from RS unit 7, and R8 creates map record 1.
.. This is a flag that is set when storage is completed in the gray area 41, and the map establishment flag 44 is stored in the registered remote %pine';'Ml:ba area 43 from the PC or CPU 2 via the data bus, and when the transfer is completed. This is a flag that can be set.

RSユニット7には、このRSユニットで作成するんユ
ニット6の%マツプを記憶するR8■ 作成I/、マツプ記憶領域71とMSユニット4から伝
送される登録リモートレ。マツプを記憶する記憶領域7
2を含むメモリ70を備えている。もちろんMSユニッ
ト4及びRSユニット7には制御用のCPUを備えてい
る。
The RS unit 7 stores the % map of the unit 6 to be created by this RS unit.The RS unit 7 stores the % map of the unit 6 created by this RS unit. Storage area 7 for storing maps
2. The memory 70 includes 2. Of course, the MS unit 4 and the RS unit 7 are equipped with a CPU for control.

次//CPC、CPU2.MSユ=ッ)4及びRSユニ
ット7の処理フロー全第4図ないし第6図を参照して説
明する。
Next//CPC, CPU2. The entire processing flow of the MS unit 4 and the RS unit 7 will be explained with reference to FIGS. 4 to 6.

第4図はPC−CPU2の処理フローである。FIG. 4 is a processing flow of the PC-CPU 2.

PC,CPU2は本体装置1の′電源がオンされる〔ス
テップST(以下STと略−j)1〕と、!10マツプ
が新規登録か否か判定され(ST2 ) 、 −1:記
モード設定スイッチ24が新規登録に設定されている場
合は、 I10ユニット3及び乙のチャネルCHDから
チャネルCH14までのシステム4マツプ作成を開始す
る(ST3 )。先ずチャネルCHOよシマツブ信号を
吸収し、以下吸収の度にチャネ)Vf更新(ST4)L
、吸収チャネル毎に最大チャネルか否か判定する(ST
5)。マツプ信号の吸収が最大チャネルに達するまでは
判定Noで1次のチャネルスロットに入っているユニ・
ント9xMSユニット4で必るか否か判定する(ST6
)。スロ゛ン)K:MSユニットが入っていないと、S
T4〜ST6が繰9返され本体装置1のろユニ゛ント6
のマツプ信号が吸収され、記憶領域21に記憶される。
When the power of the main unit 1 is turned on [step ST (hereinafter abbreviated as ST-j) 1], the PC and CPU 2 are activated! It is determined whether the 10 map is a new registration (ST2), and -1: If the mode setting switch 24 is set to new registration, create a system 4 map from I10 unit 3 and channel CHD of channel B to channel CH14. (ST3). First, the channel CHO absorbs the signal, and then every time it is absorbed, the channel) Vf is updated (ST4) L
, determine whether or not it is the maximum channel for each absorption channel (ST
5). Until the absorption of the map signal reaches the maximum channel, the determination is No.
Determine whether it is necessary for the client 9xMS unit 4 (ST6
). Sloan) K: If the MS unit is not included, S
T4 to ST6 are repeated nine times, and the unit 6 of the main unit 1
map signals are absorbed and stored in the storage area 21.

マツプ信号を吸収しようとするヌロ゛ントにMSユニッ
ト4が入っているとST6の判定はYESとな91次に
内蔵のタイマ(図示せず)をスタートさせる(ST7)
。そしてMSユニ゛ント4のマツプ登録フラグ42がセ
ットされているか否〃)チェックする(ST8 )。こ
こでマツプ登録フラク゛42がセットされていなけれは
、タイマミニタイムオーバするまで、マツプ登録フうり
42がセットするの全待機する(ST7.ST8,5T
9)。タイマがタイムオーバしても、マツプ登録フラグ
42がセットされない場合は、RSユニット7で正常に
にマツプ作成がなされていないか、あるいはR8作成%
マツプが正常にMSユニット4に伝送されていないとい
うことでリモート偽異常処理を行なう(ST10)。
If the MS unit 4 is included in the null that is trying to absorb the map signal, the judgment in ST6 is YES.Next, a built-in timer (not shown) is started (ST7).
. Then, it is checked whether the map registration flag 42 of the MS unit 4 is set (ST8). If the map registration flag 42 is not set here, the map registration flag 42 will wait for setting until the timer mini time is over (ST7.ST8, 5T
9). If the map registration flag 42 is not set even if the timer times out, the map is not created correctly in the RS unit 7, or the R8 creation percentage is not set.
Since the map is not normally transmitted to the MS unit 4, remote false abnormality processing is performed (ST10).

ST8でマツプ登録フラグ42がセットされているか、
あるいは待機中にセットされると、R8作成%マツプ要
求をMSユニット4に送出しく5T11)、MSユニッ
ト4からR8作作成。マツプが到着すると(ST12 
) 、そのR8作成4マツプにつき伝送エラーチェック
を行ない(ST13)。
Is the map registration flag 42 set in ST8?
Alternatively, if set during standby, an R8 creation % map request is sent to the MS unit 4 (5T11), and the R8 creation is created from the MS unit 4. When Mappu arrives (ST12
), performs a transmission error check on the four maps created by R8 (ST13).

エラーがなければタイマをすセットするとともに。If there are no errors, set the timer.

伝送されて来たR8作成VoマツプをR8作成協マツプ
記・市領域22よりPC登録リモすト偽マツプ記i:!
領域23に新規に作成されたリモート偽マツプとして香
銀し、゛でらLその登録されたリモート偽マツプをMS
ユニット4に転送する(ST14.5T15)。そして
転送終了でMSユニット4のマツプ確立フラグ44全セ
ツトする(ST16)。
Remotely register the transmitted R8 created Vo map from the R8 creation association map report/city area 22. Fake map record i:!
Mark it as a newly created remote fake map in area 23, and send the registered remote fake map to MS.
Transfer to unit 4 (ST14.5T15). At the end of the transfer, all map establishment flags 44 of the MS unit 4 are set (ST16).

5T12でR8札マツプが到着しない場合。If the R8 bill map does not arrive at 5T12.

5T14で伝送エラーが検知された場合それぞれタイマ
がタイムアツプするまで時間待全行ない、タイマのタイ
ムアツプでリモート4異常処理を行なう(ST9 、 
5T10)。
If a transmission error is detected in 5T14, wait until the timer times up, and perform remote 4 abnormality processing when the timer times up (ST9,
5T10).

5T16でのマツプ確立フラグ44のセット後は再び1
本体装置1のMSユニット4の装着されている次のスロ
ットのI7.ユニット6よシ順次マ・ンプ信号の吸収を
行なう(ST4)。すべてのチャネルの%ユニットにつ
きマツプ信号の吸収が終了するとST5での最大チャネ
ルかの判定がYESとなり、続いて運転を開始し入力更
新出力更新等の制御動作に移る(5717九 一方、ST2で、モード設定スイッチ24が登録保持モ
ードに設定されている場合には1本体装置1のスロット
にMSユニット4が装着されているか否かチェックしく
5T18 ) 、 M Sユニ・ソト4が装着されてい
ない場合には運転全開始する(ST17)。
After setting the map establishment flag 44 at 5T16, it becomes 1 again.
I7. of the next slot in which the MS unit 4 of the main unit 1 is installed. Unit 6 sequentially absorbs map signals (ST4). When absorption of the map signal is completed for % units of all channels, the judgment in ST5 as to whether it is the maximum channel becomes YES, and then operation starts and control operations such as input update and output update are performed (57179) Meanwhile, in ST2 , If the mode setting switch 24 is set to the registration hold mode, check whether the MS unit 4 is installed in the slot of the main unit 1 (5T18), the MS Uni-Soto 4 is not installed. If so, full operation is started (ST17).

一方MSユニット4が装着されている場合には。On the other hand, if MS unit 4 is installed.

PC登録%マツプ記憶領域23に記憶されているリモー
ト偽マツプをMSユニット4に送出しく5T19)、運
転を開始する(ST17 )。
The remote fake map stored in the PC registration% map storage area 23 is sent to the MS unit 4 (5T19), and operation is started (ST17).

第5図はMSユニット4の処理フローである。FIG. 5 is a processing flow of the MS unit 4.

MSユニット4は、その電源がオンされると(ST20
)、マツプ登録フラグ42をOとする等の初期リセット
を行ない(ST21)、 R8作成Voマツプ要求をR
Sユニット7に送出するとともに内蔵のタイマをスター
トさせる(ST22)。そしてRSユニット7よ5RS
マツプが到着したか否かのチェックを行ない(ST23
)、到着していない1易合は。
When the MS unit 4 is powered on (ST20
), performs an initial reset such as setting the map registration flag 42 to O (ST21), and sends the R8 creation Vo map request to R.
The signal is sent to the S unit 7 and a built-in timer is started (ST22). And RS unit 7 5RS
Check whether the map has arrived (ST23
), the 1st case that has not arrived is .

タイマがタイムアツプするまで時間待を行ない(ST2
4 ) 、タイムアツプしてもRSマツプが到着しない
場合には、リモート偽異常処理を行なう(ST25)。
Wait until the timer times up (ST2
4) If the RS map does not arrive even after time-up, remote false abnormality processing is performed (ST25).

5T23で、RSユニット7よりR8作成■ろマツプが
到着すると、伝送エラーをチェック5 (5T26)、
エラーがなければ(ST27)、タイマをリセットし伝
送されて来たR8l10マツプをR8作成■ロマツプ記
憶領域41に記憶する(ST28)とともにマツプ登録
フラグ42をセットする(ST29)。
At 5T23, create R8 from RS unit 7. When the map arrives, check for transmission errors 5 (5T26),
If there is no error (ST27), the timer is reset, the transmitted R8l10 map is stored in the R8 creation/romap storage area 41 (ST28), and the map registration flag 42 is set (ST29).

続いてPC−CPU2よ#)、R8l10マツプ要求が
あるまで待機しく5T30) 、 RS I/マツプ要
求があると、記憶領域41に記憶したR8作成しマツプ
fPc −CPU:IMc転送ス、6 (ST31)。
Next, PC-CPU2 waits until there is a R8l10 map request (5T30), and when there is an RS I/map request, it creates R8 stored in the storage area 41 and transfers the map fPc-CPU:IMc transfer step, 6 (ST31). ).

以後はPC−CPU2よシのPC登録リモート陥マツプ
が転送されて来るのを待ち、登録リモート〆マップがp
c−CPU2よシ転送されて来るとその登録リモート陥
マツプ全記憶領域43に記憶スる(ST32)。続いて
マツプ確立フラグ44がセットされているか否かチェッ
クする(ST33)。
After that, wait for the PC-CPU2 and PC-registered remote map to be transferred, and then wait for the registered remote map to be transferred.
When transferred from the c-CPU 2, the registered remote map is stored in the entire storage area 43 (ST32). Next, it is checked whether the map establishment flag 44 is set (ST33).

PC−CPU2より登録リモートV。マツプΩ転送が終
了するとこの7ラグ44がセットされるので、5T33
の判定はYESとなり1次に記憶領域45(DPC−q
録すモートV。マツプをRSユニット7に転送する(S
T34)。そしてその後PCシヌテムの運転が開始され
ると、RSユニット7とPC,CPU2間のデータ転送
を行なう(ST35 )。
Registration remote V from PC-CPU2. When the map Ω transfer is completed, this 7lag 44 is set, so 5T33
The determination is YES, and the primary storage area 45 (DPC-q
Mort V to record. Transfer the map to RS unit 7 (S
T34). Thereafter, when the PC system starts operating, data is transferred between the RS unit 7, the PC, and the CPU 2 (ST35).

第6図はRSユニット7の処理フローを示す図である。FIG. 6 is a diagram showing the processing flow of the RS unit 7.

RSユニット7は、その電源がオンされルト(ST40
) 、 メモリ7oの各記・億領域をクリアする等の初
期リセットを行ない(ST41)、次に各]旨、ユニッ
ト6よシマツブ信号を吸収してRSレマツプを作成し、
記憶領域71に記憶する(ST42)。そしてMSユニ
ット4がらR8l10マツプ転送要求が入るまで待機す
る(ST43.5T44)。
The RS unit 7 is turned on when its power is turned on (ST40
), performs an initial reset such as clearing each memory area of the memory 7o (ST41), and then absorbs the signal from the unit 6 to create an RS map,
It is stored in the storage area 71 (ST42). Then, it waits until an R8l10 map transfer request is received from MS unit 4 (ST43.5T44).

MSユニッl−4よシ転送要求があると、記憶領域71
のR8作成偽マツプをMSユニット4に転送する(ST
45)。続いてMSユニツ)4カラPC登録リモー1−
 V マツプが転送されて来るのを待ち、タイマをスタ
ートさせる(ST46)。p cp録協マツプが到着し
たか否がチェックしく5T47〕、タイマがタイムアツ
プするまでに”C登fbs協マツプが到着しない場合に
は異常処理を行なう(ST48 、5T49)。
When there is a transfer request from MS unit l-4, the storage area 71
Transfer the fake map created by R8 to MS unit 4 (ST
45). Next, MS Units) 4 color PC registration remote 1-
Wait for the V map to be transferred and start a timer (ST46). 5T47], and if the "C registered FBS map has not arrived by the time the timer expires, abnormality processing is performed (ST48, 5T49).

5T47でMSユニット4よりPC登録マツプが到着す
ると伝送エラーチェックを行ない(ST50゜5T51
)、 xラ−iE’fxけレバ、 記i、ttEM域7
2KPC登録リモートV。マツプを記憶する(ST52
 )。そしてその後は、記憶領域72に記憶されたPC
C登録モモ−1%マツプしたがい運転開始する。
When the PC registration map arrives from MS unit 4 at 5T47, a transmission error check is performed (ST50°5T51).
),
2KPC registration remote V. Memorize the map (ST52
). After that, the PC stored in the storage area 72
C Registration Momo - Start operation according to the 1% map.

すなわちMSユニット4と4ユニツト6についてのデー
タ転送を開始する(s7りj入数に第7図ないし第10
図を参照して、上記したPCシステムの具体的な動作に
ついて説明する。
That is, data transfer for MS units 4 and 4 units 6 is started (see Figures 7 to 10 in input numbers in s7).
The specific operation of the above-mentioned PC system will be explained with reference to the drawings.

今、第1図に示したPCシステムにおいてPC・CPU
2のモード設定スイッチ24を新規登録モードにセット
しておき1本体装置1及び遠隔装置5のAC電源を投入
する。その時の各チャネルの入力・出力(IN・0UT
)の別は第7図に示す通りとする。これら本体装置1及
び遠隔装置5のI10マツプのうち、遠隔装置5の偽マ
ツプはRSユニットで作成され記憶領域71に記°億さ
れておシ、このR8作成4マツプが伝送路8.MSユニ
ット4の記憶領域41を経てPC−CPU2に伝送され
、R8作成偽マツプがPC登録リモート協マツプとして
記憶領域23に新規登録される。そして再度MSユニッ
ト4の記憶領域43から伝送路8を経てRSユニット7
に上記PCC登録モモ−−I7マツプを伝送し、記憶領
域72に記1.はする。
Now, in the PC system shown in Figure 1, the PC/CPU
The mode setting switch 24 of No. 2 is set to the new registration mode, and the AC power of the main device 1 and the remote device 5 is turned on. Input/output of each channel at that time (IN/0UT
) are as shown in Figure 7. Among these I10 maps of the main device 1 and the remote device 5, the false map of the remote device 5 is created by the RS unit and stored in the storage area 71, and these 4 maps created by R8 are used for the transmission path 8. It is transmitted to the PC-CPU 2 via the storage area 41 of the MS unit 4, and the R8 created fake map is newly registered in the storage area 23 as a PC-registered remote cooperation map. Then, the data is transmitted again from the storage area 43 of the MS unit 4 to the RS unit 7 via the transmission line 8.
The above PCC registered momo-I7 map is transmitted to the storage area 72 and recorded in 1. I will.

第7図に示した状態で運転中に、何らかの原因でチャネ
)v CH6のoutユニットに故障が生じたため、遠
隔装置5のAC電源供給を切9.チャネルCH6のヌロ
ットに挿入されているou Lユニット全敗りはずした
とする。その時点でのpcシヌテムの各チャネルの入力
・出力状態は第8図に示す通りでありチャネルCH6が
空となっている。
9. During operation in the state shown in FIG. 7, a failure occurred in the out unit of channel v CH6 for some reason, so the AC power supply to the remote device 5 was cut off.9. Assume that all of the ou L units inserted in the nulls of channel CH6 are lost. The input/output status of each channel of the PC sinutem at that time is as shown in FIG. 8, with channel CH6 being empty.

またRSユニット7から見たチャネルCH構成は第2番
目のOutユニットが抜かれているので、チャネ)’f
a Id CH6以降は第9図に示すように1CHずつ
右にずれたものとなる。この状態で遠隔装装置5の電源
が復旧されるとRSユニット7で遠隔装置5の新たな縮
マツプが作成され、そのチャネ)V構成はチャネ)v 
CH5〜チヤネルCHIIの7CHとな9.しかもチャ
ネ/Ly6CH以降は、変更前に比べて右へ1cHずつ
ずれているのでAC電源断以#rJK書き込まれたプロ
グラムで正規な運転は不可能である。
Also, the channel CH configuration seen from the RS unit 7 has the second Out unit removed, so the channel)'f
a Id CH6 and subsequent channels are shifted to the right by 1 CH as shown in FIG. When the power to the remote device 5 is restored in this state, a new reduced map of the remote device 5 is created in the RS unit 7, and its channel) V configuration is changed to channel) v.
CH5~7CH of channel CHII9. Moreover, channels after /Ly6CH are shifted to the right by 1 cH compared to before the change, so normal operation with the program written in #rJK is impossible after the AC power is turned off.

しかし電源を再投入する際にモード設定スイッチ24を
登録保持モードにセットしておくと、RSユニット7よ
り伝送路8を介してMSユニット4へ、さらにMSユニ
ット4よυデータバヌを介してPC、CPU2に新規の
R8作成4マツプが伝送されても、PC,CPU2の記
憶領域23のPC登録リモート弊マツプは更新されず電
源断以前のままである。この更新されないままのPC登
bat リモー1〜I10マツプがMSユニット4に転
送されて記憶領域45に記憶され、さらに伝送路8を介
してRSユニット7に伝送され、電源断以前のPC登録
リモートI4マツプが記・1意領域72に記・1意され
る。この登録されたPC登録リモーl−税マツブは第7
図の遠隔装置5のチャネル構成であυ、したがってAC
電源断時に取υ外されたチャネ)v CH6のoutユ
ニットが恰も存在するかのように運転され、またチャネ
)vCH7・・・・・・CH12にもずれがなく、正規
の運転が実施される。
However, if the mode setting switch 24 is set to the registration hold mode when the power is turned on again, the RS unit 7 passes through the transmission path 8 to the MS unit 4, and then from the MS unit 4 to the PC via the υ data link. Even if the new R8 created 4 map is transmitted to the CPU 2, the PC registered remote map in the storage area 23 of the PC and CPU 2 is not updated and remains as it was before the power was turned off. This unupdated PC registration remote map 1 to I10 is transferred to the MS unit 4 and stored in the storage area 45, and further transmitted to the RS unit 7 via the transmission path 8, The map is written/uniqued in the write/unique area 72. This registered PC registration remote control is the 7th
The channel configuration of the remote device 5 in the figure is υ, therefore the AC
The out unit of channel)vCH6, which was removed when the power was cut off, is operated as if it still existed, and there is no deviation in channels)vCH7...CH12, and normal operation is performed. .

一方、PC,CPU2のプログラム全遠隔装置5の%ユ
ニット構成が第9図に示すものであるとして父更した場
合には、PC,CPU2のモード設定スイッチ24を新
規登録モード側にセットすることにより、PC、CPU
2の記憶領域23にはRSユニット7より伝送されて来
た新たなR8作作成10マツプをP Cy録すモートロ
マツプとして記憶し、さらにそのP Cy録すモート4
マツプをMSユニット4.伝送路8を経てRSユニット
7に伝送し、記憶領域72に記憶し、この記憶されたP
C・登録リモートエロマツプにより運転が開始される。
On the other hand, if the program of the PC, CPU 2 is changed as the percentage unit configuration of all remote devices 5 is as shown in FIG. 9, by setting the mode setting switch 24 of the PC, CPU 2 to the new registration mode side , PC, CPU
The storage area 23 of 2 stores the 10 new R8 creation maps transmitted from the RS unit 7 as motor maps to be recorded in PCy, and further stores them as motor maps to be recorded in PCy.
Map MS unit 4. The stored P is transmitted to the RS unit 7 via the transmission line 8 and stored in the storage area 72.
C. Operation is started using the registered remote erotic map.

この場合、PC−C,PU2より返送されて来るPC’
W録リモーすI10マツプはR8作成ろマツプと一致し
、第10図に示すpcシステム構成で正常な運転が実施
される。
In this case, PC' returned from PC-C and PU2
The W record remote I10 map matches the R8 created map, and normal operation is carried out with the PC system configuration shown in FIG.

なお第7図ないし第10図に示す例ではチャネ)vCH
6のユニットのみを取り外す場合を例にあげたが、もち
ろん1個のチャネルのみならず数個のチャネルを取り外
す場合、あるいは逆に空のチャネルスロツトニI/′o
ユニツトヲいくつカ装着スるような変更でも同様に考え
ることができるこというまでもない。
Note that in the examples shown in FIGS. 7 to 10, the channel) vCH
Although we have given an example of removing only unit No. 6, it is of course possible to remove not only one channel but several channels, or conversely, remove an empty channel slot I/'o.
Needless to say, changes such as installing more units can be considered in the same way.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は2本体装置の他に遠隔装置を持つpcンヌテム
の構成図、第2図は同PCシステムの本体装置のPC−
CPUに内蔵されるメモリの記憶領域配置を示す図、第
3図は、第1図に示すPC■ システムにおいて、この発明に係るリモート4部を抽出
して示したブロック図、第4図は第3図に示すPC−C
PUの処理フローを示す図、第5図は第5図に示すMS
ユニットの処理フローを示す図、第6図は第ろ図に示す
RSユニットの処理フローを示す図、第7図は第1図に
示すPCシステムの各チャネルスロットに具体的なIN
ユニツ1− 、もしくはoutユニットを挿入した例を
示す図。 第8図は第7図に示す遠隔装置のチャネルスロットより
、し。ユニットヲ抜き取った状態例を示す図、第9図(
は第8図に示す状態においてRSユニットが認識する%
チャネ)V割成を示す図・第10−  工 図は第8図にボす/10構成により新規に登録されたP
Cシステムの1/チヤネル構成を示す図である。 1:本体装置、  2:PC−CPU。 3;本体装置のV。ユニット、  4:リモート%制御
局ユニット(MSユニット)。 5:遠隔装置、 6:遠隔装置の工/ユニット。 ■ 7:リモート4遠隔地制御局ユニツ)(RSユニット)
、 8:伝送路、 22・41・71:R8作成し。マ
ツプ記憶領域。 23・43・72:PC登録偽マツプ記憶領域、  4
2:てツブ登録フラグ、  44:マツプ確立フラグ。 特許出願人     立石′i4f機株式会社代理人 
 弁理士  中 村 茂 制
Figure 1 is a configuration diagram of a PC system that has a remote device in addition to the two main units, and Figure 2 is a PC system configuration diagram of the main unit of the same PC system.
FIG. 3 is a diagram showing the storage area arrangement of the memory built into the CPU, and FIG. PC-C shown in Figure 3
A diagram showing the processing flow of the PU, Figure 5 is the MS shown in Figure 5.
Figure 6 is a diagram showing the processing flow of the RS unit shown in Figure 1. Figure 7 is a diagram showing the processing flow of the RS unit shown in Figure 1.
A diagram showing an example in which a unit 1- or an out unit is inserted. FIG. 8 shows a channel slot of the remote device shown in FIG. A diagram showing an example of the state in which the unit is removed, Figure 9 (
is the percentage recognized by the RS unit in the state shown in Figure 8.
Channel) Diagram showing V division composition / 10th - Construction drawing is shown in Fig. 8 / P newly registered by 10 configuration
FIG. 2 is a diagram showing a 1/channel configuration of the C system. 1: Main unit, 2: PC-CPU. 3; V of main unit. Unit 4: Remote % control station unit (MS unit). 5: Remote equipment, 6: Remote equipment equipment/unit. ■ 7: Remote 4 remote control station unit) (RS unit)
, 8: Transmission line, 22/41/71: Created R8. Map storage area. 23/43/72: PC registered fake map storage area, 4
2: Map registration flag, 44: Map establishment flag. Patent applicant Tateishi'i4f Machine Co., Ltd. Agent
Patent Attorney Shigeru Nakamura

Claims (1)

【特許請求の範囲】[Claims] (1)CPUと、複数の4ユニツトと、これら%ユニッ
トと同列レベルで設けられるリモーI        
                     Iト4制
御局を含む本体装置と、複数のろユニットとこれらレユ
ニットを管理するリモートV。遠隔地制御局を含み、伝
送路を介して前記本体装置に接続される遠隔装置とより
な9゜前記リモート偽遠隔地制御局には、前記遠隔装置
の、4ユニツトの110マツプヲ作成する■ 手段と1作成されたし′マツプを記憶する領域及び前記
CPUK登録済の前記V。マツプを記憶する領域を持つ
第1の記憶手段と、この第1記憶手段の登録済記憶領域
に記憶された礼マツプに基づき前記遠隔装置の運転を行
なう手段全備え。 前記リモート4制御局には、@記すモート%遠隔地制御
局で作成される4マツプと前記CPUに登録済の4マツ
プを記憶する領域を持つ第2の記憶手段と、@記すモー
トね遠隔地制御局よりの前記偽マツプを前記自身の4マ
ツプ記憶領域に受ける一方この4マツプを前記CPUへ
送出し、かつ前記CPUよpの登録済偽マツプを受けて
自身の登録済偽マツプ記憶領域に記憶するとともに前記
リモート偽遠隔地制御局に送出する制御手段を備え。 前記CPUには、10マツプ新規作成モードと登録保持
モードを選択的に設定する設定手段と、前記リモート%
制御局よシの前記し。マツプを登録記憶する記憶領域と
、前記設定手段が偽マツプ新規作成モードに設定された
とき。 前記登録記憶領域に新たな4マツプを登録更新してその
登録済データを出方い前記設定手段がI、6マツプ登録
保持モードに設定されたし乏II′i前記登録記憶領域
の内容を不変更のまま出力する制御手段を備えてなるこ
とを特徴とするプログラマブルコントローラ。
(1) A CPU, a plurality of 4 units, and a remote I installed at the same level as these % units.
A main unit including an Ito4 control station, a plurality of filter units, and a remote V that manages these units. (9) creating a 110 map of 4 units of the remote device in the remote fake remote control station including a remote control station and connected to the main unit via a transmission path; 1 has been created, and an area for storing the map and the V registered in the CPUK. A first storage means having an area for storing a map, and means for operating the remote device based on the courtesy map stored in a registered storage area of the first storage means. The remote 4 control station includes a second storage means having an area for storing 4 maps created by the remote control station marked with @ and 4 maps registered in the CPU, and a remote control station marked with @. It receives the fake map from the control station in its own 4-map storage area, while transmitting these 4 maps to the CPU, and receives the registered fake map from the CPU and stores it in its own registered fake map storage area. and a control means for storing and transmitting data to the remote fake remote control station. The CPU includes a setting means for selectively setting a 10-map new creation mode and a registration retention mode, and a setting means for selectively setting a 10 map new creation mode and a registration retention mode, and
The control station is described above. When the storage area for registering and storing maps and the setting means are set to a new fake map creation mode. The setting means is set to the I, 6-map registration holding mode, and the content of the registered storage area is not updated. A programmable controller characterized by comprising a control means for outputting the changed output.
JP19516782A 1982-11-06 1982-11-06 Programmable controller Granted JPS5985502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19516782A JPS5985502A (en) 1982-11-06 1982-11-06 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19516782A JPS5985502A (en) 1982-11-06 1982-11-06 Programmable controller

Publications (2)

Publication Number Publication Date
JPS5985502A true JPS5985502A (en) 1984-05-17
JPH035603B2 JPH035603B2 (en) 1991-01-28

Family

ID=16336544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19516782A Granted JPS5985502A (en) 1982-11-06 1982-11-06 Programmable controller

Country Status (1)

Country Link
JP (1) JPS5985502A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62108308A (en) * 1985-11-06 1987-05-19 Mitsubishi Electric Corp Programmable controller
JPS62108309A (en) * 1985-11-06 1987-05-19 Mitsubishi Electric Corp Data link system
WO1991006900A1 (en) * 1989-11-07 1991-05-16 Fanuc Ltd Signal transfer control system of pc

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62108308A (en) * 1985-11-06 1987-05-19 Mitsubishi Electric Corp Programmable controller
JPS62108309A (en) * 1985-11-06 1987-05-19 Mitsubishi Electric Corp Data link system
WO1991006900A1 (en) * 1989-11-07 1991-05-16 Fanuc Ltd Signal transfer control system of pc
US5224031A (en) * 1989-11-07 1993-06-29 Fanuc Ltd. Signal transfer system of programmable controller

Also Published As

Publication number Publication date
JPH035603B2 (en) 1991-01-28

Similar Documents

Publication Publication Date Title
JPS59158154A (en) Loop-back system
JPS5985502A (en) Programmable controller
JP5620730B2 (en) Dual system arithmetic processing apparatus and dual system arithmetic processing method
CN100353321C (en) System with primary application and spare program and starting method
JPS59211658A (en) Group control of loom
JPS5827530B2 (en) Program loading method
CN118270078A (en) Dual-machine hot standby redundancy method and system of ultra-high-speed magnetic levitation traffic central operation control system
EP3598701B1 (en) Method and system for processing critical logic state
JP2563068Y2 (en) Redundant communication controller
JPH07281959A (en) Disk storage device redundancy method
JPH05312375A (en) Controller for air conditioner
JPS6129025B2 (en)
JPH0463422B2 (en)
JP2004058793A (en) Electronic interlocking device
JPH04365238A (en) Device and method for duplexing communication processing
JPS5864846A (en) data transmission control device
JPH01264498A (en) Remote fault information collecting system
JPH01298894A (en) data transmission equipment
JPS6055449A (en) Remote maintenance method for electronic computers
JP2731843B2 (en) Control method of smoke prevention terminal equipment
JPS63201837A (en) Failure resistant digital controller
JPS6022367B2 (en) Power outage detection device
JPS604495B2 (en) Error correction method for read-only storage devices
CN116881043A (en) Method and system for recovering data after restarting rail transit RATP (random Access Transmission protocol) fault
JPH03106153A (en) Line controller