# Read "PLC Configuration.Simulation.IP address"

**URL:** <https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719>\
**Category:** B&R Software & Runtime\
**Tags:** automation-studio, automation-runtime\
**Created:** [July 23, 2025, 8:30am UTC](https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719 "2025-07-23T08:30:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valerio.Plozner](https://avatars.discourse-cdn.com/v4/letter/v/FF8800/32.png) [@Valerio.Plozner](https://community.br-automation.com/u/Valerio.Plozner)\
**Post date:** [July 23, 2025, 8:30am UTC](https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719/1 "2025-07-23T08:30:32Z")

</div>

Hello

Is it possible to read (possibly also write) the configuration value of “PLC Configuration → Simulation → IP address” by lib functions at runtime?

Many thanks  
Valerio

---

<div class="post-metadata">

**Author:** ![piekutt](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/piekutt/32/4920_2.png) [@piekutt](https://community.br-automation.com/u/piekutt)\
**Post date:** [July 23, 2025, 8:35am UTC](https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719/2 "2025-07-23T08:35:04Z")

</div>

Hello Valerio,

I believe the only way to do this is with the use of Mapp IO and will require the system to reboot.

> **[B&R Online Help](https://help.br-automation.com/#/en/4/mapptechnology%2Fmapp_services%2Fallgemeines%2Fdemo_projekte%2Fmappserviceshighlights%2Fmapp_io.html)**

Regards  
Tobias

---

<div class="post-metadata">

**Author:** ![michael\_w](https://avatars.discourse-cdn.com/v4/letter/m/FF8800/32.png) [@michael\_w](https://community.br-automation.com/u/michael_w)\
**Post date:** [July 23, 2025, 9:36am UTC](https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719/3 "2025-07-23T09:36:20Z")

</div>

Hi,

I think that’s the wrong direction. He wants to “read”, not “write” or “change” 🙂

Regarding the answer to the question, I don’t think its possible to read that value.

---

<div class="post-metadata">

**Author:** ![Valerio.Plozner](https://avatars.discourse-cdn.com/v4/letter/v/FF8800/32.png) [@Valerio.Plozner](https://community.br-automation.com/u/Valerio.Plozner)\
**Post date:** [July 23, 2025, 9:38am UTC](https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719/4 "2025-07-23T09:38:35Z")

</div>

Hello  
Obviously ArSim is replacing the IP of the ETH interface befoe booting.  
So in my case I’m getting the correct value by CfgGetIPAddr of “$root.IF2”.  
Thanks and Regards  
Valerio

---

<div class="post-metadata">

**Author:** ![michael\_w](https://avatars.discourse-cdn.com/v4/letter/m/FF8800/32.png) [@michael\_w](https://community.br-automation.com/u/michael_w)\
**Post date:** [July 23, 2025, 9:40am UTC](https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719/5 "2025-07-23T09:40:30Z")

</div>

I misunderstood the question then. You don’t want to read out the configured address but the address the device currently has - in this case while in simulation. In that case I would have told you about the FB you already found 🙂

---

<div class="post-metadata">

**Author:** ![Valerio.Plozner](https://avatars.discourse-cdn.com/v4/letter/v/FF8800/32.png) [@Valerio.Plozner](https://community.br-automation.com/u/Valerio.Plozner)\
**Post date:** [July 23, 2025, 9:43am UTC](https://community.br-automation.com/t/read-plc-configuration-simulation-ip-address/7719/6 "2025-07-23T09:43:11Z")

</div>

Hello Michael  
Sorry for my bad english. 🙂 and thanks for your attention!
