JPH04358204A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH04358204A
JPH04358204A JP13278891A JP13278891A JPH04358204A JP H04358204 A JPH04358204 A JP H04358204A JP 13278891 A JP13278891 A JP 13278891A JP 13278891 A JP13278891 A JP 13278891A JP H04358204 A JPH04358204 A JP H04358204A
Authority
JP
Japan
Prior art keywords
information
parameter information
shared
shared memory
special function
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
Application number
JP13278891A
Other languages
Japanese (ja)
Inventor
Takehiko Hayashi
林 毅彦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP13278891A priority Critical patent/JPH04358204A/en
Publication of JPH04358204A publication Critical patent/JPH04358204A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To select only the required control information of a positioning control part by a user and to store the information in a shared memory. CONSTITUTION:Parameter information, which is set in a shared memory 17, showing correspondence between a device and the control information of a positioning control part 21 is stored in the shared memory 17, and the parameter information is transferred to a data memory 24 of the positioning control part 21. According to the parameter information, the control information stored in the data memory 24 is allocated to the device, and shared information is generated. The generated shared information is transferred to the shared memory 17. Thus, the user can select only the required control information from the positioning control part and can store it in the shared memory. Further, the user can set the allocation of the control information to the respective devices.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、プログラマブルコン
トローラに関し、さらに詳しく言えば、シーケンスプロ
グラムにしたがってシーケンス制御を行なうシーケンス
制御部と、そのシーケンス制御部と共用メモリを介して
情報交換を行ないながら位置決め制御、通信制御などの
特殊機能制御を行なう特殊機能制御部とを備えたプログ
ラマブルコントローラに関する。
[Field of Industrial Application] This invention relates to a programmable controller, and more specifically, the present invention relates to a programmable controller, and more specifically, a sequence control unit that performs sequence control according to a sequence program, and a positioning control unit that performs positioning control while exchanging information with the sequence control unit via a shared memory. The present invention relates to a programmable controller including a special function control section that controls special functions such as communication control.

【0002】0002

【従来の技術】図13は、特殊機能制御部としての位置
決めユニットと通信ユニットを備えた従来のプログラマ
ブルコントローラ(以下PCと略す)の構成を示すブロ
ック図、図14は、そのPCの位置決めユニット用の共
用メモリにおける制御情報の割付け状況の一例を示す概
念図、図15は、そのPCの通信ユニット用の共用メモ
リにおける制御情報の割付け状況の一例を示す概念図で
ある。
2. Description of the Related Art FIG. 13 is a block diagram showing the configuration of a conventional programmable controller (hereinafter abbreviated as PC) equipped with a positioning unit and a communication unit as a special function control section, and FIG. FIG. 15 is a conceptual diagram showing an example of the allocation status of control information in the shared memory for the communication unit of the PC.

【0003】図13において、従来のPC(50)は、
シーケンス制御部(51)と、位置決めユニット(61
)および通信ユニット(71)を備えて構成されている
。シーケンス制御部(51)は、マイクロプロセッサ(
52)、制御用メモリ(53)、データメモリ(54)
、周辺装置インタフェース(55)、入出力インタフェ
ース(56)、位置決めユニット(61)との間で情報
交換を行なうための共用メモリ(57)、および通信ユ
ニット(71)との間で情報交換を行なうための共用メ
モリ(58)を備えている。シーケンス制御部(51)
には、周辺装置インタフェース(55)を介して周辺装
置(81)が接続され、また入出力インタフェース(5
6)を介して入出力ユニット(82)が接続されている
[0003] In FIG. 13, the conventional PC (50) is
A sequence control unit (51) and a positioning unit (61)
) and a communication unit (71). The sequence control unit (51) includes a microprocessor (
52), control memory (53), data memory (54)
, a peripheral device interface (55), an input/output interface (56), a shared memory (57) for exchanging information with the positioning unit (61), and a communication unit (71). A shared memory (58) is provided for this purpose. Sequence control section (51)
A peripheral device (81) is connected to the peripheral device interface (55), and an input/output interface (55) is connected to the peripheral device (81) via a peripheral device interface (55).
An input/output unit (82) is connected via the input/output unit (82).

【0004】共用メモリ(57)(58)では、位置決
めユニット(61)や通信ユニット(71)で得られる
情報は、共用メモリ(57)(58)に予め設定された
デバイス毎に割り付けて格納される。これらのデバイス
には、シーケンスプログラムで指定することにより直接
アクセスして、そのデバイスに割り付けられている情報
を読み出すことができる。
[0004] In the shared memory (57) (58), information obtained by the positioning unit (61) and the communication unit (71) is stored in the shared memory (57) (58), allocated to each preset device. Ru. These devices can be directly accessed by specifying them in the sequence program, and the information allocated to the devices can be read.

【0005】位置決めユニット(61)は、多数の軸を
制御して制御対象の位置決めを行なうもので、各軸毎に
現在値、偏差カウンタ値などの制御情報を持っている。 それらの制御情報は、位置決めユニット(61)のデー
タメモリ(図示省略)に格納され、また共用メモリ(5
7)に転送される。それらの制御情報はすべて、共用メ
モリ(57)に設定されたデバイスに割り付けて格納さ
れる。例えば、図14に示すように、デバイスD0には
「第1軸現在値」が割り付けられ、デバイスD1には「
第1軸偏差カウンタ値」が割り付けられ、デバイスD2
には「第1軸エラー情報」が割り付けられるというよう
に、すべての制御情報が各デバイスに割り付けて格納さ
れる。したがって、例えば、ユーザがシーケンスプログ
ラムでデバイスD0を指定すると、デバイスD0に割り
付けられた「第1軸の現在値」が読み出されることにな
る。
The positioning unit (61) positions a controlled object by controlling a large number of axes, and has control information such as a current value and a deviation counter value for each axis. The control information is stored in the data memory (not shown) of the positioning unit (61), and the shared memory (5
7). All such control information is stored in the shared memory (57) by being allocated to a set device. For example, as shown in FIG. 14, "first axis current value" is assigned to device D0, and "first axis current value" is assigned to device D1.
1st axis deviation counter value” is assigned to device D2.
All control information is assigned to each device and stored, such as "first axis error information" is assigned to each device. Therefore, for example, when the user specifies device D0 in the sequence program, the "current value of the first axis" assigned to device D0 will be read.

【0006】通信ユニット(71)においても同様に、
接続されているすべての局の情報が共用メモリ(58)
の各デバイスに割り付けて格納される。例えば、通信ユ
ニット(71)にNO.1局とNO.2局が接続されて
いるとすると、例えば図15に示すように、NO.1局
から送られたすべての情報はデバイスW0〜W50に割
り付けられ、NO.2局から送られたすべての情報はW
51以降のデバイスに割り付けて格納される。したがっ
て、ユーザがシーケンスプログラムでデバイスW0〜W
50を指定すると、NO.1局からの情報を読み出すこ
とができる。
Similarly, in the communication unit (71),
Information on all connected stations is stored in shared memory (58)
are allocated and stored in each device. For example, the communication unit (71) has NO. 1st station and NO. If two stations are connected, for example, as shown in FIG. All information sent from one station is assigned to devices W0 to W50, and No. All information sent from the two stations is W.
It is allocated and stored in devices after 51. Therefore, if the user uses the sequence program to select devices W0 to W
If you specify 50, NO. Information from one station can be read.

