WO1997033226A1 - Programmable controller - Google Patents

Programmable controller Download PDF

Info

Publication number
WO1997033226A1
WO1997033226A1 PCT/JP1996/000534 JP9600534W WO9733226A1 WO 1997033226 A1 WO1997033226 A1 WO 1997033226A1 JP 9600534 W JP9600534 W JP 9600534W WO 9733226 A1 WO9733226 A1 WO 9733226A1
Authority
WO
WIPO (PCT)
Prior art keywords
address space
cpu
ram
execution
code
Prior art date
Application number
PCT/JP1996/000534
Other languages
French (fr)
Japanese (ja)
Inventor
Futoshi Nakai
Original Assignee
Matsushita Electric Works, Ltd.
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 Matsushita Electric Works, Ltd. filed Critical Matsushita Electric Works, Ltd.
Priority to PCT/JP1996/000534 priority Critical patent/WO1997033226A1/en
Publication of WO1997033226A1 publication Critical patent/WO1997033226A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • G06F12/0638Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module

Definitions

  • the present invention relates to a programmable controller.
  • a programmable controller that compiles and executes a user program into an execution code such as a machine code capable of calculating at a high speed is used as shown in FIG.
  • the address decode circuit is configured so that ROM1 for the system program and RAM2 for the system work user and the program storage RAM during system execution are fixedly arranged in the address space X ⁇ ⁇ ⁇ accessible to the CPU.
  • CPU that can have an address space that can be accessed as data separately from the address space that stores the executable code that can be executed by the CPU.
  • the present invention has been made in view of the above problems, and has as its object to use a large-capacity user program that can effectively use an address space in which a CPU can access an execution code.
  • a CPU a ROM storing a fixed program such as a system program, an address space or a source code storing a source code of a user program are provided.
  • a RAM in which an address space for compiling an address is set and an address decoding means for selecting another memory device from the current memory device when the specific address space is accessed by setting from the CPU.
  • the CPU allocates an address space in which the CPU can read and execute the execution code to the ROM, and a part of the address space as a specific address space which is also allocated to the RAM by selecting the address decoding means.
  • the CPU In each execution scan, the CPU is compiled and the CPU is executed by the user
  • the address decoding means is set so that the address space of the RAM that stores the program is a specific address space, and the arithmetic processing is performed by executing the execution code on the RAM selected by this setting.
  • the address decoding means is set to select the ROM, and the program stored in the address space corresponding to the specific address space of the selected ROM by this setting is executed.
  • the address space that stores the execution code of the user program obtained by compiling in step 2 is mapped to a specific address space in the memory address space that stores the execution code and can be executed by the CPU. With this, it is possible to use a large-capacity user program, and the execution code is stored when the user program is not executed. It is the real by the C PU
  • the address space that can be executed can be occupied by the ROM, so that programs stored in the ROM can be easily used and the functions of the PC can be increased.
  • the source code of the user program on the AM is connected to the execution code executable by the CPU, and the address of the CPU after the compilation is read.
  • the RAM that stores the execution code in the specific address space is selected, and the CPU executes the execution code stored in the RAM to execute the arithmetic processing.
  • the CPU executes the execution code of the user program to perform calculations and sets the address decoding means to select the RAM that stores the execution code.
  • the execution code executed by the CPU This is effective when using a CPU that can manage the address space that can be accessed by the CPU as data in addition to the address space where can be stored.
  • the RAM which stores the source program is selected by the CPU at the time of the first execution scan by setting the address decoding means, and the address corresponding to the specific address space of the RAM is selected.
  • the CPU compiles the source program into executable code that can be executed on the II line.
  • the CPU executes the execution code stored in the RAM to perform arithmetic processing.
  • the address decoding means is set so that the RAM that stores the execution code is selected. This is effective when using a CPU that manages only the address space where code can be stored.
  • FIG. 1 is a system configuration diagram of Embodiment 1 of the present invention.
  • FIG. 2 is an explanatory diagram of a configuration of an address space used in the embodiment.
  • FIG. 3 is a flowchart for explaining the operation of the above.
  • FIG. 4 is a flowchart for explaining the operation of the second embodiment of the present invention.
  • FIG. 5 is an explanatory diagram of a configuration of an address space used in the above.
  • FIG. 6 is an explanatory diagram of a configuration of a conventional address space. The best form for carrying out KIKI
  • FIG. 1 shows a configuration of a programmable controller (hereinafter, abbreviated as PC) of the present embodiment.
  • the CPU 10 and an execution code (such as a system program including a compile process program and a communication process program) of a system program including a communication process program ROM11 (for example, machine code) is stored.
  • an execution code such as a system program including a compile process program and a communication process program
  • ROM11 for example, machine code
  • a free address space, a source code for a user program, and an address space for storing an execution code obtained by compiling the source code are provided, and further used for temporarily storing data.
  • RAMI 2 (of course, multiple devices may be used, but one device is shown for simplicity of explanation) and A device selection register 13 in which data for selecting a memory device that allocates an address space to an address space where the CPU 10 can access and execute the execution code is set by the CPU 10, and a device selection register 1 assigning the Select signal S, or ⁇ dress outputs S 2 to the specific address space when ⁇ address data for a particular ⁇ address space is output from the C PU 1 0 on the basis of the content of the data set in the 3
  • an address decode circuit 14 for selecting either ROM 11 or RAMI 2 is provided.
  • the device selection register 13 and the address decode circuit 14 provide the address decode means.
  • DB indicates a data bus and AB indicates an address bus.
  • the CPU 10 used in the programmable controller of the present embodiment has an address space X that can access and execute the execution code and a memory address space X 2 that can be independently accessed as data. and using what may have respectively different, the ROM 1 1 volume having occupy Adoresu space X t in the embodiment, with using the RAM I 2 of space occupied by the Adoresu space X 2, Adoresu space X, some of the specific Adoresu spatial X 10 that can be assigned by selecting R OM 1 1 or RAM I 2 by ⁇ address decoding means, the remaining Adoresu space ROM 1 1 is a Adoresu space X [pi occupied at all times.
  • ⁇ de Resudeko - de circuit 14 assigns the ROM 1 1 when a particular ⁇ address space X 10 is accessed. In other words, in this case, the entire ROM 11 occupies the address space X ,.
  • the address decode circuit 14 accesses the specific address space X i, and the address space corresponding to the RAMI 2 when the specific address space X i is accessed. In other words, it maps the compilation address space.
  • the CPU 10 can execute the execution code existing in the mapped address space of the RAMI2.
  • the fixed programs stored in the ROM 11 are system programs that are always required as a system for basic processing as a PC and subroutines for arithmetic processing, and those that are always required for compiling programs such as communication processing programs.
  • the address space X u is allocated as the address space where the constantly needed programs reside, and the specific address space X! Is used as the storage address space for programs that are not always needed. . Is assigned.
  • the PC can set the PROG (program) mode and the RUN (execution) mode.
  • PROG mode the CPU 10 communicates with the programming tool stored in ROM11. Executes a program that performs communication processing of the user, loads the source code of the user program from the programming tool into RAMI 2, or transfers the source code on RAM 12 to the programming tool for debugging. Is performed.
  • the CPU 10 starts compiling on ROM 11 1 to start the first execution scan. And compiles the source code of the user program on RAMI 2 into code that can be executed quickly by the CPU 10 in the compilation address space (indicated as compilation RAM in Fig. 3). .
  • I / O IZO (not shown) refresh processing is performed, and after this processing, the device selection register 13 is set to "1", and the specific address space Xi.
  • the memory device selected by the address decode circuit 14 when accessing is changed from ROM11 to RAMI2. Therefore, when a particular Adoresu space X 10 is accessed, the a two mapping the address space of the space X 10 (in ⁇ 3 denoted as ROM space) in RAM 12 (FIG. 3, denoted as Compiles space).
  • the CPU 10 sets the specific address space X t . Executes the execution code on the address space of RAMI2 mapped to the above to perform the arithmetic processing.
  • the CPU 10 sets "0" in the device selection register 13. Thus returning the memory device when a particular ⁇ de Les space X 10 is accessed ⁇ address decode circuit 14 selects from the RAM I 2 in ROM 1 1, so that the ROM 1 1 of the Adoresu space is called.
  • the CFU 10 executes the first execution scan by executing the execution code of the communication processing program stored in the specific address space X10 of the ROM 11.
  • the CPU 10 terminates the processing of the input / output IZO (not shown) refresh at each execution scan, and sets "1" to the device selection register 13 to set the specific address space Xi. .
  • the device selection register 13 is set to "0", and the specific address space X [.
  • the address space storing the execution code of the user program obtained by compiling on the RAMI 2 is stored in the memory in which the execution code is stored and which can be executed by the CPU 10.
  • a specific address space XL within the address space X is stored therefore in ROM 1 1 It is possible to increase the functions of the PC by making it easier to use programs that can be used. (Embodiment 2)
  • the address space X 2 that can be accessed by the CPU 10 as data can be provided separately from the address space X : in which the execution code executable by the CPU 10 is stored.
  • the present embodiment corresponds to the case where the address space accessible by 10 is limited to the same address space X, for both the data and the execution code.
  • the device selection register 13 is first set to "1", and the specific address space X is set.
  • the memory device selected by the address decode circuit 14 when accessing the memory is changed from ROM 11 to RAMI 2 as shown in FIG. 5 .
  • the address space of RAMI 2 is changed to a specific address space X 10 (FIG. (Written as Q).
  • the source code of the user program is stored in advance in the address space of RAMI2 (indicated as RAM space in Fig. 4) to be mapped, and after mapping, stored in the address space X ⁇ of ROM11.
  • execution code for example, machine code
  • the invention according to claim 1 includes a CPU, a ROM storing a fixed program such as a system program, and a RAM storing an address space for storing a source code of a user program and an address space for compiling the source code.
  • a specific address space is accessed by setting from the CPU, Address decoding means for selecting another memory device from the current memory device, and allocating, to the ROM, an address space in which the CPU can read and execute the execution code, and assign one of the address spaces to the ROM.
  • the part is used as a specific address space that is also allocated to RAM by selecting the address decoding means, and the CPU is compiled at each execution scan, and the user program that has become an execution code that the CPU can execute at high speed is used.
  • the address decoding means is set so that the address space of the stored RAM is a specific address space, and the execution process is executed by executing the execution code on the RAM selected by this setting, After this operation is completed, the address decode means is set to select the ROM, and this setting corresponds to the specific address space of the selected ROM. Since the program stored in the address space is executed, the address W that stores the execution code of the user program obtained by compiling it on the RAM is vacated by the CPU where the execution code is stored. By mapping to a specific address space in the executable memory address space, it is possible to use a large-capacity user program.
  • the executable address space can be occupied by the ROM, so that it is possible to increase the number of programs stored in the ROM and to increase the functions of the PC.
  • the invention according to claim 2 is the invention according to claim 1, wherein at the time of the first execution scan, the source code of the user program on the RAM is compiled into an execution code executable by the CPU, and this compilation is performed. After that, according to the setting of the address decoding means of the CPU, the RAM that stores the execution code in the specific address space is selected, and the CPU executes the execution code stored in the RAM to execute the arithmetic processing, and thereafter execute each time. When scanning, the CPU executes the execution code of the user program and performs an operation so that the RAM that stores the execution code is selected. Since the dress-decoding means is set, it is effective when using a CPU that can manage the address space accessible by the CFU as data in addition to the address space that can store the execution code executed by the CPU.
  • the invention according to claim 3 is the invention according to claim 1, wherein the RAM for storing the source program is selected by the CPU at the time of the first execution scan by the setting for the address decoding means, and the address corresponding to the specific address space of the RAM is selected.
  • the source program is compiled into executable code that can be executed by the CFU, and after this compilation, the CPU executes the executable code stored in RAM to perform arithmetic processing.
  • the address decoding means is set to select the RAM that stores the execution code, so that the execution code executed by the address space can be stored. This is effective when using a CPU that manages only the address space.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)

Abstract

Before starting the first execution scanning, a CPU (10) compiles the source codes of a user program on a RAM (12) into codes which are executable at a high speed in an address space for compilation by executing a program for compilation on a ROM (11). After the compilation, the CPU (10) performs input-output I/O refreshing operation, and then sets '1' in a device selecting register (13). When the CPU (10) accesses a specific address space, an address decoding circuit (14) selects the RAM (12) instead of the ROM (11) and the address space for compilation of the RAM (12) is mapped instead of the specific address space. The CPU (10) performs arithmetic processing by executing codes in the address space for compilation of the RAM (12). Therefore, the executing codes of a large-volume user program can be stored in the RAM (12) and the codes can be executed.

Description

明 細 書  Specification
プログラマブノレコントロ一ラ Programmable controller
技術分野 Technical field
本発明は、 プログラマブルコントローラに関するものである。 背彔技術  The present invention relates to a programmable controller. Technology
従来、萵速に演算することが可能なマシンコ一ドのようなの実行コ一ドにュ —ザーププログラムをコンパイルして実行するブログラマブルコントロ一ラ には、図 6に示すように使用する CPUがアクセス可能なァドレス空問 X內に システムプログラム用 ROM1や、 システム実行時のシステムワーク用ゃュ一 ザ一プログラム格納用の RAM2を固定的に配置するようにァドレスデコ一 ド回路を構成していた。 発明の開示  Conventionally, a programmable controller that compiles and executes a user program into an execution code such as a machine code capable of calculating at a high speed is used as shown in FIG. The address decode circuit is configured so that ROM1 for the system program and RAM2 for the system work user and the program storage RAM during system execution are fixedly arranged in the address space X ド レ ス accessible to the CPU. Was. Disclosure of the invention
上記のような構成では使用する C PUがアクセスできるァドレス空間 X以 上に ROM 1や RAM2の容量を拡張することができなかった。 そのためより 大きな容量のユーザープログラムを持つプログラマブルコントローラを関発 することができなかった。  With the above configuration, the capacity of ROM1 and RAM2 could not be expanded beyond address space X accessible by the CPU used. Therefore, a programmable controller with a larger capacity user program could not be created.
—方 CPUが実行可能な実行コードを格納するァドレス空間とは別にデ一 タとしてアクセス可能なァドレス空間を持つことができる CPUが存在して いるが、 この場合もユーザープログラムの実行コード (マシンコード) を格納 した RAMのァ ドレス空間を CPUが実行可能な実行コードを格納するァド レス空間に割り当てる必要があり、システムプログラムを格納した ROMが占 有するァドレス空間を、 C PUが実行可能な実行コードを格納するァドレス空 間から差し引いた空間がユーザ一プログラムに解放されるだけであるため、大 きな容量のユーザ一プログラムを用いることや、逆に大きな容量のシステムプ πグラムを格納した ROMを使用することができなかった。 There is a CPU that can have an address space that can be accessed as data separately from the address space that stores the executable code that can be executed by the CPU. Must be allocated to the address space of the RAM that stores the executable code that can be executed by the CPU, and the address space that is occupied by the ROM that stores the system program can be executed by the CPU. Since the space subtracted from the address space for storing the code is only released to the user program, It was not possible to use a user program with a large capacity, or to use a ROM that stored a system program with a large capacity.
本発明は上記問題点に鑑みて為されたもので、その目的とするところは CP Uが実行コ一ドをアクセスすることができるァドレス空間を有効に使用でき、 大きな容量のユーザープログラムを用いることが可能なプログラマブルコン トローラを提供するにある。  The present invention has been made in view of the above problems, and has as its object to use a large-capacity user program that can effectively use an address space in which a CPU can access an execution code. To provide a programmable controller capable of
上記目的を達成するために、 請求項 1の発明では、 CPUと、 システムプロ グラム等の固定プログラムを格納した ROMと、ュ一ザ一プログラムのソース コ一ドを格納するァドレス空間やソースコ一ドをコンパイルするためのァ ド レス空間が設定される RAMと、 CPUからの設定により特定アドレス空間を アクセスすると当該ァドレス空間の割当てを現在のメモリデバイスから別の メモリデバイスを選択するァドレスデコード手段とを備え、 CPUが実行コ一 ドを読み出して奚行することができるァドレス空間を ROMに割当てるとと もに、該ァドレス空間の一部をァドレスデコード手段の選択により RAMにも 割り当てられる特定アドレス空間として用い、毎実行スキャン時に CPUはコ ンパイルされて C PUが高速で実行可能な実行コードとなったユーザ一プロ グラムを格納している RAMのァ ドレス空間が特定ァ ドレス空閒となるよう にァドレスデコード手段を設定し、 この設定にて選択された RAM上の実行コ 一ドを実行することにより演算処理を行い、 この演算終了後にァドレスデコ一 ド手段が ROMを選択するように設定し、 この設定により選択された ROMの 特定ァドレス空間に対応するァドレス空間に格納されているプログラムを実 行するもので、 RAM上でコンパイルされて得られたユーザープログラムの実 行コードを格納しているァドレス空間を、実行コ一ドが格納されて CPUによ り実行可能なメモリア ドレスァ ドレス空間内の特定ァドレス空間に写像する 二とで、 大きな容量のユーザープグラムを用いる二とが可能となる上に、 ュ— ザ一プログラムを実行しない時には実行コードが格納されて C PUにより実 行することが可能なァドレス空間を ROMで占有させることができ、そのため ROMに格納するプログラムを增やすことが可能となり、 P Cの機能を増やせ るということができる。 In order to achieve the above object, according to the invention of claim 1, a CPU, a ROM storing a fixed program such as a system program, an address space or a source code storing a source code of a user program are provided. A RAM in which an address space for compiling an address is set and an address decoding means for selecting another memory device from the current memory device when the specific address space is accessed by setting from the CPU. In addition, the CPU allocates an address space in which the CPU can read and execute the execution code to the ROM, and a part of the address space as a specific address space which is also allocated to the RAM by selecting the address decoding means. In each execution scan, the CPU is compiled and the CPU is executed by the user The address decoding means is set so that the address space of the RAM that stores the program is a specific address space, and the arithmetic processing is performed by executing the execution code on the RAM selected by this setting. After the calculation is completed, the address decoding means is set to select the ROM, and the program stored in the address space corresponding to the specific address space of the selected ROM by this setting is executed. The address space that stores the execution code of the user program obtained by compiling in step 2 is mapped to a specific address space in the memory address space that stores the execution code and can be executed by the CPU. With this, it is possible to use a large-capacity user program, and the execution code is stored when the user program is not executed. It is the real by the C PU The address space that can be executed can be occupied by the ROM, so that programs stored in the ROM can be easily used and the functions of the PC can be increased.
請求項 2の発明では、 請求項 1の発明において、 最初の実行スキャン時に: AM上のユーザープログラムのソースコードを C PUが実行可能な実行コー ドにコンノ ィノレして、 このコンパイル後 CPUのァドレスデコード手段に対す る設定により、特定ァドレス空間を実行コードを格納した RAMを選択して R AMに格納してある実行コ一ドを CPUが実行することにより演算処理を行 レ、、以後毎実行スキャン時に CPUがユーザ一プログラムの実行コ一ドを実行 して演算を行う場合に実行コードが格納されている RAMを選択するように ァドレスデコ一ド手段を設定するもので、 CPUが実行する実行コードが格納 できるァドレス空間以外にデータとして C PUがアクセス可能なァドレス空 間を管理することができる CPUを用いる場合に有効となる。  In the invention of claim 2, in the invention of claim 1, at the time of the first execution scan: the source code of the user program on the AM is connected to the execution code executable by the CPU, and the address of the CPU after the compilation is read. Depending on the setting of the decoding means, the RAM that stores the execution code in the specific address space is selected, and the CPU executes the execution code stored in the RAM to execute the arithmetic processing. When scanning, the CPU executes the execution code of the user program to perform calculations and sets the address decoding means to select the RAM that stores the execution code.The execution code executed by the CPU This is effective when using a CPU that can manage the address space that can be accessed by the CPU as data in addition to the address space where can be stored.
請求項 3の発明では、 請求項 1の発明において、 最初の実行スキャン時に C PUによりァドレスデコード手段に対する設定によりソースプログラムを格 納している RAMを選択し、 RAMの特定ァドレス空間に対応するァドレス空 間においてソースプログラムを C PUが II行可能な実行コードにコンパイル して、 このコンパイル後 RAMに格納してある実行コ一ドを C PUが実行する ことにより演算処理を行い、以後毎実行スキヤン時に C P Uがユーザ一プログ ラムの実行コ一ドを実行して演算を行う場合に実行コードが格納されている RAMを選択するようにァドレスデコード手段を設定するもので、ァドレス空 間が実行する実行コ一ドが格納できるァドレス空間のみ管理する C PUを使 用する場合に有効となる。 図面の簡単な説明  According to a third aspect of the present invention, in the first aspect of the present invention, the RAM which stores the source program is selected by the CPU at the time of the first execution scan by setting the address decoding means, and the address corresponding to the specific address space of the RAM is selected. In the space, the CPU compiles the source program into executable code that can be executed on the II line. After the compilation, the CPU executes the execution code stored in the RAM to perform arithmetic processing. Sometimes, when the CPU executes the execution code of the user program to perform the operation, the address decoding means is set so that the RAM that stores the execution code is selected. This is effective when using a CPU that manages only the address space where code can be stored. BRIEF DESCRIPTION OF THE FIGURES
図 1は本発明の実施形態 1のシステム構成図である。 図 2は同上で用いるァドレス空間の構成説明図である。 FIG. 1 is a system configuration diagram of Embodiment 1 of the present invention. FIG. 2 is an explanatory diagram of a configuration of an address space used in the embodiment.
図 3は同上の動作説明用フローチヤ一トである。  FIG. 3 is a flowchart for explaining the operation of the above.
図 4は本発明の実施形態 2の動作説明用フローチャートである。  FIG. 4 is a flowchart for explaining the operation of the second embodiment of the present invention.
図 5は同上で用いるア ドレス空間の構成説明図である。  FIG. 5 is an explanatory diagram of a configuration of an address space used in the above.
図 6は従来例のァドレス空間の構成説明図である。 癸明を実施するための最良の形態  FIG. 6 is an explanatory diagram of a configuration of a conventional address space. The best form for carrying out KIKI
(実施形態 1 )  (Embodiment 1)
図 1は本実施形態のプログラマブルコントローラ (以下 PCと略する) の撂 成を示しており、 CPU10と、 コンパイル処理のプログラムや、 通信処理の プログラムを含むシステムプログラム等のプログラムの実行コ一ド(例えばマ シンコード) を格納した ROM1 1 (勿論デバイスとしては複数使用してもよ いが锐明を簡単にするためにデバイスを一つとして図示している。 ) と、 シス テムプログラムの実行時のヮ一クァドレス空間や、ユーザープログラムのソ一 スコ一ド、更には該ソ一スコードをコンパイルして得られた実行コードを格納 するァドレス空間が設けられるとともに、更にはデータの一時格納等に用いら れる RAMI 2 (勿論デバイスとしては複数使用してもよいが説明を簡単にす るためにデバイスを一つとして図示している。 ) と、 CPU10が実行コード をアクセスして実行することが可能なァドレス空間にァドレス空間を割り当 てるメモリデバイスを選択するデータが CPU 1 0により設定されるデバイ ス選択レジスタ 1 3と、 このデバイス選択レジスタ 1 3に設定されたデータの 内容に基づいて特定のァ ドレス空間のァドレスデータが C PU 1 0より出力 された時にセレク ト信号 S , 又は S 2 を出力して当該特定アドレス空間にァ ドレスを割り当てるメモリデバイスとして ROM 1 1又は RAMI 2の何れ か一方を選択するァドレスデコ一ド回路 14とを備えている。 ここでデバイス 選択レジスタ 1 3とァドレスデコード回路 14とがァドレスデコード手段を 構成する。 なお図 1中 DBはデータバス、 ABはア ドレスバスを示す。 FIG. 1 shows a configuration of a programmable controller (hereinafter, abbreviated as PC) of the present embodiment. The CPU 10 and an execution code (such as a system program including a compile process program and a communication process program) of a system program including a communication process program ROM11 (for example, machine code) is stored. (Of course, a plurality of devices may be used, but one device is shown for the sake of simplicity.) A free address space, a source code for a user program, and an address space for storing an execution code obtained by compiling the source code are provided, and further used for temporarily storing data. RAMI 2 (of course, multiple devices may be used, but one device is shown for simplicity of explanation) and A device selection register 13 in which data for selecting a memory device that allocates an address space to an address space where the CPU 10 can access and execute the execution code is set by the CPU 10, and a device selection register 1 assigning the Select signal S, or § dress outputs S 2 to the specific address space when § address data for a particular § address space is output from the C PU 1 0 on the basis of the content of the data set in the 3 As a memory device, an address decode circuit 14 for selecting either ROM 11 or RAMI 2 is provided. Here, the device selection register 13 and the address decode circuit 14 provide the address decode means. Constitute. In FIG. 1, DB indicates a data bus and AB indicates an address bus.
ここで本実施形態のプログラマブルコントロ一ラに用いる CPU 10は図 2に示すように実行コードをアクセスして実行できるァドレス空間 X と、デ —タとして独立してアクセスできるメモリアアドレス空間 X 2 とを夫々別個 に持つことができるものを使用しており、実施形態ではァドレス空間 X t を占 有する容量の ROM1 1と、ァドレス空間 X 2 を占有する容量の RAMI 2と を用いるとともに、ァドレス空間 X , の一部をァドレスデコード手段により R OM 1 1又は RAMI 2を選択して割り当てることができる特定ァドレス空 間 X 10とし、残りのァドレス空間を ROM 1 1が常時占有するァドレス空間 X πとしている。 Here, as shown in FIG. 2, the CPU 10 used in the programmable controller of the present embodiment has an address space X that can access and execute the execution code and a memory address space X 2 that can be independently accessed as data. and using what may have respectively different, the ROM 1 1 volume having occupy Adoresu space X t in the embodiment, with using the RAM I 2 of space occupied by the Adoresu space X 2, Adoresu space X, some of the specific Adoresu spatial X 10 that can be assigned by selecting R OM 1 1 or RAM I 2 by § address decoding means, the remaining Adoresu space ROM 1 1 is a Adoresu space X [pi occupied at all times.
つまり C PU 10がデバイス選択レジスタ 13に" 0" を設定すると、 ァド レスデコ—ド回路 14は特定ァ ドレス空間 X 10がアクセスされる際に ROM 1 1に割り当てる。つまりこの場合 ROM1 1全体でアドレス空間 X , を占有 することになる。 CPU 10がデバイス選択レジスタ 13に'' 1" を設定する と、ァドレスデコ一ド回路 14は特定ァドレス空間 X i。がアクセスされるとそ の特定ァドレス空間 X ,。に RAMI 2の対応するァドレス空間つまり、 コンパ ィル用ァドレス空間を写像する。 That the C PU 10 is set to "0" in the device selection register 13, § de Resudeko - de circuit 14 assigns the ROM 1 1 when a particular § address space X 10 is accessed. In other words, in this case, the entire ROM 11 occupies the address space X ,. When the CPU 10 sets the device selection register 13 to “1”, the address decode circuit 14 accesses the specific address space X i, and the address space corresponding to the RAMI 2 when the specific address space X i is accessed. In other words, it maps the compilation address space.
従って CPU 10はこの写像された RAMI 2のァ ドレス空間上に存在す る実行コードを実行することができる。  Therefore, the CPU 10 can execute the execution code existing in the mapped address space of the RAMI2.
二こで ROM 1 1に格納されている固定ブログラムには P Cとしての基本 処理や演算処理用サブルーチン等のシステムとして常時必要なシステムプロ グラムと、 通信処理プログラム等、 コンパイル処理のプログラム等常時必要と しないプログラムとがあり、 この常時必要とするプログラムが常駐するァドレ ス空間としてァドレス空間 X uが割り当てられ、常時必要としないプログラム の格納ァドレス空間として特定ァドレス空間 X!。が割り当てられる。  The fixed programs stored in the ROM 11 are system programs that are always required as a system for basic processing as a PC and subroutines for arithmetic processing, and those that are always required for compiling programs such as communication processing programs. The address space X u is allocated as the address space where the constantly needed programs reside, and the specific address space X! Is used as the storage address space for programs that are not always needed. . Is assigned.
一方特定アドレス空間 X 10に写像される RAMI 2のアドレス空間は R A Ml 2にプログラム (PROG) モードでロードされるユーザープログラムの ソースコードをコンパイルして生成した実行コードを格納するコンパイル用 ァドレス空間が対応する。 Whereas the address space of RAM I 2 that is mapped to a particular address space X 10 is RA Compile address space for storing the execution code generated by compiling the source code of the user program loaded in program (PROG) mode in Ml2 corresponds.
次に本発明の主要構成に対応する動作を図 4に示すフローチャートに基づ いて説明する。  Next, the operation corresponding to the main configuration of the present invention will be described based on the flowchart shown in FIG.
まず PCは PROG (プログラム) モードと、 RUN (実行) モードのモー ドが設定できるようになっており PROGモードが設定されているときには、 CPU 10は ROM1 1に格納されているプログラミングツールとの間の通 信処理を行うプログラムを実行し、 プロダラミングツールからユーザ一プログ ラムのソースコードを RAMI 2にロードしたり、あるはデバッグのために R AM 1 2上のソ一ソコードをプログラミングツールへ転送する処理が行われ る。  First, the PC can set the PROG (program) mode and the RUN (execution) mode. When the PROG mode is set, the CPU 10 communicates with the programming tool stored in ROM11. Executes a program that performs communication processing of the user, loads the source code of the user program from the programming tool into RAMI 2, or transfers the source code on RAM 12 to the programming tool for debugging. Is performed.
さてユーザープログラムが RAMI 2上にロードされた後、 このユーザーブ ログラムを実行するために RUNモードが設定されると、 CPU 10は第 1回 目の実行スキャンを開始するに当たり、 ROM1 1上のコンパイル用のプログ ラムを実行して RAMI 2上のユーザープログラムのソースコ一ドを C PU 10が髙速に実行可能なコードにコンパイル用アドレス空間(図 3ではコンパ ィル用 RAMと表記) でコンパイルする。  Now, after the user program is loaded on RAMI 2, if the RUN mode is set to execute this user program, the CPU 10 starts compiling on ROM 11 1 to start the first execution scan. And compiles the source code of the user program on RAMI 2 into code that can be executed quickly by the CPU 10 in the compilation address space (indicated as compilation RAM in Fig. 3). .
このコンパイル後、 入出力 IZO (図示せず) リフレッシュの処理を行い、 この処理後デバイス選択レジスタ 13に" 1" を設定し、 特定アドレス空間 X i。をアクセスする際にァドレスデコード回路 14が選択するメモリデバイスを ROM1 1から RAMI 2となるようにする。 従って特定ァドレス空間 X 10 がアクセスされると、 該空間 X 10 (囡 3では ROM空間と表記) に RAM 12 のアドレス空間 (図 3ではコンパル用空間と表記) を写像する二とになる。 次に CPU 10は特定アドレス空間 X t。に写像された RAMI 2のァドレ ス空間上の実行コ一ドを実行して演算処理を行う。 この演算処理が終了すると, CPU 10はデバイス選択レジスタ 13に" 0" を設定する。 従って特定ァド レス空間 X 10がアクセスされるとァドレスデコード回路 14が選択するメモ リデバイスを RAMI 2から ROM 1 1に戻して、 ROM1 1の当該ァドレス 空間がコールされることになる。 After this compilation, I / O IZO (not shown) refresh processing is performed, and after this processing, the device selection register 13 is set to "1", and the specific address space Xi. The memory device selected by the address decode circuit 14 when accessing is changed from ROM11 to RAMI2. Therefore, when a particular Adoresu space X 10 is accessed, the a two mapping the address space of the space X 10 (in囡3 denoted as ROM space) in RAM 12 (FIG. 3, denoted as Compiles space). Next, the CPU 10 sets the specific address space X t . Executes the execution code on the address space of RAMI2 mapped to the above to perform the arithmetic processing. When this operation is completed, The CPU 10 sets "0" in the device selection register 13. Thus returning the memory device when a particular § de Les space X 10 is accessed § address decode circuit 14 selects from the RAM I 2 in ROM 1 1, so that the ROM 1 1 of the Adoresu space is called.
そして C FU 10は ROM1 1の特定ァドレス空間 X 10に格納されている 通信処理のプログラムの実行コードを実行して、第 1回目の実行スキャンを処 理する。 Then, the CFU 10 executes the first execution scan by executing the execution code of the communication processing program stored in the specific address space X10 of the ROM 11.
以後 RUNモードが設定されている間、 CPU10は毎実行スキャン時に入 出力 IZO (図示せず) リフレッシュの処理終了する過程と、 デバイス選択レ ジスタ 13に" 1 " を設定し、 特定アドレス空間 X i。をアクセスする際にアド レスデコード回路 14が選択するメモリデバイスを ROM 1 1から RAMI 2となるようにする過程と、既にコンパイルされて RAMI 2のコンパイル用 ァドレス空間に格衲されているユーザ一プログラムの実行コ一ドを実行して 演箅処理を行う過程と、 この演算処理終了後デバイス選択レジスタ 13に" 0" を設定し、 特定アドレス空間 X【。をアクセスする際にアドレスデコード回 路 14が選択するメモリデパイスを RAMI 2から ROM 1 1に戻す過程と、 RO 1 1の特定アドレス空間 X ,。に格納されている通信処理のプログラム の実行コ一ドを実行する過程とからなる動作を搡り返す。  Thereafter, while the RUN mode is set, the CPU 10 terminates the processing of the input / output IZO (not shown) refresh at each execution scan, and sets "1" to the device selection register 13 to set the specific address space Xi. . The process of changing the memory device selected by the address decode circuit 14 from the ROM 11 to the RAMI 2 when accessing the memory, and the user program that has already been compiled and stored in the RAMI 2 compilation address space. And executing the execution process by executing the execution code of the above. After completion of the calculation process, the device selection register 13 is set to "0", and the specific address space X [. The process of returning the memory device selected by the address decoding circuit 14 from the RAMI 2 to the ROM 11 when accessing the memory, and the specific address space X, of the RO 11. And the step of executing the execution code of the communication processing program stored in the server.
このように本実施形態では、 RAMI 2上でコンパイルされて得られたユー ザ一プログラムの実行コードを格納しているァドレス空間を、実行コ一ドが格 納されて CPU 10により実行可能なメモリァドレスァドレス空間 X , 内の 特定ァドレス空間 X L。に写像することで、大きな容量のユーザーブグラムを用 いることが可能となる上に、ユーザープログラムを実行しない時にはァドレス 空閗 X t を ROM11で占有させることができ、そのため ROM 1 1に格納す るプログラムを堉やすことが可能となって PCの機能を増やせるということ ができる。 (実施形態 2 ) As described above, in the present embodiment, the address space storing the execution code of the user program obtained by compiling on the RAMI 2 is stored in the memory in which the execution code is stored and which can be executed by the CPU 10. A specific address space XL within the address space X,. By mapping the, on which it is possible to have use user blanking grams of large capacity, when not executing the user program can be occupied by ROM11 the Adoresu empty閗X t, it is stored therefore in ROM 1 1 It is possible to increase the functions of the PC by making it easier to use programs that can be used. (Embodiment 2)
実施形態 1では C PU 10がデータとしてアクセスできるァドレス空間 X 2 を CPU 10が実行可能な実行コードが格納されるア ドレス空間 X : とは別 個に持つことができる場合であつたが、 CPU 10がアクセスできるァドレス 空間がデータと実行コ一ドとも同じア ドレス空間 X , に限定される場合に対 応するのが本実施例である。 In the first embodiment, the address space X 2 that can be accessed by the CPU 10 as data can be provided separately from the address space X : in which the execution code executable by the CPU 10 is stored. The present embodiment corresponds to the case where the address space accessible by 10 is limited to the same address space X, for both the data and the execution code.
つまり、図 4のフローチヤ一トで示すように本実施例では RUNモードにな つてから最初の実行スキャン時に、 まずデバイス選択レジスタ 13に" 1" を 設定し、特定ァドレス空間 X 。をアクセスする際にァドレスデコ一ド回路 14 が選択するメモリデバイスを図 5に示すように ROM 1 1から RAMI 2と なるようにする RAMI 2のァドレス空間を特定ァドレス空間 X 10 (図 4では ROM空問と表記)に写像する。この写像される RAMI 2のァ ドレス空間(図 4では RAM空間と表記) にはユーザープログラムのソ一スコ一ドを予め格納 しており、 写像後、 ROM1 1のァ ドレス空間 X„内に格納されているコンパ ィル用のプログラムを実行して、特定ァ ドレス空間 X 。に写像された RAMI 2上のソースコードをコンパイルして実行コード (例えばマシンコード) を生 成する。 That is, as shown in the flowchart of FIG. 4, in the present embodiment, at the time of the first execution scan after entering the RUN mode, the device selection register 13 is first set to "1", and the specific address space X is set. The memory device selected by the address decode circuit 14 when accessing the memory is changed from ROM 11 to RAMI 2 as shown in FIG. 5 .The address space of RAMI 2 is changed to a specific address space X 10 (FIG. (Written as Q). The source code of the user program is stored in advance in the address space of RAMI2 (indicated as RAM space in Fig. 4) to be mapped, and after mapping, stored in the address space X 空間 of ROM11. By executing the compilation program, the source code on RAMI 2 mapped to the specific address space X. is compiled to generate execution code (for example, machine code).
以後の動作は実施形態 1と同じ動作となるため省略する。また PCとしての 構成は実施形態 1と同じであるため実施形態 1の囡を参照して特にここでは 示さない。 産業上の利用の可能性  Subsequent operations are the same as those in the first embodiment, and a description thereof will not be repeated. Since the configuration as a PC is the same as that of the first embodiment, it is not particularly shown here with reference to (1) of the first embodiment. Industrial applicability
請求項 1の発明は、 CPUと、 システムプログラム等の固定プログラムを格 納した ROMと、ユーザ一プログラムのソースコードを格納するァドレス空間 やソースコードをコンパイルするためのァドレス空間が設定される RAMと、 CPUからの設定により特定ァドレス空間をアクセスすると当該ァドレス空 間の割当てを現在のメモリデバイスから別のメモリデバイスを選択するァド レスデコード手段とを備え、 CPUが実行コードを読み出して実行することが できるァドレス空間を ROMに割当てるとともに、該ァドレス空間の一部をァ ドレスデコ一ド手段の選択により RAMにも割り当てられる特定ァドレス空 間として用い、毎実行スキャン時に CPUはコンパイルされて CPUが高速で 実行可能な実行コー ドとなったュ一ザ一プログラムを格納している RAMの ァ ドレス空間が特定ァ ドレス空間となるようにァ ドレスデコード手段を設定 し、 この設定にて選択された RAM上の実行コ一ドを実行することにより演算 処理を行い、 この演算終了後にァドレスデコード手段が ROMを選択するよう に設定し、 この設定により選択された ROMの特定アドレス空間に対応するァ ドレス空間に格納されているプログラムを実行するので、 RAM上でコンパィ ルされて得られたユーザ一プログラムの実行コードを格納しているァドレス 空 Wを、実行コードが格納されて C PUにより実行可能なメモリァドレスァド レス空間内の特定ァドレス空間に写像することで、大きな容量のユーザーブグ ラムを用いることが可能となる上に、ユーザープログラムを実行しない時には 実行コードが格納されて CPU;こより実行することが可能なァドレス空間を ROMで占有させることができ、そのため ROMに格納するプログラムを増や すことが可能となり、 PCの機能を増やせるということができるという効果が ある。 The invention according to claim 1 includes a CPU, a ROM storing a fixed program such as a system program, and a RAM storing an address space for storing a source code of a user program and an address space for compiling the source code. When a specific address space is accessed by setting from the CPU, Address decoding means for selecting another memory device from the current memory device, and allocating, to the ROM, an address space in which the CPU can read and execute the execution code, and assign one of the address spaces to the ROM. The part is used as a specific address space that is also allocated to RAM by selecting the address decoding means, and the CPU is compiled at each execution scan, and the user program that has become an execution code that the CPU can execute at high speed is used. The address decoding means is set so that the address space of the stored RAM is a specific address space, and the execution process is executed by executing the execution code on the RAM selected by this setting, After this operation is completed, the address decode means is set to select the ROM, and this setting corresponds to the specific address space of the selected ROM. Since the program stored in the address space is executed, the address W that stores the execution code of the user program obtained by compiling it on the RAM is vacated by the CPU where the execution code is stored. By mapping to a specific address space in the executable memory address space, it is possible to use a large-capacity user program. The executable address space can be occupied by the ROM, so that it is possible to increase the number of programs stored in the ROM and to increase the functions of the PC.
請求項 2の発明は、 請求項 1の発明において、 最初の実行スキャン時に R A M上のュ一ザ一プログラムのソ一スコ一ドを C PUが実行可能な実行コー ド にコンパイルして、 このコンパイル後 C PUのァドレスデコード手段に対する 設定により、特定ァドレス空間を実行コードを格納した RAMを選択して R A Mに格納してある実行コードを CPUが実行することにより演算処理を行レ、、 以後毎実行スキャン時に CPUがユーザ一プログラムの実行コードを実行し て演算を行う場合に実行コードが格納されている RAMを選択するようにァ ドレスデコ一ド手段を設定するので、 CPUが実行する実行コードが格納でき るァドレス空間以外にデータとして C FUがアクセス可能なァドレス空間を 管理することができる C PUを用いる場合に有効となる。 The invention according to claim 2 is the invention according to claim 1, wherein at the time of the first execution scan, the source code of the user program on the RAM is compiled into an execution code executable by the CPU, and this compilation is performed. After that, according to the setting of the address decoding means of the CPU, the RAM that stores the execution code in the specific address space is selected, and the CPU executes the execution code stored in the RAM to execute the arithmetic processing, and thereafter execute each time. When scanning, the CPU executes the execution code of the user program and performs an operation so that the RAM that stores the execution code is selected. Since the dress-decoding means is set, it is effective when using a CPU that can manage the address space accessible by the CFU as data in addition to the address space that can store the execution code executed by the CPU.
請求項 3の発明は、 請求項 1の発明において、 最初の実行スキャン時に CP Uによりァドレスデコード手段に対する設定によりソースプログラムを格納 している RAMを選択し、 RAMの特定ァ ドレス空間に対応するァドレス空間 においてソースプログラムを C FUが実行可能な実行コードにコンパイルし て、 このコンパイル後 RAMに格納してある実行コードを CPUが実行するこ とにより演算処理を行 L、、以後毎実行スキャン時に C PUがユーザ一プログラ ムの実行コードを実行して演算を行う場合に実行コードが格納されている R AMを選択するようにァドレスデコード手段を設定するので、ァドレス空間が 実行する実行コードが格納できるァドレス空間のみ管理する C PUを使用す る場合に有効となる。  The invention according to claim 3 is the invention according to claim 1, wherein the RAM for storing the source program is selected by the CPU at the time of the first execution scan by the setting for the address decoding means, and the address corresponding to the specific address space of the RAM is selected. In the space, the source program is compiled into executable code that can be executed by the CFU, and after this compilation, the CPU executes the executable code stored in RAM to perform arithmetic processing. When the PU executes the execution code of the user program and performs an operation, the address decoding means is set to select the RAM that stores the execution code, so that the execution code executed by the address space can be stored. This is effective when using a CPU that manages only the address space.

Claims

請 求 の 範 囲 The scope of the claims
1. CPUと、 システムプログラム等の固定プログラムを格納した ROMと、 ユーザーブログラムのソ一スコードを格納するァドレス空間やソースコード をコンパイルするためのァドレス空間が設定される RAMと、 CPUからの設 定により特定ァドレス空間をアクセスすると当該ァドレス空間の割当てを現 在のメモリデバイスから別のメモリデバイスを選択するァドレスデコード手 段とを備え、 CPUが実行コードを読み出して実行することができるァドレス 空間を ROMに割当てるとともに、該ァドレス空間の一部をァドレスデコード 手段の選択により RAMにも割り当てられる特定ァドレス空間として用い、毎 実行スキャン時に CPUはコンパイルされて C PUが高速で実行可能な実行 コ一ドとなったユーザープログラムを格納している RAMのァドレス空間が 特定ァドレス空間となるようにァドレスデコ一ド手段を設定し、 この設定にて 選択された RAM上の実行コードを実行することにより演算処理を行い、 この 演算終了後にァドレスデコード手段が ROMを選択するように設定し, この設 定により選択された ROMの特定ァドレス空問に対応するァドレス空間に格 納されているプログラムを実行することを特徴とするプログラマブルコント ローラ。  1. CPU, ROM storing fixed programs such as system programs, RAM for setting the address space for storing the source code of the user program and address space for compiling the source code, and setting from the CPU. A specific address space is accessed by a predetermined address space, and the address space is allocated to select another memory device from the current memory device.The address space in which the CPU can read and execute the execution code is provided. In addition to allocating to the ROM, a part of the address space is used as a specific address space that is also allocated to the RAM by selecting address decoding means. At each execution scan, the CPU is compiled and the CPU is executed at high speed. The address space of the RAM that stores the user program that has become The address decoding means is set to be in the dress space, and the execution process is executed by executing the execution code on the RAM selected by this setting. A programmable controller characterized by setting and executing a program stored in an address space corresponding to a specific address blank of a ROM selected by the setting.
2. If求項 1において、 最初の実行スキャン時に RAM上のユーザーブログ ラムのソ一スコードを CPUが実行可能な実行コ一ドにコンパイルして、 この コンパイル後 CPUのァドレスデコード手段に対する設定により、特定ァドレ ス空間を実行コードを格納した RAMを選択して RAMに格納してある実行 コ一ドを CPUが実行することにより演算処理を行い、以後毎芙行スキャン時 に C PUがユーザープログラムの実行コードを実行して演算を行う場合に実 行コードが格納されている RAMを選択するようにァドレスデコード手段を 設定する。  2. In the first case, the source code of the user program on the RAM is compiled into an executable code that can be executed by the CPU at the time of the first execution scan. The CPU executes the execution code stored in the specified address space by selecting the RAM that stores the execution code, and the CPU executes the execution code. Set the address decoding means to select the RAM that stores the execution code when executing the operation by executing the execution code.
3. 請求項 1において、 最初の実行スキャン時に C PUによりァドレスデコ ―ド手段に対する設定によりソースプログラムを格納している RAMを選択 し、 RAMの特定ァドレス空間に対応するァドレス空間においてソースプログ ラムを C PUが実行可能な実行コ一ドにコンパイルして、 このコンパイル後 R AMに格納してある実行コードを CPUが実行することにより演算処理を行 レ、、以後毎実行スキャン時に CPUがユーザープログラムの実行コードを実行 して演算を行う場合に実行コードが格納されている RAMを選択するように 了 ドレスデコード手段を設定する。 3. In claim 1, address decoupling by the CPU during the first execution scan -Select the RAM that stores the source program according to the setting of the source means, compile the source program into an executable code that can be executed by the CPU in the address space corresponding to the specific address space of the RAM, and compile this After that, the CPU executes the execution code stored in the RAM to perform the arithmetic processing.After that, the execution code is stored when the CPU executes the execution code of the user program and performs the operation at each execution scan. Set the address decoding method so that the selected RAM is selected.
PCT/JP1996/000534 1996-03-06 1996-03-06 Programmable controller WO1997033226A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP1996/000534 WO1997033226A1 (en) 1996-03-06 1996-03-06 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1996/000534 WO1997033226A1 (en) 1996-03-06 1996-03-06 Programmable controller

Publications (1)

Publication Number Publication Date
WO1997033226A1 true WO1997033226A1 (en) 1997-09-12

Family

ID=14152998

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1996/000534 WO1997033226A1 (en) 1996-03-06 1996-03-06 Programmable controller

Country Status (1)

Country Link
WO (1) WO1997033226A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60215259A (en) * 1984-04-10 1985-10-28 Nec Corp Memory control circuit
JPS61138348A (en) * 1984-12-10 1986-06-25 Fujitsu Ltd Memory control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60215259A (en) * 1984-04-10 1985-10-28 Nec Corp Memory control circuit
JPS61138348A (en) * 1984-12-10 1986-06-25 Fujitsu Ltd Memory control system

Similar Documents

Publication Publication Date Title
JP5119902B2 (en) Dynamic reconfiguration support program, dynamic reconfiguration support method, dynamic reconfiguration circuit, dynamic reconfiguration support device, and dynamic reconfiguration system
JPS6160443B2 (en)
JP6119452B2 (en) Programmable controller system, its support device, programmable controller, program
WO1997033226A1 (en) Programmable controller
US20020198970A1 (en) Programmable controller system
WO2012008068A1 (en) Microcontroller and method of controlling the same
JP2002099498A (en) Program performance device and program development support device
JP3629947B2 (en) Programmable controller system, programmable controller support apparatus, programmable controller, and recording medium
JP3582210B2 (en) Programmable controller
JP2008040996A (en) Programmable controller
KR20190127110A (en) Apparatus for processing programmable logic controller program
US6889306B1 (en) Microprocessor and program modification method in the microprocessor
JPS6160444B2 (en)
JP6020071B2 (en) Programmable controller system, its support device, programmable controller
JP2006018759A (en) Control device and method
JP2023148969A (en) Microcontroller and microcontroller update method
JP3755653B2 (en) Contact input / output program controller
JP4037941B2 (en) Control device
JP2000020319A5 (en)
JPS6148174B2 (en)
KR950006586B1 (en) Memory control method
JP2728151B2 (en) Programmable controller
JP2005242621A (en) Semiconductor device and its interrupt processing method
JPH0830466A (en) Multitask switching control method
JPS6247755A (en) Memory control system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 96190260.4

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): CN KR