Internet PLC Forum
General => Technical support => Topic started by: fish_boy12000 on October 31, 2011, 06:13:02 PM
-
I have been trying to change the IP address using a set_ipaddr cusfn on the 1st program scan and also including a reboot command in the same cusfn. With an FRam installed, after the reboot, the address reverts back to original, but with out the FRam, all works as it should. Anything I can do to remedy this, or is this a normal operation?
-
The problem is due to the REBOOT command executed right after the SET_IPADDR command. The PLC is rebooted before the IP address has a chance to be saved to the flash memory.
You can add a RESET command after the SET_IPADDR, which forces the PLC to save the new IP address to the CPU flash memory. After that you can execute the REBOOT command and the new IP address should stay.
-
Thanks, that did the trick. I tried reset and reboot independently and it did not work, didn't think of using both.