【0007】[0007]

【発明が解決しようとする課題】上記従来のPC(50
)では、位置決めユニット(61)および通信ユニット
(71)のすべての制御情報を共用メモリ(57)(5
8)に格納するので、共用メモリ(57)(58)に大
きなエリアを確保する必要がある問題点がある。例えば
、位置決めユニット(61)が1軸当りm個の制御情報
がある制御対象をn軸制御しているとすれば、共用メモ
リ(57)にはm×n個のデバイスが必要となる。 また、上記従来のPC(50)では通常、情報が所定の
順序にしたがって各デバイスに割り付けて格納されるの
で、ユーザが必要とする情報が分散して格納されること
があり、その結果シーケンスプログラムが複雑になる問
題点がある。
[Problem to be solved by the invention] The above conventional PC (50
), all control information of the positioning unit (61) and communication unit (71) is stored in the shared memory (57) (5
8), there is a problem in that it is necessary to secure a large area in the shared memory (57) (58). For example, if the positioning unit (61) controls n axes of a controlled object with m pieces of control information per axis, m×n devices are required in the shared memory (57). Furthermore, in the conventional PC (50) mentioned above, information is normally allocated and stored in each device according to a predetermined order, so information required by the user may be stored in a distributed manner, resulting in sequence program There are problems that make it complicated.

【0008】そこで、この発明の目的は、位置決めユニ
ットや通信ユニットのような特殊機能制御部の情報の中
からユーザが必要とする情報を選択して共用メモリに格
納することができ、しかもその情報の各デバイスへの割
付けをユーザが設定することができるPCを提供するこ
とにある。この発明の他の目的は、特殊機能制御部の情
報の各デバイスへの割付けを容易に変更することができ
るPCを提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to enable a user to select information required from among information of a special function control unit such as a positioning unit or a communication unit and to store the information in a shared memory. An object of the present invention is to provide a PC that allows a user to set the allocation of information to each device. Another object of the present invention is to provide a PC in which the allocation of information of a special function control section to each device can be easily changed.

【0009】[0009]

【課題を解決するための手段】第1の発明のPCは、シ
ーケンスプログラムにしたがってシーケンス制御を行な
うシーケンス制御部と、そのシーケンス制御部と共用メ
モリを介して情報交換を行ないながら特殊機能プログラ
ムにしたがって特殊機能制御を行なう特殊機能制御部と
を備えたPCにおいて、共用メモリに設定されたデバイ
スと特殊機能制御部の情報との対応を示すパラメータ情
報を共用メモリに格納するパラメータ情報格納手段と、
共用メモリに格納されたパラメータ情報を特殊機能制御
部のデータメモリに転送するパラメータ情報転送手段と
、前記データメモリに格納された特殊機能制御部の情報
を前記パラメータ情報にしたがって前記デバイスに割り
付けて共用情報を生成する共用情報生成手段と、生成さ
れた共用情報を共用メモリに転送する共用情報転送手段
とを備えていることを特徴とする。
[Means for Solving the Problems] A PC according to the first invention includes a sequence control unit that performs sequence control according to a sequence program, and a PC that performs sequence control according to a special function program while exchanging information with the sequence control unit via a shared memory. In a PC equipped with a special function control unit that performs special function control, parameter information storage means for storing parameter information in the shared memory indicating a correspondence between a device set in the shared memory and information of the special function control unit;
parameter information transfer means for transferring parameter information stored in a shared memory to a data memory of a special function control section; and a parameter information transfer means for transferring parameter information stored in a shared memory to a data memory of a special function control section; and a parameter information transfer means for allocating and sharing information of the special function control section stored in the data memory to the device according to the parameter information. The present invention is characterized by comprising a shared information generating means for generating information, and a shared information transferring means for transferring the generated shared information to a shared memory.

【0010】第2の発明のPCは、シーケンスプログラ
ムにしたがってシーケンス制御を行なうシーケンス制御
部と、そのシーケンス制御部と共用メモリを介して情報
交換を行ないながら特殊機能プログラムにしたがって特
殊機能制御を行なう特殊機能制御部とを備えたPCにお
いて、共用メモリに設定されたデバイスと特殊機能制御
部の情報との対応を示す複数のパラメータ情報を共用メ
モリに格納するパラメータ情報格納手段と、共用メモリ
に格納された複数のパラメータ情報を特殊機能制御部の
データメモリに転送するパラメータ情報転送手段と、複
数の前記パラメータ情報の中から所望のパラメータ情報
を指定するパラメータ情報指定手段と、前記データメモ
リに格納された特殊機能制御部の情報を指定されたパラ
メータ情報にしたがって前記デバイスに割り付けて共用
情報を生成する共用情報生成手段と、生成された共用情
報を共用メモリに転送する共用情報転送手段とを備えて
いることを特徴とする。
The PC of the second invention includes a sequence control unit that performs sequence control according to a sequence program, and a special PC that performs special function control according to a special function program while exchanging information with the sequence control unit via a shared memory. a PC equipped with a function control unit, a parameter information storage means for storing in the shared memory a plurality of parameter information indicating a correspondence between a device set in the shared memory and information of the special function control unit; parameter information transfer means for transferring a plurality of pieces of parameter information stored in the data memory to the data memory of the special function control unit; A shared information generating means that generates shared information by allocating information of the special function control unit to the device according to specified parameter information, and a shared information transferring means that transfers the generated shared information to a shared memory. It is characterized by

【0011】[0011]

【作用】第1の発明のPCでは、パラメータ情報により
、ユーザが必要とする特殊機能部の情報を選択して共用
メモリのデバイスに割り付けるよう指定すると、選択し
た特殊機能部の情報を各デバイスに割り付けた共用情報
が生成される。その共用情報を共用メモリに転送すれば
、ユーザが必要とする特殊機能部の情報のみを共用メモ
リに格納することができる。また、その割付けは、パラ
メータ情報を適宜変更することによりユーザが希望する
態様で行なうことができる。
[Operation] In the PC of the first invention, when the user selects the information of the special function section required by the parameter information and specifies to allocate it to a device in the shared memory, the information of the selected special function section is transferred to each device. The allocated shared information is generated. If the shared information is transferred to the shared memory, only the information on the special function section required by the user can be stored in the shared memory. Further, the allocation can be performed in a manner desired by the user by appropriately changing the parameter information.

【0012】第2の発明のPCでは、複数の異なるパラ
メータ情報の中から所望のパラメータ情報を指定すると
、指定されたパラメータ情報にしたがって特殊機能部の
情報を各デバイスに割り付けた共用情報が生成される。 そこで、指定するパラメータ情報を変更することにより
、特殊機能制御部の情報の各デバイスへの割付けを容易
に変更することができる。
[0012] In the PC of the second invention, when desired parameter information is specified from among a plurality of different parameter information, shared information is generated in which information of the special function section is assigned to each device according to the specified parameter information. Ru. Therefore, by changing the specified parameter information, the allocation of the information of the special function control unit to each device can be easily changed.

