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

The text of a manual · part 36 of 70

SLC 500 Instruction Set Reference Manual, pages 351 to 360

Pages 351 to 360 of 694

The original document is the PDF (7.2 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-L514

Page 351

SLC Communication Channels

13-21

Note that all 164 words are updated during each end-of-scan. The following table describes possible states of the DH+ node address and the value written to the Global Status Word (S:99).

Table 13.6 DH+ Node Address State State of the DH+ Node Address

Value written into S:99 by the SLC 5/04 processor

Device is not active on the DH+ link

0x0000

Device is active on the DH+ link, but not sending GSW bytes in its Token Pass

0x0000

Device is active on the DH+ link and is sending 1 byte of GSW data in its Token Pass

High byte is set to 0x00; Low byte is set equal to 1 byte of GSW data

Device is active on the DH+ link and is sending 2 bytes of GSW data in its Token Pass

High byte is set equal to the second byte; Low byte is set equal to the first byte (or High and Low bytes are set equal to each other)

Device is active on the DH+ link and is sending 3 or 4 bytes of GSW data in its Token Pass

High byte is set equal to the second byte; Low byte is set equal to the first byte, and the third and fourth bytes are ignored

• If the Global Status File (S:100-S:163) is working and then Channel 1 is disabled, the entire Global Status File is zeroed out. • If the Global Status File (S:100-S:163) is working and bit S:34/4 is reset, the entire Global Status File is zeroed out except for the one word corresponding to the Channel 1 DH+ node address. • If the Global Status File (S:100-S:163) is working and then a DH+ link error occurs, the entire Global Status File is zeroed out. If the SLC 5/04 processor recovers from the error on its own, then the Global Status File updating resumes automatically. • If the Global Status File (S:100-S:163) is working and then a user program with a System Status File of less than 164 words is downloaded, the SLC 5/04 processor detects this before any further updating of the Global Status File is attempted. In other words, no corruption of the user program results even if all other criteria are still met to support the GSW reception table feature.

TIP

The SLC 5/04 processor maintains a working Global Status Word table regardless if Channel 1 DH+ Active Node Table operation is enabled, (by setting S:34/1).

Publication 1747-RM001G-EN-P - November 2008

Page 352

13-22

SLC Communication Channels

Ethernet Communications

This section: • describes SLC 5/05 performance considerations. • describes Ethernet network connections and media. • explains how the SLC 5/05 establishes node connections. • lists Ethernet configuration parameters and procedures. • describes configuration for subnet masks and gateways. The SLC 5/05 supports Ethernet communication via the Ethernet communication channel 1. Ethernet is a local area network that provides communication between various devices at 10 Mbps or higher. The physical communication media options for the SLC 5/05 are: • built-in. 10/100 Mbps twisted pair (10Base-T/100Base-Tx) • with media converters, hubs, or switches. – fiber optic – broadband – thick-wire coaxial cable (10Base-5) – thin-wire coaxial cable (10Base-2) – 1,000 Mbps twisted pair (1000Base-T)

SLC 5/05 Performance Considerations Actual performance of an SLC 5/05 processor varies according to: • size of Ethernet messages. • frequency of Ethernet messages. • network loading. • the implementation and performance of your processor application program, including status file bit settings. For the best channel 1 Ethernet performance, clear both the channel 1 Communications Servicing Selection bit S:2/15, and the channel 1 Message Servicing Selection bit, S:33/7. Refer to Appendix A for additional information regarding these status file bits.

Publication 1747-RM001G-EN-P - November 2008

Page 353

SLC Communication Channels

13-23

Optimal Performance: PC to SLC 5/05 Processor (2-node Ethernet network) Table 13.7 Optimal Performance: RSLinx to SLC 5/05 Processor (2-node Ethernet network) Operation

Words MSG per Second

Words per Second

Single Typed Read

1

105

105

Single Typed Read

20

99

1980

Single Typed Read

100

86

8600

Single Typed Read

256

71

18176

SLC 5/05 and PC Connections to the Ethernet Network TCP/IP is the mechanism used to transport Ethernet messages. The SLC 5/05 processor uses TCP/IP to establish sessions and to send MSG commands. Connections can be initiated by either a client program (INTERCHANGE or RSLinx application) or a processor. Refer to the MSG instruction operation in chapter 12 for information on how connections are established using the MSG instruction. The SLC 5/05 Ethernet connector conforms to ISO/IEC 8802-3 STD 802.3 and utilizes twisted pair media. Connections are made directly from the SLC 5/05 to an Ethernet hub or switch. The network setup is simple and cost effective. The typical network topology is pictured below, as well as an alternate point-to-point connection using an RJ-45 cross-over cable.

Typical Network Topology to PC Ethernet Card

Alternate Point-to-Point Connection to PC Ethernet Card

Ethernet Hub or switch

RJ45 connectors on both ends of straight-through cable (twisted pair)

to SLC 5/05 Channel 1

RJ45 connectors on both ends of the cross-over cable (twisted pair) to SLC 5/05 Channel 1

Publication 1747-RM001G-EN-P - November 2008

Page 354

13-24

SLC Communication Channels

IMPORTANT

The SLC 5/05 processor contains an RJ45 Ethernet connector which connects to standard Ethernet switches via 8-wire twisted pair straight-through cable. To access other Ethernet mediums, use RJ45 media converters or Ethernet switches that can be connected together via fiber, thin-wire, or thick-wire coaxial cables, or any other physical media commercially available with Ethernet switches.

There are two ways to configure the SLC 5/05 Ethernet channel 1. The configuration can be done via a BOOTP or DHCP request at processor powerup, or by manually setting the configuration parameters using RSLogix 500 Programming Software (refer to Configuring Channel 1 for Ethernet).

Configuring Channel 1 for Ethernet To configure and SLC 5/05 processor channel 1 for Ethernet, do the following using your programming software:

To bring up the Channel Configuration interface, double-click on the Channel Configuration icon.

Publication 1747-RM001G-EN-P - November 2008

Page 355

SLC Communication Channels

13-25

Define the location of the diagnostic file used for Channel Status here. See Table 13.10 on page 13-30 for diagnostic file details.

Configure the communication driver characteristics according to Table 13.8.

Publication 1747-RM001G-EN-P - November 2008

Page 356

13-26

SLC Communication Channels

Table 13.8 Define these communication parameters when configuring an SLC 5/05 processor for Ethernet communications. Tab

Parameter

Default

Selections

General

Diagnostic File

0

Select an unused file to store channel status information. You must define a diagnostic file in order to be able to view channel 1 status. The Diagnostic File Number must be an integer within the limits of 9 to 255. See Table 13.10 for a file description.

Hardware Address

Ethernet hardware address

The SLC 5/05 Ethernet hardware address.

IP Address

0, 0, 0, 0 (undefined)

The SLC 5/05 internet address (in network byte order). The internet address must be specified to connect to the TCP/IP network.

Subnet Mask

0, 0, 0, 0

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.

Gateway Address

0, 0, 0, 0

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.

Default Domain Name

Channel 1 System

This is the portion of the Domain Name that is the same for every device on the local Ethernet network. When a target device name is entered in the Ethernet MSG instruction in place of the target device IP address, then the Default Domain Name is appended to the device name when the MSG is triggered and a request is made for the corresponding IP address from the DNS server. The default domain name can have the following formats: ’a.b.c’, ’a.b’ or ’a’, where a, b, c must start with a letter, end with a letter or digit, and have as interior characters only letters, digits or hyphens. Maximum length is 47 characters.

Primary Name Server(1)

0.0.0.0

This is the IP address of the computer acting as the local Ethernet network Primary Domain Name System (DNS) server.

Secondary Name Server(1)

0.0.0.0

This is the IP address of the computer acting as the local Ethernet network Secondary Domain Name System (DNS) server.

DHRIO Link ID

0

The link ID assigned to this SLC 5/05 in a 1756-DHRIO module routing table so that DH+ devices can initiate communications to this SLC 5/05.

Pass Thru Routing Table File

0

Enter an integer file from 9 to 255. This file (routing table) stores up to 128 IP addresses that may be accessed by devices connected to channel 0 using either DF1 Full-duplex, DF1 Master, DF1 Radio Modem, or DH-485 protocols.

User Provided Web Pages Starting Data File Number(2)

0 (disabled)

Enter the first in an unused block of data table file numbers within range of 9 to 252. This is the starting data table file number used to store user-provided web pages. Each page is stored in a block of four consecutive 256-element ASCII files.

User Provided Web Pages Number of Pages(2)

1

Enter 1 to 16. This is the total number of user-provided web pages. Each web page allocates four contiguous 256 element ASCII files. All web pages reside in a contiguous block of ASCII files from four to 64 files in length.

MSG Connection Timeout

15,000 ms

The amount of time (in ms) allowed for a MSG instruction to establish a connection with the destination node. The MSG Connection Timeout has a range from 250 ms to 65,500 ms.

MSG Reply Timeout

3,000 ms

The amount of time (in ms) that the SLC 5/05 waits for a reply to a command that it has initiated via a MSG instruction. The MSG Reply Timeout has a range from 250 ms to 65,500 ms. This timeout also applies to Ethernet-to-channel 0 passthru commands.

Publication 1747-RM001G-EN-P - November 2008

Page 357

SLC Communication Channels

13-27

Table 13.8 Define these communication parameters when configuring an SLC 5/05 processor for Ethernet communications. (Continued) Tab

Parameter

Default

Selections

Inactivity Timeout(3)

30 minutes

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 to 65,500 minutes.

BOOTP Enable enabled

The BOOTP enable switch. When BOOTP is enabled, the SLC 5/05 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 uses the locally configured network related parameters (IP Address, Subnet Mask, etc.).

DHCP Enable(4)

disabled

The DHCP enable switch. When DHCP is enabled, the SLC 5/05 attempts to learn its network related parameters at powerup via a DHCP request. There must be a DHCP server on the network capable of responding to this DHCP request. When DHCP is disabled, the SLC 5/05 uses the locally configured network related parameters (IP Address, Subnet Mask, etc.).

SNMP Server Enable(5)

enabled

The SNMP enable switch. When SNMP is enabled, the SLC 5/05 responds to requests from a Simple Network Management Protocol Client.

HTTP Server Enable(6)

enabled

The HTTP enable switch. When HTTP is enabled, the SLC 5/05 web server responds to web browser requests.

Auto Negotiate and Port Setting(6)

Auto Negotiate disabled and Port Setting 10 Mbps/Halfduplex

When Auto Negotiate is disabled (unchecked), the Ethernet speed/duplex is forced to either 10 Mbps/Half-duplex, 10 Mbps/Full-duplex, 100 Mbps/Half-duplex, or 100 Mbps/Full-duplex, as selected in the Port Setting field. When Auto Negotiate is enabled (checked), the Port Setting Field allows you to select the range of speed/duplex settings that the SLC 5/05 will negotiate. Refer to table 13.9 for the setting choices and order of negotiation for each setting.

(1)

Parameter is only functional in OS501, Series C, FRN 5 and higher.

(2)

Parameter is only functional in OS501, Series C, FRN 6 and higher.

(3)

Only applies to non-Multi-hop MSGs. Multi-hop MSG Inactivity Timeout is fixed at 4.5 minutes.

(4)

Parameter is only functional in OS501, Series C, FRN 10 and higher, Series A-C hardware.

(5)

Parameter is only functional in OS501, Series C, FRN 9 and higher, Series A-C hardware.

(6)

Parameter is only functional in OS501, Series C, FRN 9 and higher, Series C hardware.

Publication 1747-RM001G-EN-P - November 2008

Page 358

13-28

SLC Communication Channels

Table 13.9 Configuration Setting Setting

100 Mbps Full-duplex

100 Mbps Half-duplex

10 Mbps Full-duplex

10 Mbps Half-duplex

10/100 Mbps Full-duplex/Half-duplex

1st

2nd

3rd

4th

100 Mbps Full-duplex or 100 Mbps Half-duplex

1st

2nd

-

3rd

100 Mbps Full-duplex or 10 Mbps Half-duplex

1st

-

2nd

3rd

100 Mbps Half-duplex or 10 Mbps Full-duplex

-

1st

2nd

3rd

100 Mbps Full-duplex

1st

-

-

2nd

100 Mbps Half-duplex

-

1st

-

2nd

10 Mbps Full-duplex

-

-

1st

2nd

10 Mbps Half-duplex Only

-

-

-

1st

IMPORTANT

Both the SLC 5/05 Channel 1 and its link partner (typically an Ethernet switch) must be configured to Auto Negotiate or to the same forced speed and duplex. Otherwise a reduction in either system performance and/or system reliability may be observed.

Ethernet Channel Status For SLC 5/05 processors, channel status data is stored in the diagnostic file defined on the Channel 0 Configuration screen. See Table 13.10 on page 13-30 for information regarding the diagnostic counter data displayed.

Double-click on the Channel Status Icon located beneath the Configuration icon to bring up the Channel Status screen.

Publication 1747-RM001G-EN-P - November 2008

Page 359

SLC Communication Channels

13-29

See Table 13.10 for details concerning the Ethernet Channel Status Screen.

Publication 1747-RM001G-EN-P - November 2008

Page 360

13-30

SLC Communication Channels

Table 13.10 SLC 5/05 Channel 1 Ethernet Channel Status Status field Commands Replies

General

Words

Displays the number of

Sent

0,1

Commands sent by the channel.

Received

2,3

Commands received by the channel.

Sent

4,5

Replies sent by the channel.

Sent with error

6.7

Replies containing errors sent by the channel.

Received

8,9

Replies received by the channel.

Received with error

10,11

Replies containing errors received by the channel.

Timed Out

12,13

Replies not received within the specified time-out period.

In Octets

14,15

Octets received on the channel.

Out Octets

16,17

Octets sent on the channel.

In Packets

18,19

Packets received on the channel, including broadcast packets.

Out Packets

20,21

Packets sent on the channel, including broadcast packets.

Alignment Errors

22,23

Frames received on the channel that are not an integral number of octets in length.

FCS Errors

24,25

Frames received on the channel that do not pass the FCS check.

Carrier Sense Errors

26,27

Times that the carrier sense condition was lost or never asserted while trying to transmit a frame.

Excessive Collisions

28,29

Frames for which a transmission fails due to excessive collisions.

Excessive Deferrals

30,31

Frames for which transmission is deferred for an excessive period of time.

MAC Receive Errors

32,33

Frames for which reception on an interface fails due to internal MAC sublayer receive error.

MAC Transmit Errors

34,35

Frames for which reception on an interface fails due to internal MAC sublayer transmit error.

Single Collisions

36,37

Successfully transmitted frames for which transmission was delayed because of collision.

Multiple Collisions

38,39

Successfully transmitted frames for which transmission was delayed more than once because of collision.

Deferred Transmission 40,41

Frames for which the first transmission attempt is delayed because the medium is busy.

Late Collisions

42,43

Times that a collision is detected later than 512 bit–times into the transmission of a packet.

Network Storm(2)

44

Times that extremely high levels of Ethernet traffic, or network storms, have been detected.

Ethernet (Hardware) Address(2)

45 Processor’s Ethernet hardware address, which is unique to every processor. through 47

(assigned) IP Address(2)

48,49

Publication 1747-RM001G-EN-P - November 2008

Each of the four bytes holds one of the numbers of the assigned IP address in hex in the dot address format. For example, an IP address of 142.169.121.1 will be displayed in hex as 8EA97901.