Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 23 of 45

Enhanced and Ethernet PLC-5 Programmable Controllers User Manual: Chapter 11 - Communicating with Devices on an Ethernet Network, pages 185 to 194

Pages 185 to 194 of 388, from Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

The original document is the PDF (5.1 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 1785-L20B and Allen-Bradley 1785-L40B

Page 185

Communicating with Devices on an Ethernet Network

11-11

Using Subnet Masks and Gateways If your network is divided into subnetworks that use gateways or routers, you must indicate the following information when configuring channel 2: • 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 located 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. If You are

Then

See Page manually configuring channel 2 be sure the BOOTP enable field is set to No 11-12 and have a network with subnets use your programming software to enter the subnet mask and gateway address; see . using BOOTP to configure channel 2 and have a network with subnets be sure BOOTP is enabled

11-13 configure the BOOTPTAB file to include the subnet mask(s) and gateway address(es)

Publication 1785-UM012D-EN-P - July 2005

Page 186

11-12

Communicating with Devices on an Ethernet Network

Manually Configuring Channel 2 for Controllers on Subnets If you are manually configuring channel 2 for a controller located on a subnet, see refer to the table below to configure the subnet mask and gateway address fields for each controller via your programming software.

Ethernet Channel 2 Configuration Screen Advanced Functions This Field

Specifies

Configure by Doing the Following

Subnet Mask

The controller’s subnet mask.

Enter an address of the following form:

The subnet mask is used to interpret IP a.b.c.dWhere: a, b, c, d are between 0-255 (decimal) addresses when the internet is divided into subnets. 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. Gateway Address

The IP address of the gateway that provides Enter an address of the following form: a connection to another IP network. a.b.c.dWhere: a, b, c, d are between 0-255 (decimal) This field is required when you communicate with other devices not on a The default address is No Gateway. local subnet.

Publication 1785-UM012D-EN-P - July 2005

Page 187

Communicating with Devices on an Ethernet Network

11-13

Using BOOTP to Configure Channel 2 for Controllers on Subnets Configure the BOOTPTAB file according to the subnet mask and gateway address for each PLC-5E controller on the link. See the example below and the corresponding BOOTPTAB file on the next page. IMPORTANT

Because BOOTP requests are seen only on the local subnet, each subnet needs its own BOOTP server and BOOTPTAB file.

personal computer WINDOWS or HP 9000 or VAX computer

PLC-5/20E processor

BOOTP server

Subnet A

130.151.194.xxx Ethernet TCP/IP network

Hostname: Iota1 IP address: 130.151.194.19 Subnet Mask: 255.255.255.0 Gateway Address: 130.151.194.1 130.151.194.1

Ethernet gateway or router" BOOTP server

130.151.132.1

130.151.132.xxx

BOOTP server

130.151.138.1

130.151.138.xxx

Subnet B

Subnet C PLC-5/80E processor

Hostname: Iota2 IP address: 130.151.132.110 Subnet Mask: 255.255.255.0 Gateway Address: 130.151.132.1

PLC-5/20E processor

Hostname: Iota3 IP address: 130.151.138.123 Subnet Mask: 255.255.255.0 Gateway Address: 130.151.138.1

Publication 1785-UM012D-EN-P - July 2005

Page 188

11-14

Communicating with Devices on an Ethernet Network

The BOOTPTAB files that correspond to this example looks like:

# # # # # # #

Legend:

gw -- gateways ha -- hardware address ht -- hardware type ip -- host IP address sm -- subnet mask vm -- BOOTP vendor extensions format tc -- template host

#Default string for each type of Ethernet client defaults5E: ht=1:vm=rfc1048:sm=255.255.255.0 #Entries for Ethernet PLC-5 controllers: iota1:\ tc=defaults5E:\ gw=130.151.194.1:\ ha=0000BC1C1234:/ ip=130.151.194.19

# # # # # # #

Legend:

gw -- gateways ha -- hardware address ht -- hardware type ip -- host IP address sm -- subnet mask vm -- BOOTP vendor extensions format tc -- template host

#Default string for each type of Ethernet client defaults5E: ht=1:vm=rfc1048:sm=255.255.255.0 #Entries for Ethernet PLC-5 controllers: iota2:\ tc=defaults5E:\ gw=130.151.132.1:\ ha=0000BC1C5678:/ ip=130.151.132.110

# # # # # # #

Legend:

gw -- gateways ha -- hardware address ht -- hardware type ip -- host IP address sm -- subnet mask vm -- BOOTP vendor extensions format tc -- template host

#Default string for each type of Ethernet client defaults5E: ht=1:vm=rfc1048:sm=255.255.255.0 #Entries for Ethernet PLC-5 controllers: iota3:\ tc=defaults5E:\ gw=130.151.138.1:\ ha=0000BC1C9012:/ ip=130.151.138.123

Publication 1785-UM012D-EN-P - July 2005

Page 189

Communicating with Devices on an Ethernet Network

Using Domain Name Service

11-15

DNS allows an Internet Protocol (IP) address in symbolic form to be converted into the equivalent numeric IP address. For the PLC-5 controller, this conversion is a service provided by a remote host on the network. With this release of Ethernet PLC-5 controllers and release 5.20 or greater of RSLogix programming software, you may enter the symbolic form of the IP address as the IP address in the Message Block. The Channel Configuration feature in RSLogix5 programming software allows you to configure a primary and secondary DNS server, as well as a Default Domain Name (for example, cle.ab.com).

DNS names consist of a label name and a domain name. When programming the message instruction, you can enter the full label and domain name (for example, Motor1.cle.ab.com) or just the label name (Motor1). The default domain name (cle.ab.com) is appended to the label name. Label names must start with a letter and can only consist of letters, digits and hyphens. When a message instruction with a label name is first used, the PLC-5 controller verifies that label name with the name servers. When the IP address is returned, the connection is made. After the connection is made, subsequent message instruction will not require label name verification.

Publication 1785-UM012D-EN-P - July 2005

Page 190

11-16

Communicating with Devices on an Ethernet Network

Using the Embedded Web Server

To use the embedded web server: 1. Go online at your controller IP address (for example, www.cle.ab.com). The 1785-ENET Ethernet Programmable Controllers main page appears:

2. Click on the first item, Module Information. The Module Information page appears and displays specific controller information:

3. At the bottom of the Module Information page, click on TCP/IP Configuration.

Publication 1785-UM012D-EN-P - July 2005

Page 191

Communicating with Devices on an Ethernet Network

11-17

The TCP/IP Configuration page appears and displays TCP/IP parameters:

4. At the bottom of the TCP/IP configuration page, click on Diagnostic Information. The Diagnostic Information page appears and displays two lists of statistics pages:

The first list contains Network Stack Statistics. These pages present information about the TCP/IP stack. 5. For example, under Network Stack Statistics, click on the first entry General Ethernet Counters.

Publication 1785-UM012D-EN-P - July 2005

Page 192

11-18

Communicating with Devices on an Ethernet Network

This page displays general messaging statistics:

Use the information on this page when troubleshooting the network.

Publication 1785-UM012D-EN-P - July 2005

Page 193

Communicating with Devices on an Ethernet Network

11-19

Details of each counter on the General Ethernet Counters page are described in the following table. This Counter Commands Sent

Totals number of PCCC (programmable controller communication commands) sent by the module Replies Sent number of PCCC replies sent by the module Command Received number of PCCC commands received by the module Replies Received number of PCCC replies received by the module Replies Sent with Error number of PCCC replies with error status sent by the module Replies Received with Error number of PCCC replies with error status received by the module Replies Timed Out number of PCCC replies that were not received within the time period specified on the Ethernet Configuration page In Octets number of octets received by the module Out Octets number of octets sent by the module In Packets number of packets received by the module, including broadcast packets Out Packets number of packets send by the module, including broadcast packets Alignment Errors count of frames received that are not an integral number of octets in length FCS Errors count of frames that do not pass the FCS check Carrier Sense Errors number of times that the carrier sense condition was lost or never asserted when attempting to transmit a frame Excessive Collisions count of frames when transmission fails caused by excessive collisions Excessive Deferrals count of frames when transmission is deferred for an excessive period of time MAC Receive Errors count of frames when transmission fails because of an internal MAC sublayer receive error MAC Transmit Errors count of frames when transmission fails because of internal MAC sublayer transmit error Single Collisions count of successfully transmitted frames when transmission is inhibited by one collision Multiple Collisions count of successfully transmitted frames when transmission is inhibited by more than one collision Deferred Transmissions count of frames when the first transmission attempt is delayed because the medium is busy Late Collisions number of times that a collision is detected later than 512 bit-times into the transmission of a packet Packet Storms number of times the SONIC driver has entered storm or throttle back operation due to excessive traffic

6. At the bottom of the General Ethernet Counters page, click on Diagnostic Information to return to that page.

Publication 1785-UM012D-EN-P - July 2005

Page 194

11-20

Communicating with Devices on an Ethernet Network

The second list contains Application Level Statistics. These pages present information about the Client Server Protocol (CSP) and the Control Information Protocol (CIP), such as: – memory usage – inbound/outbound connection information – packet processing Details of the first three of these pages are described in the following table: This Page Application Memory Statistics

Indicates information on the number of connections available and the number currently in use for inbound/outbound connections CSP Session Table inbound/outbound information for the CSP connection Encapsulation Protocol inbound/outbound connection information for the CIP Session Table connections

The remainder of the Application Level Statistics pages present detailed information on CIP protocol counters. This information may be used in the event you must call Rockwell Automation Technical Support for troubleshooting. 7. On the bottom of your current page, click on Memory Map. The Data Table Memory Map page appears and displays a table that lists the data table files and their type and size in elements of the connected PLC-5 as shown in the following example:

Publication 1785-UM012D-EN-P - July 2005