Title

Assigning IP Addresses to Rockwell PLCs using BootP and RSLinx

Submitted By

Remington Lim

Submitted When

20150811

Quick Summary

To Assign a new PLC controller with an IP address, in order to easily communicate with that PLC

Possible Applications

 

Useful Links

 

Other Notes

 

 

In oder to Assign the IP address, 3 main things are required, BootP Software, RSLinx Software, which should both be included in our Rockwell VMs (see below)


 


And also, the MAC address of the Ethernet/IP Module on the PLC rack that you want to assign an IP to. The MAC address of the Ethernet/IP Module should be displayed on the screen of the PLC controller (in some cases, you will need to have a patch lead connected to it for it to display. Otherwise, the MAC address will be printed somewhere on the PLC controller. Note: you will only need to remember the last 2 digits of the MAC address.

After ensuring that you have these, set your VM network adapter settings by going to the top menu, clicking on VM -> Settings -> Newtwork Adapter. Swtich your network connection from NAT to Bridged (shown in the screen dumps below).




Once you have done this, ensure that your wireless conntection is off, connect an ethernet cable from your computer (laptop/PC) directly to the Ethernet/IP Module and run BootP.

Locate the MAC address of the PLC Ethernet/IP Module in the list displayed and click on it, which will open up the option “Add to Relation List” located above the listed MAC addresses (ensure that the highlighted MAC address is the one that you want to set an IP to).



A popup will appear, in which you will be able to set an appropriate IP address for the Module. NOTE: before doing this set, make sure that the IP address that you are assigning this Module is not already in use. Counsult our Network Administator first, who will provide you with an available IP address.



Once this is done, open up RSLinx. Do not power down the PLCs as the IP address that you set will be lost, and you will have to repeate the previous steps.

In RSLinx, locate the appropriate network and add in the IP that you have assigned to your PLC’s Ethernet/IP Module. This is done from the top menu, clicking on Communications -> RSWho.



This will open up a screen. Choose a network and right click bringing up the options, then clicking on Configure Driver (shown below).



This will then bring up a popup, add the IP address to the Station Mapping by clicking on [1]Add New on the right, and [2]entering in the IP address at the bottom of the list in the space provided. When this is all done, [3]click OK (shown in the image below).



Once this is done, open up the network and locate the module you have just added. Right click on it on select Module Configuration.



This will bring up a popup menu, navigate to the Port Configuration tab and choose the Static option for Network Configuration Type, and enter in the network mask: 225.225.252.0, and the Gateway Address: 192.168.70.254 (shown below).



Click Apply/OK and it’ll be all set. Remember to change your VM’s Network Adapter Setting back to NAT.