PM583-ETH IP ADRESS PROBLEM
i'm trying to set up the ip adress of PM583-ETH cpu however i'm facing a problem
when trying to set with keypad it is always getting back to the previous value AFTER
when trying to set with control builder v 2.2 using ip config tool i change the current ip
adress and after making scan the current ip adrress also returns to the previous value.
how to solve this?
Please note the below steps, this will solve your problem.
Do not use IPConfig for a controller when an application is running in it. IPConfig will delete every application in the controller.
Ethernet addresses are kept in the flash memory. Always close IPConfig when you are done with it, because IPConfig uses the tool port (Com4) and the rest of the CPUs channels will be locked.
Hope you know the steps like how to connect the controller and set the IP. If no, let me know i can send the procedure.
So you say that the PLC takes the new address, but the address resets after you power off / power on the controller ?
Sounds like you have not saved the controller configuration to a boot project ...
In ControlBuilderPlus ...
- Configure the IO address on the ethernet port of the PLC
- Check the Gateway Configuration. If you are changing the IP adress you probably need to change the gateway to match.
- Go Online and Check you connected to the correct PLC
In CoDeSys ...
- Online -> Login
- Download the application to the controller. If you changed the IP address then the controller is probably empty
- Online -> Create Boot Project
Check where the Controller is booting from. If it is booting from the SD card then you also need to save the application to the SD card
- Resources tab -> PLC Browser
- give the command "sdfunc"
-- If the result is "0" then the controller is not booting from the SD card.
-- If the Result is "1" then the PLC is booting from the SD card not the on board PROM
---- Stop the PLC program
---- Give the command "sdappl". This saves the boot project to the SD card
---- Run the PLC Program.
Reboot the controller and check the IP adress is now set correctly.
I just spent most of yesterday trying to change IP adresses on 2 AC554-ETH controllers, so I know it can be a bit frustrating trying to get everything right.
I think this problems is based on the setting "force ip adress". If this checkbox was activated in the program which is already on the PLC, the ip adress will be set to a specific value at every reboot.
I fixed it that way:
Deactivate the checkbox.
Load your actual program to the PLC (without changing the IP-adress) and set it as boot project.
After a reboot you can now change the ip adress.