# BACnet Devices uninitialized

**URL:** <https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [May 11, 2023, 9:56am UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584 "2023-05-11T09:56:33Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![V\_Gopalakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@V\_Gopalakrishnan](https://forum.inductiveautomation.com/u/V_Gopalakrishnan)\
**Post date:** [May 11, 2023, 9:56am UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/1 "2023-05-11T09:56:33Z")

</div>

My

 ![Bacnet Sim 1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/9/d93b7c349b9d598337dc7c08b6f5fab241583e59.png)  
BACnet Devices uninitialized

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [May 11, 2023, 9:59am UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/2 "2023-05-11T09:59:20Z")

</div>

Welcome, you have tagged this as Ignition81, however your screenshot is not from Ignition. Please explain what you need to discuss.

This forum is for discussion of Ignition SCADA topics, and whilst they have a BACnet driver, it doesn't appear from your screenshot that you are using it... please clarify.

---

<div class="post-metadata">

**Author:** ![V\_Gopalakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@V\_Gopalakrishnan](https://forum.inductiveautomation.com/u/V_Gopalakrishnan)\
**Post date:** [May 11, 2023, 1:19pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/3 "2023-05-11T13:19:39Z")

</div>

![Bacnet Config](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8ebaf7464e1bdb2ffb35904e8cb2814929ee1949.png)  
Bacnet uninitiated

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [May 11, 2023, 1:20pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/4 "2023-05-11T13:20:47Z")

</div>

@Kevin.Herron are simulators supported?

---

<div class="post-metadata">

**Author:** ![V\_Gopalakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@V\_Gopalakrishnan](https://forum.inductiveautomation.com/u/V_Gopalakrishnan)\
**Post date:** [May 11, 2023, 1:26pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/5 "2023-05-11T13:26:18Z")

</div>

yes its supported

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [May 11, 2023, 1:38pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/6 "2023-05-11T13:38:50Z")

</div>

Please link me, because I've read the manual and I see no mention of it.

Just because BACnet **hardware** is supported doesn't mean BACnet _simulators_ are.

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [May 11, 2023, 1:53pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/7 "2023-05-11T13:53:01Z")

</div>

I've used that same BACnet simulator for testing, so that shouldn't be an issue. Could you share your logs and your local and remote device configurations?

---

<div class="post-metadata">

**Author:** ![V\_Gopalakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@V\_Gopalakrishnan](https://forum.inductiveautomation.com/u/V_Gopalakrishnan)\
**Post date:** [May 11, 2023, 2:19pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/8 "2023-05-11T14:19:49Z")

</div>

![Bacnet Local Drive settings](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/8/98818d5825741169a737b43709ccbe55fdb6ce6f.png)  
 ![Bacnet OPV UA Drive settings](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/8/8897b0f9638985d9724fb6063f6f4331fe497f91.png)  
 ![error msg](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/c/fc5bf8e3fc7488c69dd383a5a3c236fb13cd77b4.png)  
[CoreCertificationTest\_Ignition\_logs\_20230511-1938.idb](https://forum.inductiveautomation.com/uploads/short-url/93BQciReJSbTewclqMw6fNFdDZm.idb) (2.0 MB)

The Bacnet device constantly switches between Initializing and Uninitialized

---

<div class="post-metadata">

**Author:** ![V\_Gopalakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@V\_Gopalakrishnan](https://forum.inductiveautomation.com/u/V_Gopalakrishnan)\
**Post date:** [May 11, 2023, 2:28pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/9 "2023-05-11T14:28:25Z")

</div>

I have enclosed the simulator settings

 ![Simulator settings](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/6/a60bebf621d72f024ded5c07ff9c01c30fe3add2.png)

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [May 11, 2023, 2:57pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/10 "2023-05-11T14:57:15Z")

</div>

Both Ignition and the simulator appear to be on the same machine, so could you change the bind port for your local device to something other than 47808 since the simulator also defaults to the same port. I typically just use 47809. Then I would suggest restarting the gateway.

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [May 11, 2023, 2:59pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/11 "2023-05-11T14:59:27Z")

</div>

After looking at the logs, it looks like the local device did not get initialized because that port is in use already. The suggestion above should clear that up.

> Error initializing LocalDevice "BACNet\_Test". bindAddress=192.168.1.104, bindPort=47808, networkNumber=1, deviceNumber=1000
> 
> java.net.BindException: Address already in use: Cannot bind at java.base/java.net.DualStackPlainDatagramSocketImpl.socketBind(Native Method) at java.base/java.net.DualStackPlainDatagramSocketImpl.bind0(Unknown Source) at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(Unknown Source) at java.base/java.net.DatagramSocket.bind(Unknown Source) at com.serotonin.bacnet4j.npdu.ip.IpNetwork.initialize(IpNetwork.java:167) at com.serotonin.bacnet4j.transport.DefaultTransport.initialize(DefaultTransport.java:186) at com.serotonin.bacnet4j.LocalDevice.initialize(LocalDevice.java:317) at com.serotonin.bacnet4j.LocalDevice.initialize(LocalDevice.java:310) at com.inductiveautomation.ignition.drivers.bacnet.LocalDeviceManager.addLocalDevice(LocalDeviceManager.kt:172) at com.inductiveautomation.ignition.drivers.bacnet.LocalDeviceManager.onStartup(LocalDeviceManager.kt:65) at com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle.startup(AbstractLifecycle.java:18) at com.inductiveautomation.ignition.drivers.bacnet.BacnetModuleHook.startup(BacnetModuleHook.kt:77) at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.startup(ModuleManagerImpl.java:2439) at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl.startup(ModuleManagerImpl.java:417) at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:1278) at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:298) at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:735) at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:669) at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:539) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![V\_Gopalakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@V\_Gopalakrishnan](https://forum.inductiveautomation.com/u/V_Gopalakrishnan)\
**Post date:** [May 11, 2023, 3:05pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/12 "2023-05-11T15:05:25Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/f/7f2c6056d7abaebced455ab88b1c4d3030f415dd.png)

Thanks, It 's worked. I was changing the port on both simulator and local device. But NOW I just changed the port no in local device but NOT in Simulator. That made the BACnet device connection to go to INTIALIZED state. It is the final state or it will change from "Initialized" to "Running" as well. If it is, when it will change to RUNNING state.

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [May 11, 2023, 3:17pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/13 "2023-05-11T15:17:55Z")

</div>

> [@V\_Gopalakrishnan](#):
>
> It is the final state or it will change from "Initialized" to "Running" as well.

Since BACnet uses UDP which is "connectionless", Initialized is the final state.

Here's a good BACnet KBA put out by our support department that may be worth a read.

> **[Understanding BACnet](https://support.inductiveautomation.com/hc/en-us/articles/4422782818957-Understanding-BACnet)**
>
> Introduction:
> The purpose of this article is to explain some of the nuances of the BACnet protocol.  This article's focus will mainly be on creating and initializing device connections, and underst...

---

<div class="post-metadata">

**Author:** ![V\_Gopalakrishnan](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@V\_Gopalakrishnan](https://forum.inductiveautomation.com/u/V_Gopalakrishnan)\
**Post date:** [May 11, 2023, 6:40pm UTC](https://forum.inductiveautomation.com/t/bacnet-devices-uninitialized/73584/14 "2023-05-11T18:40:01Z")

</div>

Thank You
