BS EN 61158-6-20:2012
$198.66
Industrial communication networks. Fieldbus specifications – Application layer protocol specification. Type 20 elements
Published By | Publication Date | Number of Pages |
BSI | 2012 | 60 |
1.1 General
The Fieldbus Application Layer (FAL) provides user programs with a means to access the fieldbus communication environment. In this respect, the FAL can be viewed as a āwindow between corresponding application programs.ā
This standard provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 20 fieldbus. The term ātime-criticalā is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant risk to equipment, plant and possibly human life.
This standard defines in an abstract way the externally visible behavior provided by the Type 20 of the fieldbus Application Layer in terms of
-
the abstract syntax defining the application layer protocol data units conveyed between communicating application entities,
-
the transfer syntax defining the application layer protocol data units conveyed between communicating application entities,
-
the application context state machine defining the application service behavior visible between communicating application entities; and
-
the application relationship state machines defining the communication behavior visible between communicating application entities; and.
The purpose of this standard is to define the protocol provided to define
-
the wire-representation of the service primitives defined in IEC 61158-5-20, and
-
the externally visible behavior associated with their transfer.
This standard specifies the protocol of the Type 20 IEC fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI Application Layer Structure (ISO/IEC 9545).
1.2 Specifications
The principal objective of this standard is to specify the syntax and behavior of the application layer protocol that conveys the application layer services defined in IEC 61158-5-20.
A secondary objective is to provide migration paths from previously-existing industrial communications protocols. It is this latter objective which gives rise to the diversity of protocols standardized in IEC 61158-6.
PDF Catalog
PDF Pages | PDF Title |
---|---|
6 | CONTENTS |
9 | INTRODUCTION |
10 | 1 Scope 1.1 General 1.2 Specifications |
11 | 1.3 Conformance 2 Normative references |
12 | 3 Terms, definitions, symbols, abbreviations and conventions 3.1 Terms and definitions from other ISO/IEC standards 3.2 IEC/TR 61158-1 terms |
15 | 3.3 Type 20 fieldbus application-layer specific definitions |
17 | 3.4 Abbreviations and symbols |
18 | 3.5 Conventions 3.6 Conventions used in state machines Tables TableĀ 1 ā Conventions used for state machines |
19 | 4 Abstract syntax 5 Transfer syntax 5.1 General |
20 | 5.2 Common APDU structure Figures FigureĀ 1 ā APDU format FigureĀ 2 ā Normal response from slave to master |
21 | FigureĀ 3 ā Command error response from slave to master TableĀ 2 ā Response code values TableĀ 3 ā Device status values |
22 | 5.3 Service-specific APDU structures FigureĀ 4 ā Communication error response from slave to master TableĀ 4 ā Response code values TableĀ 5 ā Communication error codes |
23 | TableĀ 6 ā Identify request APDU |
24 | TableĀ 7 ā Identify response value field TableĀ 8 ā Identify command specific response codes |
25 | TableĀ 9 ā Read primary variable response value field TableĀ 10 ā Read primary variable command specific response codes TableĀ 11 ā Read loop current and percent of range value field |
26 | TableĀ 12 ā Read loop current and percent of range command specific response codes TableĀ 13 ā Read dynamic variables and loop current value field TableĀ 14 ā Read dynamic variables and loop current command specific response codes |
27 | TableĀ 15 ā Write polling address value field TableĀ 16 ā Loop current mode codes TableĀ 17 ā Write polling address command specific response codes |
28 | TableĀ 18 ā Read loop configuration value field TableĀ 19 ā Read loop configuration command specific response codes TableĀ 20 ā Read dynamic variable families classifications value field |
29 | TableĀ 21 ā Read dynamic variable families classifications command specific response codes TableĀ 22 ā Read device variables with status request value field TableĀ 23 ā Read device variables with status value field |
31 | TableĀ 24 ā Variable status values TableĀ 25 ā Read device variables with status command specific response codes |
32 | TableĀ 26 ā Read message response value field TableĀ 27 ā Read message command specific response codes TableĀ 28 ā Read tag, descriptor, date response value field TableĀ 29 ā Read tag, descriptor, date command specific response codes |
33 | TableĀ 30 ā Read primary variable transducer information response value field TableĀ 31 ā Read primary variable transducer information command specific response codes |
34 | TableĀ 32 ā Read device information response value field TableĀ 33 ā Read device information command specific response codes TableĀ 34 ā Read final assembly number response value field |
35 | TableĀ 35 ā Read final assembly number command specific response codes TableĀ 36 ā Write message value field TableĀ 37 ā Write message command specific response codes TableĀ 38 ā Write tag, descriptor, date value field |
36 | TableĀ 39 ā Write tag, descriptor, date command specific response codes TableĀ 40 ā Write final assembly number value field TableĀ 41 ā Write final assembly number command specific response codes |
37 | 5.4 Data coding rules TableĀ 42 ā Read long tag response value field TableĀ 43 ā Read long tag command-specific response codes TableĀ 44 ā Write long tag value field TableĀ 45 ā Write long tag command specific Response codes |
38 | FigureĀ 5 ā Coding without identification FigureĀ 6 ā Coding of Integer type data FigureĀ 7 ā Coding of Integer16 type data FigureĀ 8 ā Coding of Unsigned type data FigureĀ 9 ā Coding of Unsigned16 type data |
39 | FigureĀ 10 ā Coding of single precision Floating Point type data |
40 | FigureĀ 11 ā Coding of double precision Floating Point type data FigureĀ 12 ā Coding of Date type data TableĀ 46 ā Coding for Date type |
41 | TableĀ 47 ā Coding for one octet Enumerated Type |
42 | TableĀ 48 ā One octet bit field TableĀ 49 ā Packed ASCII character set |
43 | 6 Structure of FAL protocol state machines TableĀ 50 ā AccepTableĀ subset of ISO Latin-1 characters |
44 | 7 AP-context state machines 8 FAL service protocol machine (FSPM) 8.1 General FigureĀ 13 ā Relationships among protocol machines and adjacent layers |
45 | 8.2 FSPM state tables FigureĀ 14 ā State transition diagram of FSPM TableĀ 51 ā FSPM state TableĀ ā client transactions |
49 | TableĀ 52 ā FSPM state TableĀ ā server transactions |
50 | 8.3 Functions used by FSPM 8.4 Parameters of FSPM/ARPM primitives TableĀ 53 ā Function Command () TableĀ 54 ā Function CommErr () TableĀ 55 ā Function CommandErr () TableĀ 56 ā Function Resp () TableĀ 57 ā Function Device () TableĀ 58 ā Parameters used with primitives exchanged between FSPM and ARPM |
51 | 9 Application relationship protocol machines (ARPMs) 9.1 AREP mapping to data link layer |
52 | 9.2 Application relationship protocol machines (ARPMs) FigureĀ 15 ā State transition diagram of the client ARPM TableĀ 59 ā Client ARPM states |
53 | FigureĀ 16 ā State transition diagram of the server ARPM TableĀ 60 ā Client ARPM state table TableĀ 61 ā Server ARPM states TableĀ 62 ā Server ARPM state table |
54 | 9.3 AREP state machine primitive definitions 9.4 AREP state machine functions 10 DLL mapping protocol machine (DMPM) TableĀ 63 ā Primitives issued from ARPM to DMPM TableĀ 64 ā Primitives issued by DMPM to ARPM TableĀ 65 ā Parameters used with primitives exchanged between ARPM and DMPM |
55 | 10.1 DMPM states 10.2 DMPM state machines 10.3 Primitives exchanged between data link layer and DMPM FigureĀ 17 ā State transition diagram of DMPM Table 66 ā DMPM state descriptions TableĀ 67 ā DMPM state TableĀ ā Client transactions TableĀ 68 ā DMPM state TableĀ ā Server transactions |
56 | 10.4 Functions used by DMPM TableĀ 69 ā Primitives exchanged between data-link layer and DMPM |
57 | Bibliography |