1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS C IEC 61158 5-12 5-12: 12 KS C IEC 61158 5-12:2011 2011 12 30 http:/www.kats.go.krKS C IEC 61158 5-12: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 5-12
2、:2011 i . iv 1 1 1.1 .1 1.2 .2 1.3 .2 2 2 3 , , , .3 3.1 3 3.2 .4 3.3 4 3.4 .9 3.5 .10 4 11 4.1 11 4.2 .11 5 ASE18 5.1 .18 5.2 18 5.3 FAL18 5.4 ASE .27 6 28 6.1 ASE.28 6.2 AR.107 118 1 32 2 33 3 35 4 SII .44 5 SII .45 6 SII .46 7 SDO .51 8 SDO .69 9 SDO .70 10 SDO 71 11 SDO .72 12 SDO .73 13 SDO .74
3、 KS C IEC 61158 5-12:2011 ii 14 SDO .75 15 Get OD 76 16 OD 77 17 Get .78 18 Get 79 19 82 20 83 21 RxPDO .83 22 TxPDO .84 23 RxPDO .85 24 TxPDO .85 25 EoE 90 26 EoE .91 27 Set IP .92 28 Set 94 29 FoE read 99 30 FoE write99 31 FoE data.100 32 FoE ack101 33 FoE busy101 34 FoE error102 35 MBX 103 36 MBX
4、 105 37 MBX READ UPD 106 38 AL ESM .108 39 AL .116 40 AL 117 1 12 2 12 3 13 4 14 5 .15 6 .16 7 17 8 29 9 30 10 COE 50 11 SDO .55 12 SDO .55 13 SDO 56 14 SDO .57 15 SDO 57 16 SDO .58 17 SDO 59 18 60 KS C IEC 61158 5-12:2011 iii 19 61 20 PDO 62 21 PDO 62 22 RXPDO 64 23 TXPDO 64 24 RXPDO 65 25 TXPDO .6
5、5 26 EOE .87 27 FOE 95 28 FOE 96 29 FOE 96 30 FOE 97 31 BUSY FOE 97 32 AL 108 33 AL 109 34 AL 109 KS C IEC 61158 5-12:2011 iv 2010 2 IEC 61158 5-12, Industrial communication networks Fieldbus specifications Part 5-12: Application layer service definition Type 12 elements , . KS C IEC 61158 5-12:2011
6、 5-12: 12 Industrial communication networks Fieldbus specifications Part 5-12: Application layer service definition Type 12 elements 1 1.1 (FAL) . FAL “ ” . 12(Type 12) . , - . , . . a) FAL ( ) b) c) , d) , . a) FAL b) OSI (ISO/IEC 7498) OSI IEC . FAL FAL - (AE)KS C IEC 61158 5-12:2011 2 . FAL AE AE
7、 - (ASEs) (LME) . ASEs (APO) . FAL ASEs FAL ASE . . , . FAL . , FAL . 1.2 OSI . . IEC 61158 IEC 61158 6 . . , , . a) b) , 1.3 . . , 12 . 2 . . ( ) . KS C IEC 61158 3-12, 3-12: 12 KS X ISO/IEC 7498 1, 1: KS X ISO/IEC 7498 3, 3: KS X ISO/IEC 10731, KS C IEC 61158 5-12:2011 3 IEC 61131 3, Programmable
8、controllers Part 3: Programming languages IEC/TR 61158 1 : 20101), Industrial communication networks Fieldbus specifications Part 1 :Overview and guidance for the IEC 61158 and IEC 61784 series ISO/IEC 646: 1991, Information technology ISO 7-bit coded character set for information interchange ISO/IE
9、C 8802 3, Information technology Telecommunications and information exchange between systems Local and metropolitan area networks Specific requirements Part 3: Carrier sense multiple access with collision detection(CSMA/CD) access method and physical layer specifications ISO/IEC 10646, Information t
10、echnology Universal Multiple-Octet Coded Character Set(UCS)(KS X ISO/IEC 10646 ) IEEE 802.1D, IEEE standard for local and metropolitan area networks Media access control(MAC) Bridges; available at IETF RFC 791, Internet Protocol darpa internet program protocol specification; available at 3 , , , , ,
11、 , . 3.1 KS X ISO/IEC 7498 1 KS X ISO/IEC 7498 3 . 3.1.1 (N)- correspondent (N)-entities KS X ISO/IEC 7498 1 AL- (N=7)correspondent AL-entities (N=7) 3.1.2 (N)-entity KS X ISO/IEC 7498 1 AL- (N=7)AL-entity (N=7) 3.1.3 (N)-layer KS X ISO/IEC 7498 1 AL- AL-layer (N=7) 3.1.4 - layer-management KS X ISO
12、/IEC 7498 1 3.1.5 peer-entities KS X ISO/IEC 7498 1 3.1.6 primitive name KS X ISO/IEC 7498 3 3.1.7 AL- AL-protocol KS X ISO/IEC 7498 1 3.1.8 AL- - - AL-protocol-data-unit KS X ISO/IEC 7498 1 3.1.9 reset KS X ISO/IEC 7498 1 3.1.10 routing KS X ISO/IEC 7498 1 3.1.11 segmenting KS X ISO/IEC 7498 1 1) K
13、S C IEC 61158 5-12:2011 4 3.1.12 - (N)-service KS X ISO/IEC 7498 1 AL- AL-service (N=7) 3.1.13 AL- - - AL-service-data-unit KS X ISO/IEC 7498 1 3.1.14 AL- - AL-simplex-transmission KS X ISO/IEC 7498 1 3.1.15 AL- AL-subsystem KS X ISO/IEC 7498 1 3.1.16 - systems-management KS X ISO/IEC 7498 1 3.1.17
14、AL- - AL-user-data KS X ISO/IEC 7498 1 3.2 KS X ISO/IEC 10731 . 3.2.1 acceptor 3.2.2 asymmetrical service 3.2.3 ( ); . ( )confirm(primitive); requestor.deliver(primitive) 3.2.4 ( )deliver(primitive) 3.2.5 AL- - ; AL-service-primitive; primitive 3.2.6 AL- - AL-service-provider 3.2.7 AL- - AL-service-
15、user 3.2.8 ( ); . ( )Indication(primitive); acceptor.deliver(primitive) 3.2.9 ( ); . ( )Request(primitive); requestor.submit(primitive) 3.2.10 requestor 3.2.11 ( ); . ( )response(primitive); acceptor.submit(primitive) 3.2.12 ( )submit(primitive) 3.2.13 symmetrical service 3.3 3.3.1 KS C IEC 61158 5-
16、12:2011 5 3.3.2 . 3.3.3 . 3.3.4 1 0 . . 3.3.5 1) ( ) . 2) . 3.3.6 . 3.3.7 2 . 3.3.8 , . 3.3.9 . 3.3.10 . 3.3.11 . IEC 61131 3 . 3.3.12 . 3.3.13 2 IP 2 KS C IEC 61158 5-12:2011 6 . 3.3.14 ( ) , / ( , ) . 3.3.15 . 3.3.16 . 3.3.17 . 3.3.18 , . 3.3.19 . 3.3.20 . 3.3.21 . 3.3.22 . 3.3.23 : . 3.3.24 DLPDU
17、 . KS C IEC 61158 5-12:2011 7 3.3.25 . 3.3.26 . 3.3.27 , 2 . 3.3.28 8 . 3.3.29 , . 3.3.30 2 . 3.3.31 . 3.3.32 2 , “ ” . 3.3.33 . . 3.3.34 , , - . 3.3.35 a) DL- . KS C IEC 61158 5-12:2011 8 b) 2 IEC 61158 2 . 3.3.36 . . a) . . 1) ( ) 2) ( ) 3) ( ) b) ( ) 3.3.37 , . 3.3.38 . 3.3.39 . 3.3.40 . 3.3.41 (
18、 ) . 3.3.42 / / . 3.3.43 DL- . 3.3.44 . KS C IEC 61158 5-12:2011 9 3.3.45 . 3.3.46 . 3.3.47 IEEE 802.1D MAC . 3.4 AL- Application layer(as a prefix) ALE AL-entity(the local active instance of the application layer) AL AL-layer APDU AL-protocol-data-unit ALM AL-management ALME AL-management Entity(th
19、e local active instance of AL-management) ALMS AL-management service ALS AL-service AR Application relationship ASE Application service element CAN Controller Area Network CiA CAN in Automation CoE CAN appliclication protocol over Type 12 services CSMA/CD Carrier sense multiple access with collision
20、 detection DC Distributed clocks DL Data-link-layer DNS Domain name system(server for name resolution in IP networks) E2PROM Electrically erasable programmable read only memory EoE Ethernet tunneled over Type 12 services ESC Type 12 slave controller FCS Frame check sequence FIFO First-in first-out(q
21、ueuing method) FMMU Fieldbus memory management unit FoE File access with Type 12 services HDR Header ID Identifier IETF Internet engineering task force IP Internet protocol LAN Local area network MAC Medium access control OD Object dictionary OSI Open systems interconnection PDI Physical device inte
22、rnal interface(a set of elements that allows access to DL-services from the AL) PDO Process data object PhL Ph-layer QoS Quality of service RAM Random access memory KS C IEC 61158 5-12:2011 10 Rx Receive SDO Service data object SII slave information interface SM Synchronization manager SyncM Synchronization manager TCP Transmission control protocol Tx Transmit UDP User datagram protocol WKC Working counter 3.5 KS X ISO/IEC 10731 . , - . . / / (KS X ISO/IEC 10731 ) . . . . , , . , . , . , . (KS X ISO/IEC 10731 ). ( )