The text of a manual · part 25 of 30
SLC 500 Modular Hardware Style User Manual, pages 241 to 250
Pages 241 to 250 of 296
The original document is the PDF (3.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 1747-L524
Page 241
Communicating with Devices on an Ethernet Network
241
In order to send an outgoing message, the SLC 5/05 processor must first establish a connection with the destination node at a specified IP address on the Ethernet network. A connection is established when a MSG instruction executes and no previous connection exists. When a MSG instruction executes, the SLC 5/05 processor checks to see whether a connection has been established with the destination node. If a connection has not been established, the SLC 5/05 processor attempts to establish a connection of the peer type. In order to receive messages from another device on Ethernet, an incoming connection must be established. This incoming connection is made by the sending processor and uses one incoming connection in the receiving processor. The SLC 5/05 processor supports a maximum of 32 connections for the 1747-L551 processor, and 48 connections for 1747-L552 and 64 connections for 1747-L553 processor, allowing simultaneous communication with up to 64 other devices or applications. Connections Number of Connections(1)
Dedicated to
4 outgoing connections
4 incoming connections
24(2), 40(3), or 56(4)
either incoming or outgoing connections
(1)
Connections established by an INTERCHANGE client, RSLinx client, and peers are all included when counting the number of connections.
(2)
1747-L551 processor.
(3)
1747-L552 processor.
(4)
1747-L553 processor.
IMPORTANT
Configuring the Ethernet Channel on the SLC 5/05 Processor
For outgoing connections, no more that one connection per destination node is established. If multiple MSG instructions use the same destination node, they share the same connection.
There are two ways to configure the SLC 5/05 Ethernet channel 1. The configuration can be done via a BOOTP/DHCP request at processor powerup, or by manually setting the configuration parameters by using RSLogix 500 programming software. The configuration parameters are shown on page 242.
Publication 1747-UM011G-EN-P - June 2008
Page 242
242
Communicating with Devices on an Ethernet Network
Configuration Parameters Parameter
Description
Diagnostic File The file number of the diagnostic counter for this channel. A Diagnostic File Number value Number of zero means that no diagnostics file has been configured for this channel. The Diagnostic File Number must be an integer within the limits of 7, 9...255.
Default
Status
0 read/write
MSG Connection Timeout
The amount of time (in ms) allowed for a MSG instruction to establish a connection with the 15,000 ms destination node. The MSG Connection Timeout has 250 ms resolution and a range from 250...65,500.
read/write
MSG Reply Timeout
The amount of time (in ms) that the SLC 5/05 processor will wait for a reply to a command that it has initiated via a MSG instruction. The MSG Reply Timeout has 250 ms resolution and a range from 250...65,500.
3000 ms read/write
Inactivity Timeout
The amount of time (in minutes) that a MSG connection may remain inactive before it is terminated. The Inactivity Timeout has a 1 minute resolution and a range from 1...65,500 minutes.
30 minutes read/write
IP Address
The SLC 5/05 internet address (in network byte order). The internet address must be specified to connect to the TCP/IP network.
0 (undefined)
read/write
Subnet Mask
The SLC 5/05 subnet mask (in network byte order). The Subnet Mask is used to interpret IP addresses when the internet is divided into subnets. A Subnet Mask of all zeros indicates that no subnet mask has been configured.
0 read/write
Gateway Address
The address of a gateway (in network byte order) that provides connection to another IP network. A Gateway Address of all zeros indicates that no gateway has been configured.
0 read/write
BOOTP Enable The BOOTP enable switch. When BOOTP is enabled, the SLC 5/05 processor attempts to learn its network related parameters at powerup via a BOOTP request. There must be a BOOTP server on the network capable of responding to this BOOTP request. When BOOTP is disabled, the SLC 5/05 processor uses the locally configured network related parameters (for example, IP Address, Subnet Mask, Broadcast Address).
1 (enabled)
read/write
Hardware Address
Ethernet hardware address read only
The SLC 5/05 Ethernet hardware address.
Configuration Using RSLogix 500 Programming Software
Refer to the documentation provided with your programming software.
Configuration Via BOOTP
BOOTP (bootstrap protocol) is a low-level protocol that TCP/IP nodes use to obtain start-up information. By default, the SLC 5/05 processor broadcasts BOOTP requests at powerup. The BOOTP Valid parameter remains clear until a BOOTP reply has been received. BOOTP lets you dynamically assign IP Addresses to processors on the Ethernet Link. To use BOOTP, a BOOTP Server must exist on the local Ethernet subnet. The server is a computer that has BOOTP Server software
Publication 1747-UM011G-EN-P - June 2008
Page 243
Communicating with Devices on an Ethernet Network
243 installed and reads a text file containing network information for individual nodes on the network. The host system’s BOOTP configuration file must be updated to service requests from SLC 5/05 processors. The following parameters must be configured. Configurable BOOTP Parameters Parameter
Description
IP Address
A unique IP Address for the SLC 5/05 processor.
Subnet Mask
Specifies the net and local subnet mask as per the standard on subnetting RFC 950, Internet Standard Subnetting Procedure.
Gateway
Specifies the IP address of a gateway on the same subnet as the SLC 5/05 processor that provides connections to another IP network.
TIP
You can use any commercially available BOOTP server. If you do not have BOOTP Server capabilities on your network, and you want to dynamically configure Channel 1, you can download the free Rockwell Automation BOOTP server from the Rockwell Automation website. Go to www.ab.com/networks/bootp.html
When BOOTP is enabled, the following events occur at power-up: • The processor broadcasts a BOOTP-request message containing its hardware address over the local network or subnet. • The BOOTP server compares the hardware address with the addresses in its look-up table. • The BOOTP server sends a message back to the processor with the IP address and other network information that corresponds to the hardware address it received. With all hardware and IP addresses in one location, you can easily change IP addresses in the BOOTP configuration file if your network needs change. The BOOTP request can be disabled by clearing the BOOTP Enable parameter in the channel Configuration File. When BOOTP Enable is cleared (disabled), the SLC 5/05 processor uses the existing channel configuration data. IMPORTANT
If BOOTP is disabled, or no BOOTP server exists on the network, you must use SLC 500 programming software to enter/change the IP address for each processor.
Publication 1747-UM011G-EN-P - June 2008
Page 244
244
Communicating with Devices on an Ethernet Network
Use the Rockwell BOOTP Utility The Rockwell BOOTP utility is a standalone program that incorporates the functionality of standard BOOTP software with a user-friendly graphical interface. You can download it from www.ab.com/networks/bootp.html. The device must have BOOTP enabled (factory default) to use the utility. To configure your device by using the BOOTP utility, perform the following steps. 1. Run the BOOTP software. In the BOOTP Request History panel you will see the hardware addresses of devices issuing BOOTP requests.
2. Double-click on the hardware address of the device you want to configure. You will see the New Entry pop-up window with the device's Ethernet Address (MAC).
3. Enter the IP Address, Subnet Mask, and Gateway you want to assign to the device, and click on OK.
Publication 1747-UM011G-EN-P - June 2008
Page 245
Communicating with Devices on an Ethernet Network
245
The device will be added to the Relation List, displaying the Ethernet Address (MAC) and corresponding IP Address, Subnet Mask, and Gateway (if applicable).
Using DCHP Software To Configure Your Processor
DHCP 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 SLC 5/05 processor. A BOOTP client 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
The processor must be assigned a fixed network address. The IP address of the processor must not be dynamically provided. Failure to observe this precaution may result in unintended machine motion or loss of process control.
Publication 1747-UM011G-EN-P - June 2008
Page 246
246
Communicating with Devices on an Ethernet Network
Using Subnet Masks and Gateways
Configure subnet masks and gateways by using the Ethernet channel 1 configuration screen. IMPORTANT
If BOOTP is enabled, you can’t change any of the advanced Ethernet communication characteristics.
If your network is divided into subnetworks that use gateways or routers, you must indicate the following information when configuring channel 1. • Subnet mask • Gateway address A subnet mask is a filter that a node applies to IP addresses to determine if an address is on the local subnet or on another subnet. If an address is on another subnetwork, messages are routed through a local gateway to be transferred to the destination subnetwork. If your network is not divided into subnets, then leave the subnet mask field at the default. Subnet Mask Tasks If you are
Then manually configuring channel 1 and have a network with subnets
•be sure the BOOTP enable field is disabled. •use your programming software to enter the subnet mask and gateway address.
using BOOTP to configure channel •be sure BOOTP is enabled. 1 and have a network with •include the subnet mask(s) and gateway address(es). subnets
Publication 1747-UM011G-EN-P - June 2008
Page 247
Communicating with Devices on an Ethernet Network
247
Manually Configuring Channel 1 for Processors on Subnets If you are manually configuring channel 1 for a processor on a subnet, deselect BOOTP Enable option by unchecking that checkbox.
See the table below to configure the subnet mask and gateway address fields for each processor via your programming software. Configure Subnet Task and Gateway Field This field
Specifies
Configure by doing the following
Subnet Mask
The processor’s subnet mask.
Enter an address of the following form:
The subnet mask is used to interpret IP addresses when the internet is divided into subnets.
a.b.c.d Where: a, b, c, d are between 0...255 (decimal)
Gateway Address The IP address of the gateway that provides a connection to another IP network. This field is required when you communicate with other devices not on a local subnet.
If your network is not divided into subnets, then leave the subnet mask field at the default. If you change the default and need to reset it, type 0.0.0.0. Enter an address of the following form: a.b.c.d Where: a, b, c, d are between 0...255 (decimal) The default address is No Gateway.
Publication 1747-UM011G-EN-P - June 2008
Page 248
248
Communicating with Devices on an Ethernet Network
SLC 5/05 Processor Embedded Web Server Capability
SLC 5/05 processors with OS501, Series C, FRN 6 (or later) include not only the embedded web server (introduced in FRN 5), which allows viewing of module information, TCP/IP configuration, and diagnostic information, but an enhanced version that also allows viewing of the data table memory map, data table monitor screen, and user-provided web pages via Ethernet by using a standard web browser. To view the web server main menu from a standard web browser, type in http://www.xxx.yyy.zzz for the web address, where www.xxx.yyy.zzz is the IP address of the SLC 5/05 processor. The following topics appear on the home page main menu: • Module Information • TCP/IP Configuration • Diagnostic Information • Data Table Memory Map • Data Table Monitor • User Provided Pages Home Page Menu
Publication 1747-UM011G-EN-P - June 2008
Page 249
Communicating with Devices on an Ethernet Network
249
Module Information The module information page displays a table with information about the processor. The specific information displayed includes the processor model, series/revision of the processor, mode of the processor and the name of the program in the processor. Also displayed is the revision/build of the Ethernet firmware and the module uptime (time since power was last applied).
TCP/IP Configuration Data (Read Only) This page displays a table with information about the current TCP/IP configuration parameters. Included are the module’s IP address, the subnet mask, gateway address, the Ethernet hardware address and whether BOOTP is enabled. Also included are the name server, secondary name server and the default domain name parameters, if configured.
Publication 1747-UM011G-EN-P - June 2008
Page 250
250
Communicating with Devices on an Ethernet Network
Diagnostic Information This section gives you access to the various diagnostic information screens that are available. It is divided into two sections, the Network Stack Statistics and Application Level Statistics. The Network Stack Statistics detail information about the TCP/IP stack, while the Application Level Statistics are related to the Allen-Bradley Client Server Protocol (CSP) and Control and Information Protocol (CIP) diagnostics. The individual diagnostic screens automatically refresh using a time which is configurable by you and defaults to 15 seconds.
Publication 1747-UM011G-EN-P - June 2008