JPH08247U - Programmable controller programming device - Google Patents

Programmable controller programming device

Info

Publication number
JPH08247U
JPH08247U JP008900U JP890095U JPH08247U JP H08247 U JPH08247 U JP H08247U JP 008900 U JP008900 U JP 008900U JP 890095 U JP890095 U JP 890095U JP H08247 U JPH08247 U JP H08247U
Authority
JP
Japan
Prior art keywords
numerical
numerical data
data
display form
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP008900U
Other languages
Japanese (ja)
Inventor
俊夫 新居
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP008900U priority Critical patent/JPH08247U/en
Publication of JPH08247U publication Critical patent/JPH08247U/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

(57)【要約】 【課題】可視表示される数値データに“0”を付加する
か否かを、プログラミング装置の製作後もユーザーの好
みの数値データの表示形態に変更できるようにする。 【解決手段】指示手段100 により、表示される数値デー
タに“0”を付加するか否かを選択的に指示できるよう
にし、指示手段100 により選択された指示に応じて文字
処理手段200 が“0”を付加または“0”を付加せずに
表示する形態の数値データに文字処理し、これによって
出力手段300 には文字処理された所望の表示形態の数値
データが可視表示される。
(57) Abstract: It is possible to change whether or not to add "0" to numerically displayed numerical data to a user's favorite numerical data display mode even after manufacturing a programming device. SOLUTION: An instruction means 100 makes it possible to selectively instruct whether or not to add "0" to displayed numerical data, and a character processing means 200 indicates "0" according to the instruction selected by the instruction means 100. Character processing is performed on the numerical data in the form of displaying "0" or without adding "0", whereby the numerical data of the desired display form subjected to character processing is visually displayed on the output means 300.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案はプログラマブルコントローラとの間で情報の入出力を行うプログラミ ング装置に関する。 The present invention relates to a programming device that inputs and outputs information to and from a programmable controller.

【0002】[0002]

【従来の技術】[Prior art]

従来、この種のプログラミング装置において、プログラマブルコントローラと の間で入出力する数値データは製造メーカーが予め定めた形式で表示している。 プログラマブルコントローラの適用範囲が拡大するにつれて数値データを一定の 形式で表示することに対して不具合なことが現れてくる。例えば図4の(A), (B)は入力すべきシーケンスプログラムをラダー図の形態で表示する例を示し ているが、プログラムの構成要素に対して名付けた識別番号を数値データを用い て構成要素と共に表示している。このとき、図4の(A)に示すように、識別番 号には有効数字桁数を表すために数値“0”を付加する表示形式と、図4の(B )に示すように、有効数字のみを表示する表示形式の二つの形式をメーカー側で 用意している。数値データに“0”を付加する表示形式は各数値データが何桁で あるかが一目で分かるという利点があるが、その代わりに不要な“0”が付加表 示されるためにユーザーにとっては数値データが見ずらいという欠点がある。有 効数字のみを表示する形式では“0”が少ない分見やすくなっているが、各数値 データが桁数が把握できないという欠点がある。このように二つの表示形式には 一長一短があるのでメーカー側の好みに応じて表示形式を定めていた。 Conventionally, in this type of programming device, numerical data input / output to / from a programmable controller is displayed in a format predetermined by the manufacturer. As the scope of application of programmable controllers expands, the disadvantages of displaying numerical data in a fixed format will appear. For example, FIGS. 4 (A) and 4 (B) show an example of displaying the sequence program to be input in the form of a ladder diagram, but the identification numbers named for the components of the program are constructed using numerical data. It is displayed with the elements. At this time, as shown in FIG. 4 (A), a display format in which a numerical value “0” is added to the identification number to represent the number of significant digits, and as shown in FIG. 4 (B), The manufacturer prepares two types of display formats that display only numbers. The display format that adds "0" to the numerical data has the advantage that it is possible to see at a glance how many digits each numerical data has. However, instead of displaying unnecessary "0", the numerical value is displayed to the user. The drawback is that the data is difficult to see. In the format that displays only the effective figures, it is easy to see because there are few "0" s, but there is a drawback that the number of digits of each numerical data cannot be grasped. Thus, the two display formats have advantages and disadvantages, so the display format was determined according to the manufacturer's preference.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

