Industrial automation systems and integration — Product data representation and exchange — Part 21: Implementation methods: Clear text encoding of the exchange structure

Specifies an exchange structure format using a clear text encoding of product data for which the conceptual model is specified in the EXPRESS language. The file format is suitable for the transfer of product data among computer systems. Specifies the mapping from this language to the syntax of the exchange structure.

Systèmes d'automatisation industrielle et intégration — Représentation et échange de données de produits — Partie 21: Méthodes de mise en application: Encodage en texte clair des fichiers d'échange

General Information

Status
Withdrawn
Publication Date
14-Dec-1994
Withdrawal Date
14-Dec-1994
Current Stage
9599 - Withdrawal of International Standard
Completion Date
24-Jan-2002
Ref Project

Relations

Buy Standard

Standard
ISO 10303-21:1994 - Industrial automation systems and integration -- Product data representation and exchange
English language
57 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IS0
INTERNATIONAL
10303-21
STANDARD
First edition
1994-l 2-l 5
Industrial automation systems and
- Product data representation
integration
and exchange -
Part 21:
Implementation methods: Clear text encoding
of the exchange structure
- Reprksen ta tion
Sys tkmes d ‘automa tisa tjon indus trielle et in tkgra tion
et khange de don&es de produits -
Partie 2 7: Mkthodes de mise en application: Encodage en texte c/air des
fichiers d’kchange
Reference number
IS0 10303-21:1994(E)

---------------------- Page: 1 ----------------------
OISO
IS0 10303=21:1994(E)
Paee
Contents
1
1 Scope .
1
2 Normative references
..............................................
3 Definitions .
3.1 Terms defined in IS0 8859-l .
3.2 Terms defined in IS0 10646
......................................
3.3 Terms defined in IS0 10303-l
.....................................
3.4 Terms defined in IS0 10303-11
....................................
3.5 Terms defined in IS0 10303-44
....................................
3.6 Other definitions
..............................................
4
4 Abbreviations
...................................................
5 Exchange structure fundamental concepts and assumptions .
5.1 Introduction
................................................
5.2 Notational and typographical conventions .
5.3 Conformance
................................................
6 Formal definitions .
6.1 Formal notation
..............................................
6.2 Basic alphabet definition
.........................................
6.3 Exchange structure
............................................
6.4 Definition of tokens
............................................
6.5 WSN of the exchange structure
....................................
6.6 Token separators
.............................................
6.7 Parameter lists
...............................................
7
7 Tokens .
7
7.1 Special tokens
...............................................
8
7.2 Keywords .
8
7.3 Simple data types
.............................................
9
7.3.1 Integer
................................................
9
7.3.2 Real .
10
7.3.3 String
.................................................
12
7.3.4 Entity instance names .
13
7.3.5 Enumeration values
.........................................
13
7.3.6 Binary
.................................................
0 IS0 1994
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or
utilized in any form or by any means, electronic or mechanical, including photocopying and
microfilm, without permission in writing from the publisher.
International Organization for Standardization
Case Postale 56 l CH-1211 Genkve 20 l Switzerland
Printed in Switzerland
ii

---------------------- Page: 2 ----------------------
IS0 10303=21:1994(E)
OISO
14
8 Structured data types
..............................................
14
9 Header section
..................................................
15
9.1 Header section entities .
15
9.2 Header section schema .
15
9.2.1 file description .
16
...................................
9.2.2 file-name
17
9.2.3 file-schema l : : : : : : : : : :
18
9.3 User-defined header section entities* 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
c
................................................... 18
-10 Datasection
18
10.1 Data section entities instances
.....................................
18
10.2 Optional values
..............................................
19
10.3 Scope structure
..............................................
19
10.3.1 Syntax
................................................
................. 19
10.3.2 References to entity instances within a SCOPE structure
19
10.3.3 Behaviour
..............................................
21
10.4 Data section user-defined entity instances .
21
11 Mapping from EXPRESS to the exchange structure .
21
11.1 Mapping of EXPRESS data types .
22
11.1.1 Mapping of EXPRESS simple data types .
24
11.1.2 List .
25
11.1.3 Array .
11.1.4 Set . 26
26
11.1.5 Bag .
27
11.1.6 Simple defined types
.......................................
27
11.1.7 Enumeration
............................................
28
11.1.8 Select data types
..........................................
30
11.2 Mapping of EXPRESS entity data types .
31
11.2.1 Entity with explicit attributes .
32
11.2.2 Entity with explicit optional attributes .
33
11.2.3 Entity with derived attributes .
34
11.2.4 Entity with other entities as attributes .
................ 34
11.2.5 Entities defined as subtypes or supertypes of other entities
............... 40
11.2.6 Entities with attributes redefined as an effect of a DERIVE
40
11.2.7 Attributes redefined as an effect of a subtype declaration .
..................... 41
11.2.8 Mapping of the EXPRESS element of NUMBER
41
11.2.9 Entity WHERE rules .
42
11.2.10 Entity with INVERSE attributes .
42
11.3 Mapping of the EXPRESS element of SCHEMA .
42
11.4 Mapping of the EXPRESS element of CONSTANT .
42
11.5 Mapping of the EXPRESS element of RULE
...........................
42
11.6 Remarks .
42
12 Printed representation of exchange structures .
. . .
111

