1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS C IEC 61158 3-21 3-21: 21 KS C IEC 61158 3-21:2011 2011 12 30 http:/www.kats.go.krKS C IEC 61158 3-21:2011 : ( ) ( ) ( ) : (http:/www.standard.go.kr) : :2011 12 30 2011-0721 : : ( 02-509-7294) (http:/www.kats.go.kr). 10 5 , . KS C IEC 61158 3-21:2011 i .
2、iii 1 1 1.1 .1 1.2 .1 1.3 .2 2 2 3 , , .2 3.1 2 3.2 4 3.3 5 3.4 8 3.5 .9 4 .10 4.1 .10 4.2 15 4.3 18 4.4 19 5 .22 5.1 .22 5.2 .22 5.3 (DLMS)23 5.4 24 5.5 .25 6 MAC .34 6.1 .34 6.2 MAC 34 6.3 (Overview of interactions).34 6.4 .35 7 (Ph control Service).37 7.1 .37 7.2 37 7.3 37 7.4 .38 41 1 DL 14 2 DL
3、 DATA .16 3 DL DATA .17 4 DL SPDATA .18 KS C IEC 61158 3-21:2011 ii 5 .19 6 DL _ .20 7 DL _ 20 8 .21 9 DL .24 10 DLM RESET 26 11 DLM SET_VALUE .26 12 DLM GET_VALUE .27 13 DLM SAP_ALLOC .28 14 DLM SAP_DEALLOC .29 15 DLM GET_SAP_INFO 30 16 DLM GET_DIAG 31 17 DLM EVENT 32 18 32 19 DLM GET_PATH .33 20 M
4、AC .35 21 MAC RESET 35 22 MAC FW_CTRL .36 23 38 24 Ph RESET .39 25 Ph GET_LINK_STATUS 39 26 Ph LINK_STATUS _CHANGE 40 1 11 2 DL DATA 12 3 DL SPDATA .12 4 13 5 DLSAP, DLSAP DL .14 6 DL DATA .15 7 .25 8 .25 9 MAC reset MAC forward contol .35 10 Ph reset Ph get link status 38 11 Ph link status change .
5、38 KS C IEC 61158 3-21:2011 iii 2010 1 IEC 61158 3-21, Industrial communication networks Fieldbus specifications Part 3-21: Data-link layer service definition Type 21 elements , . KS C IEC 61158 3-21:2011 3-21: 21 Industrial communication networks Fieldbus specifications Part 3-21: Data-link layer s
6、ervice definition Type 21 elements 1 1.1 . “ ” . , . 21 . a) b) , c) . 21 . . 1.2 OSI . . . , . KS C IEC 61158 3-21:2011 2 a) b) , 1.3 , . . , 21 . 2 . . ( ) . KS C IEC 61158 2: 2011, 2: KS C IEC 61158 4-21: 2011, 4-21: 21 KS X ISO 7498 1, 1: KS X ISO/IEC 7498 3, 3: KS X ISO/IEC 10731, ISO/IEC 8802
7、3 : 2000, 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 3 , , , , . 3.1 KS X ISO 749
8、8 1 KS X ISO/IEC 7498 3 . 3.1.1 (DL address) KS X ISO/IEC 7498 33.1.2 (DL address mapping) KS X ISO 7498 13.1.3 (called DL address) KS X ISO/IEC 7498 33.1.4 (calling DL address) KS X ISO/IEC 7498 33.1.5 (centralized multi end point connection) KS X ISO 7498 13.1.6 (DL connection) KS X ISO 7498 1KS C
9、 IEC 61158 3-21:2011 3 3.1.7 (DL connection end point) KS X ISO 7498 13.1.8 (DL connection end point identifier) KS X ISO 7498 13.1.9 (DL connection mode transmission) KS X ISO 7498 13.1.10 (DL connectionless mode transmission) KS X ISO 7498 13.1.11 (N) correspondent (N) entities correspondent DL en
10、tities (N=2) correspondent Ph entities (N=1) KS X ISO 7498 13.1.12 (DL duplex transmission) KS X ISO 7498 13.1.13 (N) (N) entity DL entity (N=2) Ph entity (N=1) KS X ISO 7498 13.1.14 (DL facility) KS X ISO 7498 13.1.15 (flow control) KS X ISO 7498 13.1.16 (N) (N) layer DL layer (N=2) Ph layer (N=1)
11、KS X ISO 7498 13.1.17 (layer management) KS X ISO 7498 13.1.18 (DL local view) KS X ISO/IEC 7498 33.1.19 (DL name) KS X ISO/IEC 7498 33.1.20 ( ) naming (addressing) domain KS X ISO/IEC 7498 33.1.21 (peer entities) KS X ISO 7498 13.1.22 (primitive name) KS X ISO/IEC 7498 33.1.23 (DL protocol) KS X IS
12、O 7498 13.1.24 (DL protocol connection identifier) KS X ISO 7498 13.1.25 (DL protocol data unit) KS X ISO 7498 13.1.26 (DL relay) KS X ISO 7498 13.1.27 (Reset) KS X ISO 7498 13.1.28 (responding DL address) KS X ISO/IEC 7498 33.1.29 (Routing) KS X ISO 7498 13.1.30 (Segmenting) KS X ISO 7498 13.1.31 (
13、N) (N) service DL service (N=2) Ph service (N=1) KS X ISO 7498 1KS C IEC 61158 3-21:2011 4 3.1.32 (N) (N) service access point DL service access point (N=2) Ph service access point (N=1) KS X ISO 7498 13.1.33 (DL service access point address) KS X ISO/IEC 7498 33.1.34 (DL service connection identifi
14、er) KS X ISO 7498 13.1.35 (DL service data unit) KS X ISO 7498 13.1.36 (DL simplex transmission) KS X ISO 7498 13.1.37 (DL subsystem) KS X ISO 7498 13.1.38 (systems management) KS X ISO 7498 13.1.39 (DLS user data) KS X ISO 7498 13.2 KS X ISO/IEC 10731 . 3.2.1 (acceptor) 3.2.2 (asymmetrical service)
15、 3.2.3 ( )confirm(primitive) requestor.deliver(primitive) 3.2.4 ( )deliver(primitive) 3.2.5 (DL confirmed facility) 3.2.6 (DL facility) 3.2.7 (DL local view) 3.2.8 (DL mandatory facility) 3.2.9 (DL non confirmed facility) 3.2.10 (DL protocol machine) 3.2.11 (DL provider initiated facility) 3.2.12 (D
16、L provider optional facility) 3.2.13 (DL service primitive) (primitive) KS C IEC 61158 3-21:2011 5 3.2.14 (DL service provider) 3.2.15 (DL service user) 3.2.16 (DLS user optional facility) 3.2.17 ( )indication(primitive) acceptor.deliver(primitive) 3.2.18 (multi peer) 3.2.19 ( )request(primitive) re
17、questor.submit(primitive) 3.2.20 (requestor) 3.2.21 ( )response(primitive) acceptor.submit(primitive) 3.2.22 ( )submit(primitive) 3.2.23 (symmetrical service) 3.3 3.3.1 , , (DL segment, link, local link) , 3.3.2 Data link service access point(DLSAP) KS X ISO 7498 1 . 3.3.3 (DLSAP address) , KS X ISO
18、/IEC 7498 3 DLS DLSAP DLSAPaddress . 3.3.4 ( ) (individual) DLSAP address KS C IEC 61158 3-21:2011 6 (DL entity) (DLSAP) (DLSAP address) . 3.3.5 (DLCEP address) . a) (DL connection end point) b) (DLSAP) 3.3.6 Frame Check Sequence(FCS) error 3.3.7 (frame) (DLPDU) 3.3.8 (network management) , 3.3.9 (p
19、rotocol) , , 3.3.10 (receiving DLS user) (DLS user) (DL service user) . 3.3.11 (sending DLS user) 3.3.12 (device) (DLE) 3.3.13 (DLentity identifier) ( ) KS C IEC 61158 3-21:2011 7 3.3.14 (device unique identification) 21 8 . 6 ISO/IEC 8802 3: 2000 MAC 2 3.3.15 (ring) 2 . 3.3.16 (linear topology) , ,
20、 3.3.17 R port 3.3.18 (real-time) 3.3.19 (real-time communication) 3.3.20 Real-time Ethernet(RTE) ISO/IEC 8802 3: 2000 1 . 2 ISO/IEC 8802 3 : 2000 . IEEE 802.11 IEEE 802 . 3.3.21 (RTE end device) RTE 3.3.22 (RTE port) (LAN) RTE MAC MAC ISO/IEC 10038: 1993 . 3.3.23 (switched network) KS C IEC 61158 3
21、-21:2011 8 MAC IEEE 802.1D IEEE 802.1Q . 3.3.24 (link) KS X ISO/IEC 11801 3.4 3.4.1 DL ( ) DLC DLCEP DLE (DLL ) DLL DLPDU DLPM DLM DLME (DLM ) DLMS DLS DLSAP DLSDU FIFO ( ) NMT OSI Ph ( ) PHY PhL RTE IEC (International Electrotechnical Commission) IP (RFC 791 ) ISO (International Organization for St
22、andardization) MAC NRT PDU SAP RT TCP (RFC 793 ) UDP (RFC 768 ) KS C IEC 61158 3-21:2011 9 3.4.2 21: EFR (extremely fast recovery) GD LNM PO (power on) PnP (plug and play) RNM RNMP RNMS RNAC UID 21 NMIB 21 3.5 3.5.1 KS X ISO/IEC 10731 . , , . / (KS X ISO/IEC 10731 ) / . . . 6 . , , , requestor.submit, acceptor.deliver, acceptor.submit requestor.deliver (KS X ISO/IEC 10731 ). . . M : U : DSL KS C IEC 61158 3-21:2011 10 . , . C DLS ( ) . . a) (=) . b) (n) n . . .