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
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
Hello Valerio,
I believe the only way to do this is with the use of Mapp IO and will require the system to reboot.
Regards
Tobias
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.
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
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 ![]()
Hello Michael
Sorry for my bad english.
and thanks for your attention!