この規格 プレビューページの目次
※一部、英文及び仏文を自動翻訳した日本語訳を使用しています。
序文
ISO (国際標準化機構) は、国家標準化団体 (ISO メンバー団体) の世界的な連合体です。国際規格の作成作業は通常、ISO 技術委員会を通じて行われます。技術委員会が設立された主題に関心のある各会員団体は、その委員会に代表される権利を有します。政府および非政府の国際機関も ISO と連携してこの作業に参加しています。
技術委員会によって採択された国際規格草案は、ISO 理事会によって国際規格として承認される前に、承認を得るために加盟団体に回覧されます。これらは、加盟団体の投票による少なくとも 75% の承認を必要とする ISO 手順に従って承認されます。
国際規格 ISO 4342 は、産業オートメーション システム ISO/TC 184 技術委員会によって作成されました。
ユーザーは、特に明記されていない限り、すべての国際規格は随時改訂されること、および他の国際規格への言及はその最新版を意味することに留意する必要があります。
0 はじめに
0.1 一般的な機能
0.1.1パート プログラムは、数値制御 (NC) の下で実行される操作の生成とコマンドを実行するために必要な言語および形式の命令の順序付けされたセットです。言語の命令は、プロセッサーとポストプロセッサーの 2 つの段階で順次処理されます。プロセッサー段階は数値制御される機械から実質的に独立しており、ポストプロセッサー段階は数値制御される機械および制御システムの機能を考慮します。
0.1.2数値制御は多くの種類の機械に適用されますが、この国際規格で定義されている言語は主に数値制御工作機械用に開発されたものです。したがって、「カッター」または「ツール」、および「ワークピース」または「部品」という言葉が使われています。 、言語の説明では、それぞれ作業要素と処理要素を示すために使用されます。この言語の予約語の多くも金属加工用語に由来しています。
0.1.3この国際規格は、部分的には有益であり、部分的には決定的なものであり、知識のないユーザーや潜在的なユーザーがサプライヤーと要件を話し合って定義できるようにすることを目的としています。実装者を支援するために、言語の正式な構文の説明が含まれています。
0.1.4この国際規格に記載されている言語は参照言語 (RL) です。各論理ページがさらなる標準化作業の単位となることを目的として、ステートメントまたは機能のタイプに応じて論理ページに分割されています。また、各論理ページが参照言語全体のコアまたはモジュールに属するものとして適切に識別されることも意図されている。
0.1.5プロセッサからの出力 (CLDATA - 「カッター位置データ」という用語に由来) は、ポストプロセッサにも入力され、別個の標準化文書の対象となります。 CLDATA の定義には、ポストプロセッサの機能を使用するために必要なプログラミング言語の一部が効果的に含まれており、CLDATA 標準 ISO 3592 は、言語全体のこの部分の主要な参照ソースです。
0.1.6一部のプロセッサーは、ワークショップ テクノロジー プロセッサーと接続できる場合があります。ワークショップ技術の使用を含む全体の文言の部分は、この国際規格の補遺で説明されます。
0.2 数値制御リファレンス言語
0.2.1数値制御 (NC) 参照言語 (RL) は、部品の機械加工用に開発された問題指向言語です。これは科学プログラミング言語に似ており、これらの機能の多くと計算能力の大部分が含まれています。さらに、RL は形状の記述と機械の動きのコマンドの両方を提供します。
0.2.2 RL は行で記述され、RL を記述する目的で想定されるコミュニケーションのレベルは、プログラミングの原稿段階です。ステートメントを終了するための特殊文字はありませんが、ステートメントがある行から次の行に続くことを示す特殊文字があります。この概念により、RL 自体の記述を、パンチカードや紙テープなどのさまざまな媒体上で RL を表現するための規則から区別できるようになります。パンチカード上で RL を表現するための規則は付録 A に記載されています。参照言語の構文の説明は付録 B に記載されています。
0.2.3 RL は記号言語です。つまり、エンティティをシンボル名に割り当て、そのエンティティをパート プログラム内でそのシンボル名によって後で参照することができます。算術値以外の場合、通常はシンボル名を再割り当てすることはできません。
0.2.4科学プログラミング言語とは異なり、RL には明示的または暗黙的な型の関連付けはありません。エンティティのタイプは、エンティティが定義されているステートメントのタイプによって決まります。
0.2.5エンティティの算術型は常に実数値を持ちます。つまり、実数の近似表現です。これには整数部分と小数部分があり、実装に応じて数値の最上位桁の特定の数のみを表すことができます。
0.2.6 RL の重要な機能は「ネスト」機能であり、これによりエンティティを記号名を使用する代わりに括弧内に定義できます。
1 適用範囲と適用分野
この国際規格は、デジタル コンピュータによって処理されて NC 機械プログラムを生成する、高レベルの記号部分プログラミング言語を定義しています。
この言語は主に数値制御工作機械用に開発されました。これは参照言語であり、必ずしも言語全体を実装することを意図したものではないことを意味します。言語の一部またはサブセットが特定の状況に合わせて実装されることが期待されます。
参考文献2件
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
Draft International Standards adopted by the technical committees are circulated to the member bodies for approval before their acceptance as International Standards by the ISO Council. They are approved in accordance with ISO procedures requiring at least 75 % approval by the member bodies voting.
International Standard ISO 4342 was prepared by Technical Committee ISO/TC 184, Industrial automation systems.
Users should note that all International Standards undergo revision from time to time and that any reference made herein to any other International Standard implies its latest edition, unless otherwise stated.
0 Introduction
0.1 General features
0.1.1 A part program is an ordered set of instructions in a language and in a format required to cause the generation and commands for operations to be carried out under numerical control (NC). The instructions of the language are processed sequentially in two stages, processor and postprocessor. The processor stage is substantially independent of the numerically controlled machine, and the postprocessor stage takes account of the features of the machine and control system to be numerically controlled.
0.1.2 Numerical control is applied to many types of machine, but the language defined in this International Standard has been developed primarily for numerically controlled machine tools — hence the words"cutter" or"tool", and"workpiece" or"part", are used in the description of the language to indicate the working element and processed element respectively. Many of the reserved words of the language are also derived from metalworking terminology.
0.1.3 This International Standard is partly informative and partly definitive, with the intention of enabling unsophisticated users and potential users to discuss and define their requirements with suppliers. The formal syntax description of the language has been included to aid implementers.
0.1.4 The language described in this International Standard is a reference language (RL). It has been divided into logical pages according to the type of statement or facility, with the intention that each logical page will become a unit of further standardization work. It is also intended that each logical page is suitably identified as belonging to the core or a module of the total reference language.
0.1.5 The output from the processor (CLDATA — derived from the term"cutter location data"), which is also input to the postprocessor, is the subject of separate standardization documents. The definition of CLDATA effectively encompasses the part programming language necessary for using capabilities of the postprocessor, and the CLDATA standard ISO 3592 is the prime reference source for this part of the total language.
0.1.6 Some processors may interface with workshop technology processors. That part of the total language which encompasses the use of workshop technology will be described in an addendum to this International Standard.
0.2 Numerical control reference language
0.2.1 The numerical control (NC) reference language (RL) is a problem-oriented language developed for the machining of parts. It is similar to scientific programming languages, and contains many of the facilities and a large part of the computational ability of these; additionally the RL provides for both the description of shapes and commands for movement of the machine.
0.2.2 The RL is written in lines, and for the purpose of describing the RL, the level of communication assumed is the manuscript stage of programming. There is no special character for statement termination, but there is a special character to signify that a statement continues from one line to the next. This concept permits the description of the RL itself to be distinguished from the rules for representation of the RL on various media such as punched cards or paper tape. The rules for representing the RL on punched cards are given in annex A. The syntax description of the reference language is given in annex B.
0.2.3 The RL is a symbolic language; that is, an entity may be assigned to a symbolic name and the entity referenced later in the part program by that symbolic name. For other than arithmetical values a symbolic name may not normally be reassigned.
0.2.4 Unlike scientific programming languages there are no explicit or implicit type associations in the RL. The type of entity is determined by the type of statement in which the entity is defined.
0.2.5 The arithmetical type of entity has always a real value, that is, it is an approximate representation of a real number. It has an integer part and a fractional part and can only represent a certain number of the most significant digits of the number, depending on the implementation.
0.2.6 A significant feature of the RL is the"nesting" facility, by which an entity may be defined in parenthesis instead of using a symbolic name.
1 Scope and field of application
This International Standard defines a higher-level symbolic part-programming language which is processed by a digital computer to produce a NC machine program.
The language has been developed primarily for numerically controlled machine tools. It is a reference language, which means that it is not necessar ly intended that the whole of the language be implemented. It s expected that parts, or subsets, of the language will be implemented to suit particular circumstances.
2 References
- ISO 646, Information processing — ISO 7-bit coded character set for information processing interchange.
- ISO 841, Numerical control of machines — Axis and motion nomenclature.
- ISO 3592, Numerical control of machines — NC processor output — Logical structure (and major words).
- ISO 4343, Numerical control if machines — NC processor output — Minor elements of 2000-type records (post-processor commands).