EasyBAC - BACnet/IP to serial Development Kit

B6095


Collections: BACnet

Category: B6095, BACnet, EasyBAC

Type: BACnet


  • The Cimetrics EasyBAC is a BACnet gateway for microprocessors. EasyBAC saves you significant development time - you need to add minimal code to your product to make it a BACnet/IP Device.

    EasyBAC provides BACnet code by the creators of the industry’s leading BACnet OEM protocol stack (BACstac).

    EasyBAC provides a framework which performs BACnet processing on behalf of a microprocessor.

    The framework's primary tasks are:

    • Maintain the Object Database containing data representing BACnet objects and properties that should be exposed to the BACnet network.
    • Execute and initiate BACnet service requests.
    • Provide a link between the microprocessor and properties in the BACnet Object Database that represent physical inputs/outputs.

    BACnet device exposed to the BACnet network implements the following BIBBs:

    • DS-RP-B
    • DS-WP-B
    • DM-DDB-B

    This matches BACnet B-ASC profile without support for Who-Has/I-Have and DCC.

    BACnet Object Database is created by the EasyBAC based on the configuration downloaded in advance and saved to the EasyBAC's flash memory. This configuration is created and downloaded over Ethernet using a special PC-based configuration tool. Some of the parameters (such as device's IP address or value of the Device Object_Identifier property) are unknown until deployment and are configured in the field over the Web using the EasyBAC's built-in Web server.

    Communication between EasyBAC and the microprocessor is performed using custom protocol over an RS-232 link.

    BACnet Object Types Supported

    • Device
    • Analog Input
    • Analog Output
    • Analog Value
    • Binary Input
    • Binary Output
    • Binary Value
    • Multi-state Input
    • Multi-state Output
    • Multi-state Value

    * configured at install-time - property value is specified in the field using the deployment configuration tool and doesn't change during run-time
    * download - property value is specified in the downloaded configuration and doesn't change during run-time
    * a constant - property value is predefined and cannot be changed
    * variable - property value is changed during run-time in response to BACnet service requests and/or microprocessor serial messages

  • The following are included in the  EasyBAC SDK

    - Virtual Object Creator Software
      This requires Microsoft.NET v1.1 run-time environment. If this is not found on your PC,  the Setup Wizard will prompt you to download and  install it from a Microsoft site.

    - BACnet Explorer Software
      This will help you discover your BACnet/IP device and help troubleshoot.

    - TWO * EasyBAC Modules
      You can use these to design your circuit board so this module connects to the serial port of your host microprocessor.

    Power:
    120VAC at under 1W, DC at 12VDC at 12W
    Operating temperatures: 0 to 40C
    Storage temperature: -20 to 80C
    Relative Humidity: 10-95% non condensing
    Physical protection: IP30 DIN EN 60529 (VDE 0470) (no entry of 2.5mm probe, NOT waterproof)
    System LED: power as labelled  ON=OK

    Ethernet:
    IEEE 802.3 10/100 Mbps
    10BaseT, 100BaseT, RJ45 connectors
    Half/Full duplex
    100m (max) CAT5 cable length.
    LEDs: link and activity as labelled.

  • Enable BACnet Workstation control of Lights

    The “EasyBAC” system allows a simplified way of to offer BACnet integration.

    Lighting companies have found that they can expand their applications by offering BACnet integration in commercial buildings.  These typically involve offering a BACnet/IP connection so that an HVAC Workstation can control light on/off and dimmer values based on building occupancy or energy saving schedules.

    Software developers found that they saved significant time programming to the EasyBAC protocol instead of trying to master the BACnet requirements.  While the control of lighting can be very complex, the binary and analog nature of the commands needed are a perfect fit for EasyBAC's six command API.  The more complex features of BACnet such as object discovery and error handling are completely handled by the EasyBAC module or interface.

    BACnet EasyBAC API development OEM solutions


    Fume Hoods easily integrated into BACnet

    The Cimetrics “EasyBAC” technology has been used by several customers to integrate fume hoods into a centrally controlled HVAC system.  This was able to be done with a minimum of additional programming by the Fume Hood manufacturer, and used an existing serial port to connect to the Cimetrics EasyBAC interface.

    Connectivity to the HVAC system was via BACnet/IP using the Cimetrics "industry standard" BACstac protocol stack.  This protocol stack takes care of all of the main "house keeping" functions of BACnet including packet framing, ASN encoding, discovery services, virtual objects, meta-data handling, error handling, and more.  Integration programmers are NOT forced to learn all of the details of the BACnet protocol, and are able to concentrate on the value-add features of the product itself.

    BACnet for industrial, medical, pharmaceutical, software development - BACstac

