using bacnet with field server

Upload: rpandit075698

Post on 03-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Using BACnet With Field Server

    1/26

  • 7/28/2019 Using BACnet With Field Server

    2/26

  • 7/28/2019 Using BACnet With Field Server

    3/26

  • 7/28/2019 Using BACnet With Field Server

    4/26

  • 7/28/2019 Using BACnet With Field Server

    5/26

    The BACnet StandardThe BACnet StandardBACnetBACnet BIBBsBIBBs -- ExampleExample

    Supported BIBBs

    ProductSupported BIBBs BIBB Name

    Tested

    Excel EnergyManager(XEM)

    DS-RP-B Data Sharing-ReadProperty-B 9DS-RPM-B Data Sharing-ReadPropertyMultiple-B 9DS-WP-B Data Sharing-WriteProperty-B 9DS-WPM-B Data Sharing-WritePropertyMultiple-B 9DM-DDB-B Device Management-Dynamic-Device-Binding-B 9DM-DOB-B Device Management-Dynamic-Object-Binding-B 9

  • 7/28/2019 Using BACnet With Field Server

    6/26

    The BACnet StandardThe BACnet StandardWhat you need to know about PICS:What you need to know about PICS:

    PICS stands for Protocol Implementation ConformancePICS stands for Protocol Implementation ConformanceStatementStatement

    Vendors are required to produce a PICS so that usersVendors are required to produce a PICS so that usersknow whatknow what BIBBsBIBBs, Services, Objects and Properties they, Services, Objects and Properties theyare getting.are getting.

    PICS is designed to assist the user in determining whetherPICS is designed to assist the user in determining whetherthe Vendorthe Vendors level of BACnet support will suffice for thes level of BACnet support will suffice for the

    application.application. Be sure to read a VendorBe sure to read a Vendors PICS before purchasing thes PICS before purchasing the

    product.product.

  • 7/28/2019 Using BACnet With Field Server

    7/26

  • 7/28/2019 Using BACnet With Field Server

    8/26

    BACnet VariationsBACnet Variations Variations exist due to a difference in connection medium:Variations exist due to a difference in connection medium:

    BACnet PTPBACnet PTP RSRS--232 Point to Point connection232 Point to Point connection

    BACnet MSTPBACnet MSTP RSRS--485 Token Passing connection485 Token Passing connection

    BACnetBACnet

    ARCnetARCnet

    ARCnetARCnet

    ConnectionConnection

    BACnet EthernetBACnet Ethernet EthernetEthernet connection, MAC address basedconnection, MAC address based

    BACnet I/PBACnet I/P Ethernet connection, IP address based.Ethernet connection, IP address based.

    All variations use the same application protocol, but differ atAll variations use the same application protocol, but differ atthe transport level due to demands set by the medium.the transport level due to demands set by the medium.

  • 7/28/2019 Using BACnet With Field Server

    9/26

    BACnet VariationsBACnet VariationsBACnetBACnet ARCnetARCnet::

    Legacy Protocol. Needs cards for communication. SeldomLegacy Protocol. Needs cards for communication. Seldomused.used.

    Cards are becoming hard to find, and expensive.Cards are becoming hard to find, and expensive.

    Hard to fault find. NoHard to fault find. Nosniffersniffertools available.tools available. BestBest aproachaproach is to replaceis to replace ARCnetARCnet with BACnet/IP in mostwith BACnet/IP in most

    applications.applications.

  • 7/28/2019 Using BACnet With Field Server

    10/26

  • 7/28/2019 Using BACnet With Field Server

    11/26

  • 7/28/2019 Using BACnet With Field Server

    12/26

  • 7/28/2019 Using BACnet With Field Server

    13/26

    BACnet VariationsBACnet VariationsBACnet I/P:BACnet I/P:

    Ethernet Protocol. IP address based.Ethernet Protocol. IP address based.

    BACnet I/P allows for devices on different subnets toBACnet I/P allows for devices on different subnets tocommunicate with one another, but BBMD is required.communicate with one another, but BBMD is required.

    BACnet I/P is also known as Annex J BACnet.BACnet I/P is also known as Annex J BACnet.

  • 7/28/2019 Using BACnet With Field Server

    14/26

    BACnet applicationsBACnet applicationsRoutersRouters vsvs Gateways:Gateways:

    BACnet Routers connect BACnet networks of dissimilarBACnet Routers connect BACnet networks of dissimilarmedium together (medium together (e.ge.g: BACnet MSTP to BACnet I/P): BACnet MSTP to BACnet I/P)

    Gateways connect networks of dissimilar protocolsGateways connect networks of dissimilar protocolstogether (together (e.ge.g:: ModbusModbus RTU to BACnet I/P)RTU to BACnet I/P)

    The FieldServer is a Gateway.The FieldServer is a Gateway. BACnet Routers cannot function as gateways. However,BACnet Routers cannot function as gateways. However,

    the FieldServer Gateway can be used in applications wherethe FieldServer Gateway can be used in applications where

    a BACnet router is required.a BACnet router is required.

  • 7/28/2019 Using BACnet With Field Server

    15/26

    BACnet applicationsBACnet applications

    Standard BACnet Properties used in the FieldServer:Standard BACnet Properties used in the FieldServer:

    These map descriptor keywords are used invariably in FieldServerThese map descriptor keywords are used invariably in FieldServerBACnet applicationsBACnet applications

    Map_Descriptor_NameMap_Descriptor_Name Used to specify a name for theUsed to specify a name for the Object_IDObject_ID

    Data_TypeData_Type Used to specifyUsed to specify Object_TypeObject_Type Object_IDObject_ID Used to specify theUsed to specify the Object_InstanceObject_Instance

    Units (Server Side)Units (Server Side) Used to specify a unit for theUsed to specify a unit for the Object_IDObject_ID Relinquish_DefaultRelinquish_Default (Server Side)(Server Side) Used to specify the relinquished defaultUsed to specify the relinquished default

    of aof a setpointsetpoint Property (Client Side)Property (Client Side) Invariably set toInvariably set to Present_ValuePresent_Value to request theto request the

    present value of the remotepresent value of the remote Object_IDObject_ID..

    //================================================================================//

    // Server Side Map Descriptors

    //

    Map_Descriptors

    Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_Name Data_Type Object_ID Units Relinquish_DefaultSpace_Temp_SP DA_AO_01 0 Server FS_11 AO 12 Deg_f 72

  • 7/28/2019 Using BACnet With Field Server

    16/26

    BACnet applicationsBACnet applications

    BBMD (BACnet Broadcast Management Device):BBMD (BACnet Broadcast Management Device):

    BACnet as a protocol struggles with operation across networkBACnet as a protocol struggles with operation across networksubnetssubnets. This is due to the prolific use of broadcasting in the. This is due to the prolific use of broadcasting in theprotocol.protocol.

    BACnet solves the problem by assigning a BBMD in everyBACnet solves the problem by assigning a BBMD in everysubnet. Each BBMD listens for broadcasts, and distributes themsubnet. Each BBMD listens for broadcasts, and distributes themto otherto other BBMDBBMDss using direct messaging. The otherusing direct messaging. The other BBMDBBMDss thenthen

    rere--broadcast the broadcast messages.broadcast the broadcast messages. The FieldServer is capable of being a BBMD as long as it is notThe FieldServer is capable of being a BBMD as long as it is not

    fulfilling a BACnet Client role. A file calledfulfilling a BACnet Client role. A file called bdt.inibdt.ini needs to beneeds to beloaded into the FieldServer for this application.loaded into the FieldServer for this application. Bdt.iniBdt.ini storesstoresthe IP addresses of all thethe IP addresses of all the BBMDBBMDss on the network, including theon the network, including the

    FieldServerFieldServerss IP address. AllIP address. All BBMDBBMDss will use the samewill use the same bdt.inibdt.inifile.file.//============================================//

    // Server Side Connections//

    ConnectionsAdapter P rotocol Connection_TypeN1 Bacnet_IP BBMD

  • 7/28/2019 Using BACnet With Field Server

    17/26

    BACnet applicationsBACnet applications

    BACnet Communications Port:BACnet Communications Port:

    The default communications port for BACnet is 47808The default communications port for BACnet is 47808 The Port number can be changed in the Connection parametersThe Port number can be changed in the Connection parameters

    by adding theby adding the IP_PortIP_Port Keyword.Keyword.

    //============================================

    //

    // Server Side Connections

    //

    Connections

    Adapter Protocol IP_Port

    N1 Bacnet_IP 47809

  • 7/28/2019 Using BACnet With Field Server

    18/26

    BACnet applicationsBACnet applications

    Priority Arrays:Priority Arrays:

    For each Output variable, the FieldServer maintains a priorityFor each Output variable, the FieldServer maintains a priorityArray of 16 priority levels. The value written from each ClientArray of 16 priority levels. The value written from each Clientis stored in this array at the priority level specified by theis stored in this array at the priority level specified by theClientClient

    The FieldServer also maintains a set of flags that indicateThe FieldServer also maintains a set of flags that indicate

    which priority levels are activewhich priority levels are active

    Value: 78

    Priority: 11

    CLIENT 1

    Value: 73

    Priority: 5

    CLIENT 2

    Value: 76

    Priority: 16

    CLIENT 3

    Priori ty Value Active

    1 0 0

    2 0 0

    3 0 0

    4 0 0

    5 73 06 0 0

    7 0 0

    8 0 0

    9 0 0

    10 0 0

    11 78 1

    12 0 0

    13 0 0

    14 0 0

    15 0 0

    16 76 1

  • 7/28/2019 Using BACnet With Field Server

    19/26

    BACnet applicationsBACnet applicationsPriority Arrays:Priority Arrays:

    The FieldServer also copies the value stored in the highestThe FieldServer also copies the value stored in the highestactive priority level to the current value for the Outputactive priority level to the current value for the Output(which is the(which is the Data_ArrayData_Array offset associated with the relatedoffset associated with the relatedserver map descriptor)server map descriptor)

    If no Priorities are active, then the Relinquish default valueIf no Priorities are active, then the Relinquish default value

    is stored as the current value.is stored as the current value.

    Value: 78

    Priority: 11

    CLIENT 1

    Value: 73Priority: 5

    CLIENT 2

    Value: 76

    Priority: 16

    CLIENT 3

    Priority Value Active

    1 0 0

    2 0 0

    3 0 0

    4 0 0

    5 73 0

    6 0 0

    7 0 08 0 0

    9 0 0

    10 0 0

    11 78 1

    12 0 0

    13 0 0

    14 0 0

    15 0 0

    16 76 1

    Offset: 0

    Value: 78

    Data_Array

  • 7/28/2019 Using BACnet With Field Server

    20/26

    BACnet applicationsBACnet applications

    Priority Arrays:Priority Arrays:

    The contents of the Priority Array can be assigned to a DataThe contents of the Priority Array can be assigned to a DataArray for visualizationArray for visualization

    //================================================================================

    //

    // Server Side Map Descriptors

    //

    Map_Descriptors

    Map_Descriptor_Nam Data_Array_Nam Data_Array_Offs Function Node_Name Data_Type Object_ID Relinquish_Default DA_Pri_Array DA_Pri_Array_Offset DA_Pri_In_Use DA_Pri_In_Use_Offset

    SMD_AI_01 DA_AI_01 0 Server FS_11 AO 1 20 P_Values 0 P_State 0

  • 7/28/2019 Using BACnet With Field Server

    21/26

    BACnet applicationsBACnet applications

    Active/Inactive text:Active/Inactive text:

    For objects that support these properties, it is possible to speFor objects that support these properties, it is possible to specifycifyActive and Inactive texts for binary states in a Server Side MapActive and Inactive texts for binary states in a Server Side MapDescriptor.Descriptor.

    //

    // Server Side Map Descriptors

    //

    Map_Descriptors

    Map_Descriptor_Nam Data_Array_Nam Data_Array_Offs Function Node_Name Data_Type Object_ID Active_Text Inactive_Text

    Back_Door_Alarm DA_DI_01 0 Server FS_11 DI 1 Alarm Normal

  • 7/28/2019 Using BACnet With Field Server

    22/26

  • 7/28/2019 Using BACnet With Field Server

    23/26

    BACnet applicationsBACnet applicationsNew to FieldServer: Change of Value (COV):New to FieldServer: Change of Value (COV):

    As a server, FieldServer can accept COV subscriptions forAs a server, FieldServer can accept COV subscriptions forAI,DI,AO,DO objectsAI,DI,AO,DO objects..

    Both Confirmed and Unconfirmed subscriptions areBoth Confirmed and Unconfirmed subscriptions aresupported.supported.

    Currently available for BACnet IP. Will be available onCurrently available for BACnet IP. Will be available on

    other BACnet drivers soon.other BACnet drivers soon. No special configuration required in FieldServer serverNo special configuration required in FieldServer server

    map descriptor.map descriptor.

  • 7/28/2019 Using BACnet With Field Server

    24/26

    ResourcesResources1) www.fieldserver.com

    FieldServer Configuration manualFieldServer Troubleshooting manual

    BACnet PICSBACnet combined Data Fact SheetBACnet driver manuals

    2) www.bacnet.orgOfficial ASHRAE SSPC 135 website3) www.bacnetassociation.org

    BMA website

    Includes BTL and BTL product listings4) www.ethereal.com

    Ethernet packet capture utility

    http://www.bacnet.org/http://www.bacnetassociation.org/http://www.ethereal.com/http://www.ethereal.com/http://www.bacnetassociation.org/http://www.bacnet.org/
  • 7/28/2019 Using BACnet With Field Server

    25/26

    Questions?Questions?

    Email Mac at:Email Mac at:

    [email protected]@comcast.net

  • 7/28/2019 Using BACnet With Field Server

    26/26

    THANK YOU!THANK YOU!

    ..for taking the time to attend..for taking the time to attend

    this presentation.this presentation.