【0013】[0013]

【実施例】以下、この発明の実施例を添付図面に基づい
て説明する。なお、これによりこの発明が限定されるも
のではない。 (第1実施例の構成)図1は、この発明のPCの第1実
施例の構成を示す機能ブロック図である。この発明のP
C(10)は、パラメータ情報格納部(10a)、パラ
メータ情報転送部(10b)、共用情報生成部(10c
)および共用情報転送部(10d)を備えて構成される
。パラメータ情報格納部(10a)は、シーケンス制御
部と特殊機能制御部とで共用する共用メモリにパラメー
タ情報を格納する。ここで、「パラメータ情報」とは、
共用メモリに設定されたデバイスと特殊機能制御部の情
報との対応を示す情報を意味する。このパラメータ情報
は、シーケンスプログラムPによって指定される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described below with reference to the accompanying drawings. Note that this invention is not limited to this. (Configuration of First Embodiment) FIG. 1 is a functional block diagram showing the configuration of a first embodiment of a PC according to the present invention. P of this invention
C (10) includes a parameter information storage unit (10a), a parameter information transfer unit (10b), and a shared information generation unit (10c).
) and a shared information transfer unit (10d). The parameter information storage section (10a) stores parameter information in a shared memory shared by the sequence control section and the special function control section. Here, "parameter information" is
This refers to information indicating the correspondence between devices set in the shared memory and information in the special function control unit. This parameter information is specified by the sequence program P.

【0014】パラメータ情報転送部(10b)は、前記
共用メモリに格納されたパラメータ情報を特殊機能制御
部のデータメモリに転送する。このデータメモリは、特
殊機能制御部で得られる情報を格納するメモリである。 共用情報生成部(10c)は、前記データメモリに転送
されてきたパラメータ情報にしたがって、そのデータメ
モリの特殊機能制御部の情報を前記デバイスに割り付け
、共用情報を生成する。共用情報転送部(10d)は、
共用情報生成部(10c)で生成された共用情報を前記
共用メモリに転送する。
The parameter information transfer section (10b) transfers the parameter information stored in the shared memory to the data memory of the special function control section. This data memory is a memory that stores information obtained by the special function control section. The shared information generation unit (10c) allocates information of the special function control unit of the data memory to the device according to the parameter information transferred to the data memory, and generates shared information. The shared information transfer unit (10d) is
The shared information generated by the shared information generation unit (10c) is transferred to the shared memory.

【0015】図2は、この発明のPCの第1実施例の具
体的構成を示すブロック図である。この発明のPC(1
0)は、シーケンス制御部(11)と、特殊機能制御部
としての位置決め制御部(21)から構成されている。 シーケンス制御部(11)は、マイクロプロセッサ(1
2)、制御用メモリ(13)、データメモリ(14)、
周辺装置インタフェース(15)、入出力ユニットイン
タフェース(16)および共用メモリ(17)を備えて
いる。シーケンス制御部(11)には、周辺装置インタ
フェース(15)を介して周辺装置(81)が接続され
、また入出力ユニットインタフェース(16)を介して
入出力ユニット(82)が接続されている。シーケンス
制御部(11)は、マイクロプロセッサ(12)の制御
により、シーケンスプログラムPにしたがってシーケン
ス制御を行なう。
FIG. 2 is a block diagram showing a specific configuration of a first embodiment of a PC according to the present invention. PC of this invention (1
0) is composed of a sequence control section (11) and a positioning control section (21) as a special function control section. The sequence control unit (11) includes a microprocessor (1
2), control memory (13), data memory (14),
It includes a peripheral device interface (15), an input/output unit interface (16) and a shared memory (17). A peripheral device (81) is connected to the sequence control section (11) via a peripheral device interface (15), and an input/output unit (82) is connected via an input/output unit interface (16). A sequence control unit (11) performs sequence control according to a sequence program P under the control of a microprocessor (12).

【0016】位置決め制御部(21)は、マイクロプロ
セッサ(22)、制御用メモリ(23)、データメモリ
(24)および外部制御インタフェース(25)を備え
ている。位置決め制御部(21)には、外部制御インタ
フェース(25)を介して制御対象(83)が接続され
ている。位置決め制御部(21)は、シーケンス制御部
(11)と共用メモリ(17)を介して情報交換を行な
いながら、位置決めプログラムにしたがって制御対象(
83)の位置決め制御を行なう。
The positioning control section (21) includes a microprocessor (22), a control memory (23), a data memory (24), and an external control interface (25). A controlled object (83) is connected to the positioning control section (21) via an external control interface (25). The positioning control unit (21) exchanges information with the sequence control unit (11) via the shared memory (17) and controls the controlled object (
83) positioning control is performed.

【0017】図3は、シーケンス制御部(11)の共用
メモリ(17)における情報の格納状況を示す概念図、
図4は、位置決め制御部(21)のデータメモリ(24
)における情報の格納状況を示す概念図である。
FIG. 3 is a conceptual diagram showing the storage status of information in the shared memory (17) of the sequence control unit (11).
FIG. 4 shows the data memory (24) of the positioning control section (21).
) is a conceptual diagram showing the storage status of information.

【0018】共用メモリ(17)は、図3に示すように
、パラメータ情報エリア(17a)と共用情報エリア(
17b)を有している。パラメータ情報エリア(17a
)は、周辺装置(81)で設定されてシーケンス制御部
(11)に送られたパラメータ情報を格納する。パラメ
ータ情報エリア(17a)に格納されたパラメータ情報
は、マイクロプロセッサ(22)の制御により、データ
メモリ(24)のパラメータ情報エリア(24a)に転
送される。ここで、「パラメータ情報」とは、共用メモ
リ(17)の各デバイスに、データメモリ(24)の制
御情報エリア(24b)に格納されている位置決め制御
情報のどれを割り付けるかを示す情報である。
As shown in FIG. 3, the shared memory (17) has a parameter information area (17a) and a shared information area (
17b). Parameter information area (17a
) stores parameter information set by the peripheral device (81) and sent to the sequence control unit (11). The parameter information stored in the parameter information area (17a) is transferred to the parameter information area (24a) of the data memory (24) under the control of the microprocessor (22). Here, "parameter information" is information indicating which positioning control information stored in the control information area (24b) of the data memory (24) is assigned to each device of the shared memory (17). .

【0019】共用情報エリア(17b)は、位置決め制
御部(21)でパラメータ情報にしたがって共用メモリ
(17)の各デバイスに割り付けて生成された共用情報
を格納する。
The shared information area (17b) stores shared information generated by being allocated to each device of the shared memory (17) by the positioning control unit (21) according to parameter information.

