JPS6310445B2 - - Google Patents

Info

Publication number
JPS6310445B2
JPS6310445B2 JP17591082A JP17591082A JPS6310445B2 JP S6310445 B2 JPS6310445 B2 JP S6310445B2 JP 17591082 A JP17591082 A JP 17591082A JP 17591082 A JP17591082 A JP 17591082A JP S6310445 B2 JPS6310445 B2 JP S6310445B2
Authority
JP
Japan
Prior art keywords
cpu
instruction
processing
bit
code
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.)
Expired
Application number
JP17591082A
Other languages
Japanese (ja)
Other versions
JPS5965310A (en
Inventor
Yoshifumi Ito
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 JP17591082A priority Critical patent/JPS5965310A/en
Publication of JPS5965310A publication Critical patent/JPS5965310A/en
Publication of JPS6310445B2 publication Critical patent/JPS6310445B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Landscapes

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

Description

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

本発明はプログラマブルコントローラ(以下
PCと略す)の演算処理装置に関するものである。 従来、この種の装置として第1図に示すものが
あつた。 図に於いて1はマイクロプロセツサ等のワード
処理用CPU(以下W CPUと略す)、2は個別IC
等により構成される1ビツト処理用CPU(以下B
CPUと略す)、3はW CPU1とB CPU2
のそれぞれのアドレスバスA1・A2を切替えて共
通アドレスバスA3を生成するアドレスバススイ
ツチ、4はW CPU1とB CPU2のそれぞれ
のデータバスD1,D2を切替えて共通データバス
D3を生成するデータバススイツチ、5はシーケ
ンスプログラムメモリ、6はプロセス入力、プロ
セス出力及び一時記憶値等を記憶するデータメモ
リである。 次にこの装置による演算処理の手順について記
述する。 第5図はシーケンスプログラムメモリ5のプロ
グラム内容の1例を示すものである。シーケンス
プログラムには1ビツト処理命令とワード処理命
令が混在しており両命令共1ステツプは2バイト
で構成されるものとする。第5図に示す例では、
ステツプ0が1ビツト処理命令(L0,H0)、ステ
ツプ1がワード処理命令(L1,H1)、ステツプ2
が1ビツト処理命令(L2,H2)で構成されてい
る。 このシーケンスプログラムを演算処理する場合
ステツプ0,2では第1図に示すアドレスバスス
イツチ3、データバススイツチ4が共にB
CPU2側に切替えられ、B CPU2の処理のも
とに1ビツト演算処理が実行される。 また、ステツプ1ではアドレスバススイツチ
3、データバススイツチ4が共にW CPU1側
に切替えられW CPU1の処理のもとにワード
演算処理が実行される。 なお、演算処理とはシーケンスプログラムメモ
リ5の内容を解読してデータメモリ6の内容をも
とに演算し、演算結果をデータメモリ6に記憶す
ることをいう。 以上に例をあげて説明したように、PCにおけ
る従来の演算処理装置ではW CPUとB CPU
の2CPU方式を採用しているため、アドレスバス
スイツチ,データバススイツチ等のスイツチング
手段が必要であり、また1ビツト処理用CPUと
して高速かつ安価な1チツプまたは数チツプの
CPUがないため個々のICを組合せて構成するこ
とが多く、従つて全体の回路が複雑となり、かつ
高価になる欠点があつた。 本発明は以上の様なPCにおける従来の演算処
理装置の欠点を除去するためになされたもので、
安価でかつ小形なPC演算処理装置を提供するこ
とを目的としている。 以下に、本発明の一実施例について詳細に説明
する。第2図は本発明一実施例装置の構成ブロツ
ク図である。図において、11はワード処理用の
CPUであり、この実施例ではマイクロプロセツ
サ8085を用いている。12は、CPU11の制御
プログラムを記憶する制御プログラムメモリ、1
3は途中演算結果等を一時記憶する一時記憶用
RAM(ランダムアクセスメモリ)、14はCPU1
1の命令コードを記憶するための命令記憶用
RAMであり、その詳細は後述する動作説明で述
べる。また15はユーザーにおいて演算手順等を
書込むシーケンスプログラムメモリ、16はプロ
セス入出力及び一時記憶値等を書込むデータメモ
リ、17は1ビツト演算を実行する1ビツト演算
回路、18はCPU11のNOP(NO―OPERA―
TION)命令生成回路である。尚、A及びDはそ
れぞれCPU11のアドレスバス,データバスを
示している。 次に上記装置による演算処理動作について説明
し、加えて本発明装置の特徴を明かにする。 CPU11は制御プログラムメモリ12に書込
まれている制御プログラムによつてまずシーケン
スプログラムの演算に入る前に第6図に示す様な
命令コードを命令記憶用RAM14に記憶する。
記憶する内容はシーケンスプログラムの各ステツ
プに対応して1ビツト処理命令ならSTAコード、
ワード処理命令ならRSTコードである。従つて
シーケンスプログラムが第5図に示すようなもの
であるとするとRAM14には第6図のコードが
記憶されることになる。尚、マイクロプロセツサ
8085で、STAコードは書込命令のためのコード
であり、RSTコードは強制割込命令を示すコー
ドである。 次にCPU11にシーケンスプログラムの演算
を開始させる為に制御プログラムはCPU11の
特定のアドレス、たとえば8000#(#は16進数を
示す)にブランチする。CPU11がこうして、
たとえば8000#から実行を開始すると、CPU1
1の付属回路であるデコーダ(第2図には示され
ていない)は、そのアドレスバスの下位ビツト
A0,A1からチツプセレクト信号CS0〜CS3を発生
する。第3図は、このデコーダ20のデコード機
能を示す図である。ここでチツプセレクト信号
CS0〜CS3は、アドレスバスの下位ビツトA0,A1
が次表の状態である時それぞれ発生するものであ
る。 CS0 A0=0 A1=0 CS1 A0=1 A1=0 CS2 A0=0 A1=1 CS3 A0=1 A1=1 たとえば、CPU11の上記特定アドレスが
8000#であつたとすると、 8000#の時 CS0 8001#の時 CS1 8002#の時 CS2 8003#の時 CS3 8004#の時 CS0 がそれぞれ発生する。各チツプセレクト信号
CS0,CS1…は次の命令機能をもつように構成さ
れている。即ち、 CS0にて 命令記憶用RAM14 CS1にて シーケンスプログラムメモリ15の
下位バイト部(第5図のL0,L1,L2
…) CS2にて シーケンスプログラムメモリ15の
上位バイト部(第5図のH0,H1,H2
…) CS3にて NOP命令生成回路18 がそれぞれ選択され、その内容がデータバスDに
送出される。 結果的に8000#〜8002#ではSTA,L0,H0
データバスDを介しそれぞれCPU11に送出さ
れることになる。 ここでSTA,L,Hはマイクロプロセツサ
8085ではアドレスHLの書込命令である。STA,
L,H命令は第4図に示す様にM1〜M4のマシン
サイクルにより実行される。タイミングM1
M2,M3にてSTA,L,Hの各コードをそれぞ
れ読取り、STA,L,H命令であることを認識
し、タイミングM4にてアドレスHLにデータの書
込を実行する為アドレスバスA0〜A15にHLの内
容を送出してくる。このHLの内容とは、第5図
に示すシーケンスプログラムの例では、1ビツト
処理命令2(H0,L0)である。1ビツト演算回
路17は、このようにしてアドレスバスA0〜A15
にタイミンM4にて送出された1ビツト処理命令
1(H0,L0)をもとに1ビツト演算を実行する。 次に8003#では、上述したようにチツプセレク
ト信号CS3が発生してNOP命令生成回路18が選
択されNOP命令コードが送出される。NOP命令
とはCPU11の無処理命令である。更に次の
8004#では、チツプセレクト信号CS0が再び発生
し、命令記憶用RAM14が選択されるがこの時
RAM14には第6図に示すようにRSTコードが
記憶されているため、CPU11にはこのRSTコ
ードが送出されることになる。RST命令は、
CPU11の割込処理開始命令であり、制御プロ
グラムメモリ12の特定のアドレスより割込処理
プログラムを実行する。ここで割込処理プログラ
ムとは実際にはワード処理命令L1,H1を認識し
ワード処理を行うプログラムである。このプログ
ラムの実行が終了するとCPU11は、8008#へ
リターンする様にされている。以下、8008#から
はSTA,L2,H2,NOP…と各コードが順次選択
され、シーケンスプログラムの内容に従つて1ビ
ツト演算及びワード処理が実行される。第7図は
以上の処理を整理したものであり、この装置にお
ける演算のフローを示している。 以上説明したように、この装置では、シーケン
スプログラム中の1ビツト処理命令とワード処理
命令が、あらかじめ別個のコードとして命令記憶
用RAM14に書込まれ、CPU11にそれぞれ別
の意味付けされた命令として入力される。即ち1
ビツト処理命令の時はCPU11の書込命令
(STA命令)が選択され、この命令がCPU11に
送出される。CPU11はこの命令のマシンサイ
クルを利用して1ビツト演算回路17に1ビツト
演算処理を実行させる。一方、ワード処理命令の
時はCPU11の強制割込処理命令(RST命令)
が選択され、CPU11において割込処理プログ
ラム、この場合ワード処理用プログラムが実行さ
れる。従つてこの装置では、1つのCPUのタイ
ミングにて、1ビツト演算処理及びワード処理を
行うことができ、1ビツト処理用CPUは必要で
ない。 以上実施例をあげて説明したように、本発明に
よれば1個のCPU(ワード処理用CPU)によつて
1ビツト演算処理及びワード処理が可能となり、
高価でかつ回路を複雑にする1ビツト演算処理用
CPUが不用となる。又、それに従つてアドレス
バススイツチ、データバススイツチ等のスイツチ
ング手段も不用になり、安価で小型なPCの演算
処理装置を得ることができる。 尚、上述した本発明の実施例ではマイクロプロ
セツサ8085のSTA及びRST命令を使用した場合
を示したが、その他のマイクロプロセツサによつ
ても同様に実現できることは勿論である。また、
第5図に示したシーケンスプログラム例では1ス
テツプ2バイトにて説明しているが、これが4バ
イト,6バイトであつても勿論同様にして実行す
ることができる。
The present invention is a programmable controller (hereinafter referred to as
This relates to arithmetic processing units (abbreviated as PCs). Conventionally, there has been a device of this type as shown in FIG. In the figure, 1 is a word processing CPU such as a microprocessor (hereinafter abbreviated as W CPU), and 2 is an individual IC.
A 1-bit processing CPU (hereinafter referred to as B
(abbreviated as CPU), 3 is W CPU1 and B CPU2
Address bus switch 4 switches the respective address buses A1 and A2 of W CPU1 and B CPU2 to generate a common address bus A3 , and 4 switches the respective data buses D1 and D2 of W CPU1 and B CPU2 to generate a common data bus.
A data bus switch generates D3 , 5 is a sequence program memory, and 6 is a data memory for storing process inputs, process outputs, temporary storage values, etc. Next, the procedure of arithmetic processing by this device will be described. FIG. 5 shows an example of the program contents of the sequence program memory 5. It is assumed that the sequence program includes a mixture of 1-bit processing instructions and word processing instructions, and 1 step of both instructions consists of 2 bytes. In the example shown in Figure 5,
Step 0 is a 1-bit processing instruction (L 0 , H 0 ), Step 1 is a word processing instruction (L 1 , H 1 ), Step 2
consists of 1-bit processing instructions (L 2 , H 2 ). When processing this sequence program, in steps 0 and 2, address bus switch 3 and data bus switch 4 shown in FIG.
It is switched to the CPU2 side, and 1-bit arithmetic processing is executed under the processing of the B CPU2. Further, in step 1, both the address bus switch 3 and the data bus switch 4 are switched to the W CPU 1 side, and word arithmetic processing is executed under the processing of the W CPU 1. Note that arithmetic processing refers to decoding the contents of the sequence program memory 5, performing calculations based on the contents of the data memory 6, and storing the calculation results in the data memory 6. As explained above with examples, the conventional arithmetic processing units in PCs are W CPU and B CPU.
Since the 2-CPU system is adopted, switching means such as an address bus switch and a data bus switch are required, and a high-speed and inexpensive 1-chip or several-chip CPU is required for 1-bit processing.
Since there is no CPU, they are often constructed by combining individual ICs, which has the drawback of making the overall circuit complex and expensive. The present invention was made in order to eliminate the drawbacks of conventional arithmetic processing units in PCs as described above.
The purpose is to provide an inexpensive and compact PC processing device. An embodiment of the present invention will be described in detail below. FIG. 2 is a block diagram of a device according to an embodiment of the present invention. In the figure, 11 is for word processing.
The CPU is a microprocessor 8085 in this embodiment. 12 is a control program memory that stores a control program for the CPU 11;
3 is for temporary storage to temporarily store intermediate calculation results, etc.
RAM (random access memory), 14 is CPU1
For instruction storage to store the instruction code of 1
This is RAM, and its details will be explained in the operation explanation below. Further, 15 is a sequence program memory in which the user writes calculation procedures, etc., 16 is a data memory in which process input/output and temporary storage values, etc. are written, 17 is a 1-bit calculation circuit that executes 1-bit calculations, and 18 is a NOP ( NO-OPERA-
TION) is an instruction generation circuit. Note that A and D indicate the address bus and data bus of the CPU 11, respectively. Next, the arithmetic processing operations performed by the above device will be explained, and in addition, the features of the device of the present invention will be clarified. Using the control program written in the control program memory 12, the CPU 11 first stores an instruction code as shown in FIG. 6 in the instruction storage RAM 14 before starting the operation of the sequence program.
The stored contents are STA code for 1-bit processing instructions corresponding to each step of the sequence program,
If it is a word processing instruction, it is an RST code. Therefore, if the sequence program is as shown in FIG. 5, the code shown in FIG. 6 will be stored in the RAM 14. Furthermore, the microprocessor
In 8085, the STA code is a code for a write command, and the RST code is a code indicating a forced interrupt command. Next, in order to cause the CPU 11 to start calculating the sequence program, the control program branches to a specific address of the CPU 11, for example 8000# (# indicates a hexadecimal number). In this way, CPU 11
For example, if you start execution from 8000#, CPU1
A decoder (not shown in Figure 2), which is an attached circuit to address bus 1, decodes the lower bits of its address bus.
Chip select signals CS0 to CS3 are generated from A0 and A1 . FIG. 3 is a diagram showing the decoding function of this decoder 20. Here the chip select signal
CS 0 to CS 3 are the lower bits of the address bus A 0 , A 1
This occurs when the conditions shown in the table below are met. CS 0 A 0 = 0 A 1 = 0 CS 1 A 0 = 1 A 1 = 0 CS 2 A 0 = 0 A 1 = 1 CS 3 A 0 = 1 A 1 = 1 For example, if the above specific address of CPU 11 is
If it is 8000#, CS 0 at 8000#, CS 1 at 8001#, CS 2 at 8002#, CS 3 at 8003#, CS 0 at 8004# will occur. Each chip select signal
CS 0 , CS 1 ... are configured to have the following command functions. That is, at CS 0 , the instruction storage RAM 14, at CS 1 , the lower byte part of the sequence program memory 15 (L 0 , L 1 , L 2 in Figure 5).
...) At CS 2 , the upper byte part of the sequence program memory 15 (H 0 , H 1 , H 2 in Figure 5)
...) Each of the NOP instruction generation circuits 18 is selected at CS 3 , and its contents are sent to the data bus D. As a result, in 8000# to 8002#, STA, L 0 and H 0 are respectively sent to the CPU 11 via the data bus D. Here, STA, L, and H are microprocessors.
In the 8085, this is a write command at address HL. STA,
The L and H instructions are executed in machine cycles M 1 to M 4 as shown in FIG. Timing M 1 ,
Each code of STA, L, H is read at M 2 and M 3 , and it is recognized that it is an STA, L, H instruction, and at timing M 4 , the address bus is written to write data to address HL. The contents of HL are sent to A 0 to A 15 . In the example of the sequence program shown in FIG. 5, the content of this HL is 1-bit processing instruction 2 (H 0 , L 0 ). In this way, the 1-bit arithmetic circuit 17 operates on the address bus A0 to A15.
A 1-bit operation is executed based on the 1-bit processing instruction 1 (H 0 , L 0 ) sent out at timing M4 . Next, at 8003#, the chip select signal CS3 is generated as described above, the NOP instruction generation circuit 18 is selected, and the NOP instruction code is sent out. The NOP instruction is a no-processing instruction of the CPU 11. Further next
In 8004#, the chip select signal CS 0 is generated again and the instruction storage RAM 14 is selected.
Since the RST code is stored in the RAM 14 as shown in FIG. 6, this RST code is sent to the CPU 11. The RST instruction is
This is an interrupt processing start command for the CPU 11, and executes an interrupt processing program from a specific address in the control program memory 12. Here, the interrupt processing program is actually a program that recognizes word processing instructions L 1 and H 1 and performs word processing. When the execution of this program is completed, the CPU 11 returns to 8008#. Thereafter, from 8008#, each code is sequentially selected such as STA, L 2 , H 2 , NOP, etc., and 1-bit operation and word processing are executed according to the contents of the sequence program. FIG. 7 summarizes the above processing and shows the flow of calculations in this device. As explained above, in this device, 1-bit processing instructions and word processing instructions in a sequence program are written in advance as separate codes in the instruction storage RAM 14, and input to the CPU 11 as instructions with different meanings. be done. That is, 1
In the case of a bit processing instruction, a write instruction (STA instruction) of the CPU 11 is selected, and this instruction is sent to the CPU 11. The CPU 11 uses the machine cycle of this instruction to cause the 1-bit arithmetic circuit 17 to execute 1-bit arithmetic processing. On the other hand, when it is a word processing instruction, the forced interrupt processing instruction (RST instruction) of CPU11 is used.
is selected, and the CPU 11 executes an interrupt processing program, in this case a word processing program. Therefore, in this device, 1-bit arithmetic processing and word processing can be performed at the timing of one CPU, and a 1-bit processing CPU is not required. As explained above with reference to the embodiments, according to the present invention, one CPU (word processing CPU) can perform 1-bit arithmetic processing and word processing.
For 1-bit arithmetic processing, which is expensive and complicates the circuit.
CPU is not needed. Furthermore, switching means such as address bus switches and data bus switches are also obviated, and an inexpensive and compact PC arithmetic processing device can be obtained. Although the above-described embodiment of the present invention uses the STA and RST instructions of the microprocessor 8085, it is of course possible to implement the same using other microprocessors. Also,
Although the sequence program example shown in FIG. 5 is explained using 2 bytes per step, it is of course possible to execute the program in the same manner even if the number of steps is 4 or 6 bytes.

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

