Hello, I can't find the plc when its IP has been changed, for example default ip is 192.168.1.10 and with search function i can find it and connect online but if i change its ip to 192.168.3.x or whatever then it's impossible to find the devide in the network..maybe do I have to access by devide ID? the problem is that i don't know it because changes every time...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, please describe what type of plc you have and what operations you do.
Do you change the ip in the hw configuration of the ethernet card and then do a new download of the project?
If the plc first had ip 192.168.1.10 and communicated with your pc, then make sure your pc is in the new address class
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The PLC is INVT AX71-C-1608P i use function described in the invt manual, this one:
Then searching the device with gateway localhost and port 1217 i can't find the plc, sometimes changing the ip to 192.168.0.x i am able to find it but with 192.168.250.x or whatever it won't show.
My pc is in the new address class and also it pings correctly even other devices connected with it using ethernet TCP like a Weintek touch panel works correctly and sees the plc but only Codesys searching function can't find the plc and i can't connect online..
I don't know if there is other way to change plc ip..but it seems the ip is changed correctly, it is a problem in codesys or in pc configuration but even if i add a gateway in my pc to comunicate with new ip (in control panel, network settings) or disabling windows defender and the other firewalls it doesn't work.
Hi, i don't know this chinese plc, it seems there are 2 ethernet ports.
Do these ports have the same ip or do they each have their own?
About you block, it's a custom plc function, it's not codesys standard, so i don't know it.
If you are sure that the function changes the ip correctly, then you should be able to ping the new ip.
In the ethernet card of your pc you can set 2 ip at the same time, so you can manage the old and the new ip.
In codesys with double click on device you have the communication settings, and in device, option, manage favorite devices, you can setup thhe ip and test the communication with click on the circle on the side of plc image
Yes I've added the two Ip and also search by ip address in codesys but still not working.
I tried to add a ethernet interface and set a new ip, but still not working, the ip changes and i can ping but in codesys i am not able to find the plc anymore.
Do you have just one gateway or more ?
In my case i have one gateway and everything's work, I don't know why in your case not.
I select the ip, not the device name.
Maybe someone else can help you here, or you can ask that plc's support.
Good luck.
Ciao.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I can't find the plc when its IP has been changed, for example default ip is 192.168.1.10 and with search function i can find it and connect online but if i change its ip to 192.168.3.x or whatever then it's impossible to find the devide in the network..maybe do I have to access by devide ID? the problem is that i don't know it because changes every time...
Hi, please describe what type of plc you have and what operations you do.
Do you change the ip in the hw configuration of the ethernet card and then do a new download of the project?
If the plc first had ip 192.168.1.10 and communicated with your pc, then make sure your pc is in the new address class
The PLC is INVT AX71-C-1608P i use function described in the invt manual, this one:
Then searching the device with gateway localhost and port 1217 i can't find the plc, sometimes changing the ip to 192.168.0.x i am able to find it but with 192.168.250.x or whatever it won't show.
My pc is in the new address class and also it pings correctly even other devices connected with it using ethernet TCP like a Weintek touch panel works correctly and sees the plc but only Codesys searching function can't find the plc and i can't connect online..
I don't know if there is other way to change plc ip..but it seems the ip is changed correctly, it is a problem in codesys or in pc configuration but even if i add a gateway in my pc to comunicate with new ip (in control panel, network settings) or disabling windows defender and the other firewalls it doesn't work.
Last edit: nicoladgtale 2022-09-09
Hi, i don't know this chinese plc, it seems there are 2 ethernet ports.
Do these ports have the same ip or do they each have their own?
About you block, it's a custom plc function, it's not codesys standard, so i don't know it.
If you are sure that the function changes the ip correctly, then you should be able to ping the new ip.
In the ethernet card of your pc you can set 2 ip at the same time, so you can manage the old and the new ip.
In codesys with double click on device you have the communication settings, and in device, option, manage favorite devices, you can setup thhe ip and test the communication with click on the circle on the side of plc image
Last edit: gatto 2022-09-09
But in device, right click you can add an ethernet interface and here set directly the ip.
Do you have this ?
Last edit: gatto 2022-09-09
Yes I've added the two Ip and also search by ip address in codesys but still not working.
I tried to add a ethernet interface and set a new ip, but still not working, the ip changes and i can ping but in codesys i am not able to find the plc anymore.
Well done, if you can ping the ip, maybe the tab communication is not properly setted
Searching in the way you show doesn't work even with default ip address (192.168.1.10) only "scan network" works with default ip..
Do you have just one gateway or more ?
In my case i have one gateway and everything's work, I don't know why in your case not.
I select the ip, not the device name.
Maybe someone else can help you here, or you can ask that plc's support.
Good luck.
Ciao.