JPH087600Y2 - PROM programmer - Google Patents
PROM programmerInfo
- Publication number
- JPH087600Y2 JPH087600Y2 JP1990117011U JP11701190U JPH087600Y2 JP H087600 Y2 JPH087600 Y2 JP H087600Y2 JP 1990117011 U JP1990117011 U JP 1990117011U JP 11701190 U JP11701190 U JP 11701190U JP H087600 Y2 JPH087600 Y2 JP H087600Y2
- Authority
- JP
- Japan
- Prior art keywords
- data
- area
- external device
- prom
- control unit
- 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 - Lifetime
Links
Description
【考案の詳細な説明】 〔産業上の利用分野〕 この考案は従来のPROMプログラマが持っている外部装
置とのデータ転送機能に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a data transfer function with an external device possessed by a conventional PROM programmer.
第4図は従来のPROMプログラマの基本構成を示すブロ
ック図で、図において、(1)はPROM内メモリに書き込
むデータ、又は読み出したデータを格納するデータメモ
リ、(2)はPROMプログラマのすべての制御を行う制御
部、(3)は制御部(2)が行う各制御手順を格納して
いるプログラムROM1、(4)はディスプレイ、(5)は
キーボード、(6)はPROM、(7)はICソケット、
(8)はPROM(6)に対するデータの読み書きを制御す
るデータ読み書き制御部、(9)はPROMプログラマが何
らかの通信手段を介して外部装置と接続するインタフェ
ース部、(10)はインタフェース部(9)と同一仕様の
インタフェース部を持つ外部装置である。FIG. 4 is a block diagram showing the basic configuration of a conventional PROM programmer. In the figure, (1) is a data memory that stores data to be written in or read from the PROM memory, and (2) is all PROM programmers. A control unit for controlling, (3) a program ROM 1 storing each control procedure performed by the control unit (2), (4) a display, (5) a keyboard, (6) PROM, (7) IC socket,
(8) is a data read / write control unit for controlling the reading and writing of data from and to the PROM (6), (9) is an interface unit for the PROM programmer to connect to an external device through some communication means, and (10) is an interface unit (9). It is an external device that has an interface unit with the same specifications as.
次に動作について説明する。従来のPROMプログラマは
PROM(6)内のメモリとのデータの読み書き、データメ
モリ(1)内のデータ編集や外部装置(10)とのデータ
転送等の機能を持ち、これらの機能を実現するための制
御を制御部(2)をはじめプログラムROM1(3)、デー
タ読み書き制御部(8)、インタフェース部(9)とマ
ン・マシンインタフェースとしてのキーボード(5)と
ディスプレイ(6)などで行なう。このPROMプログラマ
における外部装置(10)とのデータ転送は、第5図のフ
ローチャートに示す制御手順によって行なう。初めにス
テップ101で、外部装置(10)との通信を確立を行なう
ため、キーボード(5)からコマンド(PROMプログラマ
が外部装置の制御下で動作する状態に設定)を与える
と、ディスプレイ(4)にその動作状態を示す。次にス
テップ102では、外部装置(10)から第6図に示すデー
タメモリ上のデータ1に対する格納領域を指定する。Next, the operation will be described. Traditional PROM programmer
It has functions such as reading / writing data from / to the memory in the PROM (6), editing data in the data memory (1), and transferring data to / from an external device (10), and controls the control for realizing these functions. The program ROM 1 (3), the data read / write control unit (8), the interface unit (9), the keyboard (5) as the man-machine interface, the display (6), etc. Data transfer with the external device (10) in this PROM programmer is performed by the control procedure shown in the flowchart of FIG. First, in step 101, in order to establish communication with the external device (10), a command (set to a state in which the PROM programmer operates under the control of the external device) is given from the keyboard (5), and the display (4) is displayed. Shows the operating state. Next, at step 102, the storage area for data 1 on the data memory shown in FIG. 6 is designated from the external device (10).
この指定はデータメモリ内のデータの開始番地(STAR
T=000016)とデータサイズ(BLKSIZE=2016)で行な
う。これはデータ2とデータ3についても同様である。
ついでステップ103では、外部装置(10)からのデータ
転送コマンド(“IN"、又は“OUT")を受信する。また
ステップ104では、制御部(2)が受信したデータ転送
コマンドを判断し、以後の制御を分岐する。そのコマン
ドが“OUT"の場合、制御部(2)はインタフェース部
(9)に指示し、データ送信状態にする。さらにステッ
プ105では、ステップ102で指定された領域のデータを読
み出す。また、ステップ106では、読み出したデータを
インタフェース部(9)を介して外部装置(10)に送信
する。次にステップ107では、指定されたデータサイズ
を満たしたか判定し、未満であればステップ105に戻
す。全データの送信を完了したならば、次のステップ11
1に進む。また、上記ステップ104でデータ転送コマンド
が“IN"の場合、制御部(2)はインタフェース部
(9)に指示してデータ受信状態にする。次にステップ
108では、外部装置(10)からのデータをインタフェー
ス部(9)を介して受信する。さらにステップ109で
は、受信したデータをステップ102で指定された領域に
書き込む。またステップ110では、指定されたデータサ
イズを満たしたか判定し、未満であれば、ステップ108
に戻す。全データの受信を完了したならば、ステップ11
1に進む。ステップ111では、データ転送の終了結果を外
部装置(10)に送信する。次に行なうデータ2およびデ
ータ3に対するデータ転送も上述のステップ102からス
テップ111までを順次繰り返す。This designation is the start address of the data in the data memory (STAR
T = 0000 16 ) and data size (BLKSIZE = 20 16 ). This also applies to data 2 and data 3.
Next, at step 103, a data transfer command (“IN” or “OUT”) from the external device (10) is received. Further, in step 104, the control unit (2) judges the data transfer command received, and branches the control thereafter. When the command is "OUT", the control unit (2) instructs the interface unit (9) to enter the data transmission state. Further, in step 105, the data in the area designated in step 102 is read. In step 106, the read data is transmitted to the external device (10) via the interface unit (9). Next, in step 107, it is determined whether or not the specified data size is satisfied, and if it is less than that, the process returns to step 105. Once you have sent all the data, proceed to Step 11
Go to 1. When the data transfer command is "IN" in step 104, the control unit (2) instructs the interface unit (9) to enter the data receiving state. Next step
At 108, the data from the external device (10) is received via the interface unit (9). Further, in step 109, the received data is written in the area designated in step 102. In step 110, it is determined whether the specified data size is satisfied.
Return to. If all data has been received, step 11
Go to 1. In step 111, the data transfer end result is transmitted to the external device (10). The next data transfer for data 2 and data 3 is also sequentially repeated from step 102 to step 111 described above.
従来のPROMプログラマにおける外部装置とのデータ転
送は以上のように構成されていたので、データメモリ上
のデータ格納領域が複数個ある場合のデータ転送が、毎
回領域指定とデータ転送コマンドの手続き、実行をしな
ければならず、手続きのわずらわしさがあるという問題
点があった。Since the data transfer with the external device in the conventional PROM programmer is configured as described above, the data transfer when there are multiple data storage areas on the data memory is performed every time the area designation and the data transfer command procedure and execution are executed. However, there was a problem that the procedure was troublesome.
この考案は上記のような問題点を解決するためになさ
れたもので、プログラムROM内のデータメモリ上の領域
指定機能とデータ転送(IN/OUT)機能を変更して、1回
の手続きで所望のデータ転送を実現することのできるPR
OMプログラマを得ることを目的とする。The present invention has been made to solve the above problems, and it is possible to change the area designation function and the data transfer (IN / OUT) function on the data memory in the program ROM by one procedure. PR that can realize the data transfer of
The aim is to get an OM programmer.
この考案に係るPROMプログラマは、プログラムROM内
のデータメモリ上の領域指定機能とデータ転送機能を次
のように変更したものである。データメモリ上の領域指
定はデータ全体の領域(開始/終了番地)と領域内の無
格納領域(開始、終了番地)を与える。データ転送機能
は領域指定機能と併用することも可能にする。The PROM programmer according to the present invention is such that the area designation function and the data transfer function on the data memory in the program ROM are changed as follows. The area designation on the data memory gives an area for the entire data (start / end address) and a non-storage area (start, end address) in the area. The data transfer function can be used together with the area designation function.
その結果、一度の手続きで目的を達成することができ
る。As a result, the purpose can be achieved with a single procedure.
この考案におけるPROMプログラマは、外部装置とのデ
ータ転送に対して、データメモリ上の領域指定とデータ
転送を簡単化することにより、従来複数回の手続きと実
行を1回で済ませることができ、データ転送に要する時
間が短かくなる。また、領域指定でデータ無格納領域を
指定できることから全データを1度に転送できる。The PROM programmer according to the present invention can perform the procedure and the execution a plurality of times in the past by simplifying the area designation on the data memory and the data transfer for the data transfer with the external device. It takes less time to transfer. Further, since the data non-storage area can be designated by the area designation, all data can be transferred at once.
以下、この考案の一実施例を図について説明する。第
1図において、(1)はデータメモリ、(2)は制御
部、(3)はプログラムROM2、(4)はディスプレイ、
(5)はキーボード、(6)はPROM、(7)はICソケッ
ソ、(8)はデータ読み書き制御部、(9)はインタフ
ェース部、(10)は外部装置である。An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, (1) is a data memory, (2) is a control unit, (3) is a program ROM 2, (4) is a display,
(5) is a keyboard, (6) is a PROM, (7) is an IC socket, (8) is a data read / write control unit, (9) is an interface unit, and (10) is an external device.
次に動作について説明する。本実施例のPROMプログラ
マにおける外部装置(10)とのデータ転送は、第2図の
フローチャートに示す制御手順に従って行なう。初めに
ステップ101では前記従来のものと同じである。次にス
テップ202では、外部装置(10)から第3図に示すデー
タメモリ上のデータ1〜3に対する領域を指定コマンド
(BOUND=0000:03FF)で与える。ついでステップ203で
は、ステップ202で指定した領域内に含まれるデータ無
格納領域を指定コマンド(INHIBIT=0020:00FFとINHIBI
T=0180:03EF)で与え、データ1〜3の格納領域を明確
にする。さらにステップ204では、外部装置(10)から
のデータ転送コマンド(“IN××××”又は、“OUT×
×××”、××××は全データサイズを示す)を受信
し、上記ステップ203で得たデータ1〜3の全データサ
イズの照合を行なう。次にステップ205では、制御部
(2)が受信したデータ転送コマンドを判断し、以後の
制御を分岐する。そのコマンドが“OUT"の場合、制御部
(2)はインタフェース部(9)に指示し、データ送信
状態にする。またステップ206では、ステップ204で得た
データサイズとステップ202、ステップ203で指定された
領域から順次データを読み出す。ステップ106は前記従
来のものと同じである。次いでステップ208では、ステ
ップ204で得たデータサイズと比較し、全データの送信
が完了したか、判断する。未完であれば、ステップ206
に戻す。完了であれば、ステップ111に進む。上記ステ
ップ205でデータ転送コマンドが“IN"の場合、制御部
(2)はインタフェース部(9)に指示してデータ受信
状態にする。またステップ108は前記従来のものと同じ
である。さらにステップ207では、ステップ204で得たデ
ータサイズとステップ202、ステップ203で指定された領
域に受信したデータを書き込む。またステップ209で
は、ステップ204で得たデータサイズと比較し、全デー
タの受信が完了したか、判断する。未完であれば、ステ
ップ108に戻す。完了であればステップ111に進む。ステ
ップ111は前記従来のものと同じである。本実施例では
データ1〜3の全データを上述の制御で達成する。Next, the operation will be described. Data transfer with the external device (10) in the PROM programmer of this embodiment is performed according to the control procedure shown in the flowchart of FIG. First, in step 101, the process is the same as the conventional one. Next, at step 202, an area for the data 1 to 3 on the data memory shown in FIG. 3 is given from the external device (10) by a designation command (BOUND = 0000: 03FF). Next, at step 203, a command for specifying the data non-storage area included in the area specified at step 202 (INHIBIT = 0020: 00FF and INHIBI
T = 0180: 03EF) to clarify the storage areas for data 1 to 3. Furthermore, in step 204, a data transfer command (“IN ××××” or “OUT ×××”) from the external device (10) is transmitted.
XXX ", XXXXX indicates the total data size) and collates all the data sizes of the data 1 to 3 obtained in step 203. Next, in step 205, the control unit (2) Determines the received data transfer command and branches the control thereafter.If the command is "OUT", the control unit (2) instructs the interface unit (9) to enter the data transmission state. Then, the data size obtained in step 204 and the data are sequentially read out from the areas designated in step 202 and step 203. Step 106 is the same as the conventional one, and then in step 208, the data size obtained in step 204 It is determined whether or not the transmission of all data is completed by comparing with Step 206. If not completed, Step 206
Return to. If complete, proceed to step 111. When the data transfer command is "IN" in step 205, the control unit (2) instructs the interface unit (9) to enter the data receiving state. Further, step 108 is the same as the conventional one. Further, in step 207, the data size obtained in step 204 and the received data are written in the areas designated in steps 202 and 203. In step 209, the data size obtained in step 204 is compared to determine whether all data has been received. If not completed, the process returns to step 108. If complete, proceed to step 111. Step 111 is the same as the conventional one. In this embodiment, all the data 1 to 3 are achieved by the above control.
なお、上記実施例ではデータ転送コマンドにデータサ
イズを付加した場合を示したが、付加しなくてもステッ
プ202とステップ203の指定コマンドからもデータサイズ
は算出でき、上記実施例と同様の効果を奏する。Although the above embodiment shows the case where the data size is added to the data transfer command, the data size can be calculated from the specified commands of step 202 and step 203 without adding the data size, and the same effect as the above embodiment can be obtained. Play.
〔考案の効果〕 以上のようにこの考案によれば、データ1〜3を含む
領域を指定し、その中からデータ無格納領域を指定する
ことによって、複数回の領域指定とデータ転送コマンド
の実行を行なうことなく、従来に比べて1回の実行で実
現でき、又、領域指定ミスを減らし処理時間の短縮と信
頼性の高いデータ転送等が得られる効果がある。[Advantages of Device] As described above, according to the device, an area including data 1 to 3 is specified, and a non-data storage area is specified from among the areas, so that the area is specified and the data transfer command is executed a plurality of times. Can be realized by one-time execution as compared with the conventional method, and there is an effect that an area designation mistake can be reduced, processing time can be shortened, and highly reliable data transfer can be obtained.
第1図は、この考案の一実施例であるPROMプログラマの
構成を示すブロック図、第2図は第1図のPROMプログラ
マのデータ転送の制御手順を示すフローチャート、第3
図は第1図のデータメモリ内のデータ格納状態を示す説
明図、第4図は従来のPROMプログラマの構成を示すブロ
ック図、第5図は第4図のPROMプログラマのデータ転送
の制御手順を示すフローチャート、第6図は第4図のデ
ータメモリ内のデータ格納状態を示す説明図である。 図において、(1)はデータメモリ、(2)は制御部、
(3)はプログラムROM2、(4)はディスプレイ、
(5)はキーボード、(6)はPROM、(7)はICソケッ
ト、(8)はデータ読み書き制御部、(9)はインタフ
ェース部、(10)は外部装置を示す。 なお、図中、同一符号は同一、又は相当部分を示す。FIG. 1 is a block diagram showing a configuration of a PROM programmer which is an embodiment of the present invention, FIG. 2 is a flowchart showing a data transfer control procedure of the PROM programmer of FIG. 1, and FIG.
FIG. 4 is an explanatory diagram showing a data storage state in the data memory of FIG. 1, FIG. 4 is a block diagram showing a configuration of a conventional PROM programmer, and FIG. 5 is a data transfer control procedure of the PROM programmer of FIG. The flow chart shown in FIG. 6 is an explanatory diagram showing the data storage state in the data memory of FIG. In the figure, (1) is a data memory, (2) is a control unit,
(3) is the program ROM2, (4) is the display,
(5) is a keyboard, (6) is a PROM, (7) is an IC socket, (8) is a data read / write control unit, (9) is an interface unit, and (10) is an external device. In the drawings, the same reference numerals indicate the same or corresponding parts.
Claims (1)
えるデータメモリと、外部装置から指定された上記デー
タメモリ内の分割データ格納領域に対して、指定された
データサイズ分だけのデータの書き込みや読み込みを実
行する制御部とを備えたPROMプログラマにおいて、上記
制御部はデータメモリ上の領域指定時に、上記外部装置
から出力された最初の上記分割データ領域の先頭番地か
ら最後の上記分割データ領域の後尾番地、この領域内に
含まれるデータの格納されていないデータ無格納領域、
および実行データサイズを読み込み、複数の上記分割デ
ータ格納領域に対するデータの書き込み、またはデータ
の読み取りを一括して実行することを特徴とするPROMプ
ログラマ。1. A data memory having a divided data storage area divided into a plurality of pieces, and writing of data of a specified data size to a divided data storage area in the data memory specified by an external device. In a PROM programmer equipped with a control unit for executing reading and reading, the control unit specifies the area on the data memory and the first divided data area output from the external device to the last divided data area. The rear address, the data non-storage area where the data contained in this area is not stored,
A PROM programmer that reads the execution data size, writes the data to the plurality of divided data storage areas, or reads the data all at once.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1990117011U JPH087600Y2 (en) | 1990-11-06 | 1990-11-06 | PROM programmer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1990117011U JPH087600Y2 (en) | 1990-11-06 | 1990-11-06 | PROM programmer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0472398U JPH0472398U (en) | 1992-06-25 |
| JPH087600Y2 true JPH087600Y2 (en) | 1996-03-04 |
Family
ID=31864879
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1990117011U Expired - Lifetime JPH087600Y2 (en) | 1990-11-06 | 1990-11-06 | PROM programmer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH087600Y2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59151393A (en) * | 1983-02-17 | 1984-08-29 | Yokogawa Hokushin Electric Corp | Writer of read only memory |
-
1990
- 1990-11-06 JP JP1990117011U patent/JPH087600Y2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0472398U (en) | 1992-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH087600Y2 (en) | PROM programmer | |
| JPS6122817B2 (en) | ||
| JPS6145243B2 (en) | ||
| JPH022448A (en) | Terminal emulator | |
| JPS62117001A (en) | Programmable sequence controller input/output processing method | |
| JP5492573B2 (en) | Device / PLC simulator device, method, and program having trace function | |
| JP3355280B2 (en) | Display control system | |
| JP3781112B2 (en) | Programmable controller system | |
| JP2761788B2 (en) | Program conversion device and program transfer device | |
| JPH11259308A (en) | Programmable controller | |
| JP2527281Y2 (en) | PROM programmer controller | |
| JP2006018759A (en) | Control apparatus and method | |
| JPH04328605A (en) | Method and device for programming sequence program | |
| JP2572055Y2 (en) | microwave | |
| JPH0344702A (en) | Programmable controller | |
| JPS6324506Y2 (en) | ||
| JPH01180620A (en) | Disk controller | |
| JPS6144339B2 (en) | ||
| JPH041805A (en) | Method and device for controlling industrial robot | |
| JPS59155606U (en) | sequence controller | |
| JPH06110506A (en) | Program controller's comment storage method | |
| JPS6043737A (en) | CRT display device with local command function | |
| JPH11338764A (en) | Control device | |
| JPS6368955A (en) | Input/output controller | |
| JPS61165134A (en) | Instruction decoder circuit of single chip microcomputer |