第1図はこの発明の従来例装置の構成を示すブ
ロツク図、第2図はこの発明の一実施例の構成を
示すブロツク図、第3図は第2図に示す装置に組
込まれているデコーダの回路図、第4図はSTA
命令のマシンサイクルを示すタイミング図、第5
図はシーケンスプログラムの1例を示す図、第6
図は第2図に示す命令記憶RAMに書込まれた記
憶内容の1例を示す図、第7図は第2図に示す装
置によるシーケンス演算の1例を示すフローチヤ
ート図である。 11…CPU、12…制御プログラムメモリ、
13…一時記憶用RAM、14…命令記憶用
RAM、15…シーケンスプログラムメモリ、1
6…データメモリ、17…1ビツト演算回路。
FIG. 1 is a block diagram showing the configuration of a conventional device of the present invention, FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 3 is a decoder incorporated in the device shown in FIG. 2. The circuit diagram, Figure 4 is STA
Timing diagram showing machine cycles of instructions, No. 5
The figure shows an example of a sequence program.
This figure shows an example of the storage contents written in the instruction storage RAM shown in FIG. 2, and FIG. 7 is a flowchart showing an example of sequence operations performed by the apparatus shown in FIG. 2. 11...CPU, 12...Control program memory,
13...RAM for temporary storage, 14...For instruction storage
RAM, 15...Sequence program memory, 1
6...Data memory, 17...1-bit arithmetic circuit.

