system.bacnet
BACnet Functions
The following functions are used with the BACnet driver and a BACnet/IP device.
📄️ readRaw
Read from any BACnet object not explicitly supported by the BACnet driver.
📄️ readRawMultiple
This function is the bulk version of system.bacnet.readRaw to allow multiple object/property combinations to be read simultaneously from a single request.
📄️ synchronizeTime
Notifies the remote device of the correct current time, which is the system time (factoring in time zone and DST) of the server Ignition is running on.
📄️ synchronizeTimeUtc
Notifies the remote device of the correct current time in UTC.
📄️ writeRaw
Write to any BACnet object not explicitly supported by the BACnet driver.
📄️ writeRawMultiple
This function is the bulk version of system.bacnet.writeRaw by writing properties to objects provided equal-length lists of object types, object instance numbers, property IDs, values, priorities, and property array indices.
📄️ writeWithPriority
Write to the Present_Value attribute of an object with a custom priority level.
Functions by Scope
Constants
The system.bacnet function contains three packages (objectType, propertyId, and Enums) that reference Java classes. These references allow the classes to be imported through scripts without needing to know their full path. For example, both scripts below use system.bacnet to import the calendar object type without using from com.serotonin.bacnet4j.type.enumerated import ObjectType
. See the system.bacnet.readRaw page for more details.
from system.bacnet.enumerated import ObjectType
ot = ObjectType.calendar
ot = system.bacnet.enumerated.ObjectType.calendar