---------------------- Page: 3 ----------------------
@ISO
IS0 10303=21:1994(E)
Annexes
44
.....................................
A File representation on storage media
44
A. 1 Record-oriented transport content .
44
A. 1.1 Transport format for magnetic tape media .
...................... 45
A. 1.2 Other storage media with record-oriented storage
45
A.2 Line-oriented transport content .
45
A.2.1 Transport format for diskette media .
45
A.2.2 Othermedia .
46
A.3 Treatment of multi-volume files .
c
-
47
B WSN notational conventions .
49
C Information object registration .
49
C. 1 Document identification .
49
C.2 Schema identification .
50
D Basic alphabet and graphic character set .
51
E Guidelines for printing the exchange structure .
51
E. 1 Explicit print control directives .
51
E.2 Implicit print control directives .
53
.................................
F Example of a complete exchange structure
53
F.l Introduction .
53
F.2 Example schema .
54
F.3 Example shortnames .
54
F.4 Example exchange structure .
56
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures
29
Figure 1 Example 25 .
30
Figure 2 Example 27 .
Tables
6
............................
Table 1 - WSN defining subsets of the basic alphabet
7
Table2-WSNoftokendefinitions .
8
...................................
Table 3 - WSN of the exchange structure
11
Table 4 - String control directives .
22
....................................
Table 5 - Quick reference mapping table
42
Table 6 - Print control directives .
47
........................
Table B. 1 - Wirth Syntax Notation (WSN) defined in itself
49
..........................
Table D. 1 - Character set used in the exchange structure
1v

---------------------- Page: 4 ----------------------
IS0 10303-21:1994(E)
aIso
Foreword
The International Organization for Standardization (ISO) is a worldwide federation of national standards
bodies (IS0 member bodies). The work of preparing International Standards is normally carried out
through IS0 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. IS0
collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
--
Draft International Standards adopted by technical committees are circulated to the member bodies for
voting. Publication as an International Standard requires approval by at least 75% of the member bodies
casting a vote.
International Standard IS0 10303-21 was prepared by Technical Committee IS0 TC184, Industrial
automation systems and integration, Subcommittee SC4, Industrial data and global manufacturing
languages.
IS0 10303 consists of the following parts under the general title Zndustrial automation systems and
integration - Product data representation and exchange:
- Part 1 Overview and fundamental principles;
- Part 11 Description methods: The EXPRESS language reference manual;
- Part 21 Implementation methods: Clear text encoding of the exchange structure;
- Part 22 Implementation methods: Standard data access interface;
- Part 31 Conformance testing methodology and framework: General concepts;
- Part 32 Conformance testing methodology and framework: requirements on testing laboratories and
clients;
- Part 41 Integrated generic resources: Fundamentals of product description and support;
- Part 42 Integrated generic resources: Geometric and topological representation;
- Part 43 Integrated generic resources: Representation structures;
- Part 44 Integrated generic resources: Product structure configuration;
- Part 45 Integrated generic resources: Materials;
- Part 46 Integrated generic resources: Visual presentation;
- Part 47 Integrated generic resources: Shape variation tolerances;
Process structure and properties;
- Part 49 Integrated generic resources:
V