Claims (1)

【特許請求の範囲】 1 マイクロプロセツサ等で構成された主にワー
ド処理用のCPUと、このCPUを制御するプログ
ラムを記憶する制御プログラムメモリと、上記
CPUにおける途中演算結果及びデータ等を一時
保持する一時記憶用RAMと、演算手順等を書込
むシーケンスプログラムメモリと、上記CPUの
命令コードを記憶する命令記憶用RAMと、1ビ
ツト演算処理を行う1ビツト演算回路と、プロセ
ス入出力及び一時記憶値等を記憶するデータメモ
リとを備え、上記制御プログラムメモリには上記
シーケンスプログラムメモリ中の1ビツト処理命
令とワード処理命令とを認識して別個に意味づけ
されたコードに変換し上記命令記憶用RAMに記
憶するためのプログラムが書込まれており、更に
上記CPUは上記命令記憶用RAMから送出される
信号が1ビツト処理命令に対応したコードを有す
る時書込命令を発し、この命令を実行するマシン
サイクル中の一つのタイミングにて上記1ビツト
演算回路を作動させ、かつ上記命令記憶用RAM
から送出される信号がワード処理命令に対応した
コードを有する時強制割込処理命令を発してワー
ド処理用プログラムを実行するように組込まれて
いることを特徴とするプログラマブルコントロー
ラの演算処理装置。 2 制御プログラムメモリには、シーケンスプロ
グラムメモリ中の1ビツト処理命令をCPUの書
込処理命令コードに変換し、かつワード処理命令
をCPUの強制割込処理命令コードに変換して命
令記憶用RAMに記憶するためのプログラムが書
込まれていることを特徴とする特許請求の範囲第
1項記載のプログラマブルコントローラの演算処
理装置。 3 CPUは、アドレスバスの下位ビツトをデコ
ードしてチツプセレクト信号を発生するためのデ
コーダを付属回路として備え、発生されたチツプ
セレクト信号により命令記憶用RAM、シーケン
スプログラムメモリを選択しその内容をCPUに
送出するようにしたことを特徴とする特許請求の
範囲第1項記載のプログラマブルコントローラの
演算処理装置。 4 CPUはマイクロプロセツサ8085であり、シ
ーケンスプログラム中の1ビツト処理命令は制御
プログラムに依つてSTAコードに変換され、か
つワード処理命令はRSTコードに変換されて命
令記憶用RAMにストアされることを特徴とする
特許請求の範囲第1項記載のプログラマブルコン
トローラの演算処理装置。
[Scope of Claims] 1. A CPU mainly for word processing, which is composed of a microprocessor, etc., a control program memory that stores a program to control this CPU, and the above-mentioned CPU.
A temporary storage RAM that temporarily holds intermediate calculation results and data, etc. in the CPU, a sequence program memory that writes calculation procedures, etc., an instruction storage RAM that stores the instruction code of the CPU, and a memory 1 that performs 1-bit calculation processing. It is equipped with a bit arithmetic circuit and a data memory for storing process input/output and temporary storage values, etc., and the control program memory recognizes the 1-bit processing instruction and the word processing instruction in the sequence program memory and stores them separately. A program is written for converting the code into a code given by the CPU and storing it in the instruction storage RAM, and furthermore, the CPU has a code in which the signal sent from the instruction storage RAM corresponds to a 1-bit processing instruction. The 1-bit arithmetic circuit is activated at one timing during a machine cycle when a write command is issued and this command is executed, and the RAM for storing the command is activated.
1. An arithmetic processing unit for a programmable controller, characterized in that the arithmetic processing unit of a programmable controller is incorporated to issue a forced interrupt processing command and execute a word processing program when a signal sent from the controller has a code corresponding to a word processing command. 2 In the control program memory, 1-bit processing instructions in the sequence program memory are converted into CPU write processing instruction codes, and word processing instructions are converted into CPU forced interrupt processing instruction codes and stored in instruction storage RAM. 2. An arithmetic processing device for a programmable controller according to claim 1, wherein a program for storage is written. 3 The CPU is equipped with a decoder as an attached circuit to decode the lower bits of the address bus and generate a chip select signal, and the generated chip select signal selects the instruction storage RAM and sequence program memory, and the contents are transferred to the CPU. 2. An arithmetic processing device for a programmable controller according to claim 1, wherein the processing device is configured to send data to a programmable controller. 4 The CPU is a microprocessor 8085, and 1-bit processing instructions in the sequence program are converted to STA codes by the control program, and word processing instructions are converted to RST codes and stored in the instruction storage RAM. An arithmetic processing device for a programmable controller according to claim 1, characterized in that:
JP17591082A 1982-10-06 1982-10-06 Arithmetic processor of programmable controller Granted JPS5965310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17591082A JPS5965310A (en) 1982-10-06 1982-10-06 Arithmetic processor of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17591082A JPS5965310A (en) 1982-10-06 1982-10-06 Arithmetic processor of programmable controller

