The text of a manual · part 8 of 18
ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual: 4 - Configuring the Ethernet Module
Pages 39 to 46 of 122, from ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual
The original document is the PDF (1.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1756-ENET
Page 39
Chapter
4
Configuring the Ethernet Module
What This Chapter Contains Before you can use your Ethernet module in a network you must configure it by providing an IP address, Gateway address, and Subnet mask. There are several way you can do this: 1. Using the Rockwell BootP utility that ships with RSLogix 5000 software 2. Using RSLinx 3. Using a standard BootP server 4. Having your network administrator configure the module via the network server This chapter describes these procedures for configuring the 1756-ENET/B Ethernet module. The following table describes where to find specific information. For information about
Using the Rockwell BootP Utility
1
See page
Using the Rockwell BootP Utility
4-1
Using RSLinx Software
4-2
Using a BootP Server
4-5
Using DHCP Software to Configure Your Module
4-7
BootP (Bootstrap Protocol) is a low-level protocol that provides configurations to the nodes on a TCP/IP network. The Rockwell BootP utility is a stand alone program that incorporates the functionality of standard BootP software with a user friendly graphical interface. It is located in the Utils directory on the RSLogix 5000 installation CD. Refer to the Readme file that accompanies the utility and to the utility’s Help menu for directions on how to use this software. The Ethernet module must have BootP enabled (factory default) to use the utility.
Publication 1756-UM051B-EN-P - November 2000
Page 40
4-2
Configuring the Ethernet Module
Using RSLinx Software
You can use RSLinx software, version 2.2 or higher, to configure the Ethernet module via a ControlNet or Data Highway Plus network, or via the serial port on a Logix 5550 processor, if you insert the Ethernet module into a ControlLogix chassis containing: • a 1756-CNB module connected to your workstation via ControlNet, or • a 1756-DHRIO module connected to your workstation via DH+, or • a Logix 5550 processor connected to your workstation via its serial port. You must have an appropriate communication driver configured in RSLinx. After configuring the Ethernet module, you can move it to the chassis where you want to use it. To configure the Ethernet module using RSLinx, perform the following steps: 1. Insert the ENET/B module in the ControlLogix chassis with the communications module you will be using. 2. Start RSLinx. The RSWho window will open.
3. Select the appropriate driver (e.g., AB_KT-1 for Data Highway Plus, AB_KTC-1 for ControlNet, or AB_DF1-1 for the Logix 5550’s serial port).
Publication 1756-UM051B-EN-P - November 2000
Page 41
Configuring the Ethernet Module
4-3
The following example uses the Data Highway Plus driver. You can perform the same steps using one of the other drivers.
4. Expand the driver tree through the backplane of the chassis containing the 1756-ENET/B module. 5. Right click on the module. The following pop-up menu will appear.
6. Select Module Configuration.
Publication 1756-UM051B-EN-P - November 2000
Page 42
4-4
Configuring the Ethernet Module
The 1756-ENET Configuration window will open.
7. Select the Port Configuration tab.
8. Uncheck the Obtain IP Address from BootP Server box. 9. Enter the desired IP Address, Subnet Mask, and Gateway Address. The values we used for one of the ENET/B modules in the example applications are shown above. 10.Click on OK. You can now move the module to another chassis and access it over Ethernet using this configuration.
Publication 1756-UM051B-EN-P - November 2000
Page 43
Configuring the Ethernet Module
Using a BootP Server EXAMPLE
4-5
The Ethernet module factory default is BootP enabled. The following is an example BootP tab file that can be used with a BootP server: # Example /etc./bootptab: database for bootp server (/etc./bootpd). # # Format: # nodename:tag=value:tag=value: . . . .:tag=value # # first field – – nodename (hostname) of terminal followed by colon # (should be full domain name) # # Blank lines and lines beginning with ’#’ are ignored. # Make sure you include a colon and a backslash to continue a line. # Don’t put any spaces in the tag–value string. # The ht tag MUST precede the ha tag. # # The options below are specified as tag=value and delimited by colons # These are the options used by the 1756-ENET/B module: # # gw – – gateway IP address # ha – – hardware address (link level address) (hex) # ht – – hardware type (either) (must precede the ha tag) # ip – – IP address # sm – – network subnet mask # tc – – template for common defaults (should be the first option listed) # # vm – – vendor magic cookie selector (MUST be rfc1048 for 1756-ENET/B) # #-–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– # default values for 1756-ENET/B icp.defaults:\ ht=ether:\ vm=rfc1048:\ sm=255.255.254.0:\ gw=130.151.132.1 #-–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– zappa0:\ tc=icp.defaults:\ ha=0000bc03404f:\ ip=130.151.132.121 zappa1:\ tc=icp.defaults:\ ha=0000bc034073:\ ip=130.151.132.122 zappa2:\ Publication 1756-UM051B-EN-P - November 2000
Page 44
4-6
Configuring the Ethernet Module tc=icp.defaults:\ ha=0000bc034022:\ ip=130.151.132.123
To use a BootP server to configure the ENET/B module perform the following steps: 1. Access and open the BootP tab file using a text editor. 2. Enter the IP address of your module. If you need more information on setting IP addresses, refer to pages 3-3 to 3-4. 3. Use the text editor to enter the Ethernet hardware address (MAC ID) of your module. You must enter all digits, including zeroes.
ETHERNET
IMPORTANT RXD TXD OK
Hardware Address
When using the BootP protocol, you must enter the Ethernet hardware address of your module. Rockwell assigns each Ethernet module a unique 48-bit hardware address at the factory. The address is printed on a label on the front of your Ethernet module as shown in the figure on the left. It consists of six hexadecimal digits separated by dots. This address is fixed by the hardware, and cannot be changed.
If you change or replace this Ethernet module, you must enter the new Ethernet hardware address of the module when you configure the new module.
AUI
4. Enter the Gateway Address.
10 BASET
If you need more information on assigning gateway addresses, refer to pages 3-4 to 3-4.
1756-ENET
31153-M
5. Enter the Subnet Mask If you need more information on selecting subnet masks, refer to pages 3-5 to 3-5. 6. After you have entered all the configuration data, save the file in a directory where the BootP server can access it.
Publication 1756-UM051B-EN-P - November 2000
Page 45
Configuring the Ethernet Module
Using DHCP Software to Configure Your Module
4-7
DHCP (Dynamic Host Configuration Protocol) software automatically assigns IP addresses to client stations logging onto a TCP/IP network. DHCP is based on BootP and maintains some backward compatibility. The main difference is that BootP was designed for manual configuration, while DHCP allows for dynamic allocation of network addresses and configurations to newly attached devices. Be cautious about using DHCP software to configure your module. A BootP client, such as the 1756-ENET/B module, can boot from a DHCP server only if the DHCP server is specifically written to also handle BootP queries. This is specific to the DHCP software package you use. Check with your system administrator to see if your DHCP package supports BootP commands and manual IP allocation.
ATTENTION
! What’s Next?
The 1756-ENET/B module must be assigned a fixed network address. The IP address of this module must not be dynamically provided. Failure to observe this precaution may result in unintended machine motion or loss of process control.
The following chapter describes an example application in which you configure remote digital I/O using a rack optimized connection.
Publication 1756-UM051B-EN-P - November 2000
Page 46
4-8
Configuring the Ethernet Module
Publication 1756-UM051B-EN-P - November 2000