---------------------- Page: 5 ----------------------
OISO
IS0 10303-21:1994(E)
- Part 101, Integrated application resources: Draughting;
- Part 104, Integrated application resources: Finite element analysis;
- Part 105, Integrated application resources: Kinematics;
- Part 201, Application protocol: Explicit draughting;
- Part 202, Application protocol: Associative draughting;
c
-
- Part 203, Application protocol: Configuration controlled design;
- Part 207, Application protocol: Sheet metal die planning and design;
- Part 210, Application protocol: Printed circuit assembly product design data;
- Part 213, Application protocol: Numerical control process plans for machined parts.
The structure of this International Standard is described in IS0 10303-l. The numbering of the parts of
this International Standard reflects its structure:
- Part 11 specifies the description method;
- Parts 2 1 and 22 specify the implementation methods;
- Parts 3 1 and 32 specify the conformance testing methodology and framework;
- Parts 4 1 to 49 specify the integrated generic resources;
- Parts 101 to 105 specify the integrated application resources;
- Parts 201 to 213 specify the application protocols.
Should further parts be published, they will follow the same numbering pattern.
Annexes A, B and C form an integral part of this part of IS0 10303. Annexes D, E, and F are for
information only.

---------------------- Page: 6 ----------------------
IS0 10303-21:1994(E)
OISO
Introduction
IS0 10303 is an International Standard for the computer-interpretable representation and exchange of
product data. The objective is to provide a neutral mechanism capable of describing product data
throughout the life cycle of a product, independent from any particular system. The nature of this
description makes it suitable not only for neutral file exchange, but also as a basis for implementing and
sharing product databases and archiving.
This International Standard is organized as a series of parts, each published separately. The parts of IS0
L 10303 fall into one of the following series: description methods, integrated resources, application
protocols, abstract test suites, implementation methods, and conformance testing. The series are described
in IS0 10303-l. This part of IS0 10303 is a member of the implementation methods series.
This part of IS0 10303 specifies a mechanism that allows product data represented using the EXPRESS
language, specified in IS0 10303-l 1, to be transferred from one computer system to another.
Major subdivisions in this part of IS0 10303 are
- specification of the exchange structure syntax;
- mapping from an EXPRESS schema onto this syntax.
NOTE - The examples of EXPRESS usage in this part of IS0 10303 do not conform to any particular style
rules. Indeed, the examples sometimes use poor style to conserve space or to concentrate on the important
points. The examples are not intended to reflect the content of the information models defined in other parts
of this International Standard. They are crafted to show particular features of EXPRESS or of the exchange
structure. Many examples are annotated in a way that is not consistent with the syntax rules of this part of
IS0 10303. These annotations are introduced by symbolic arrows, either horizontal ‘----> ‘, or vertical.
These annotations should be ignored when considering the parse rules. Any similarity between the examples
and the normative models specified in other parts of this International Standard should be ignored. Several
mapping examples have been provided throughout this document. Additional spaces and new lines have been
inserted into some of these examples to aid readability. These spaces and new lines need not appear in an
exchange structure.
vii

---------------------- Page: 7 ----------------------
IS0 10303-21:1994(E)
OISO
. . .
Vlll

---------------------- Page: 8 ----------------------
IS0 10303-21: 1994(E)
INTERNATIONAL STANDARD OISO
Industrial automation systems and integration -
Product data representation and exchange -
Part 21: Implementation methods:
Clear text encoding of the exchange structure
--
1 Scope
This part of IS0 10303 specifies an exchange structure format using a clear text encoding of product data
for which the conceptual model is specified in the EXPRESS language (IS0 10303-l 1). The file format
is suitable for the transfer of product data among computer systems.
The mapping from the EXPRESS language to the syntax of the exchange structure is specified. Any
EXPRESS schema can be mapped onto the exchange structure syntax.
2 Normative references
The following standards contain provisions which, through reference in this text, constitute provisions
of this part of IS0 10303. At the time of publication, the editions indicated were valid. All standards are
subject to revision, and parties to agreements based on this part of IS0 10303 are encouraged to
investigate the possibility of applying the most recent editions of the standards indicated below. Members
of IEC and IS0 maintain registers of currently valid International Standards.
IS0 3788: 1990, Information processing - 9-Track, I2,7 mm (0.5 in) wide magnetic tape for information
interchange using phase encoding at 126Jpm,m (32OOftpi) - 63 cpm,m (1600 cpi).
IS0 8601: 1988, Data elements and interchange formats - Information interchange - Representation of
dates and times.
IS0 8859-l: 1987, Information processing - 8 bit single-byte coded graphic character sets - Part 1.
Latin alphabet No. 1.
IS0 8859-2: 1987,
Information processing - 8 bit single-byte coded graphic character sets -- Part 2.
Latin alphabet No. 2.
IS0 8859-3: 1987, Information processing - 8 bit single-byte coded graphic character sets - Part 3.
Latin alphabet No. 3.
8 bit single-byte coded graphic character sets - Part 4.
IS0 8859-4: 1987, Information processing -
Latin alphabet No. 4.
1

