1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS C IEC 61158 6-18 6-18: 18 KS C IEC 61158 6-18:2011 2011 12 30 http:/www.kats.go.kr KS C IEC 61158 6-18:2011 : ( ) ( ) ( ) : (http:/www.standard.go.kr) : :2011 12 30 2011-0721 : : (IEC/TC65) ( 02-509-7294) (http:/www.kats.go.kr). 10 5 , . KS C IEC 61158 6-
2、18:2011 i .iv 1 1 1.1 1 1.2 .2 1.3 .2 2 2 3 .2 3.1 ISO/IEC .2 3.2 .3 3.3 10 3.4 18 10 3.5 .11 4 .11 4.1 M1 PDU 11 4.2 M2 PDU 11 4.3 S1 PDU 12 4.4 S2 PDU 12 4.5 M1 PDU 12 4.6 M2 PDU 13 4.7 S1 PDU 14 4.8 S2 PDU 14 4.9 M1 PDU .14 4.10 M2 PDU .14 4.11 S1 PDU 15 4.12 S2 PDU 15 4.13 PDU .15 5 .16 5.1 M1 P
3、DU .16 5.2 M2 PDU .18 5.3 S1 PDU 19 5.4 S2 PDU 20 5.5 M1 PDU .21 5.6 M2 PDU .25 5.7 S1 PDU 26 5.8 S2 PDU 28 5.9 M1 PDU .28 5.10 M2 PDU .30 5.11 S1 PDU .30 5.12 S2 PDU .32 5.13 PDU 33 6 FAL .41 KS C IEC 61158 6-18:2011 ii 7 AP- .42 8 FAL (FSPM)42 8.1 .42 8.2 FAL .42 9 AR (ARPM)43 9.1 .43 9.2 M1 ARPM4
4、3 9.3 M2 ARPM48 9.4 ARPM.50 10 DLL (DMPM)53 10.1 .53 10.2 ARPM 54 10.3 DL 54 55 1 M1 .11 2 M2 .12 3 S1 .12 4 S2 .12 5 M1 .12 6 M2 .13 7 S1 .14 8 S2 .14 9 M1 14 10 M2 15 11 S1 .15 12 S2 PDU 15 13 16 14 M1 .16 15 M2 .19 16 S1 20 17 S2 21 18 M1 .21 19 M2 .25 20 S1 26 21 S2 28 22 M1 .28 23 M2 .30 24 S1
5、.30 25 S2 .32 26 .33 27 .34 28 .34 29 36 KS C IEC 61158 6-18:2011 iii 30 37 31 37 32 38 33 38 34 39 35 40 36 FSPM 42 37 M1 - 1 46 38 M1 - 2 FSPM 46 39 M1 - 3 DMPM 48 40 M2 - 1 49 41 M2 - 2 FSPM .50 42 M2 - 3 DMPM .50 43 S1 52 44 S2 52 45 - 1 .53 46 - 2 FSPM 53 47 - 3 DMPM 53 48 ARPM DL 54 49 DL ARPM
6、 54 1 1 35 2 2 36 3 .41 4 ARPM M1 AR 44 5 ARPM M2 AR 48 6 ARPM AR 51 KS C IEC 61158 6-18:2011 iv 2010 2 IEC 61158 6-18, Industrial communication networks Fieldbus specifications Part 6-18: Application layer protocol specification Type 18 elements , . KS C IEC 61158 6-18:2011 6-18: 18 Industrial comm
7、unication networks Fieldbus specifications Part 6-18: Application layer protocol specification Type 18 elements 1 1.1 (FAL) . FAL “ ” . 18 . “ ” - . - , , , . 18 . a) FAL ( ) b) c) , d) . a) FAL b) OSI (KS X ISO/IEC 7498 1) OSI (KS X ISO/IEC 9545) 18 . KS C IEC 61158 6-18:2011 2 1.2 KS X IEC 61158 5
8、-18 . . KS X IEC 61158 KS X IEC 61158 6 . 1.3 , . . . 2 . . ( ) . KS C IEC 61158 5-18: 2011, 5-18: 18 KS X ISO/IEC 10731, KS X ISO/IEC 7498 1, 1: KS X ISO/IEC 8824 1, 1(ASN.1) 1: KS X ISO/IEC 9545, ISO/IEC 8822, Information technology Open Systems Interconnection Presentation service definition 3 3.
9、1 ISO/IEC 3.1.1 KS X ISO/IEC 7498 1 , KS X ISO/IEC 7498 1 . a) b) c) d) e) f) g) h) i) KS C IEC 61158 6-18:2011 3 3.1.2 ISO/IEC 8822 , ISO/IEC 8822 . a) b) 3.1.3 KS X ISO/IEC 9545 , KS X ISO/IEC 9545 . a) - b) - c) d) - - e) - - f) - - g) - - h) - - i) 3.1.4 KS X ISO/IEC 8824 1 , KS X ISO/IEC 8824 1
10、 . a) b) 3.2 . 3.2.1 3.2.2 3.2.3 3.2.4 FAL KS C IEC 61158 6-18:2011 4 3.2.5 , PDU 3.2.6 , 3.2.7 PROFIBUS International(PI) . 3.2.8 FAL ( ). FAL ASE . FAL , , . 3.2.9 3.2.10 2 - - . - - . 3.2.11 - 3.2.12 . KS C IEC 61158 6-18:2011 5 3.2.13 . , . . . 3.2.14 IO AR 3.2.15 3.2.16 , . , . 3.2.17 3.2.18 3.
11、2.19 . 3.2.20 IO 3.2.21 . 3.2.22 KS C IEC 61158 6-18:2011 6 . 3.2.23 ID 3.2.24 3.2.25 / / / ( ) 3.2.26 3.2.27 3.2.28 3.2.29 , , 3.2.30 3.2.31 3.2.32 3.2.33 , DLPDU 3.2.34 / / / , , KS C IEC 61158 6-18:2011 7 ( ) 3.2.35 AR AR 3.2.36 3.2.37 3.2.38 , 3.2.39 3.2.40 FAL FAL 3.2.41 . , . . ID(Invoke ID) .
12、 3.2.42 IO IO ( ) . 3.2.43 IO , / / 3.2.44 IO IO KS C IEC 61158 6-18:2011 8 3.2.45 IO IO 3.2.46 IO IO , IO ( ) PLC IO IO IO . 3.2.47 FAL 3.2.48 3.2.49 ASE 3.2.50 3.2.51 , , , 3.2.52 , ( ) ( ) . 3.2.53 3.2.54 IO 3.2.55 AR KS C IEC 61158 6-18:2011 9 3.2.56 FAL 3.2.57 2 3.2.58 IO AR IO AR , IO AR . IO
13、. 3.2.59 ASE ASE (attributes) “get_” “set_” , IDL “propget”, “propput” . 3.2.60 a) b) 3.2.61 X 3.2.62 Y 3.2.63 Wr 3.2.64 Ww 3.2.65 3.2.66 IO KS C IEC 61158 6-18:2011 10 3.2.67 3.2.68 3.2.69 IO , . . 3.2.70 IO 3.2.71 ID ID PROFIBUS International(PI) . 3.3 AE (Application entity) AL (Application layer
14、) AP (Application process) APDU (Application protocol data unit) AR (Application relationship) AREP (Application relationship endpoint) ASE (Application service element) DL- ( )(data-link-) DLL (Data-link layer) DLPDU (Data-link protocol data unit) DLSDU DL- (DL-service data unit) FAL (Fieldbus appl
15、ication layer) ID (Identifier) PDU (Protocol data unit) PL (Physical layer) SDU (Service Data Unit) 3.4 18 RX X(Register X) RY Y(Register Y) RWr Wr(Register Wr) KS C IEC 61158 6-18:2011 11 RWw Ww(Register Ww) 3.5 3.5.1 FAL ASE . ASE . ASE , , 3 . 2 KS C IEC 61158 5-18 . ASE . ASE . KS C IEC 61158 5-
16、18 ASE . ASE . KS X ISO/IEC 10731 . 4 4.1 M1 PDU 1 . 1 M1 ( ) 6 : 9 8 8 8 8 8 8 16 16 3 , . 24 / 1 , . 8 64 : 640 1 64 5 : 10 8 8 16 16 3 , . 24 / 1 , . 8 3 24 4.2 M2 PDU 2 . KS C IEC 61158 6-18:2011 12 2 M2 ( ) 64 : 128 1 64 16 64 : 32 1 64 4 4 4.3 S1 PDU 3 . 3 S1 ( ) 5 : 10 8 8 16 16 3 , . 24 / 1 , . 8 3 24 4.4 S2 PDU 4 . 4 S2 ( ) 16 4 4 4.5 M1 PDU 5 . 5 M1 ( ) 14 : 452 16 16 16 16 64 : 128 1 64 16 16 16 16 16 KS C IEC 61158 6-18:2011 13 5