ASHRAE 135-2016 BACnet协议

5星(超过95%的资源)
所需积分/C币:50 2019-01-16 11:25:09 19.16MB PDF
54
收藏 收藏
举报

BACnet 完整协议 2016版本,系统开发者必备的参考技术手册
ASHRAE STANDARDS COMMITTEE 205-206 Douglass T. Reindl, Chair mme Heather l. platt Rita m. harrold vice-Che Julie M. Ferguson Dayid robin James D. Aswegan Walter t. grondzik Peter Simmond: Niels Bidstrup Roger L. He eriC Dennis a stanke D。 nald m. Brundage Srinivas Katipamula Wayne H Stoppelmoor, r John A. Clark Rick a. larson Jack H. Zarour Waller s clements Lawrence c. markel Julia A Keen, BOD EXO John F. Dunlap Arsen K. melikov James K. vallort, CO James W. Earley, r Mark P. modera Keith emerson Cyrus h. nasseri Stephanie C. Reiniche, Senior Manager of standards SPECIAL NOTE This american National Standard(aNs) is a national voluntary consensus Standard developed under the auspices of ASHRAE Consensus is defined by the american National Standards Institute(ANSD), of which AShRaE is a member and which has approved this standard as an ANs,as substantial agreement reached by directly and materially affected interest categories. This signifies the concurrence of more than a simple majority. but not necessarily unanimity. Consensus requires that all views and objections be considered, and that an effort be made toward their resolution Compliance with this Standard is voluntary until and unless a legal jurisdiction makes compliance mandatory through legislation ASHRAE obtains consensus through participation of its national and international members, associated societies, and public review ASHRAE Standards are prepared by a Project Committee appointed specifically for the purpose of writing the Standard. The Project Committee Chair and vice-Chair must be members of AsHRAE; while other committee members may or may not be ashrAE members, all must be technically qualified in the subject area of the Standard. Every effort is made to balance the concerned interests on all Project Committees The Senior Manager of Standards of asHRae should be contacted for b. participation in the next review of the Standard C. offering constructive criticism for improving the Standard, or d. permission to reprint portions of the Standard DISCLAIMER ASHRAE uses its best efforts to promulgate Standards and Guidelines for the benefit of the public in light of available information and accepted industry practices. However, aSHRAE does not guarantee, certify or assure the safety or performance of any products, components, or systems tested installed or operated in accordance with ashrae's standards or guidelines or that any tests conducted under its standards or guidelines will be nonhazardous or free from risk ASHRAE INDUSTRIAL ADVERTISING POLICY ON STANDARDS ASHRAE Standards and Guidelines are established to assist industry and the public by offering a uniform method of testing for rating purposes, by suggesting safe practices in designing and installing equipment, by providing proper definitions of this equipment, and by providing other information hat may serve to guide the industry. the creation of Ashrae Standards and guidelines is determined by the need for them, and conformance to them is completely voluntary In referring to this Standard or guideline and in marking of equipment and in advertising no claim shall be made, either stated or implied, that the product has been approved by ashrae CONTENTS FOREWORD 1 PURPOSE ···· 2 SCOPE :·:“a 3 DEFINITIONS 3. 1 Terms Adopted from International Standards 3.2 Terms Defined for this standard 3.3 Abbreviations and Acronyms Used in this standard 4 BACnet ProtoCol architecture The bacnet collapsed architecture 4.2 BACnet Network Topology..... 14 4.3 Security. 5 THE APPLICATION LAYER 5 The application layer model 5.2 Segmentation of BACnet Messages 21 5.3 Transmission of BACnet APDus 22 5. Application Protocol State Machines 26 5.5 Application Protocol Time Sequence Diagrams 43 5.6 Application Layer Service Conventions 6 THE NETWORK LAYER 6. 1 Network layer Service Specification 54 6.2 Network Layer PDU Structure 56 6.3 Messages for Multiple recipients 62 6. 4 Network Layer Protocol messages 62 6. 5 Network Layer Procedures. 66 6. 6 BACnet routers 非非非 67 6.7 Point-To-Point Half-Routers 7 DATA LINK/PHYSICAL LAYERS: Ethernet (ISo 8802-3)LAN 77 7. 1 The Use of ISo 8802-2 Logical Link Control LlC) 77 7. 2 Parameters Required by the LlC primitives 77 7.3 Parameters Required by the Mac Primitives 77 7.4 Physical Media +···: 77 8 DATA LINK/PHYSICAL LAYERS: ARCNET (ATA 878 1)LAN 非非 78 8.1 The Use ofIso8802-2 Logical Link Control(LLC)……… 78 8.2 Parameters Required by the llc primitives ····c“ 8.3 Mapping the llC Services to the ARCNET MAC Layer 78 8.4 Parameters Required by the Mac Primitives 8.5 Physical Media..... 78 9 DATA LINKPHYSICAL LAYERS: MASTER-SLAVE/TOKEN PASSING (MS/TP)LAN 80 0 Service Specification…………… 80 9.2 Physical layer 82 9.3 MS/TP Frame Format 9.4 Overview of the mS/TP Network 95 MS/TP Medium access control 9.6 Cyclic Redundancy Check(CRC) 115 9.7 Interfacing MS/TP LANS with Other BaCnet LANs 117 9.8 Responding bacnet User Processing of Messages from MS/TP.………17 9.9 Repeaters. 117 10 DATA LINK/PHYSICAL LAYERS: POINT-TO-POⅠNT(PIP)……………… 9.10COBs( Consistent Overhead Byte Stuffing) ncoding……… ……,119 123 10.1 Overview 123 10.2 Service Specification . 10.3 Point-to-Point frame format 128 10.4 PtP Medium access control protocol 11 DATA LINK/PHYSICAL LAYERS: LonTalk (ISo/EC 14908.1)LAN 151 ANSIASHRAE Standard 135-2016 Contents 11.1 The Use of ISo 8802-2 Logical Link Control (LLC) 151 11. 2 Parameters Required by the LlC Primitives 15 11.3 Mapping the LlC Services to the Lon talk application Layer 11.4 Parameters Required by the application Layer Primitives 151 11.5 Physical media 152 2 MODELING CONTROL DEVICES AS A COLLECTION OF OBJECTS 153 12.1 Object Characteristics and Requirements 153 12.2 Analog Input Object typc…… 158 12.3 Analog Output Object Type... 12.4 Analog Value Object Type 170 12.5 Averaging Object Type 177 12.6 Binary Input object Type.... …181 12.7 Binary Output Object Type.... ,非中,中.·中;,中,申 188 12.8 Binary Value Object Type 196 12.9 Calendar object T 203 12.10 Command Object Type……… 205 12. 11 Device Object Type 12 12 Event Enrollment Object Type 12. 13 File object Type 12 14 Group Object type 233 12.15 Life Safety Point Object Type 235 2.16 Life Safety Zone Object Type 12.17 Object t 249 12.18 Multi-state Input Object Type... ………257 12.19 Multi-state Output object T 262 12. 20 Multi-state Value Object Type 268 12. 21 Notification Class Object Type 274 12.22 Program Object Type 279 12.23 Pulse Converter Object Type 12.24 Schedule Object Type 12.25 Trend log object type.……… 12.26 Access Door Object Type 308 12.27 Event Log Object Type.. +···: 317 12.28 Load Control Object Type 324 12.29 Structured view Object Type 334 2.30 Trend Log multiple object Type 339 12.31 Access Point Object Type…… 12.32 Access Zone Object Type 12. 33 Access User Object Type 373 12.34 Access Rights Object Type 376 12.35 Access Credential Object T 12.36 Credential Data Input Object Typc 391 12.37 Character String Value Object Type “········· 397 12.38 DateTime Value Object Type 403 12.39 Large Analog Value Object Type .408 2.40 BitString Value Object Type... 12.41 Octet String Value Object type………… 421 2. 42 Time Value Object type ……….…425 12.43 Integer Value Object Type 430 2. 44 Positive Integer Value Object type 437 12.45 Date Value Object Type... 444 12.46 DateTime Pattern Value Object Type..... 449 12.47 Time Pattern Value Object Type……… ……………1454 12. 48 Date Pattern Value Object Type 12.49 Network Security Object Type…… 12.50 Global group object type…… 1467 ANSIASHRAE Standard 135-2016 Contents 12. 51 Notification Forwarder Object Ty “++·++ 474 12.52 Alert Enrollment Object Type………….…….….…. 481 12.53Cha /pe 485 12.54 Lighting Output Object Type.... ···· .495 12.55 Binary Lighting Output Object Typ 508 12.56 Network Port Object Type......... 517 12.57 Timer Object Type∴…………… 12.58 Elevator Group Object Typc……… 553 12.59 Lift Object Type..... .557 12.60 Escalator Object Type 12.61 Accumulator Object Type…… 576 13 ALARM AND EVENT SERVICES ··+·:··· .585 13. 1 Change of value Reporting...................586 13.2 Event Reporting 591 13.3 Event Algorithms 602 13. 4 Fault Algorithms 3.5 Acknowledge Alarm Service 638 13.6 ConfirmedcoVNotification Service .6540 13.7 Unconfirmed coVNotification Service .642 13.8 Confirmed Event Notification Service 643 13.9 Unconfirmed EventNotification Service 646 13. 10 GetAlarm Summary Service 648 13.11 Get Enrollment Summary service 650 13.12 Get EventInformation Service 653 13.13 Life SafetyOperation Service 655 13 14 SubscribecoV Service 657 13.15 SubscribecoⅤ Property Service… 13.16 SubscribecoⅤ PropertyMultiple Service,…∴… 非非非 659 662 13.17 ConfirmedCO NOtification Multiple service 667 13.18 Unconfirmed COVNotification Multiple Service 670 14 FILE ACCESS SERVICES 14.1 Atomic ReadFile s 673 14.2△ tomic WriteFile service… +···: 676 15 OBJECT ACCESS SERVICES 679 5.1 AddListelement service 679 15.2 RemoveList Element Service 15.3 CreateObject Service……………… 83 15.4 DeleteObject Service 685 15.5 ReadProperty service 686 15.6 Deleted Clause 15.7 Read PropertyMultiple Service 689 15.8 RcadRange Scrvicc...... 15.9 WriteProperty Service.... 。 699 15.10 Write PropertyMultiple Service.…………………… 701 15.l1 Write Group Service…………… .,704 16 REMOTE DE VICE MANAGEMENT SERVICES 16. 1 Device Communication Control Service 706 16.2 ConfirmedPrivateTransfer ServIce,………… 708 16.3 Unconfirmed Private Transfer Service 710 16. 4 ReinitializeDevice Service 16.5 Confirmed TextMessage Service ········ 713 16.6 UnconfirmedTextMessage Service......... ..715 16.7 TimeSynchronization Se 716 16.8 UTCTime Synchronization Service 717 16.9 Who-Has and [-Haye services 718 16.10 Who-Is and I-Am Services 720 ANSIASHRAE Standard 135-2016 Contents 17 VIRTUAL TERMINAL SERVICES 17.1 Virtual Terminal model 17.2 VT-Open Service 726 17.3 VT-Close Service ···· 728 17. 4 VT-Data service :·:“a ..729 17.5 Default Terminal Characteristics 18 ERROR, REJECT, and ABORT CODES 18.1 Error class- DEVICE 735 18.2 Error Class-OBJECT 735 18.3 Error Class-PROPERTY 736 18 4 Error Class- RESOURCES 737 18.5 Error Class-SECURITY 738 18.6 Error Class-SERVICES 739 18.7 Error Class-COMMUNICATION 740 18.8 Error class-Vt 742 18.9 Reject Reason.…………… 743 18.10△ bort reason. ..743 18.11 Confirmed Service Common errors 744 9 BACnet PROCedUrEs 745 19.1 Backup and Restore 745 19.2 Command prioritization 749 19.3 Device Restart Procedure 753 19.4 Determining Maximum Conveyable APDU 19.5 Value Source Mechanism 755 20 ENCODING BACnet PROTOCOL DATA UNITS 757 20.1 encoding the Fixed Part of BACnet APDUs 非···中··中,中·申申 ..757 20.2 Encoding the Variable Part of BACnet APDUS 768 21 FORMAL DESCRIPTION OF APPLICATION PROTOCOL DATA UNITS 782 22 CONFORMANCE AND INTEROPERABILITY 22 1 Conformance to bacnet 872 22.2 BACnet Interoperability.………… 23 EXTENDING BACnet TO ACCOMMODATE VENDOR PROPRIETARY INFORMATION .............4.875 23. 1 Extending Enumeration Values... +···: 875 23.2 USing the PrivateTransfer Services to Invoke Non-Standardized Services................876 23.3 Adding Proprietary Properties to a Standardized object 876 23. 4 Adding proprietary object T ypes to BACnet 876 23.5 Restrictions on Extending bacnet 877 24 NETWORK SECURITY 878 241 Overview 24.2 Security wrapper 24.3 Security Message 886 24.4 Securing an apdu..... .901 24.5 Securing an npdu “········· 24.6 Securing BVLL Messages 903 24.7 Securing messages 907 24.8 Network Security Network Trust Levels 910 24.9 Network Security policies 910 24.10 Network Security .911 24. 11 End-to-End Security 912 24.12 Wrapping and Unwrapping Secure Messages………… 912 24.13 Authenticating Messages. 914 24 14 User authentication 24.15 Time Synchronization Requirement 917 24.16 Integrating the security layer into the bacnet stack 919 24. 17 BaCnet Security In A NAT Environment 926 24.18 BACnet Security Proxy…………… ……926 ANSIASHRAE Standard 135-2016 Contents 24.19 Deploying Secure Device on Non-Security Aware Networks 926 2420 Deploying Secure Single Network Installations……… 927 24.21 Security Keys... 927 24.22 Key server...... 928 5 REFERENCES 32 ANNEX A-PROTOCOL IMPLEMENTATION CONFORMANCE STATEMENT (NORMATIVE) 936 ANNEⅩB- GUIDE TO SPECIFYING BACnet DEVIces( NFORMATIV).………………… ANNEⅩC-Rcmoⅴcd.…… 940 ANNEX D- Removed 941 ANNEX E-EXAMPLES OF BACnet APPLICATION SERVICES (INFORMATIVE) E 1 Alarm and event services 942 E 2 File Access services 申非申非申 946 E 3 Object Access Services................. 948 E 4 Remote Device Management Services........ 954 ANNEX F-EXAMPLES OF APDU ENCODING (INFORMATIVE) 959 F.1 Example Encodings for Alarm and Event Services………… 959 F 2 Example Encodings for File Access Services 970 F3 Example Encodings for Object Access Services F4 Example Encodings for Remote Device Management Services 982 F5 Example Encodings for Virtual Terminal Services 986 ANNEXG- CALCULATION OF CRC (INFORMATIVE) .989 G 1 Calculation of the header crc .989 G2 Calculation of the data crc 995 G 3 Calculation of the Encoded CRC-32K 000 ANNEX H- COMBINING BACnet NETWORKS WITH NON-BACnet NET WORKS (NORMATIVE 1003 H.1 BACnet Gateways… 1003 H2 Requirements and best practices for BaCnet Gateway Implementations 非非非 1003 H 3 Using BaCnet with the DaRPa Internet protocols............ .1005 H 4 Using BaCnet with the IPX Protocol 1006 H5 USing BACnet with EIB/KNX .1008 H 6 Using bacnet with the former bacnet/ws Web services Interface Defined by annex N 1017 H.7 irtual MAC Addressing…… 1019 ANNEX I-COMMANDABLE PROPERTIES WITH MINIMUM ON AND OFF TIMES (INFORMATIVE).....1021 ANNEX J-BACnet/IP (NORMATIVE)........... 1023 J I General .102 J 2 BACnet Virtual link layer J3 BACnet/IP Directed Message .1023 .1027 J 4 BACnet/IP Broadcast Messages 1027 J. 5 Addition of Foreign B/IP Devices to an Existing B/IP Network...................1029 Jb Routing Between B/IP and non-B/IP BACnet Networks 1030 J. 7 Routing Between Two B/P BACnet Networks 1031 8 Usc of ip multicast within bacnet/Ip 1036 ANNEX K-BACnet INTEROPERABILITY BUILDING BLOCKS(BIBBS)(NORMATIVE)........ 1038 K 1 Data Sharing BIBBS .1038 K 2 Alarm and event management bibbs 1052 K 3 Scheduling biBbs 106 K4 Trending bibbs 1066 K 5 Device and Network Management BIBBs 1069 K 6 Network Security bibbs 1076 ANNEXL-DESCRIPTIONS AND PROFILES OF STANDARDIZED BACnet DEVICES (NORMATIVE).....1079 L 1 Operator Interface Profiles 1079 L 2 Life Safety Operator Interface Profiles....... 108 L3 Access Control Operator Interface Profiles …1084 L4 Controller profiles 1087 .5 Life Safety oller profile l089 L 6 Access Control Controller Profiles 1090 ANSIASHRAE Standard 135-2016 Contents L 7 Miscellaneous Profiles .1092 L8 BACnet general(B- GENERAL) Profile………… ··:·: 1095 ANNEX M- GUIDE TO EVENT NOTIFICATION PRIORITY ASSIGNMENTS( INFORMATIVE)……………………1096 M.1 Life safety Message Group(0-31)…… 1096 M. 2 Property Safety Message Group (32-63) :·:“a 1097 M 3 Supervisory Message Group(64-95 1097 M.4 Trouble Message Group(96-127)…………… 1098 M5 Miscellancous Higher Priority Mcssage Group(128-191) 1098 M.6 Miscellaneous Lower Priority Message Group(192-255).............. …1099 ANNEXN-FORMER BACnet/WS WEB SERVICES INTERFACE (INFORMATIVE) 1100 N. 1 Data Model l100 N 2 Paths 101 n 3 Normalized points 101 N 4 Reference nodes 1102 N 5 Localization 1102 N.6 Security… l102 N. 7 Sessions n 8 Attributes 1103 n 9 Standard Nodes ∴…1108 N 10 Encodings 1108 N. lI Sery l109 N. 12 Services 1112 N.13E 1129 N 14 Extending Bacnet/Ws 1129 ANNEXO-BACnet oVEr zigBee As A DATA LINK LAYER (NORMATiVE 1130 O. I General 1130 0. 2 Zig Bee Overview. 1130 0. 3 Definitions 131 0. 4 Unicast Addressing 1131 0. 5 Broadcast Addressing .. 3 0.6 BACnet/zigBee Data Link Layer (BZll)...... 113 O.7 Maximum Payload Size……………… 1135 O 8 Vendor Specific Commands .1135 ANNEX P-BACnet ENCODING OF STANDARD AUTHENTICATION FACTOR FORMATS (NORMATIVE)..1136 ANNEX Q-XML DATA FORMATS (NORMATIVE) O1 Introduction .1141 Q 2 XML Document Structure 144 Q3 Expressing Data ,1147 Q 4 Expressing Metadata 1147 Q 5 Expressing Values 1148 Q 6 Binary Encoding and Access rules 149 Q.7 Extensibility… 1150 Q 8 BACnet uRI Scheme...... 115 ANNEX R-MAPPING NETWORK LAYER ERRORS (NORMATIVE 1152 ANNEX S-EXAMPLES OF SECURE BACnet MESSAGES (INFORMATIVE) 1l54 S.1 Example of an Initial Key Distribution…… 1154 S2 Example of Device Startup ......... 1157 S3 Examples of Secured Confirmed requests 1159 S4 Security Challenge example…… 1166 S.5 Secure- BVLL EXample…………………. 1168 ANNEX T-COBS( CONSISTENT OVERHEAD BYTE STUFFING) FUNCTIONS( NFORMATIVE)………………1169 T I Preparing a cobs-Encoded MS/TP frame for transmission 169 T 2 Decoding an Extended MS/TP Frame upon Reception.......... 1171 T3 Example cobs-Encoded frame -Who-Has Service 1173 ANNEXU-BACnet/IPV6(NORMATIVE) …1175 U 1 General l175 ANSIASHRAE Standard 135-2016