ところが、このような表示形式はプログラミング装置の製作時に固定的に設定 されてしまうので、製作後は表示掲記を変更できないという問題点が従来のプロ グラミング装置にはあった。 そこで、本考案の目的は、このような問題点を解決し、プログラミング装置の 製作後もユーザー側が好みの数値データの表示形式に自由に変更することができ るプログラミング装置を提供することにある。 However, since such a display format is fixedly set when the programming device is manufactured, the conventional programming device has a problem that the display notice cannot be changed after the manufacturing. Therefore, an object of the present invention is to solve such a problem and to provide a programming device in which the user can freely change the display format of the desired numerical data even after the programming device is manufactured.

【0004】[0004]

【課題を解決するための手段】[Means for Solving the Problems]

かかる目的を達成するために本考案は、プログラマブルコントローラとの間で 授受する数値データを含むシーケンスプログラム情報を可視出力可能なプログラ ミング装置において、出力すべき数値データの上位桁に、有効数値桁数を示すた めの数値0を付加する第1の数値表示形態と、前記出力すべき数値データに前記 数値0を付加しない第2の数値表示形態とを択一的に選択指示する指示手段と、 シーケンスプログラムの数値データが第1の数値表示形態でプログラミングされ ているとき、前記指示手段により第2の数値表示形態が指示されると、シーケン スプログラムの数値データを第2の数値表示形態に文字処理し、シーケンスプロ グラムの数値データが第2の数値表示形態でプログラミングされているとき、前 記指示手段により第1の数値表示形態が指示されると、シーケンスプログラムの 数値データを第1の数値表示形態に文字処理する文字処理手段とを具えたことを 特徴とする。 In order to achieve such an object, the present invention provides a programmable device capable of visually outputting sequence program information including numerical data transmitted / received to / from a programmable controller. A first numerical display form for adding the numerical value 0 to indicate that, and a second numerical display form for not adding the numerical value 0 to the numerical data to be output, When the second numerical display form is instructed by the instructing means while the numerical data of the sequence program is programmed in the first numerical display form, the numerical data of the sequence program is displayed in the second numerical display form. When processed and the numerical data of the sequence program is programmed in the second numerical display form, When the first numerical value display mode is instructed, characterized in that comprises a character processing means for character processing numerical data of the sequence program to a first numerical display form.

【0005】 本発明によれば、指示手段により出力すべき数値データに“0”を付加するか 否かの指示を行うと、文字処理手段が、所望の表示形態の数値データに文字処理 を行うので、ユーザーはプログラミング装置の製造後であってもプログラミング 装置の使用状況に対応させて数値データの表示形態を指示手段により選択するこ とができる。According to the present invention, when the instruction means gives an instruction as to whether or not “0” is added to the numerical data to be output, the character processing means performs the character processing on the numerical data in the desired display form. Therefore, even after the programming device is manufactured, the user can select the display form of the numerical data by the instructing means according to the usage status of the programming device.

【0006】[0006]

【考案の実施の形態】[Embodiment of device]

以下、図面を参照して本考案を詳細に説明する。図1は本考案実施例の基本構 成を示す。図1において、100 は出力すべき数値データの上位桁に、有効数字桁 数を示すための数値0を付加する第1の数値表示形態と、前記出力すべき数値デ ータに数値0を付加しない第2の数値表示形態とを択一的に選択指示する指示手 段である。200 は指示手段100 に指示された表示形態の数値データとなるように 出力すべき数値データを文字処理する文字処理手段である。300 は文字処理手段 200 から出力される表示すべきデータを表示装置に可視表示する出力装置である 。 Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 shows the basic structure of the embodiment of the present invention. In FIG. 1, 100 is a first numeric display form in which a numeric value 0 is added to the upper digit of the numeric data to be output to indicate the number of significant digits, and a numeric value 0 is added to the numeric data to be output. This is an instruction means for selectively selecting and instructing the second numerical display form that does not exist. Reference numeral 200 is a character processing means for character-processing the numerical data to be output so as to be the numerical data in the display mode instructed by the instructing means 100. An output device 300 visually displays on the display device the data to be displayed output from the character processing means 200.

【0007】[0007]

