# DNP3 driver device count limitation

**URL:** <https://forum.inductiveautomation.com/t/dnp3-driver-device-count-limitation/38078>\
**Category:** Ignition\
**Created:** [August 26, 2020, 4:56am UTC](https://forum.inductiveautomation.com/t/dnp3-driver-device-count-limitation/38078 "2020-08-26T04:56:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 26, 2020, 4:56am UTC](https://forum.inductiveautomation.com/t/dnp3-driver-device-count-limitation/38078/1 "2020-08-26T04:56:55Z")

</div>

Hello,

I need to define about 3000 DNP3 devices and wonder if there is any device limitation in ignition?  
Also what is the best method to create mass DNP3 devices? Instead of manually of defining each dnp3 device in gateway.  
For example in kepware I define my device in csv format and simply import it in kepware.

Thanks.

---

<div class="post-metadata">

**Author:** ![BenKearney](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BenKearney](https://forum.inductiveautomation.com/u/BenKearney)\
**Post date:** [August 26, 2020, 5:04am UTC](https://forum.inductiveautomation.com/t/dnp3-driver-device-count-limitation/38078/2 "2020-08-26T05:04:25Z")

</div>

You can use system.device.addDevice to create DNP3 devices, just remember to also system.device.removeDevice first if you’re trying to update an existing device. When I’m adding large numbers of devices I typically create a CSV file with my device data in it and use a script outside ignition to generate the correct python code to be run in Ignition. Then I just open the script terminal and copy that code in.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 26, 2020, 5:07am UTC](https://forum.inductiveautomation.com/t/dnp3-driver-device-count-limitation/38078/3 "2020-08-26T05:07:00Z")

</div>

Thanks. Do you any limitations of how many device I can define in gateway?  
Is 3000 dnp3 ok?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 26, 2020, 12:17pm UTC](https://forum.inductiveautomation.com/t/dnp3-driver-device-count-limitation/38078/4 "2020-08-26T12:17:32Z")

</div>

There’s no hard-coded limit to the number of devices in Ignition. I’m not familiar with the DNP3 driver, so I can’t forecast the CPU load, but you can expect to need many CPU cores to handle all the threads those drivers will spawn.