【0020】データメモリ(24)は、図4に示すよう
に、共用メモリ(17)から転送されたパラメータ情報
を格納するパラメータ情報エリア(24a)と、位置決
め制御部(21)で得られる制御対象(83)の位置決
め制御情報を格納する制御情報エリア(24b)を有し
ている。
As shown in FIG. 4, the data memory (24) includes a parameter information area (24a) for storing parameter information transferred from the shared memory (17) and a control target obtained by the positioning control unit (21). It has a control information area (24b) for storing positioning control information (83).

【0021】パラメータ情報エリア(24a)では、パ
ラメータ情報で指定された各デバイスに対してそれぞれ
エリア番号が指定されている。図4の例では、デバイス
D0にエリア番号1が割り付けられ、デバイスD1にエ
リア番号2が割り付けられ、デバイスD2にエリア番号
10が割り付けられ、デバイスD3にエリア番号3が割
り付けられている。
In the parameter information area (24a), area numbers are designated for each device designated by the parameter information. In the example of FIG. 4, area number 1 is assigned to device D0, area number 2 is assigned to device D1, area number 10 is assigned to device D2, and area number 3 is assigned to device D3.

【0022】制御情報エリア(24b)は、予め設定さ
れたエリア番号毎に割り付けて位置決め制御情報が格納
されている。図4の例では、エリア番号1に第1軸の現
在値が格納され、エリア番号2に第1軸のカウンタ値が
格納され、エリア番号3に第1軸のエラー情報が格納さ
れ、エリア番号10に第2軸の現在値が格納されている
The control information area (24b) stores positioning control information allocated to each preset area number. In the example of FIG. 4, the current value of the first axis is stored in area number 1, the counter value of the first axis is stored in area number 2, the error information of the first axis is stored in area number 3, and the area number The current value of the second axis is stored in 10.

【0023】位置決め制御部(21)は、マイクロプロ
セッサ(22)の制御により、上記エリア番号を媒介と
して、パラメータ情報で指定された各デバイスに対して
制御情報を割り付け、共用情報を生成する。図4の例で
は、デバイスD0に第1軸の現在値が割り付けられ、デ
バイスD1に第1軸の偏差カウンタ値が割り付けられ、
デバイスD2に第2軸の現在値が割り付けられ、デバイ
スD3に第1軸のエラー情報が割り付けられて共用情報
が生成される。
Under the control of the microprocessor (22), the positioning control section (21) allocates control information to each device designated by the parameter information using the area number as a medium, and generates shared information. In the example of FIG. 4, the current value of the first axis is assigned to device D0, the deviation counter value of the first axis is assigned to device D1,
The current value of the second axis is assigned to device D2, the error information of the first axis is assigned to device D3, and shared information is generated.

【0024】こうして生成された共用情報は、マイクロ
プロセッサ(22)の制御により共用メモリ(17)の
共用情報エリア(17b)に転送される。図4に示すパ
ラメータ情報および位置決め制御情報に基づいて生成し
た共用情報は、図3に示すように共用情報エリア(17
b)に格納される。シーケンス制御部(11)は、この
共用情報を用いてシーケンス制御を行なう。
The shared information thus generated is transferred to the shared information area (17b) of the shared memory (17) under the control of the microprocessor (22). The shared information generated based on the parameter information and positioning control information shown in FIG. 4 is stored in the shared information area (17
b). The sequence control unit (11) performs sequence control using this shared information.

【0025】(第1実施例の動作)次に、上記PC(1
0)のシーケンス制御部(11)および位置決め制御部
(21)の動作を説明する。図5は、シーケンス制御部
(11)の動作を示すフローチャートである。ステップ
S1では、周辺装置(81)で設定したパラメータ情報
を共用メモリ(17)のパラメータ情報エリア(17a
)に格納する。格納されたパラメータ情報は、位置決め
ユニット(21)のマイクロプロセッサ(22)の制御
によってデータメモリ(24)に転送され、パラメータ
情報エリア(24a)に格納される。他方、データメモ
リ(24)の制御情報エリア(24b)には、位置決め
制御によって得られた制御情報が格納される。そして、
制御情報エリア(24b)の制御情報は、パラメータ情
報エリア(24a)のパラメータ情報にしたがって各デ
バイスに割り付けられて共用情報となり、共用メモリ(
17)に転送される。
(Operation of the first embodiment) Next, the above PC (1
The operations of the sequence control section (11) and positioning control section (21) of No. 0) will be explained. FIG. 5 is a flowchart showing the operation of the sequence control section (11). In step S1, the parameter information set in the peripheral device (81) is transferred to the parameter information area (17a) of the shared memory (17).
). The stored parameter information is transferred to the data memory (24) under the control of the microprocessor (22) of the positioning unit (21) and stored in the parameter information area (24a). On the other hand, control information obtained by positioning control is stored in the control information area (24b) of the data memory (24). and,
The control information in the control information area (24b) is allocated to each device according to the parameter information in the parameter information area (24a), becomes shared information, and is stored in the shared memory (
17).

【0026】ステップS2では、マイクロプロセッサ(
12)が、前記共用情報の共用メモリ(17)への格納
が終了したか否かを判定する。終了していない場合は待
機し、終了していた場合はステップS3に進む。
In step S2, the microprocessor (
12) determines whether the storage of the shared information in the shared memory (17) is completed. If the process has not finished, the process waits; if the process has finished, the process advances to step S3.

【0027】ステップS3では、共用メモリ(17)に
格納された共用情報を適宜読み出しながら、シーケンス
プログラムPにしたがってシーケンス制御を実行する。 例えば、シーケンスプログラムでデバイスD0が指定さ
れていると、共用メモリ(17)に格納されているデバ
イスD0に対応する制御情報「第1軸の現在値」が読み
出される。
In step S3, sequence control is executed according to the sequence program P while appropriately reading the shared information stored in the shared memory (17). For example, if device D0 is specified in the sequence program, control information "current value of first axis" corresponding to device D0 stored in the shared memory (17) is read out.

【0028】ステップS4では、シーケンス制御の終了
信号が出されたか否かを判定する。終了信号が出されて
いない場合はシーケンス制御を続行する。終了信号が出
された場合はシーケンス制御を終了する。
In step S4, it is determined whether a sequence control end signal has been issued. If the end signal has not been issued, sequence control continues. If a termination signal is issued, sequence control is terminated.

【0029】図6は、位置決め制御部(12)の動作を
示すフローチャートである。ステップS11では、マイ
クロプロセッサ(22)が、共用メモリ(17)へのパ
ラメータ情報の格納が終了したか否かを判定する。格納
が終了していない場合は待機し、終了している場合はス
テップ12に進む。
FIG. 6 is a flowchart showing the operation of the positioning control section (12). In step S11, the microprocessor (22) determines whether the storage of parameter information in the shared memory (17) has been completed. If the storage has not been completed, the process waits; if the storage has been completed, the process advances to step 12.

【0030】ステップS12では、共用メモリ(17)
に格納されたパラメータ情報をデータメモリ(24)へ
転送し、パラメータ情報エリア(24a)に格納する。
In step S12, the shared memory (17)
The parameter information stored in is transferred to the data memory (24) and stored in the parameter information area (24a).