---------------------- Page: 9 ----------------------
IS0 10303=21:1994(E) OISO
IS0 8859-5: 1987, Information processing
8 bit single-byte coded graphic character sets - Part 5.
LatinKyrillic alphabet.
IS0 8859-6: 1987, Information processing 8 bit single-byte coded graphic character sets - Part 6.
Latin/Arabic alphabet.
IS0 8859-7: 1987, Information processing 8 bit single-byte coded graphic character sets - Part 7.
Latin/Greek alphabet.
IS0 8859-8: 1981, Information processing 8 bit single-byte coded graphic character sets - Part 8.
Lafin/Hebrew alphabet.
IS0 8859-9: 1987, Information processing - 8 bit single-byte coded graphic character sets - Part 9.
Latin alphabet No. 5.
IS0 10303- 1: 1994, Industrial automation systems - Product data representation and exchange - Part
1: Overview and fundamental principles.
- Product data representation and exchange - Part
IS0 10303-I 1: 1994, Industrial automation systems
II: irhe EXPRESS language reference manual.
IS0 10303-44: 1994, Industrial automation systems - Product data representation and exchange - Part
44: Product structure configuration.
- Multiple octet coded character set - Part 1.
ISOIIEC 10646-1: 1993-1, Information Processing
Architecture and basic multilingual plane.
3 Definitions
3.1 Terms defined in IS0 8859-l
This part of IS0 10303 makes use of the following terms defined in IS0 8859-l.
.
- byte
7
- character;
- graphic character.
3.2 Terms defined in IS0 10646
This part of IS0 10303 makes use of the following term defined in IS0 10646.
- basic multilingual plane.

---------------------- Page: 10 ----------------------
IS0 10303-21:1994(E)
OISO
3.3 Terms defined in IS0 103034
This part of IS0 10303 makes use of the following term defined in IS0 10303-l.
- application protocol;
- exchange structure.
3.4 Terms d efined in IS0 1030341
--
makes use of the following terms defined in IS0 10303-l 1.
This part of IS0 10303
- data type;
- entity;
- token.
3.5 Terms defined in IS0 10303-44
This part of IS0 10303 makes use of the following terms defined in IS0 10303-44.
- directed acyclic graph;
- leaf node;
- node;
- tree.
3.6 Other definitions
For the purposes of this part of IS0 10303, the following definitions apply.
3.6.1 basic alphabet: the set of characters G(02/00) through G(07/14) of IS0 8859-l.
3.6.2 clear text encoding: the encoding of information that only uses g-bit byte values corresponding to
the basic alphabet.
3.6.3 control directive: a sequence of characters in the basic alphabet.
3.6.4 keyword: a special sequence of characters identifying an entity or a defined type in the exchange
structure.
3.6.5 literal: an item in a language definition that stands for itself.
3.6.6 section: a collection of data of the same functional category of information.

---------------------- Page: 11 ----------------------
IS0 10303=21:1994(E)
3.6.7 sequential file: a file that can only be accessed in a sequential manner.
3.6JS token separator: a sequence of one or more &bit bytes that separate any two tokens.
4 Abbreviations
For the purposes of this part of IS0 10303, the following abbreviations apply:
--
BMP Basic multilingual plane;
WSN Wirth Syntax Notation.
5 Exchange structure fundamental concepts and assumptions
5.1 Introduction
The exchange structure is described by an unambiguous, context-free grammar to facilitate parsing by
software. The grammar is expressed in Wirth Syntax Notation that is described in annex B. The form of
product data in the exchange structure is specified using a mapping from the EXPRESS language.
5.2 Notational and typographical conventions
Any quotation marks used in this part of IS0 10303 are not part of the text that appears in the exchange
structure but serve to delimit that text. This statement applies to all places in the text where quotation
marks are used. Table 2, table 3, and table 4 form an exception to this rule as the quotation mar-h used
in those tables form part of the WSN rules.
In IS0 8859, each character is assigned an identifying name. When that name is used in this part of IS0
10303, it is typeset in italics to distinguish if from ordinary text. Thus comma is used to refer to ‘I)“) low
line refers to “J and capital letter A refers to “A”.
Within examples in this part of IS0 10303, annotation is introduced by the sequence ----> where
clarification is required.
5.3 Conformance
Two levels of conformance are specified:
- syntactical conformance of the exchange structure: an exchange structure conforms to IS0 10303-2 1
if the requirements of this part of IS0 10303 are satisfied;
- schema conformance of the exchange structure: the product data represented in the exchange
structure conforms to the schema listed in the header section of the exchange structure if all

