Difference between revisions of "Tag Number"

From BACnet Wiki
Jump to: navigation, search
Line 6: Line 6:
 
** The types of these tags depend on where they are found, in the variable part of the APDU. Their type cannot be determined by inspection alone.
 
** The types of these tags depend on where they are found, in the variable part of the APDU. Their type cannot be determined by inspection alone.
 
** They have an associated context number; this context number specifies the meaning of the data.
 
** They have an associated context number; this context number specifies the meaning of the data.
** Context Tags also allow 'Constructed Tags' (lists) to be created.
+
** Context Tags also allow [[Constructed Tags]] (lists) to be created.
 
+
** See section 20.2.1, pg 377 of the specification
See section 20.2.1, pg 377 of the specification
+
  
 
Another resource is [http://bacnetbill.blogspot.com/2009/10/bacnet-tagging-rules.html | BAC Cave, from BAnet Bill]]
 
Another resource is [http://bacnetbill.blogspot.com/2009/10/bacnet-tagging-rules.html | BAC Cave, from BAnet Bill]]

Revision as of 10:54, 4 December 2010

There are two types of Tags

  • Application Tags
    • These have fixed type - boolean, int, date etc.
  • Context Tags
    • The types of these tags depend on where they are found, in the variable part of the APDU. Their type cannot be determined by inspection alone.
    • They have an associated context number; this context number specifies the meaning of the data.
    • Context Tags also allow Constructed Tags (lists) to be created.
    • See section 20.2.1, pg 377 of the specification

Another resource is | BAC Cave, from BAnet Bill]



BACnet Tags
Octets Meaning
7 6 5 4 3 2 1 0
1 Tag Number Class Length/Value/Type
n Variable amount of data


Class = 0 for Application Tags

Class = 1 for Context Specific Tags








Keyword List
APDU BBMD BVLC BVLL DADR DNET Encoding I-Am LSAP MAC NPCI NPDU NSAP NSDU SA SADR SNET

Device Profiles

Edit this box.

Glossary