This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

BACnet troubles connecting
#4
Here is what I have found with the help of VTS:

Code:
[ Summary Information ] Time:        13:42:31.207 Source:      192.168.1.3:47808 Destination: Local Broadcast Summary:     Who-Has, 234-234, Error! [ Detail Information ] ----- IP Frame Detail ----- Source/Destination          = 192.168.1.3:0xBAC0 ----- BACnet Virtual Link Layer Detail ----- BVLC Type                   = BACnet/IP BVLC Function               = 11  Original-Broadcast-NPDU BVLC Length                 = 26 ----- BACnet Network Layer Detail ----- Protocol Version Number = 1 Network Control Octet       = X'00'                  0... .... = BACnet APDU                  .0.. .... = Reserved                  ..0. .... = DNET,DLEN,DADR & Hop Count Omitted                  ...0 .... = Reserved                  .... 0... = SNET,SLEN, & SADR Omitted                  .... .0.. = No Reply Expected                  .... ..00 = Normal Message ----- BACnet Application Layer Detail ----- Who-Has Request First Header Octet          = X'10'                  0001 .... = BACnet-Unconfirmed-Request-PDU                  .... 0000 = Unused Who-Has Request             = 7 [0] deviceInstanceRangeLowLimit:  234 SD Context Tag              = X'09'                  0000 .... = [0]                  .... 1... = Context Specific Tag                  .... .001 = Length = 1 Value                       (1-octet unsigned) = 234 [1] deviceInstanceRangeHighLimit:  234 SD Context Tag              = X'19'                  0001 .... = [1]                  .... 1... = Context Specific Tag                  .... .001 = Length = 1 Value                       (1-octet unsigned) = 234 [3] objectName:  "Temp_Masaza" SD Context Tag              = X'3D'                  0011 .... = [3]                  .... 1... = Context Specific Tag                  .... .101 = Extended Length Length of data              = 12 ISO 8859-1                  = 5 Character string            = X'54656D705F4D6173617A61'

I am asking for the object named "Temp_Masaza", but the PLC is encoding it in some different format (54656D705F4D6173617A61), not sure what is going  on here.

When I send the request from VTS the LM4 responds with I-Have as expected.

Code:
[ Summary Information ] Time:        14:06:31.030 Source:      TD Destination: (65535, broadcast) via Local Broadcast Summary:     Who-Has, 234-234, Temp_Masaza [ Detail Information ] ----- IP Frame Detail ----- Source/Destination          = 192.168.1.155:0xBAC0 ----- BACnet Virtual Link Layer Detail ----- BVLC Type                   = BACnet/IP BVLC Function               = 11  Original-Broadcast-NPDU BVLC Length                 = 30 ----- BACnet Network Layer Detail ----- Protocol Version Number = 1 Network Control Octet       = X'20'                  0... .... = BACnet APDU                  .0.. .... = Reserved                  ..1. .... = DNET,DLEN,DADR & Hop Count Present                  ...0 .... = Reserved                  .... 0... = SNET,SLEN, & SADR Omitted                  .... .0.. = No Reply Expected                  .... ..00 = Normal Message Global Broadcast DNET          = X'FFFF', Global Broadcast Destination MAC address length = 0 Broadcast MAC address implied Hop Count                   = 255 ----- BACnet Application Layer Detail ----- Who-Has Request First Header Octet          = X'10'                  0001 .... = BACnet-Unconfirmed-Request-PDU                  .... 0000 = Unused Who-Has Request             = 7 [0] deviceInstanceRangeLowLimit:  234 SD Context Tag              = X'09'                  0000 .... = [0]                  .... 1... = Context Specific Tag                  .... .001 = Length = 1 Value                       (1-octet unsigned) = 234 [1] deviceInstanceRangeHighLimit:  234 SD Context Tag              = X'19'                  0001 .... = [1]                  .... 1... = Context Specific Tag                  .... .001 = Length = 1 Value                       (1-octet unsigned) = 234 [3] objectName:  "Temp_Masaza" SD Context Tag              = X'3D'                  0011 .... = [3]                  .... 1... = Context Specific Tag                  .... .101 = Extended Length Length of data              = 12 ASCII/UTF-8 Character Encoding = 0 Character string            = Temp_Masaza *************************** [ Packet 270 End ] *************************** *************************** [ Packet 271 Start ] *************************** [ Summary Information ] Time:        14:06:31.033 Source:      192.168.1.2:47808 Destination: (65535, broadcast) via Local Broadcast Summary:     I-Have, device_234, analog-value_10303 [ Detail Information ] ----- IP Frame Detail ----- Source/Destination          = 192.168.1.2:0xBAC0 ----- BACnet Virtual Link Layer Detail ----- BVLC Type                   = BACnet/IP BVLC Function               = 11  Original-Broadcast-NPDU BVLC Length                 = 36 ----- BACnet Network Layer Detail ----- Protocol Version Number = 1 Network Control Octet       = X'20'                  0... .... = BACnet APDU                  .0.. .... = Reserved                  ..1. .... = DNET,DLEN,DADR & Hop Count Present                  ...0 .... = Reserved                  .... 0... = SNET,SLEN, & SADR Omitted                  .... .0.. = No Reply Expected                  .... ..00 = Normal Message Global Broadcast DNET          = X'FFFF', Global Broadcast Destination MAC address length = 0 Broadcast MAC address implied Hop Count                   = 255 ----- BACnet Application Layer Detail ----- I-Have Request First Header Octet          = X'10'                  0001 .... = BACnet-Unconfirmed-Request-PDU                  .... 0000 = Unused I-Have Request              = 1 deviceIdentifier:  device,234 Application Tag             = X'C4'                  1100 .... = Object Identifier                  .... 0... = Application Tag                  .... .100 = Length = 4 BACnet Object Identifier               Standard Object Type               Object Type = device               Instance Number = 234 objectIdentifier:  analog-value,10303 Application Tag             = X'C4'                  1100 .... = Object Identifier                  .... 0... = Application Tag                  .... .100 = Length = 4 BACnet Object Identifier               Standard Object Type               Object Type = analog-value               Instance Number = 10303 objectName:  "Temp_Masaza" Application Tag             = X'75'                  0111 .... = Character String                  .... 0... = Application Tag                  .... .101 = Extended Length Length of data              = 12 ASCII/UTF-8 Character Encoding = 0 Character string            = Temp_Masaza


Can I do anything with the LM4 to accept this kind of request?
Attached is the discover log from VTS.

br, Z

Attached Files
.txt   discover.txt (Size: 180.35 KB / Downloads: 8)
Reply


Messages In This Thread
BACnet troubles connecting - by zoltan - 12.12.2016, 11:04
RE: BACnet troubles connecting - by admin - 12.12.2016, 14:39
RE: BACnet troubles connecting - by zoltan - 13.12.2016, 03:15
RE: BACnet troubles connecting - by zoltan - 13.12.2016, 09:02
RE: BACnet troubles connecting - by admin - 13.12.2016, 09:25
RE: BACnet troubles connecting - by zoltan - 13.12.2016, 09:47

Forum Jump: