Testing a BACnet COV Server Using VTS

Please see our other articles for more information on how to setup VTS

- First Time Use – http://www.chipkin.com/visual-test-shell-%E2%80%93-first-time-use/

- Installation – http://www.chipkin.com/visual-test-shell-%E2%80%93-installation/

- Configuring Devices – http://www.chipkin.com/visual-test-shell-%E2%80%93-configuring-devices/

- Configuring Ports – http://www.chipkin.com/visual-test-shell-%E2%80%93-configuring-ports/

- Configuring Names – http://www.chipkin.com/visual-test-shell-%E2%80%93-configuring-names/

 

How to Test COV Server using VTS  

1.  Start the BACnet Serving application or device.

2.  Run the VTS executable.

3.  Click on the “Send” menu.  Hover over the “Alarm and Event” submenu.  Then click on the “Subscribe COV” submenu item.

SendMessage

 

4.  In the Subscribe COV window build the Subscribe COV message.

a.  First click on the “IP” tab and fill out the IP address and port as follows:  IP:PORT

SubscribeCOV_IP

b.  Next click on the “BVLCI” tab and make sure only “Original Unicast” is selected.

SubscribeCOV_BVLCI

c.  Click on the “NPCI” tab and fill out the DNET, DADR (if needed), and Hop Count.
Make sure Data Expecting Reply is checked.  Set DNET to zero if BACnet COV Server is on the same network as the computer running VTS.

SubscribeCOV_NPCI

d.  Click on the “Confirmed-Request” tab and set the Max APDU length accepted to 1476 (ISO 8802-3).

SubscribeCOV_ConfirmedRequest

e.  Finally click on the “Subscribe COV” tab and fill out the all the fields.

- Subscriber Process ID – can be any unsigned short number
- Monitored Object ID – the Object Identifier of the object you are testing COV
- Issue Confirmed Notifications – 0 = Unconfirmed Notification; 1 = Confirmed Notification
- Lifetime – how long to subscribe for in seconds

SubscribeCOV_SubscribeCOV

  5.  Once the message is ready, click the “Send” or “Send & Close” button.  This will send the message to the device.

6.   You should see three messages in the log.  The first one will be the Subscribe COV message sent from the VTS.
The second will be the ACK to the Subscribe COV sent from the device.
The third will be either an unconfirmed or confirmed COV notification based on what value was used for the Issue Confirmed Notifications.
See below for examples of the messages.

a.  Subscribe COV Message

SubscribeCOV

b.  Subscribe COV ACK

SubscribeCOVACK

c.  Unconfirmed / Confirmed COV Notification

UnconfirmedNotification

  7.  Change the value of the monitored object in the device.  You should receive another unconfirmed / confirmed COV Notification with the updated value

UnconfirmedNotification2