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

The text of a manual · part 25 of 45

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

Pages 205 to 212 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 205

Communicating with Devices on an Ethernet Network

Scenario

11-31

Multihop Path originating PLC-5 with Ethernet interface to ControlLogix controller in chassis 1 originating PLC-5 with Ethernet interface to PLC-5 (station 76) on DH+ link (link 12) Note: Both 1756-DHRIO modules need routing tables that show a path to both link 12 and the link ID that is configured for the Ethernet port of the originating PLC-5 controller.

originating PLC-5 with Ethernet interface to ControlNet PLC-5 (node 1)

Publication 1785-UM012D-EN-P - July 2005

Page 206

11-32

Communicating with Devices on an Ethernet Network

Comparing Multihop and Non-Multihop Messages Over Ethernet When an outbound connection's inactivity timer has expired and a MSG is pending on that connection, the MSG receives an error. On a multihop connection, the error is 0x18 (Broken Connection). On a non-multihop connection, the error is 0x16 (Connection Timeout). For non-multihop connections, the Connection Inactivity Timeout is user configurable. For multihop connections, it is not configurable. Instead, it uses a default timeout value of 17 seconds.

Communicating with ControlLogix Devices

To communicate through a ControlLogix 1756-ENET module, you configure the multihop feature of a MSG instruction from the Ethernet PLC-5 controller (or PLC-5 controller with 1785-ENET sidecar module) to the target device. You need RSLogix 5 programming software. For more information, see the MSG instruction in the PLC-5 Programmable Controller Instruction Set Reference Manual, publication 1785-6.1. If you want to go through the ControlLogix 1756-ENET module and out the 1756-DHRIO module to the target device, you: • use Gateway configuration software to configure the 1756-DHRIO module routing table in the ControlLogix system. • specify a Link ID number on channel properties for channel 2/3A of the Ethernet PLC-5 controller (or PLC-5 controller with a 1785-ENET sidecar module). For more information about configuring a PLC-5 channel or specifying the path of the MSG instruction, see the documentation for your programming software.

TCP/IP

Publication 1785-UM012D-EN-P - July 2005

TCP/IP communications have been updated for enhanced UDP message support and super-netting.

Page 207

Communicating with Devices on an Ethernet Network

Interpreting Error Codes

11-33

When the controller detects an error during the transfer of message data, the controller sets the .ER bit and enters an error code: Code - Hexadecimal Description (word 1 of the control block) (displayed on the data monitor screen) 0010

No IP address configured for the network

0011

Already at maximum number of connections

0012

Invalid internet address or host name

0013

No such host

0014

Cannot communicate with the name server

0015

Connection not completed before user-specified timeout

0016

Connection timed out by the network

0017

Connection refused by destination host

0018

Connection was broken

0019

Reply not received before user-specified timeout

001A

No network buffer space available

0037

Message timed out in local controller

0083

Controller is disconnected

0089

Controller’s message buffer is full

0092

No response (regardless of station type)

00D3

You formatted the control block incorrectly

00D5

Incorrect address for the local data table

1000

Illegal command from local controller

2000

Communication module not working

4000

Controller connected but faulted (hardware)

5000

You used the wrong station number

6000

Requested function is not available

7000

Controller is in program mode

8000

Controller’s compatibility file does not exist

Publication 1785-UM012D-EN-P - July 2005

Page 208

11-34

Communicating with Devices on an Ethernet Network

Code - Hexadecimal Description (word 1 of the control block) (displayed on the data monitor screen)

Interpreting Ethernet Status Data

Publication 1785-UM012D-EN-P - July 2005

9000

Remote node cannot buffer command

B000

Controller is downloading so it is inaccessible

F001

Controller incorrectly converted the address

F002

Incomplete address

F003

Incorrect address

F006

Addressed file does not exist in target controller

F007

Destination file is too small for number of words requested

F00A

Target controller cannot put requested information in packets

F00B

Privilege error, access denied

F00C

Requested function is not available

F00D

Request is redundant

F011

Data type requested does not match data available

F012

Incorrect command parameters

F01A

File owner active – the file is being used

F01B

Program owner active – someone is downloading, online editing, or set the program owner with APS in the WHO Active screen

Monitor the status of Ethernet PLC-5 controllers by accessing the Ethernet channel 2 status screen of your programming software. The diagnostic counter data displayed is stored in the diagnostic file defined on the Ethernet channel 2 configuration screen.

Page 209

Communicating with Devices on an Ethernet Network

11-35

Monitoring general Ethernet status

Status Field

Bytes

Displays the Number of

In Octets

28-31

Octets received on the channel

Out Octets

32-35

Octets sent on the channel

In Packets

36-39

Packets received on the channel, including broadcast packets

Out Packets

40-43

Packets sent on the channel, including broadcast packets

Excessive collisions

56-59

Frames for which a transmission fails due to excessive collisions

Excessive deferrals

60-63

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

Alignment errors

44-47

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

FCS errors

48-51

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

MAC receive errors

64-67

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

MAC transmit errors

68-71

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

Single collisions

72-75

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

Multiple collisions

76-79

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

Deferred transmission

80-83

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

Late collisions

84-87

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

Multiple collisions

88-89

Network storms encountered

Ethernet Address

90-95

Ethernet Hardware Address

IP Address

96-99

Assigned Internet Protocol Address

Carrier sense errors

52-55

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

Publication 1785-UM012D-EN-P - July 2005

Page 210

11-36

Communicating with Devices on an Ethernet Network

Monitoring Ethernet commands

Status Field

Bytes

Displays the Number of

Sent

0-3

Commands sent by the channel

Received

4-7

Commands received by the channel

Monitoring Ethernet replies

Status Field

Bytes

Displays the Number of

Sent

8-11

Replies sent by the channel

Received

12-15

Replies received by the channel

Sent with error

16-19

Replies containing errors sent by the channel

Received with error

20-23

Replies containing errors received by the channel

Timed out

24-27

Replies not received within the specified timeout period

Publication 1785-UM012D-EN-P - July 2005

Page 211

Communicating with Devices on an Ethernet Network

Ethernet PLC-5 Performance Considerations

11-37

Actual performance of an Ethernet PLC-5 controller varies according to: • size of Ethernet messages • frequency of Ethernet messages • network loading • the implementation of and performance of your controller application program The following charts show performance of the Ethernet PLC-5 controller, depending on packet size.

Performance: Host to Ethernet PLC-5 Controller

Personal Computer

Publication 1785-UM012D-EN-P - July 2005

Page 212

11-38

Communicating with Devices on an Ethernet Network

Performance: Ethernet PLC-5 Controller to Ethernet PLC-5 Controller

PLC-5 Controller Typed Write - Packet Size

Publication 1785-UM012D-EN-P - July 2005