--- title: "system.bacnet" --- # system.bacnet > The following functions are used with the [BACnet driver](ignition-modules\opc-ua\opc-ua-drivers\bacnet\bacnet.md) and a BACnet/IP device. ## BACnet Functions ### 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](appendix/scripting-functions/system-bacnet/system-bacnet-readRaw.md#importing-classes) page for more details. ```python title="Example code using an import statement" from system.bacnet.enumerated import ObjectType ot = ObjectType.calendar ``` ```python title="Exmaple code not using an import statement" ot = system.bacnet.enumerated.ObjectType.calendar ```