---------------------- Page: 12 ----------------------
IS0 10303-21:1994(E)
OISO
requirements and constraints of this schema are satisfied and the mapping requirements defined in
clauses 10 and 11 of this part of IS0 10303 are satisfied.
Syntactical conformance is a prerequisite for schema conformance.
Two classes of syntactical conformance are defined by this part of IS0 10303, depending on the method
chosen for the encoding of entity instances whose entity types are subtypes/sypertypes (see 11.2.5).
An implementation that claims syntactical conformance to this part of IS0 10303 shall read or write files
or both that exhibit syntactical conformance in (at least) one of these two conformance classes.
--
An implementation that claims schema conformance to this part of IS0 10303 shall read or write files
or both that exhibit schema as well as syntactical conformance.
6 Formal definitions
6.1 Formal notation
Wirth Syntax Notation (WSN) is used in this part of IS0 10303 to specify the syntax of the exchange
structure in a formal notation. WSN is described in annex B. Literals appearing within this notation are
delimited by quotation marks.
6.2 Basic alphabet definition
The alphabet of the exchange structure is defined as the characters from G(02/00) to G(07/14) of IS0
8859-l. This alphabet is represented in the exchange structure by the set of 8-bit bytes with decimal
values 32 to 126. Table 1 - divides the basic alphabet into subsets. G(x/y) is a notation for the character
in position (16 times x) + y in the code table in IS0 8859-l.
NOTE - Table D. 1 gives the correspondence between the 8-bit bytes and their graphic representation in IS0
8859-l.
6.3 Exchange structure
The exchange structure shall be a sequential file using a clear text encoding. The exchange structure shall
consist of two sections: the header section and the data section. The header section provides data relating
to the exchange structure itself. The structure of the header section is specified in clause 9. The data
section provides the data to be transferred. The structure of the data section is specified in clause 10. The
exchange structure is defined by the WSN in table 3.
The exchange structure is a stream of 8-bit bytes that are encodings of the graphic characters of the basic
alphabet. The graphic characters are collected into recognizable sequences called tokens. Tokens may be
separated by token separators. The exchange structure can be considered as a sequence of tokens and
token separators.