【実施例1】 図2は本考案実施例の具体的構成を示す。図2において、1はシーケンスプロ グラムや各種データを入力するキーボードであり、数値データの表示形態を指示 する指示キー1-1 が設けられている。2は中央演算処理装置(CPU) であり、プロ グラマブルコントローラとインターフェース7を介して情報の授受を行うと共に 、キーボード1から入力された情報やプログラマブルコントローラから送られて くる情報を表示装置5やプリンタ6に可視出力させる。3は図3の(A),(B )に示す制御手順の他、プログラミング装置が行う周知の処理についての制御手 順を格納するリードオンリメモリ(ROM) である。4はキーボード1から入力され た情報やプログラマブルコントローラから送られてきた情報を一時記憶するラン ダクアクセスメモリ(RAM) である。これらの情報の中から数値データが指示キー 1-1 に指示された表示形態の数値データに変換され、出力すべきデータとしてRA M 4に再記憶される。Embodiment 1 FIG. 2 shows a specific configuration of an embodiment of the present invention. In FIG. 2, reference numeral 1 is a keyboard for inputting a sequence program and various data, and an instruction key 1-1 for instructing the display form of numerical data is provided. Reference numeral 2 denotes a central processing unit (CPU), which exchanges information with a programmable controller via an interface 7, and displays information input from the keyboard 1 or information sent from a programmable controller on a display device 5 or The printer 6 is made to output visually. Reference numeral 3 denotes a read only memory (ROM) for storing control procedures for well-known processes performed by the programming device in addition to the control procedures shown in FIGS. 3 (A) and 3 (B). A random access memory (RAM) 4 temporarily stores information input from the keyboard 1 and information sent from the programmable controller. Numerical data is converted into numerical data in the display form designated by the instruction keys 1-1 from these information, and is stored again in the RAM 4 as data to be output.

【0008】 以下、図3の(A),(B)のフローチャートを参照して本実施例の動作を説 明する。ユーザーが指示キー1-1 により“0”を数値データに付加する表示形態 を指示入力するとCPU 2はこの指示をRAM 4に記憶しておく。次に、CPU 2はキ ーボード1から入力される制御命令に応じた従来より周知の処理、例えばシーケ ンスプログラムの入力処理を実行する。入力されたシーケンスプログラムを表示 する場合は、CPU 2は表示すべきデータが数値データであることを識別した後、 RAM 4に記憶された指示キー1-1 の指示内容に応じて、数値データの文字処理を 行う(ステップS1〜S3)。本実施例においては“0”文字付加が指示されている ので、CPU 2は図3の(B)に示す手順に従って数値データに“0”を有効桁数 を示す個数だけ付加した後、この文字処理後の数値データを表示装置5またはプ リンタ6に可視出力する(ステップS3-S5-S6)。以下、CPU 2は全ての表示すべ きデータに対して上述の手順を繰り返し、出力すべき数値データの全てに対して “0”文字を付加する文字処理を行って本制御手順を終了する。数値データに“ 0”文字を付加せずそのまま表示する旨の指示をキー1-1 が行っているとCPU 2 が判断したときには、表示すべきデータをRAM 4からそのまま、表示装置5また はプリンタ6に転送して可視表示する(ステップS3-S4-S6)。The operation of this embodiment will be described below with reference to the flow charts of FIGS. 3A and 3B. When the user inputs an instruction of a display mode in which “0” is added to the numerical data by using the instruction keys 1-1, the CPU 2 stores this instruction in the RAM 4. Next, the CPU 2 executes a conventionally well-known process according to a control command input from the keyboard 1, for example, a sequence program input process. When displaying the input sequence program, the CPU 2 identifies that the data to be displayed is numerical data, and then, according to the instruction content of the instruction key 1-1 stored in the RAM 4, Character processing is performed (steps S1 to S3). In the present embodiment, since the addition of the "0" character is instructed, the CPU 2 adds "0" to the numerical data according to the procedure shown in FIG. The processed numerical data is visually output to the display device 5 or the printer 6 (steps S3-S5-S6). After that, the CPU 2 repeats the above-mentioned procedure for all the display-skipping data, performs the character processing for adding the "0" character to all the numerical data to be output, and ends the control procedure. When the CPU 2 determines that the key 1-1 is instructing to display the numerical data as it is without adding the "0" character, the data to be displayed is kept as it is from the RAM 4 and the display device 5 or the printer. It is transferred to 6 and displayed visually (steps S3-S4-S6).

