BACnet Integration using object names only

Is there anyway in N4.15 to integrate to bacnet points from lets say a Distech ECY-S1000 into a JACE-9000 by only using the bacnet object name? We want to make a template using just object names for integration and not using object id#'s.

In my red arrow below that field only accepts numeric values and not any other character…

Can this be done by creating a normal point and adding bacnet slots to its proxy ext?

When i used to work for ALC we could map points with their object id #, name , or even the HEX value… The intent being we didnt care about the object #’s as long as they were unique but could reuse the program/template anywhere.

Blue Text Screenshot Font Software

I have to ask, why wouldn’t you use the same object ID’s for the same equipment?

I’m with Charles on this… would be way easier and makes more sense.

Because the gfx programs are slightly different so we don’t want to use slightly different templates at the Niagara level as well… we want 1 template that’s one size fits all…

Where we don’t need to worry about the order of AV#s or whether they exist or not…

That’s not a thing in Niagara.

Meaning they don’t officially support object names instead of object IDs? In regard to integration.

When you discover objects it brings in the object name and ID together. It takes the BACnet info and packages it into the proxy extension.

So if you want a template, they need to match. No way around that.

Dang that’s undesirable

If this is templating your dealing with, you may want to look into tagging you points.

Charles has the binding right, and the code says why. BBacnetProxyExt declares three address slots: objectId of type BBacnetObjectIdentifier, propertyId, and propertyArrayIndex. There is no object name slot on the proxy extension, so the driver has nothing to resolve at subscribe time. The numeric only field your red arrow points at is the instance number; the object type is the enum beside it. Internally the pair is packed the way your ALC tool exposed it, object type shifted left 22 and masked together with the instance, and BBacnetObjectIdentifier.makeId decodes that single integer back. The text form is the type tag, a colon, then the instance, and decodeFromString will also take an underscore or a space as the separator. Instances run to 4194302, with 4194303 reserved to mean unconfigured.

Where it is more than not a thing is discovery, because Niagara does ship name resolution. BWhoHasConfig has a use enum whose two choices are objectId and objectName, plus a plain objectName string; BBacnetNetwork.doSubmitDeviceManagerJob hands that to BWhoHasJob; and the Workbench side is the Who Has command on the Bacnet device manager, next to Time Synch and Change Id. Tridium’s own lexicon text for it reads search for objects by name or id. The job broadcasts Who-Has for the name, registers as an I-Have listener, and logs each reply with source address, object identifier and object name.

Be clear about its limits first. Who-Has is an unconfirmed broadcast, the remote device has to advertise whoHas in servicesSupported to answer at all, and the replies land in the job log rather than the point tree. It resolves, it does not bind.

Discovery already carries what you want, it just does not survive the add. BDiscoveryPoint, the row type behind the discovery pane, holds objectName and objectId side by side. The name becomes the new point’s slot name, escaped for the slot path, with the property identifier appended when the property is not present value, and then it falls away, because the proxy extension has nowhere to keep it. That is the accurate version of the name and the ID coming in together.

The template route that does work is stamping. objectId is a plain writable property with no flags set, and BBacnetProxyExt.changed handles a runtime change to it properly: it re-reads the property info from the device to reset dataType, unsubscribes and resubscribes if the point was subscribed, resets asn type, data size and device facets, redoes discoverPrioritizedPresentValue, and calls reregisterPoint. So one template with placeholder object ids, plus a name to id table resolved per controller at commissioning, gets you the one size fits all you asked for, and the rebind is a supported path rather than a trick.

For the audit afterwards, propertyId is a dynamic enum over BBacnetPropertyIdentifier, where objectName is 77. A StringPoint with a BacnetStringProxyExt aimed at an object with propertyId set to objectName reads the controller’s own name for it straight back, a cheap way to prove a stamped template landed where you meant.

Tagging, as suggested above, sits above all of this and is worth doing, but it does not change which object a proxy extension reads. All of this is read off the 4.15.5 framework code, not measured against a controller.