---------------------- Page: 13 ----------------------
IS0 10303=21:1994(E)
Table 1 - WSN defining subsets of the basic alphabet
II II
=
SPACE .
DIGIT = II 0 II ; II 1 II 1 II 2 II 1 II 3 IV 1 II 4 II 1 11 5 11 ; 11 6 11 ; 11 7 11
I I1 8 I’ I ‘I 9 I1 l
II), II ; II c II 1 II d II ; VI e II 1 II f II ; II g II 1 II h II
=
LOWER
rla" I
II j II i II kVI ) IV 1 II 1 II~II 1 11 n VI i II 0 II ! tt pII
I I' i " I
11q1 ; II r II i t1 * II 1 II t II 1 VI u (1 1 WV II i II"11 ) IV x II
I
I “Y” I rrZ1’ l
WA11 1 IIBII 1 IICII ; IIDII ; WE" ) WF" 1 WGII 1 IIHII
=
UPPER
I 11111 ; WJII 1 WK" 1 WL" ; WMII
; VIN" ; 11011 1 IIplI
! “Q” I WRIV 1 WS" 1 ItT" f WU" 1 IIVII 1 IIWII 1 11X"
I II y II 1 II 2 II 1 II II .
-
SPECIAL = II ! II ; II II II II 1 11 * II ; II $ II ; II C& II ) II & 11 1 11 . II ; II # II
I II + II 1 11 , II 1 II -11 1 11 ( II 1 II ) II 1 II 7 . II 1 II / II 1 11 : II
1 II I . I II<11 II=11 II 91 [ II II ] II ( II
11 1 1 >I1 1 II @ II 1 1 1 II
II I 11 II A 1t II \ II
I I .
REVERSE SOLIDUS = "\" .
-
APOSTROPHE = wlm .
CHARACTER = SPACE ; DIGIT 'I LOWER 1 UPPER 1 SPECIAL
1 REVERSE SOLIDUS 1 APOSTROPHE
-
6.4 Definition of tokens
The tokens used in the exchange structure are defined by the WSN in table 2.
6.5 WSN of the exchange structure
The syntax of the exchange structure is specified in table 3. Table 3 - references the tokens defined in
table 2. The relationship between the syntax and the EXPRESS schema is specified in clause 11.
6.6 Token separators
A token separator is a element that separates two tokens. Token separators are space, the explicit print
control directives, and comments. A token separator may appear between the terminals or non-terminals
of the productions of table 3. Any number of token separators may appear wherever one token separator
may appear. A token separator shall not appear within tokens except that explicit print control directives
may also appear within binaries and within strings. Print control directives are defined in clause 12.
A comment shall be encoded as a solidus asterisk “/*” followed by any number of characters, and
terminated by an asterisk solidus “*/“. Any occurrence of solidus asterisk following the first occurrence
shall not be significant, i.e. comments cannot be nested. All graphic characters appearing inside a
comment shall not be significant to the exchange structure and are only intended to be read by humans.

---------------------- Page: 14 ----------------------
OISO IS0 10303-21:1994(E)
Table 2 - WSN of token definitions
KEYWORD = USER DEFINED KEYWORD ; STANDARD KEYWORD .
- - -
USER DEFINED KEYWORD = "!" UPPER { UPPER 1 DIGIT } .
-
-
STANDARD KEYWORD = UPPER { UPPER 1 DIGIT } .
-
=
SIGN
I1 + I1 I I' - 'I *
INTEGER
= [ SIGN ] DIGIT { DIGIT } .
REAL
= [ SIGN ] DIGIT { DIGIT } “2 { DIGIT }
[ "E" [ SIGN ] DIGIT { DIGIT } 1.
NON Q CHAR = SPECIAL i DIGIT ) SPACE 1 LOWER i UPPER .
--
=
STRING wlw { NON Q CHAR ;
Aposmopm APOSTROPHE 1
REVERSE SOLIDUS REVERSE SOLIDUS 1
CONTROL-DIRECTIVE } "I"-.
-
ENTITY INSTANCE NAME = "#" DIGIT { DIGIT ) .
- -
I' II
=
ENUMERATION . UPPER { UPPER 1 DIGIT } "2 .
II ; IV 4 II ; II 5 IV 1 II 6 II ; II 7 II 1
HEX = II 0 II ; II 1 II 1 II 2 II 1 11 3
II 8 11 1 11 9 II 1 WA" 1 II B II ; II C 11 1 II)) II 1 11 E II 1 II F IV .
BINARY = II II II 11 ( II 0 II 1 WV 1 II 1 IV 2 II 1 II 3 II ) { HEX } II II II w l
6.7 Parameter lists
The PARAMETER LIST production specified in table 3 is a list of instances of a simple or structured
data type. -
7 Tokens
In the exchange structure, a token is a special token, a keyword, or a simple data type.
7.1 Special tokens
The special token “IS0-10303-2 1;” shall be used to open an exchange structure, and the special token
“END-ISO-10303-21;” shall be used to close an exchange structure.
The special token “HEADER;” shall be used to open the Header section of an exchange structure, and
the special token “ENDSEC;” shall be used to close the Header section of an exchange section.
The special token “DATA;” shall be used to open the Data section of an exchange structure, and the
special token “ENDSEC;” shall be used to close the Data section of an exchange structure.

---------------------- Page: 15 ----------------------
IS0 10303=21:1994(E)
OISO
Table 3 - WSN of the exchange structure
=
EXCHANGE FILE "IS0-10303-21;"
HEADER SECTION DATA SECTION
"END-ISO-10303-21;"-.
=
HEADER SECTION "HEADER;"
-
HEADER ENTITY HEADER ENTITY HEADER ENTITY
-
[HEADER ENTITY LIST]-
- -
"ENDSEC;" .
HEADER ENTITY LIST = HEADER ENTITY { HEADER ENTITY } .
HEADER-ENTITY- = KEYWORD- " (" [ PARAMETER LIST ] ")" ";" .
PARAMETER LIST = PARAMETER { "," PARAMETER } .
c
-
PARAMETER- = TYPED PARAMETER i
UNTYPED PARAMETER ; OMITTED PARAMETER .
TYPED PARAMETER = KEYWORD-" (" PARAMETER ")" .-
UNTYPED PARAMETER = "$" ; INTEGER ; REAL
1 STRING ; ENTITY INSTANCE NAME
- - -
1 ENUMERATION 1 BINARY ) LIST .
OMITTED PARAMETER
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.