【0031】ステップS13では、制御情報エリア(2
4a)の位置決め制御情報を、パラメータ情報エリア(
24a)のパラメータ情報にしたがって共用メモリ(1
7)の各デバイスに割り付け、共用情報を生成する。図
4の例で言えば、パラメータ情報で指定されたエリア番
号に基づいてそのエリア番号の制御情報を各デバイスに
割り付ける。
In step S13, the control information area (2
4a) positioning control information in the parameter information area (
24a) according to the parameter information of the shared memory (1
7) to each device and generate shared information. In the example of FIG. 4, control information for the area number is assigned to each device based on the area number specified by the parameter information.

【0032】ステップS14では、ステップS13で生
成した共用情報を共用メモリ(17)に転送する。転送
された共用情報は、共用メモリ(17)の共用情報エリ
ア(17b)に格納される。
In step S14, the shared information generated in step S13 is transferred to the shared memory (17). The transferred shared information is stored in the shared information area (17b) of the shared memory (17).

【0033】ステップS15では、位置決め制御プログ
ラムにしたがって、制御対象(83)の位置決め制御を
実行する。
In step S15, positioning control of the controlled object (83) is executed according to the positioning control program.

【0034】ステップS16では、位置決め制御の終了
信号が出されたか否かを判定する。終了信号が出されて
いない場合は、ステップS15に飛んで位置決め制御を
続行する。終了信号が出されている場合は位置決め制御
を終了する。
In step S16, it is determined whether a positioning control end signal has been issued. If the end signal has not been issued, the process jumps to step S15 and continues positioning control. If a termination signal has been issued, positioning control is terminated.

【0035】位置決め制御を繰り返し実行する間、デー
タメモリ(24)に格納される位置決め制御情報は時間
と共に変化するので、その位置決め制御情報に基づいて
生成される共用情報の内容もその度に更新されて共用メ
モリ(17)に転送される。こうして、シーケンス制御
部(11)は常に最新の共用情報に基づいてシーケンス
制御を行なう。
While the positioning control is repeatedly executed, the positioning control information stored in the data memory (24) changes with time, so the contents of the shared information generated based on the positioning control information are also updated each time. and transferred to the shared memory (17). In this way, the sequence control section (11) always performs sequence control based on the latest shared information.

【0036】以上述べたように、この発明のPC(10
)では、ユーザがシーケンスプログラムPでパラメータ
情報を設定することにより、所望のデバイスに所望の制
御情報を割り付けることができ、その結果、ユーザが必
要とする制御情報のみを、しかもユーザの望む配置で共
用メモリ(17)に格納することが可能となる。
As described above, the PC (10
), the user can assign the desired control information to the desired device by setting parameter information in the sequence program P, and as a result, only the control information the user needs and in the arrangement desired by the user can be assigned. It becomes possible to store it in the shared memory (17).

【0037】(第2実施例の構成)図7は、この発明の
PCの第2実施例の構成を示す機能ブロック図である。 第2実施例のPC(30)は、パラメータ情報格納部(
30a)、パラメータ情報転送部(30b)、共用情報
生成部(30c)、共用情報転送部(30d)およびパ
ラメータ情報指定部(30e)を備えている。パラメー
タ情報格納部(30a)は、シーケンス制御部と特殊機
能制御部とで共用する共用メモリに複数のパラメータ情
報を格納する。
(Configuration of Second Embodiment) FIG. 7 is a functional block diagram showing the configuration of a second embodiment of the PC of the present invention. The PC (30) of the second embodiment has a parameter information storage unit (
30a), a parameter information transfer unit (30b), a shared information generation unit (30c), a shared information transfer unit (30d), and a parameter information designation unit (30e). The parameter information storage section (30a) stores a plurality of parameter information in a shared memory shared by the sequence control section and the special function control section.

【0038】パラメータ情報転送部(30b)は、前記
共用メモリに格納された複数のパラメータ情報を特殊機
能制御部のデータメモリに転送する。共用情報生成部(
30c)は、パラメータ情報指定部(30e)で指定さ
れたパラメータ情報にしたがって前記データメモリの情
報を共用メモリのデバイスに割り付け、共用情報を生成
する。共用情報転送部(30d)は、共用情報生成部(
30c)で生成された共用情報を前記共用メモリに転送
する。パラメータ情報指定部(30e)は、シーケンス
プログラムPで設定されるパラメータ情報の指定情報に
基づき、複数のパラメータ情報の中から一つを指定する
The parameter information transfer section (30b) transfers the plurality of parameter information stored in the shared memory to the data memory of the special function control section. Shared information generation unit (
30c) allocates the information in the data memory to the shared memory device according to the parameter information specified by the parameter information specifying unit (30e), and generates shared information. The shared information transfer unit (30d) includes a shared information generation unit (
Transferring the shared information generated in step 30c) to said shared memory. The parameter information designation unit (30e) designates one piece of parameter information from a plurality of pieces of parameter information based on parameter information designation information set in the sequence program P.

【0039】第2実施例のPC(30)の具体的構成は
、図2に示した第1実施例のPC(10)のそれと同じ
である。しかしPC(30)では、図8に示すように、
共用メモリ(17)に、実施例1と同様のパラメータ情
報エリア(17a)および共用情報エリア(17b)の
他にパラメータ情報番号エリア(17c)が設けてある
点と、パラメータ情報エリア(17a)に複数のパラメ
ータ情報が格納される点で異なる。
The specific configuration of the PC (30) of the second embodiment is the same as that of the PC (10) of the first embodiment shown in FIG. However, in the PC (30), as shown in FIG.
The shared memory (17) has a parameter information number area (17c) in addition to the parameter information area (17a) and shared information area (17b) similar to those in the first embodiment, and the parameter information area (17a) It differs in that multiple parameter information is stored.

【0040】複数のパラメータ情報は、それらを区別す
るために番号付きでパラメータ情報エリア(17a)に
格納される。パラメータ情報番号エリア(17c)には
、パラメータ情報エリア(17a)の複数のパラメータ
情報のどれを選択するかを指定するパラメータ情報番号
が格納される。パラメータ情報番号はシーケンスプログ
ラムPで指定する。
[0040] A plurality of pieces of parameter information are stored in the parameter information area (17a) with numbers assigned to distinguish them. The parameter information number area (17c) stores a parameter information number that specifies which of the plurality of parameter information in the parameter information area (17a) is to be selected. The parameter information number is specified by the sequence program P.

【0041】データメモリ(24)には、実施例1と同
様のパラメータ情報エリア(24a)および制御情報エ
リア(24b)が設けてある。パラメータ情報エリア(
24a)には、マイクロプロセッサ(22)の制御によ
り、共用メモリ(17)のパラメータ情報番号エリア(
17c)に格納されている複数のパラメータ情報が番号
付きで転送される。転送された複数のパラメータ情報は
、共用メモリ(17)に格納されたパラメータ情報番号
を読み出すことによって選択される。
The data memory (24) is provided with a parameter information area (24a) and a control information area (24b) similar to those in the first embodiment. Parameter information area (
24a), the parameter information number area (17) of the shared memory (17) is stored under the control of the microprocessor (22).
A plurality of pieces of parameter information stored in 17c) are transferred with numbers. The transferred plurality of parameter information is selected by reading the parameter information number stored in the shared memory (17).