...展开详情
试读 127P ASHRAE 135-2016 BACnet协议
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
a2807190 感谢楼主!!!!
2019-11-04
回复
经学原味 是原版协议,很有用。我看bacnet-stack源码的时候遇到一些流程看不太明白,得看协议。在官方网站(https://osr.ashrae.org/default.aspx)找到了,但是登陆才能下载,很麻烦。谢谢楼主上传过来!
2019-03-01
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
上传资源赚钱or赚积分
最新推荐
ASHRAE 135-2016 BACnet协议 50积分/C币 立即下载
1/127
ASHRAE 135-2016 BACnet协议第1页
ASHRAE 135-2016 BACnet协议第2页
ASHRAE 135-2016 BACnet协议第3页
ASHRAE 135-2016 BACnet协议第4页
ASHRAE 135-2016 BACnet协议第5页
ASHRAE 135-2016 BACnet协议第6页
ASHRAE 135-2016 BACnet协议第7页
ASHRAE 135-2016 BACnet协议第8页
ASHRAE 135-2016 BACnet协议第9页
ASHRAE 135-2016 BACnet协议第10页
ASHRAE 135-2016 BACnet协议第11页
ASHRAE 135-2016 BACnet协议第12页
ASHRAE 135-2016 BACnet协议第13页
ASHRAE 135-2016 BACnet协议第14页
ASHRAE 135-2016 BACnet协议第15页
ASHRAE 135-2016 BACnet协议第16页
ASHRAE 135-2016 BACnet协议第17页
ASHRAE 135-2016 BACnet协议第18页
ASHRAE 135-2016 BACnet协议第19页
ASHRAE 135-2016 BACnet协议第20页

试读结束, 可继续阅读

50积分/C币 立即下载