Product Q&A

Ask a Question
0
Q: How do I use the U+4 with a BACnet client?

A: The U+4 hardware is an intelligent USB to fieldbus interface. This allows you to use your PC's USB port to connect to an MSTP (RS485) network. The U+4 (along with a BACnet client like the Cimetrics BACnet Explorer) can now communicate with a BACnet/MSTP network to write and read values.

The following needs to be done for a connection;

- In your LAN properties, select your NIC interface and get into Properties | uncheck the Cimetrics BACstac protocol

- Install the driver for the U+4 on your PC

- Plug the device into your PC (In the USB port).Once the U+4 is plugged into the PC in the USB slot, this will add an extra Local Area Connection in your Network Places that corresponds to the U+4. In order to configure settings, you would need to select this Local Area Connection.

Once you are in the Local Area Connection, RT Click | Properties |Configure | Advanced, you will see all the options given below. Please configure according to your use.


Card Speed:

Select needed Baud rate(in the range from 1200 to 115200 bps) from the list

Filter:

-"Directed BACnet NPDU only" - to receive only directed or Broadcast NPDU. (accepted by any BACstac version). MS/TP information is absent.

Node Address:

Set address of this node in the range [0-254]. IMPORTANT Note: Master node must be in the range [0-Max_master]

Node Type:

Select "Master Node".

Master Mode takes part in token passing and is needed for the BACstac. In this mode, you would be able to completely discover the MS/TP network by using the BACnet Explorer.


Max_info_frames[1-10]:

Leave at default settings.

Max_master[1-127]:

Leave this at the default settings.


Once the above settings are done, you should be able to start the BACnet Explorer and discover devices from a BACnet/MSTP network.

1
Q: How does the U+4 Field interface get its power?

A: The U+4 Device draws its power from the USB cable and hence will not require any other power source.

2
Q: How do I use the U+4 with the BAS-o-Matic to sniff a network?

A: The U+4 hardware is an intelligent USB to fieldbus interface. This allows you to use your PC's USB port to connect to an MSTP (RS485) network for sniffing the MSTP Network. This sniffing can be done with the help of the Cimetrics Sniffing software called as the BAS-o-Matic.

The following needs to be done for a connection;

  • Install the driver for the U+4 on your PC
  • Plug the device into your PC (In the USB port).Once the U+4 is plugged into the PC in the USB slot, this will add an extra Local Area Connection in your Network Places that corresponds to the U+4. In order to configure settings, you would need to select this Local Area Connection.
Once you are in the Local Area Connection, RT Click | Properties |Configure | Advanced, you will see all the options given below. Please configure according to your use.

Card Speed:

Select needed Baud rate(in the range from 1200 to 115200 bps) from the list

Filter:

Use the filter option to select what kind of packets you want to capture or receive:
  • "All" - to receive all packets (including all types of MS/TP frames and error notifications)
  • "All BACnet data" - to receive all MS/TP frames transporting BACnet NPDU.
  • "Directed BACnet data" - to receive MS/TP frames with BACnet NPDU, destined only to our Node Address and Broadcasts.
  • "Directed BACnet NPDU only" - to receive only directed or Broadcast NPDU. (accepted by any BACstac version). MS/TP information is absent.
Node Address:

Set address of this node in the range [0-254]. IMPORTANT Note: Master node must be in the range [0-Max_master]

Node Type:

Select "Monitor Node". The "Monitor" mode can be used for Bas-o-matic only. This mode would be used if you are using the fieldbus interface purely for sniffing purposes only.


Max_info_frames[1-10]:

Leave at default settings.

Max_master[1-127]:

Leave this at the default settings.


Once the above settings are done, you should be able to start the BAS-o-Matic and start capturing communications from a BACnet/MSTP network.


Related Items