# Motor Pop up window addressing by passing DB no

**URL:** <https://forum.inductiveautomation.com/t/motor-pop-up-window-addressing-by-passing-db-no/27710>\
**Category:** Ignition\
**Created:** [August 23, 2019, 12:19pm UTC](https://forum.inductiveautomation.com/t/motor-pop-up-window-addressing-by-passing-db-no/27710 "2019-08-23T12:19:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Bakoliya](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@Sandeep\_Bakoliya](https://forum.inductiveautomation.com/u/Sandeep_Bakoliya)\
**Post date:** [August 23, 2019, 12:19pm UTC](https://forum.inductiveautomation.com/t/motor-pop-up-window-addressing-by-passing-db-no/27710/1 "2019-08-23T12:19:51Z")

</div>

Hello All,

I am creating a pop-up window for motor, I have 200 motors, all motors have the same functioning, I am creating a single pop window for all motors. I am using siemens plc for programming.

I have different -2 DB no for different-2 motors, I want to pass DB no on motor pop windows by clicking on block icon on the main screen for common addressing for motors,

my question is that how can I pass DB no on a motor pop window for addressing of different -2 motors.

Regards  
Sandeep Bakoliya

---

<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 23, 2019, 3:07pm UTC](https://forum.inductiveautomation.com/t/motor-pop-up-window-addressing-by-passing-db-no/27710/2 "2019-08-23T15:07:18Z")

</div>

Create an integer custom property, `MotorNum` perhaps, then use the parameters option of system.nav.openWindow(). Use that root container property with indirect tag binding within your popup. The button script to open a particular motor, #25 perhaps, would look like this:

```auto
system.nav.openWindow('myPopupName', {'MotorNum': 25})

```