【0009】 図3の(B)は図3の(A)に示すステップS5の“0”文字を数値データに付 加する制御手順を示す。CPU 2はまず、数値データに付加すべき“0”の個数を 算出する。例えば、数値データ“12”を有効桁4桁で表す場合には、数値データ “12”の"12"を真数とする常用対数の切り上げ整数値として“2”(桁)を得る 。この“2”が数値データの桁数を示すので、付加すべき“0”の個数は4−2 =2(個)と算出する(ステップS10 )。次に、数値データ"12"を文字データ"1 2"に変換した後2個の“0”文字からなる文字データ“00" と文字データ"12"の 加算を行い、"0012"の文字データを算出する(ステップS11-S12 )。このような 手順で文字処理された文字データ“0012" が表示すべきデータとして用いられる 。FIG. 3B shows a control procedure for adding the “0” character to the numerical data in step S5 shown in FIG. The CPU 2 first calculates the number of "0" s to be added to the numerical data. For example, when the numerical data "12" is represented by 4 significant digits, "2" (digit) is obtained as a rounded up integer value of the common logarithm with "12" of the numerical data "12" as an antilogarithm. Since this "2" indicates the number of digits of the numerical data, the number of "0" s to be added is calculated as 4-2 = 2 (pieces) (step S10). Next, after converting the numerical data "12" into character data "1 2", the character data "00" consisting of two "0" characters and the character data "12" are added, and the character data "0012" is added. Is calculated (steps S11-S12). The character data “0012” that has been character-processed by such a procedure is used as the data to be displayed.

【0010】 本実施例においては、そのまま表示可能な数値データに“0”の文字を付加す る例を示したが、数値データに“0”を付加して表示を行うプログラミング装置 の場合は、表示すべき数値データの最上位桁から“0”文字のみを削除すれば、 “0”を除く数字のみの表示データとすることが可能となる。In this embodiment, an example in which the character “0” is added to the numerical data that can be displayed as it is is shown. However, in the case of a programming device that adds “0” to the numerical data for display, If only the "0" character is deleted from the most significant digit of the numerical data to be displayed, it is possible to make the display data only numerical characters excluding "0".

【0011】[0011]

【考案の効果】[Effect of device]

以上に説明したように本考案によれば、出力すべき数値データに“0”を付加 するか否かを指示手段により選択すると、この指示手段に指示に応じて文字処理 手段が所望の表示形態の数値データに文字処理を行うので、ユーザーはプログラ ミング装置の製造後であってもプログラミング装置の使用状況に対応させて、シ ーケンスプログラムの数値データの表示形態を変更することができる。 As described above, according to the present invention, when the instruction means selects whether or not to add “0” to the numerical data to be output, the character processing means responds to the instruction to the desired display form. Since the character data is processed on the numerical data of, the user can change the display form of the numerical data of the sequence program according to the usage status of the programming device even after the programming device is manufactured.

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

【図1】本考案実施例の基本構成を示すブロック図FIG. 1 is a block diagram showing a basic configuration of an embodiment of the present invention.

【図2】本考案実施例の具体的な構成を示す回路図FIG. 2 is a circuit diagram showing a specific configuration of an embodiment of the present invention.

【図3】図2に示すCPU 2の動作を説明するための図で
あり、(A)はプログラミング装置の制御手順を示すフ
ローチャート、(B)は“0”文字を数値データに付加
する制御手順を示すフローチャート
3A and 3B are diagrams for explaining the operation of the CPU 2 shown in FIG. 2, where FIG. 3A is a flowchart showing a control procedure of the programming device, and FIG. 3B is a control procedure for adding a “0” character to numerical data. Flowchart showing

【図4】従来装置の表示例を示す図であり、(A)は
“0”文字を付加して表示した説明図、(B)は“0”
文字を付加せずに表示する説明図
FIG. 4 is a diagram showing a display example of a conventional device, (A) is an explanatory diagram in which a “0” character is added and displayed, and (B) is a “0”.
Explanatory drawing to display without adding characters

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