【0042】(第2実施例の動作)次に、第2実施例の
PC(30)のシーケンス制御部(11)および位置決
め制御部(21)の動作を説明する。図10は、シーケ
ンス制御部(11)の動作を示すフローチャートである
(Operation of Second Embodiment) Next, the operation of the sequence control section (11) and positioning control section (21) of the PC (30) of the second embodiment will be explained. FIG. 10 is a flowchart showing the operation of the sequence control section (11).

【0043】ステップS21では、複数のパラメータ情
報を共用メモリ(17)のパラメータ情報エリア(17
a)に格納する。これらのパラメータ情報は、マイクロ
プロセッサ(22)の制御によってデータメモリ(24
)に転送され、パラメータ情報エリア(24a)に格納
される。例えば、図9に示すように、パラメータ情報1
からパラメータ情報kまでのk個のパラメータ情報が格
納される。
In step S21, a plurality of parameter information is stored in the parameter information area (17) of the shared memory (17).
a). These parameter information are stored in the data memory (24) under the control of the microprocessor (22).
) and stored in the parameter information area (24a). For example, as shown in FIG.
k pieces of parameter information from to parameter information k are stored.

【0044】ステップS22では、位置決め制御部(2
1)による共用情報の共用メモリ(17)への格納が終
了したか否かを判定する。終了していない場合は待機し
、終了している場合はステップS23に進む。
In step S22, the positioning control section (2
It is determined whether the storage of the shared information in the shared memory (17) according to step 1) has been completed. If the process has not finished, the process waits; if the process has finished, the process advances to step S23.

【0045】ステップS23では、共用メモリ(17)
の共用情報を読み出しながら、シーケンスプログラムP
にしたがってシーケンス制御を実行する。
In step S23, the shared memory (17)
While reading the shared information of the sequence program P
Execute sequence control according to the following.

【0046】ステップS24では、パラメータ情報の変
更指令があるか否かを判定する。変更指令がない場合は
ステップS26に進む。変更指令がある場合はステップ
S25に進み、その変更指令によって新たに指定された
パラメータ情報番号を共用メモリ(17)のパラメータ
情報番号エリア(17c)に格納した後、ステップS2
3に飛んでシーケンス制御を続行する。
In step S24, it is determined whether there is an instruction to change parameter information. If there is no change command, the process advances to step S26. If there is a change command, the process advances to step S25, and after storing the parameter information number newly specified by the change command in the parameter information number area (17c) of the shared memory (17), the process proceeds to step S2.
Jump to step 3 and continue sequence control.

【0047】ステップS26では、シーケンス制御の終
了信号が出されたか否かを判定する。終了信号が出され
ていない場合は、ステップS23に飛んでシーケンス制
御を続行する。終了信号が出されている場合はシーケン
ス制御を終了する。
In step S26, it is determined whether a sequence control end signal has been issued. If the end signal has not been issued, the process jumps to step S23 and continues the sequence control. If a termination signal has been issued, sequence control is terminated.

【0048】図11および図12は、第2実施例の位置
決め制御部(12)の動作を示すフローチャートである
。ステップS31では、共用メモリ(17)のパラメー
タ情報エリア(17a)およびパラメータ情報番号エリ
ア(17c)へのパラメータ情報およびパラメータ情報
番号の格納が終了したか否かを判定する。格納が終了し
ていない場合は待機し、終了している場合はステップ3
2に進む。
FIGS. 11 and 12 are flowcharts showing the operation of the positioning control section (12) of the second embodiment. In step S31, it is determined whether the storage of parameter information and parameter information numbers in the parameter information area (17a) and parameter information number area (17c) of the shared memory (17) has been completed. If storage has not finished, wait; if it has finished, go to step 3
Proceed to step 2.

【0049】ステップS32では、マイクロプロセッサ
(22)の制御により、共用メモリ(17)のパラメー
タ情報エリア(17a)の複数のパラメータ情報がデー
タメモリ(24)に転送され、パラメータ情報エリア(
24a)に格納される。
In step S32, under the control of the microprocessor (22), a plurality of parameter information in the parameter information area (17a) of the shared memory (17) is transferred to the data memory (24), and the parameter information area (17a) is transferred to the data memory (24).
24a).

【0050】ステップS33では、パラメータ情報番号
エリア(17c)のパラメータ情報番号を読み出し、そ
れにしたがってパラメータ情報エリア(17a)の複数
のパラメータ情報の中から一つを選択する。そして、選
択されたパラメータ情報にしたがって制御情報エリア(
24a)の制御情報が各デバイスに割り付けられ、共用
情報が生成される。
In step S33, the parameter information number in the parameter information number area (17c) is read out, and one of the plurality of parameter information in the parameter information area (17a) is selected according to the parameter information number. Then, the control information area (
The control information of 24a) is assigned to each device and shared information is generated.

【0051】ステップS34では、ステップS23で生
成された共用情報を共用メモリ(17)に転送する。そ
の共用情報は、共用メモリ(17)の共用情報エリア(
17b)に格納される。
[0051] In step S34, the shared information generated in step S23 is transferred to the shared memory (17). The shared information is stored in the shared information area (17) of the shared memory (17).
17b).

【0052】ステップS35では、位置決め制御プログ
ラムにしたがって、制御対象(83)の位置決め制御を
実行する。
In step S35, positioning control of the controlled object (83) is executed according to the positioning control program.

【0053】ステップS36では、パラメータ情報の変
更指令があるか否かを判定する。変更指令が出されてい
ない場合は、ステップS38に進む。変更指令が出され
ている場合は、ステップS37に進み、使用するパラメ
ータ情報をその変更指令によって指定された新しいパラ
メータ情報に変更してステップS33に飛ぶ。そして、
新しいパラメータ情報を使用して共用情報を生成し、位
置決め制御を続行する。
In step S36, it is determined whether there is an instruction to change parameter information. If no change command has been issued, the process advances to step S38. If a change command has been issued, the process advances to step S37, where the parameter information to be used is changed to new parameter information specified by the change command, and the process jumps to step S33. and,
Generate shared information using the new parameter information and continue positioning control.

【0054】ステップS38では、位置決め制御の終了
信号が出されたか否かを判定する。終了信号が出されて
いない場合は位置決め制御を続行する。終了信号が出さ
れている場合は位置決め制御を終了する。
In step S38, it is determined whether a positioning control end signal has been issued. If the end signal has not been issued, positioning control continues. If a termination signal has been issued, positioning control is terminated.

【0055】位置決め制御を繰り返し実行する間、第1
実施例と同様に、生成される共用情報の内容は更新され
て共用メモリ(17)に転送される。
During repeated execution of positioning control, the first
Similar to the embodiment, the content of the generated shared information is updated and transferred to the shared memory (17).

