IFSF协议在Lonworks上的应用
Document Contents 0 RECORD OF CHANGES................................................................................................... 4 1 SYSTEM ARCHITECTURE ............................................................................................... 6 2 COMMUNICATION PRINCIPLES.................................................................................... 8 2.1 LON FEATURES.............................................................................................................8 2.2 APPLICATION COMMUNICATION BASIC S ................................................................................9 3 APPLICATION MESSAGE FORMAT............................................................................... 12 3.1 GENERIC MESSAGE FRAME..............................................................................................12 3.2 APPLICATION MESSAGE FIELDS ........................................................................................13 3.2.1 Message Status "M_St" .............................................................................................13 3.2.2 Message Length "M_Lg"............................................................................................14 3.2.3 Database Address "DB_Ad" and Length "DB_Ad_Lg" ....................................................14 3.2.4 Application Data "Data" ............................................................................................15 3.3 APPLICATION MESSAGE TYPE...........................................................................................15 3.3.1 "Read" - Message.....................................................................................................15 3.3.2 "Answer" - Message..................................................................................................16 3.3.3 "Write" - Message ....................................................................................................18 3.3.4 "Acknowledge" - Message .........................................................................................20 3.3.5 "Unsolicited Data" - Message.....................................................................................22 3.4 CONCURRENT MESSAGE HANDLING....................................................................................25 3.4.1 Ambiguity of Block Cut Messages ...............................................................................25 3.4.2 Ambiguity of Response Messages...............................................................................25 3.4.3 NACK Reads.............................................................................................................25 4 IFSF COMMUNICATION SERVICES.............................................................................. 26 4.1 ADDRESSING ..............................................................................................................26 4.2 APPLICATION PROTOCOL PARAMETERS................................................................................26 4.3 MESSAGES CODE "IFSF_MC" .........................................................................................27 4.4 BLOCK CUTTING "BL" ...................................................................................................27 4.5 COMMUNICATION SERVICE DATABASE ................................................................................28 4.5.1 Initial Node Installation.............................................................................................29 4.5.2 Recipient Address Table............................................................................................29 4.5.3 Heartbeat................................................................................................................35 4.6 DATA ENCRYPTION.......................................................................................................36 4.6.1 COPT DATA ENCRYPTION ..............................................................................................36 4.7 UNLOCKING................................................................................................................40 5 IMPLEMENTATION GUIDELINES & RECOMMENDATIONS.......................................... 41 5.1 ACTIONS WHEN A DEVICE RECOGNISES THAT A SC IS OFF-LINE.................................................41 5.2 IFSF MESSAGE EXAMPLES ..............................................................................................41 5.2.1 Read and Answer Messages.......................................................................................41 5.2.2 Write and Acknowledge Messages..............................................................................41 5.3 READ AND WRITE DATA ERROR HANDLING ..........................................................................42 5.3.1 Communication Layer Errors ......................................................................................42 5.3.2 Application Data Layer Errors.....................................................................................43 5.4 DATA_ACK ERROR HANDLING..........................................................................................44 5.4.1 Checking Order ........................................................................................................45
用户评论