logo资料库

CiA 201207 DS V1.1 CAN Application layer for industrial applications(TC_201to207v01010002)(英文原版协议).pdf

第1页 / 共182页
第2页 / 共182页
第3页 / 共182页
第4页 / 共182页
第5页 / 共182页
第6页 / 共182页
第7页 / 共182页
第8页 / 共182页
资料共182页,剩余部分请下载后查看
CiA DS 201 to 207 Version 1.1 CAN Application Layer for industrial applications © CAN in Automation e. V.
Contents * * * * * * * * * * * * CAN in the OSI Reference Model CiA/DS201 CMS Service Specification CMS protocol Specification CMS Encoding Rules NMT Service Specification NMT Protocol Specification DBT Service Specification DBT Protocol Specification LMT Service Specification LMT Protocol Specification CiA/DS202-1 CiA/DS202-2 CiA/DS202-3 CiA/DS203-1 CiA/DS203-2 CiA/DS204-1 CiA/DS204-2 CiA/DS205-1 CiA/DS205-2 Recommended Standard CAL Module Data Sheet CiA/DS206 Application Layer Naming Conventions CiA/DS207
History Date Document Changes Feb 96 DS202-1 - chapter 4 'Data Types' deleted; numbering of chapter 5 to 7 changed to 4 to 6; - definition of segmented remote services of domains changed; in remote result parameter 'success' becomes mandatory; parameter 'failure' deleted; service description for case of a failure; - paragraph 3.4 'CMS Data Types' changed - document completely revised; - simplyfication of encoding rules definitions; new extended data types added Feb 96 DS202-3 Feb 96 DS203-2 - node connect protocol: definition of parameter 'Node-ID' changed; parameter 'a' (abortion flag) added; definition of error codes changed; description of cs 1 and 4 changed; - added paragraph 3.4 'Usage of Command Specifiers' Feb 96 DS204-1 - service ´create user definition´: changed the Feb 96 DS205-1 DS205-2 definition of a ´free COB definition´ - service 'activate bit timing parameters': description of parameter 'switch-delay' changed; - service ´configure bit timing parameters´: value ´0´ for parameter table_selector now references the CiA standard bit timing parameters as defined in DS102; - added services and protocols to identifiy nodes with their LMT Address Feb 96 DS205-2 - paragraph 5.6 renumbered to 5.5 (5.5 didn´t exist) Feb 96 Feb 96 DS206 DS207 - new document - NMT object name syntax: definition of 'NMT- Address' changed
General information on licensing and patents CAN in AUTOMATION (CiA) calls attention to the possibility that some of the elements of this CiA specification may be subject of patent rights. CiA shall not be responsible for identifying any or all such patent rights. Because this specification is licensed free of charge, there is no warranty for this specification, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holder and/or other parties provide this specification “as is” without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the correctness and completeness of the specification is with you. Should this specification prove failures, you assume the cost of all necessary servicing, repair or correction. © CiA 2008 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 CiA at the address below. CAN in Automation e. V. Kontumazgarten 3 DE - 90429 Nuremberg, Germany Tel.: +49-911-928819-0 Fax: +49-911-928819-79 Url: www.can-cia.org Email: headquarters@can-cia.org
CAN in Automation (CiA) International Users and Manufacturers Group e.V. CAN Application Layer for Industrial Applications CiA/DS201 February 1996 CAN in the OSI Reference Model
1. SCOPE 2. REFERENCES 3. DEFINITIONS, ACRONYMS AND ABBREVIATIONS CAL: CAN: CMS: COB: COB-ID: F e b r u a r y 1 9 9 6 C A N i n t h e O S I R e f e r e n c e M o d e l - D S 2 0 1 p . 2 - T h i s d o c u m e n t c o n t a i n s a d e s c r i p t i o n o f t h e C A N R e f e r e n c e M o d e l . T h i s d o c u m e n t i s p a r t o f a s e t o f d o c u m e n t s t h a t s t a n d a r d i z e t h e C A N A p p l i c a t i o n L a y e r f o r I n d u s t r i a l A p p l i c a t i o n s . / 1 / : I S O 7 4 9 8 : 1 9 8 4 , I n f o r m a t i o n P r o c e s s i n g S y s t e m s - O p e n S y s t e m s I n t e r c o n n e c t i o n - B a s i c R e f e r e n c e M o d e l / 2 / : I S O 1 1 8 9 8 : R o a d V e h i c l e s , I n t e r c h a n g e o f d i g i t a l i n f o r m a t i o n - C o n t r o l l e r A r e a N e t w o r k ( C A N ) f o r h i g h - s p e e d c o m m u n i c a t i o n , N o v e m b e r 1 9 9 3 / 3 / : C i A / D S 1 0 2 - 1 , C A N P h y s i c a l L a y e r f o r I n d u s t r i a l A p p l i c a t i o n s - P a r t 1 : T w o - W i r e D i f f e r e n t i a l T r a n s m i s s i o n / 4 / : R o b e r t B o s c h G m b H , C A N S p e c i f i c a t i o n 2 . 0 P a r t B , S e p t e m b e r 1 9 9 1 C A N A p p l i c a t i o n L a y e r . T h e a p p l i c a t i o n l a y e r f o r C A N a s s p e c i f i e d b y C i A . C o n t r o l l e r A r e a N e t w o r k . A n e t w o r k o r i g i n a l l y d e f i n e d f o r u s e a s a c o m m u n i c a t i o n n e t w o r k f o r c o n t r o l a p p l i c a t i o n s i n a u t o m o b i l e s . C A N b a s e d M e s s a g e S p e c i f i c a t i o n . O n e o f t h e s e r v i c e e l e m e n t s o f t h e a p p l i c a t i o n l a y e r i n t h e C A N R e f e r e n c e M o d e l . C M S i s a l a n g u a g e t h a t c a n d e s c r i b e h o w t h e f u n c t i o n a l i t y o f a m o d u l e c a n b e a c c e s s e d a t i t s C A N i n t e r f a c e . C o m m u n i c a t i o n O b j e c t . A u n i t o f t r a n s p o r t a t i o n i n a C A N N e t w o r k . D a t a m u s t b e s e n t a c r o s s a C A N N e t w o r k i n s i d e a C O B . T h e r e a r e 2 0 3 2 d i f f e r e n t C O B ' s i n a C A N N e t w o r k . A C O B c a n c o n t a i n a t m o s t 8 b y t e s o f d a t a . I n / 4 / , t h e p o s s i b i l i t y o f h a v i n g m o r e t h a n 2 0 3 2 C O B ' s i s d e s c r i b e d . T h e C A N A p p l i c a t i o n L a y e r a s s p e c i f i e d b y C i A c a n b e e x t e n d e d i n t h e f u t u r e i n a c o m p a t i b l e w a y t o i n c l u d e t h i s p o s s i b i l i t y . E a c h C O B i s u n i q u e l y i d e n t i f i e d i n a C A N N e t w o r k b y a n u m b e r c a l l e d t h e C O B I d e n t i f i e r ( C O B - I D ) . T h e C O B - I D d e t e r m i n e s t h e p r i o r i t y o f t h a t C O B f o r t h e M A C s u b - l a y e r .
Remote COB: DBT: LME: LMT: LLC: MAC: MDI NMT: PLS PMA: F e b r u a r y 1 9 9 6 C A N i n t h e O S I R e f e r e n c e M o d e l - D S 2 0 1 p . 3 - A C O B w h o s e t r a n s m i s s i o n c a n b e r e q u e s t e d b y a n o t h e r m o d u l e . C O B - I D D i s t r i b u t o r . O n e o f t h e s e r v i c e e l e m e n t s o f t h e a p p l i c a t i o n l a y e r i n t h e C A N R e f e r e n c e M o d e l . I t ´ s t h e r e s p o n s a b i l i t y o f t h e D B T t o d i s t r i b u t e C O B - I D ' s t o C O B ' s t h a t a r e u s e d b y t h e C M S s e r v i c e e l e m e n t . L a y e r M a n a g e m e n t E n t i t y . T h i s e n t i t y s e r v e s t o c o n f i g u r e p a r a m e t e r s f o r e a c h o f t h e l a y e r s o f t h e C A N R e f e r e n c e M o d e l . L a y e r M a n a g e m e n t . O n e o f t h e s e r v i c e e l e m e n t s o f t h e a p p l i c a t i o n l a y e r i n t h e C A N R e f e r e n c e M o d e l . I t s e r v e s t o c o n f i g u r e p a r a m e t e r s o f e a c h o f t h e l a y e r s i n t h e C A N R e f e r e n c e M o d e l v i a t h e C A N n e t w o r k . L o g i c a l L i n k C o n t r o l . O n e o f t h e s u b - l a y e r s o f t h e D a t a l i n k L a y e r i n t h e C A N R e f e r e n c e M o d e l t h a t g i v e s t h e u s e r a n i n t e r f a c e t h a t i s i n d e p e n d e n t f r o m t h e u n d e r l y i n g M A C l a y e r . M e d i u m A c c e s C o n t r o l . O n e o f t h e s u b - l a y e r s o f t h e D a t a l i n k L a y e r i n t h e C A N R e f e r e n c e M o d e l t h a t c o n t r o l s w h o g e t s a c c e s s t o t h e m e d i u m t o s e n d a m e s s a g e . : M e d i u m D e p e n d e n t I n t e r f a c e . O n e o f t h e s u b - l a y e r s o f t h e P h y s i c a l L a y e r i n t h e C A N R e f e r e n c e M o d e l t h a t s p e c i f i e s t h e m e c h a n i c a l a n d e l e c t r i c a l i n t e r f a c e b e t w e e n t h e m e d i u m a n d a m o d u l e . N e t w o r k M a n a g e m e n t . O n e o f t h e s e r v i c e e l e m e n t s o f t h e a p p l i c a t i o n l a y e r i n t h e C A N R e f e r e n c e M o d e l . T h e N M T s e r v e s t o c o n f i g u r e , i n i t i a l i z e , a n d h a n d l e e r r o r s i n a C A N n e t w o r k . : P h y s i c a l L a y e r S i g n a l l i n g . O n e o f t h e s u b - l a y e r s o f t h e P h y s i c a l L a y e r i n t h e C A N R e f e r e n c e M o d e l t h a t s p e c i f i e s t h e b i t r e p r e s e n t a t i o n , t i m i n g a n d s y n c h r o n i z a t i o n . P h y s i c a l M e d i u m A t t a c h m e n t . O n e o f t h e s u b - l a y e r s o f t h e P h y s i c a l L a y e r i n t h e C A N R e f e r e n c e M o d e l t h a t s p e c i f i e s t h e f u n c t i o n a l c i r c u i t r y f o r b u s l i n e t r a n s m i s s i o n / r e c e p t i o n a n d m a y p r o v i d e m e a n s f o r f a i l u r e d e t e c t i o n .
4. THE CAN REFERENCE MODEL Controller Area Network (CAN) distributed real-time control applications open network 4.1 Layered Architecture of CAN F e b r u a r y 1 9 9 6 C A N i n t h e O S I R e f e r e n c e M o d e l - D S 2 0 1 p . 4 - T h e i s a d a t a c o m m u n i c a t i o n n e t w o r k d e s i g n e d t o f i t . I t w a s o r i g i n a l l y d e v e l o p e d a n d a p p l i e d b y t h e a u t o m o t i v e i n d u s t r y t o s o l v e t h e c a b l i n g p r o b l e m i n s i d e v e h i c l e s . H o w e v e r C A N a l s o p r o v i d e s g o o d p r o p e r t i e s a s a c o n t r o l n e t w o r k f o r i n d u s t r i a l a p p l i c a t i o n s . T h e p u r p o s e o f t h e C A N R e f e r e n c e M o d e l a n d i t s r e l a t e d s e r v i c e - a n d p r o t o c o l s p e c i f i c a t i o n s i s t o m a k e C A N a n w h e r e m o d u l e s f r o m d i f f e r e n t s u p p l i e r s c a n c o o p e r a t e i n d i s t r i b u t e d a p p l i c a t i o n s . T h e C A N R e f e r e n c e M o d e l i s a l a y e r e d a r c h i t e c t u r e t o d e s c r i b e t h e f u n c t i o n a l i t y t h a t C A N o f f e r s t o a n a p p l i c a t i o n a n d i s b a s e d o n t h e O S I R e f e r e n c e M o d e l . A b a s i c k n o w l e d g e o f t h e O S I R e f e r e n c e M o d e l a n d i t s t e r m i n o l o g y i s r e q u i r e d t o u n d e r s t a n d t h e C A N R e f e r e n c e M o d e l ( s e e / 1 / ) . T h e r e e x i s t s a n I S O S t a n d a r d / 2 / f o r C A N . T h i s d r a f t s p e c i f i e s t h e P h y s i c a l a n d D a t a L i n k l a y e r . T h e C A N R e f e r e n c e M o d e l e x t e n d s t h e M D I s u b l a y e r o f t h e P h y s i c a l L a y e r o f / 2 / t o g u a r a n t u e e i n t e r o p e r a b i l i t y o n t h e m e d i u m . I n a d d i t i o n t o / 2 / , t h e C A N R e f e r e n c e M o d e l c o n t a i n s a n A p p l i c a t i o n L a y e r a n d a L a y e r M a n a g e m e n t E n t i t y ( L M E ) t o g u a r a n t u e e i n t e r o p e r a b i l i t y b e t w e e n a p p l i c a t i o n s . T h e C A N R e f e r e n c e M o d e l a n d i t s r e l a t i o n t o t h e O S I R e f e r e n c e M o d e l a r e s h o w n i n F i g . 1 .
分享到:
收藏