Jump to content

Recommended Posts

Posted (edited)

I am trying to change the subnet of this CP1L plc. Currently it is at 192.168.250.*** and I would like to change it to 192.168.54.***. I already tried starting fresh by writing to the controller with ip 0.0.0.0 and then putting my desired ip address after. When I try to write to the controller with a subnet other than .250 for example 192.168.54.13, the controller saves the node address(.13) but keeps the same .250 subnet which results in me being able to ping 192.168.250.13 successfully but get no response from pinging 192.168.54.13. Yes I did change my local network card when pinging different subnets and also did a network reset in CX-P after every ip change.

Let me know if there is anything I am missing!! 

Edited by OmronOmicron
typo 169
Posted (edited)

Thank you for the replies! So I ended up finding the issue but not the remedy. So the fault light appears when the subnet mask is changed from 255.255.255.0 to 255.255.254.0.

I was able to change the ip address to a different subnet which answers my first question, but still no success with the subnet mask.

@photovoltaic if you would like to give that a try and let me know if you get the same results.

I am going to look in further detail why the eip card does not like changing to a different subnet mask.

I do need it on this mask in order to integrate it to the network.

Basically why I was getting faulty results from changing the subnet was because i was also changing the subnet mask. So when I left the subnet mask alone(255.255.255.0) I was able to change the ip subnet to whatever desired. 

errorCode.PNG.19d89fd9c993e021aba02ed507

Found on a manual:

erroCodeDetail.PNG.fd69a6ac930cd448a341f

Edited by OmronOmicron
add attachments
Posted

@IO_Rack shared a link that may help.  The controller should accept your settings and allow you to change the IP Address and Subnet to what you desire, however you may have issues connecting using FINS if you have something other than Auto (Dynamic) set for the FINS UDP conversion when you use a subnet of 255.255.254.0. 

 

FINS UDP Conversion.jpg

Posted

I just tested this and am getting the same result as @OmronOmicron:

If I have this:

192.168.0.66

Subnet: 255.255.254.0

It works fine.

If I change it to:

192.168.1.66

Subnet 255.255.254.0

The PLC sets the IP Address to 192.168.250.66.

 

So, it is not just the fact that you are using a non class C Subnet, but rather that you are using the non Class C subnet and the FINS node calculation from the IP address / Subnet combo (see link in previous comment) creates a FINS node number that does not match the FINS Node number set in the PLC settings (below Subnet Mask).  This appears to be the design. 

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...