Setting the IP address of
Hi all,
I just started to setup my 2152 controller. I followed this post (https://www.plcnext-community.net/index.php?option=com_content&view=article&id=322:setting-up-an-internet-connection-axc-f-2152&catid=78&Itemid=366&lang=en) to change the IP address to 192.168.99.180. Everything works fine and I am able to connect via putty and the web app after changing the IP. However, PLCNext Engineer is not able to connect to the controller anymore. It seems it does not like this specific IP address. Is that expected?
Thanks in advance,
Matthias
I just started to setup my 2152 controller. I followed this post (https://www.plcnext-community.net/index.php?option=com_content&view=article&id=322:setting-up-an-internet-connection-axc-f-2152&catid=78&Itemid=366&lang=en) to change the IP address to 192.168.99.180. Everything works fine and I am able to connect via putty and the web app after changing the IP. However, PLCNext Engineer is not able to connect to the controller anymore. It seems it does not like this specific IP address. Is that expected?
Thanks in advance,
Matthias
Comments
Are you able to discover the PLC in the "Online Controllers" window?
(after making sure the correct Ethernet adapter is selected)
That would be the typical way to discover and re-assign the IP address on a PLC.
Once you can see the PLC in that window, you can transfer the IP address settings from the online controller to the PLCnext Engineer project, after which PLCnext Engineer should be able to connect to the controller.
~ Martin.
I followed your instruction and found the controller through the project settings (see attached image).
However, I still cannot connect to the controller (see attached image) since PLCNext Engineer is not happy about the IP address in the settings.
Best,
Matthias
Best,
Matthias
I can reproduce that error by setting the IP address of the device outside the range of IP addresses that are in the project settings.
Here is the IP address range in the project settings:
Here is the IP address of the device. Like in your case it is outlined in red, because it is outside the range of IP addresses set above.
When I build the project, I get the error shown below, telling me exactly what the problem is.
Do you see something similar when you build your project?
~ Martin.
Can you still connect to the Web-based Management page from the development PC, by browsing to the IP address of the PLC in (for example) Chrome?
Thanks for your quick reply. Yes, the problem you described is fixed (IP address out of range), but I am still not able to connect to the controller via PLCNext Engineer. However, I am able to connect to the controller via putty or the web-based management page.
Thanks in advance,
Matthias
You can see the installed firmware version in the top right corner of the Web-Based Management page:
The PLCnext Engineer project needs to have a compatible device version in the project tree. You can see the device version in PLCnext Engineer in the "Settings" window of the device. If these are different, then you can either upgrade the firmware on the device, or change the version of the device in the PLCnext Engineer project.
~ Martin.
Both PLCNext Engineer and the controller FW are running at the same version (see attached images).
Best,
Matthias
I just tried to connect with an older PLCNext Engineer version (2020.6.2) and it worked. Is this expected?
Best,
Matthias
This is what I mean when I say you can see the device version in PLCnext Engineer in the "Settings" window of the device:
The device version in PLCnext Engineer must be compatible with the firmware version on the device. For example, if you have device version 2021.3.0 in PLCnext Engineer, this will not work with any current firmware, since FW version 2021.3 has not yet been released for the AXC F 2152. This would explain why the earlier version of PLCnext Engineer worked, because device version 2021.3 cannot be selected in PLCnext Engineer version 2020.6.
~ Martin.
That makes sense - I appreciate your help! I'm excited to get my first project going.
Best,
Matthias