【0056】以上のように、第2実施例のPC(30)
では、指定するパラメータ情報番号を変えることによっ
て、共用メモリ(17)に格納する共用情報を容易に変
更することができる。したがって、例えばユーザが今ま
でn個の軸すべての現在値のみが共用メモリ(17)に
格納されるようパラメータ情報を設定していたときに(
図8参照)、第1軸の動作に異常が発生したため第1軸
の他の制御情報が必要となった場合、第1軸のすべての
制御情報を割り付けるよう設定したパラメータ情報の番
号を指定すると、そのパラメータ情報にしたがって第1
軸のすべての制御情報が各デバイスに割り付けられ、共
用メモリ(17)に転送される。こうして、その後は第
1軸の制御情報を用いてシーケンス制御を行なうことが
できる。
As described above, the PC (30) of the second embodiment
Now, by changing the specified parameter information number, the shared information stored in the shared memory (17) can be easily changed. Therefore, for example, if the user had previously set the parameter information so that only the current values of all n axes were stored in the shared memory (17), (
(See Figure 8), if other control information for the first axis is required due to an abnormality in the operation of the first axis, specify the number of the parameter information set to allocate all control information for the first axis. , the first one according to its parameter information.
All control information for the axes is assigned to each device and transferred to the shared memory (17). In this way, sequence control can be performed thereafter using the control information of the first axis.

【0057】なお、以上の説明では、特殊機能制御部と
して位置決め制御ユニット(21)を挙げたが、位置決
め制御ユニット(21)以外のもの(例えば通信ユニッ
ト)でも、まったく同様に適用することができる。
In the above explanation, the positioning control unit (21) has been mentioned as the special function control unit, but the present invention can be applied to other units (for example, communication units) in exactly the same way. .

【0058】[0058]

【発明の効果】この発明のPCによれば、位置決めユニ
ットや通信ユニットのような特殊機能制御部の情報の中
からユーザが必要とする情報を選択して共用メモリに格
納することができ、しかもその情報の各デバイスへの割
付けをユーザが設定することができる。このため、従来
と全く同一のハードウェア構成により、共用メモリの容
量をユーザが必要とする最小限に抑制することが可能と
なり、またユーザが使いやすい配置のメモリ構成を得る
ことができる。また、割付け状況が異なる複数のパラメ
ータ情報を予め格納しておき、共用情報の生成に用いる
パラメータ情報の指定を変えることにより、特殊機能制
御部の情報の各デバイスへの割付けを容易に変更するこ
とができる。
[Effects of the Invention] According to the PC of the present invention, the information required by the user can be selected from among the information of special function control units such as the positioning unit and the communication unit, and can be stored in the shared memory. The user can set the allocation of that information to each device. Therefore, with the same hardware configuration as in the past, it is possible to suppress the capacity of the shared memory to the minimum required by the user, and it is also possible to obtain a memory configuration that is easy for the user to use. Furthermore, by storing a plurality of pieces of parameter information with different allocation statuses in advance and changing the specification of the parameter information used to generate shared information, the allocation of the information of the special function control unit to each device can be easily changed. Can be done.

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

【図1】この発明のPCの第1実施例の構成を示す機能
ブロック図である。
FIG. 1 is a functional block diagram showing the configuration of a first embodiment of a PC according to the present invention.

【図2】この発明のPCの第1実施例の具体的構成を示
すブロック図である。
FIG. 2 is a block diagram showing a specific configuration of a first embodiment of a PC according to the invention.

【図3】図2に示すPCのシーケンス制御部の共用メモ
リにおける情報の格納状況を示す概念図である。
FIG. 3 is a conceptual diagram showing the storage status of information in the shared memory of the sequence control unit of the PC shown in FIG. 2;

【図4】図2に示すPCの位置決め制御部のデータメモ
リにおける情報の格納状況を示す概念図である。
FIG. 4 is a conceptual diagram showing the storage status of information in the data memory of the positioning control section of the PC shown in FIG. 2;

【図5】図2に示すPCのシーケンス制御部の動作を示
すフローチャートである。
FIG. 5 is a flowchart showing the operation of the sequence control section of the PC shown in FIG. 2;

【図6】図2に示すPCの位置決め制御部の動作を示す
フローチャートである。
FIG. 6 is a flowchart showing the operation of the positioning control section of the PC shown in FIG. 2;

【図7】この発明のPCの第2実施例の構成を示す機能
ブロック図である。
FIG. 7 is a functional block diagram showing the configuration of a second embodiment of the PC of the present invention.

【図8】図7に示すPCのシーケンス制御部の共用メモ
リにおける情報の格納状況を示す概念図である。
8 is a conceptual diagram showing the storage status of information in the shared memory of the sequence control unit of the PC shown in FIG. 7; FIG.

【図9】図7に示すPCの位置決め制御部のデータメモ
リにおける情報の格納状況を示す概念図である。
9 is a conceptual diagram showing the storage status of information in the data memory of the positioning control section of the PC shown in FIG. 7; FIG.

【図10】図7に示すPCのシーケンス制御部の動作を
示すフローチャートである。
FIG. 10 is a flowchart showing the operation of the sequence control section of the PC shown in FIG. 7;

【図11】図7に示すPCの位置決め制御部の動作を示
すフローチャートである。
FIG. 11 is a flowchart showing the operation of the positioning control section of the PC shown in FIG. 7;

【図12】図7に示すPCの位置決め制御部の動作を示
すフローチャートである。
12 is a flowchart showing the operation of the positioning control section of the PC shown in FIG. 7;

【図13】位置決めユニットと通信ユニットを備えた従
来のPCの構成を示すブロック図である。
FIG. 13 is a block diagram showing the configuration of a conventional PC including a positioning unit and a communication unit.

【図14】図13に示す従来のPCの位置決めユニット
用の共用メモリにおける制御情報の割付け状況の一例を
示す概念図である。
FIG. 14 is a conceptual diagram showing an example of how control information is allocated in the shared memory for the positioning unit of the conventional PC shown in FIG. 13;

【図15】図13に示す従来のPCの通信ユニット用の
共用メモリにおける制御情報の割付け状況の一例を示す
概念図である。
FIG. 15 is a conceptual diagram showing an example of how control information is allocated in a shared memory for a communication unit of the conventional PC shown in FIG. 13;

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

10  プログラマブルコントローラ 10a  パラメータ情報格納部 10b  パラメータ情報転送部 10c  共用情報生成部 10d  共用情報転送部 11  シーケンス制御部 12  マイクロプロセッサ 13  制御用メモリ 14  データメモリ 15  周辺装置インタフェース 16  入出力インタフェース 17  共用メモリ 17a  パラメータ情報エリア 17b  共用情報エリア 17c  パラメータ情報番号エリア 21  位置決め制御部 22  マイクロプロセッサ 23  制御用メモリ 24  データメモリ 24a  パラメータ情報エリア 24b  制御情報エリア 25  外部制御インタフェース 30  プログラマブルコントローラ 30a  パラメータ情報格納部 30b  パラメータ情報転送部 30c  共用情報生成部 30d  共用情報転送部 30e  パラメータ情報指定部 81  周辺装置 82  入出力ユニット 83  制御対象 P  シーケンスプログラム 10 Programmable controller 10a Parameter information storage section 10b Parameter information transfer unit 10c Shared information generation unit 10d Shared information transfer unit 11 Sequence control section 12 Microprocessor 13 Control memory 14 Data memory 15 Peripheral device interface 16 Input/output interface 17 Shared memory 17a Parameter information area 17b Shared information area 17c Parameter information number area 21 Positioning control section 22 Microprocessor 23 Control memory 24 Data memory 24a Parameter information area 24b Control information area 25 External control interface 30 Programmable controller 30a Parameter information storage section 30b Parameter information transfer unit 30c Shared information generation unit 30d Shared information transfer unit 30e Parameter information specification section 81 Peripheral equipment 82 Input/output unit 83 Controlled object P Sequence program

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  シーケンスプログラムにしたがってシ
ーケンス制御を行なうシーケンス制御部と、そのシーケ
ンス制御部と共用メモリを介して情報交換を行ないなが
ら特殊機能プログラムにしたがって特殊機能制御を行な
う特殊機能制御部とを備えたプログラマブルコントロー
ラにおいて、共用メモリに設定されたデバイスと特殊機
能制御部の情報との対応を示すパラメータ情報を共用メ
モリに格納するパラメータ情報格納手段と、共用メモリ
に格納されたパラメータ情報を特殊機能制御部のデータ
メモリに転送するパラメータ情報転送手段と、前記デー
タメモリに格納された特殊機能制御部の情報を前記パラ
メータ情報にしたがって前記デバイスに割り付けて共用
情報を生成する共用情報生成手段と、生成された共用情
報を共用メモリに転送する共用情報転送手段とを備えて
いることを特徴とするプログラマブルコントローラ。
1. A sequence control unit that performs sequence control according to a sequence program, and a special function control unit that performs special function control according to a special function program while exchanging information with the sequence control unit via a shared memory. In the programmable controller, the parameter information storage means stores in the shared memory parameter information indicating the correspondence between the device set in the shared memory and the information of the special function control unit, and the parameter information stored in the shared memory is used for special function control. parameter information transfer means for transferring the information of the special function control unit stored in the data memory to the device according to the parameter information to generate shared information; A programmable controller comprising: shared information transfer means for transferring shared information to a shared memory.
【請求項2】  シーケンスプログラムにしたがってシ
ーケンス制御を行なうシーケンス制御部と、そのシーケ
ンス制御部と共用メモリを介して情報交換を行ないなが
ら特殊機能プログラムにしたがって特殊機能制御を行な
う特殊機能制御部とを備えたプログラマブルコントロー
ラにおいて、共用メモリに設定されたデバイスと特殊機
能制御部の情報との対応を示す複数のパラメータ情報を
共用メモリに格納するパラメータ情報格納手段と、共用
メモリに格納された複数のパラメータ情報を特殊機能制
御部のデータメモリに転送するパラメータ情報転送手段
と、複数の前記パラメータ情報の中から所望のパラメー
タ情報を指定するパラメータ情報指定手段と、前記デー
タメモリに格納された特殊機能制御部の情報を指定され
たパラメータ情報にしたがって前記デバイスに割り付け
て共用情報を生成する共用情報生成手段と、生成された
共用情報を共用メモリに転送する共用情報転送手段とを
備えていることを特徴とするプログラマブルコントロー
ラ。
2. A sequence control unit that performs sequence control according to a sequence program, and a special function control unit that performs special function control according to a special function program while exchanging information with the sequence control unit via a shared memory. In the programmable controller, a parameter information storage means stores in the shared memory a plurality of parameter information indicating a correspondence between a device set in the shared memory and information of a special function control unit, and a plurality of parameter information stored in the shared memory. parameter information transfer means for transferring the parameter information to the data memory of the special function control section; parameter information specifying means for specifying desired parameter information from among the plurality of parameter information; The device is characterized by comprising a shared information generating means that generates shared information by allocating information to the device according to specified parameter information, and a shared information transferring means that transfers the generated shared information to a shared memory. programmable controller.
JP13278891A 1991-06-04 1991-06-04 Programmable controller Pending JPH04358204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13278891A JPH04358204A (en) 1991-06-04 1991-06-04 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13278891A JPH04358204A (en) 1991-06-04 1991-06-04 Programmable controller

Publications (1)

Publication Number Publication Date
JPH04358204A true JPH04358204A (en) 1992-12-11

Family

ID=15089562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13278891A Pending JPH04358204A (en) 1991-06-04 1991-06-04 Programmable controller

Country Status (1)

Country Link
JP (1) JPH04358204A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000000903A1 (en) * 1998-06-30 2000-01-06 Mitsubishi Denki Kabushiki Kaisha Multiple cpu unit
WO2000033147A1 (en) * 1998-12-03 2000-06-08 Mitsubishi Denki Kabushiki Kaisha Servo system controller

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000000903A1 (en) * 1998-06-30 2000-01-06 Mitsubishi Denki Kabushiki Kaisha Multiple cpu unit
WO2000033147A1 (en) * 1998-12-03 2000-06-08 Mitsubishi Denki Kabushiki Kaisha Servo system controller
GB2354343A (en) * 1998-12-03 2001-03-21 Mitsubishi Electric Corp Servo system controller
US6377012B1 (en) 1998-12-03 2002-04-23 Mitsubishi Denki Kabushiki Kaisha Servo system controller
GB2354343B (en) * 1998-12-03 2002-12-18 Mitsubishi Electric Corp Servo system controller
DE19883000B4 (en) * 1998-12-03 2007-04-12 Mitsubishi Denki K.K. Servo system controller

Similar Documents

Publication Publication Date Title
US20090254715A1 (en) Variable partitioned blocks in shared memory
JPH1032984A (en) Inverter apparatus
CN112422704B (en) Address allocation method and device for multiple devices and storage medium
JPH04358204A (en) Programmable controller
JPH0752420B2 (en) I / O device address method
JPS58149528A (en) Program loading system
US20020198970A1 (en) Programmable controller system
JPH03204749A (en) Programable connector
JP2004021867A (en) Information processing system
EP0923010B1 (en) Programmable controller
KR920004061B1 (en) A system for reconstructing i/o control system
JP2007508620A (en) Communication steering for use in a multi-master shared resource system
CN117112466B (en) Data processing method, device, equipment, storage medium and distributed cluster
JP3698483B2 (en) Serial I / O
JP2554942B2 (en) Information processing device
JP3333527B2 (en) Computer equipment
JPS61180310A (en) Loading system of system control program to numerical controller
WO2004107698A1 (en) Programmable controller
JPH0535643A (en) Fully duplex channel input/output control system
JPH0261749A (en) Data transfer device
JPH0758801A (en) Data communications equipment
JPS59148918A (en) Program loading system
JPH0540508A (en) Communication method between programmable controllers
JPH0498527A (en) Programmable controller
JPH09282301A (en) Microcontroller