Publications (2)

Publication Number Publication Date
JPS5965310A JPS5965310A (en) 1984-04-13
JPS6310445B2 true JPS6310445B2 (en) 1988-03-07

Family

ID=16004374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17591082A Granted JPS5965310A (en) 1982-10-06 1982-10-06 Arithmetic processor of programmable controller

Country Status (1)

Country Link
JP (1) JPS5965310A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6149209A (en) * 1984-08-17 1986-03-11 Fanuc Ltd Program execution system of numerical controller
JPS625308U (en) * 1985-06-21 1987-01-13
JPS625407A (en) * 1985-07-01 1987-01-12 Mitsubishi Electric Corp Quick programmable controller
JPS6238902A (en) * 1985-08-15 1987-02-19 Mitsubishi Electric Corp Processing system for sequence arithmetic
JP2529429B2 (en) * 1989-12-26 1996-08-28 株式会社日立製作所 Programmable controller
US8347044B2 (en) * 2009-09-30 2013-01-01 General Electric Company Multi-processor based programmable logic controller and method for operating the same

Also Published As

Publication number Publication date
JPS5965310A (en) 1984-04-13

Similar Documents

Publication Publication Date Title
US5077657A (en) Emulator Assist unit which forms addresses of user instruction operands in response to emulator assist unit commands from host processor
JPS6133546A (en) Information processor
US6986029B2 (en) Micro-controller for reading out compressed instruction code and program memory for compressing instruction code and storing therein
US4095268A (en) System for stopping and restarting the operation of a data processor
JPS5849881B2 (en) Data search
JPS6310445B2 (en)
JPH07117898B2 (en) Microprocessor system with multiple interrupt services
JPS6128143B2 (en)
JPH0612107A (en) Sequence arithmetic processor and sequence arithmetic processing unit
JP2826309B2 (en) Information processing device
JP2001256044A (en) Data processor
US7069418B2 (en) Method and arrangement for instruction word generation in the controlling of functional units in a processor
JPS6238738B2 (en)
JPH0218729B2 (en)
JP2618703B2 (en) High-speed operation processing method of programmable sequence controller
KR0153537B1 (en) Signal processing structure preselecting memory address data
JPS6330658B2 (en)
JPH04280334A (en) One chip microcomputer
JPH0128416B2 (en)
JP2985244B2 (en) Information processing device
JPS58129669A (en) Two-chip microcomputer
JP2000105701A (en) Data processor
JPH0683986A (en) Single chip microcomputer
JPH0319570B2 (en)
KR19990003927A (en) Interrupt Vector Generator for 8X196 Microcontrollers