BACnet Reader and BACnet/IP

484 views
Skip to first unread message

Alex Aftuck

unread,
Jun 17, 2013, 3:35:08 PM6/17/13
to bc...@googlegroups.com
Hello all,

I am trying to create a basic BCVTB program to simulate a building management system (BMS) using BACnet. I am using the BACnet tools 0.8.0 from sourceforge, specifically bacserv to simulate a device. BACnet reader will not the values I have assigned values to the device, and gives the message "The property with index 1 in the configuration file cannot be read. Please check whether this property exists. The response from BACnet is 'Error: TSM timeout'"

I have not assigned index 1 in the definition of the property or in the configuration file. Where is this index 1 coming from? The configuration file is:


<?xml version="1.0" encoding="utf-8"?>
<BACnet>
  <!-- Root level BACnet device -->
<Object Type="Device" Instance="1234">

<!-- BACnet object for analog input -->
<Object Type="Analog Output" Instance="1">
<PropertyIdentifier Name="Present_Value"/>
</Object>
        </Object>
  
</BACnet>

Also, when I use bacrp straight from the command line, the value is read correctly. Why can BCVTB not do the same?

Thanks, any help is appreciated. 
-Alex


BingDong

unread,
Jun 18, 2013, 9:57:47 AM6/18/13
to bc...@googlegroups.com
Hi Alex,

You can try two ways:
1. Increase the BACnet reader time through BACNET_APDU_TIMEOUT; 
2. If 1. does not work, try to run ./bacepics -v <device ID>. First time run this command will take a minute (depends on how many objects you have on one device). Second time, ti should take seconds to finish read. 
Let me know how it goes.

Bing
Message has been deleted

Alex Aftuck

unread,
Jun 19, 2013, 12:22:12 PM6/19/13
to bc...@googlegroups.com
Bing,

I increased the APDU_TIMEOUT, but I am still having problems. Could the problem be that bacserv and the bcvtb are on the same computer? I've seen it mentioned that you need more than one computer. Is it possible to workaround this?

Thanks again,
-Alex

James Lee

unread,
Sep 14, 2013, 12:30:00 AM9/14/13
to bc...@googlegroups.com
Hi Alex,
 
May I get some help?
How did you resolve this issue? I am struggling with the same issue.
Bacnet tool is working but BCVTB is not.
 
Best,
 
James

smi...@ncsu.edu

unread,
Aug 4, 2014, 9:29:49 PM8/4/14
to bc...@googlegroups.com
Hello Alex,

Hope you are doing fine.

I am trying to understand how to simulate a BMS using BACnet. My problem is that I don't know how to get the Device Instance number and Analog Input Instance number from a real BMS. I also have downloaded the BACnet tools 0.8.0 from sourceforge and when I run the bacserv, it just gives me one instance number. Do I need another tool to be downloaded?
would you please help me through this. I want to know if I am on a right track or not.

Thanks,
Nasim
Reply all
Reply to author
Forward
0 new messages