1 キーボード 1-1 指示キー 2 CPU 3 ROM 4 RAM 5 表示装置 6 プリンタ 1 keyboard 1-1 instruction key 2 CPU 3 ROM 4 RAM 5 display device 6 printer

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】プログラマブルコントローラとの間で授受
する数値データを含むシーケンスプログラム情報を可視
出力可能なプログラミング装置において、 出力すべき数値データの上位桁に、有効数値桁数を示す
ための数値0を付加する第1の数値表示形態と、前記出
力すべき数値データに前記数値0を付加しない第2の数
値表示形態とを択一的に選択指示する指示手段と、 シーケンスプログラムの数値データが第1の数値表示形
態でプログラミングされているとき、前記指示手段によ
り第2の数値表示形態が指示されると、シーケンスプロ
グラムの数値データを第2の数値表示形態に文字処理
し、シーケンスプログラムの数値データが第2の数値表
示形態でプログラミングされているとき、前記指示手段
により第1の数値表示形態が指示されると、シーケンス
プログラムの数値データを第1の数値表示形態に文字処
理する文字処理手段とを具えたことを特徴とするプログ
ラマブルコントローラのプログラミング装置。
1. In a programming device capable of visually outputting sequence program information including numerical value data transmitted and received to and from a programmable controller, a numerical value 0 for indicating an effective numerical value digit number is set in an upper digit of numerical value data to be outputted. Instructing means for selectively selecting the first numerical display form to be added and the second numerical display form in which the numerical value 0 is not added to the numerical data to be output, and the numerical data of the sequence program are the first. When the second numerical display form is instructed by the instructing means while being programmed in the numerical display form, the numerical data of the sequence program is character-processed to the second numerical display form, and the numerical data of the sequence program is changed. When programming in the second numerical display form, the first numerical display form is instructed by the instructing means. That the programmable controller programming apparatus, characterized in that it comprises a character processing means for character processing numerical data of the sequence program to a first numerical display form.
JP008900U 1995-08-24 1995-08-24 Programmable controller programming device Pending JPH08247U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP008900U JPH08247U (en) 1995-08-24 1995-08-24 Programmable controller programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP008900U JPH08247U (en) 1995-08-24 1995-08-24 Programmable controller programming device

Publications (1)

Publication Number Publication Date
JPH08247U true JPH08247U (en) 1996-02-06

Family

ID=18528794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP008900U Pending JPH08247U (en) 1995-08-24 1995-08-24 Programmable controller programming device

Country Status (1)

Country Link
JP (1) JPH08247U (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5346704A (en) * 1976-10-08 1978-04-26 Nec Corp Tape-reel holder
JPS60176105A (en) * 1984-02-23 1985-09-10 Toshiba Corp Program loader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5346704A (en) * 1976-10-08 1978-04-26 Nec Corp Tape-reel holder
JPS60176105A (en) * 1984-02-23 1985-09-10 Toshiba Corp Program loader

Similar Documents

Publication Publication Date Title
WO1989002114A1 (en) Data processing system
JPS60262204A (en) Programmable controller
JP3461400B2 (en) Sequence control program creation device
US5130939A (en) Compact electronic calculator capable of displaying matrix element data under actual matrix form
JPH08247U (en) Programmable controller programming device
JP2607480B2 (en) How to create a graph
JPH0254305A (en) Programming device for programmable controller
JP2589362B2 (en) Program type information output control method
JP2971251B2 (en) SFC programming device
JP5141208B2 (en) Prime factorization calculator
JP2007252162A (en) Motor drive device
JP3064719B2 (en) Graph creation device
JPH02133822A (en) Data processor
JP2526696B2 (en) Programmable controller monitoring method and monitoring device
JPH04105101A (en) Abnormality processing form setting method for controller
JP2695082B2 (en) Electronic device with graph shadowing function
JPH08339208A (en) Program preparation device for programmable controller
JP3067166B2 (en) Digital controller
JP2965410B2 (en) Display control device
JPS5947680A (en) Electronic graph producer
JPH0633207U (en) NC program number list display device
JPH01236309A (en) Display device for numerical controller
JPH08147010A (en) Programming device and its sequence program display method for programmable controller
JPH1115622A (en) Spreadsheet instructing method and its device
JPS62293467A (en) Document processor