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

The text of a manual · part 30 of 41

AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide: 12 - Communicating with a PLC-5 Processor on a DeviceNet Network using Explicit Messaging, pages 249 to 254

Pages 249 to 254 of 354, from AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide

The original document is the PDF (3.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 Accu-Sort 2755-SN3, Accu-Sort 2755-SN5, Allen-Bradley 2755-SN5, Accu-Sort 2755-SN8 and Allen-Bradley 2755-SN8

Page 249

12–28

Communicating with a PLC-5 Processor on a DeviceNet Network using Explicit Messaging

Troubleshooting Your Module

The bicolor (green/red) module status indicator displays device status. The LED indicates whether the device has power and is functioning properly. If the Module LED is Off

Flashing green Flashing red there is invalid configuration.

Solid red the module has an unrecoverable fault.

Check configuration setup and verify dip switch settings. Replace the module.

Network Status Indicator

Configure the module.

this indicates

Take this action

Off

If the NET indicator is the channel is disabled for DeviceNet communication.

Power-up the module, provide network power to channel, and be sure channel is enabled in both the module configuration table and module command word.

Flashing green Solid green the channel is enabled but no communication is occurring. all slave devices in the scan list table are communicating normally with the module.

Configure scan list table for channel to add devices. None.

Solid red the module may be defective.

Flashing red at least one of the slave devices in the module’s scan list table has failed to communicate with the module.

Reset module. If failures continue, replace module. Examine the failed device and the scan list table for accuracy.

The network has faulted.

Publication 2755-6.8

None

Channels 1 and 2 each have a bicolor (green/red) network status indicator. The following table provides troubleshooting information about the Channel 1 and 2 communication links.

Channel 1

Top part of module

Take this action Apply power.

Solid green

Module Status Indicator this indicates there is no power applied to the module. the module is operating in normal condition. the module is not configured.

Page 250

Communicating with a PLC-5 Processor on a DeviceNet Network using Explicit Messaging

Top part of module

Your 1771-SDN Scanner Module has a node address/status indicator that uses numeric displays to indicate diagnostic information about your module. The display flashes at approximately 1 second intervals, depending on network traffic. The following table summarizes the meanings of the numeric codes. Numeric Code

Indicates

Network Address Displays 0 - 63 normal operation. The numeric display matches the scanner’s node address on the DeviceNet network.

None.

70 module failed Duplicate Node Address check.

Change the module channel address to another available one. The node address you selected is already in use on that channel.

71

Reconfigure the scan list table and remove any illegal data. Inspect the field devices and verify connections.

74 illegal data in scan list table (node number alternately flashes). slave device stopped communicating (node number alternately flashes). device key parameters do not match scan list table entry (node number alternately flashes). data overrun on port detected.

75 no network traffic has been detected.

76 no direct network traffic for module detected.

77

79 data size expected does not match scan lists entry (node number alternately flashes). slave device in scan list table does not exist (node number alternately flashes). module has failed to transmit a message.

80 module is in IDLE mode.

None. The module hears other network communication. Reconfigure your module for the correct transmit and receive data sizes Add the device to the network, or delete the scan list entry for that device. Make sure that your module is connected to a valid network. Check for disconnected cables. Place PLC-5 in Run mode.

81 module is in FAULT mode.

Check ladder program for cause of fault bits.

82 error detected in sequence of fragmented I/O Check scan list table entry for slave device to messages from device (node number alternately make sure that input and output data lengths flashes). are correct. Check slave device configuration.

83 slave device is returning error responses when module attempts to communicate with it (node number alternately flashes).

84 module is initializing the DeviceNet channel.

85 data size returned is bigger than 255 bytes (node number alternately flashes). device is producing idle state data while the scanner is in Run Mode. this is not an error. At power-up and reset, the module displays all 14 segments of the node address and status display LEDs.

Channel 1

72 Node Address / Status Indicator

12–29

73

78

86 88

Take this action

Enter a matching scan list device ID. Modify your configuration and check for invalid data. Check network communication traffic. Verify connections.

Check accuracy of scan list table entry. Check slave device configuration. Slave device may be in another master’s scan list. Reboot slave device. None. This code clears itself once module attempts to initialize all slave devices on the channel. Configure device for smaller data size. Check device configuration/slave node status. None.

Table continued on the next page.

Publication 2755-6.8

Page 251

12–30

Communicating with a PLC-5 Processor on a DeviceNet Network using Explicit Messaging

Numeric Code

Publication 2755-6.8

Indicates

Take this action

90 user has disabled communication port reconfigure your module. Check the disable bit in the Module Command Register. Check DeviceNet connections and physical media integrity. Check system for failed slave devices or other possible sources of network interference. Provide network power. Make sure that module drop cable is providing network power to module comm port.

91 bus-off condition detected on comm port. module is detecting communication errors.

92 no network power detected on comm port.

95 application FLASH update in progress.

None. Do not disconnect the module while application FLASH is in progress. You will lose any existing data in the module’s memory.

97 module halted by user command.

Check ladder program for cause of fault bits.

98

Unrecoverable firmware failure.

Service or replace your module.

99

Unrecoverable hardware failure.

Service or replace your module.

Page 252

Communicating with a PLC-5 Processor on a DeviceNet Network using Explicit Messaging

Downloading Other Host Commands

12–31

You can download other host commands using the same procedures described in the match code example. The following tables provide the commands and responses for the other host commands (all values are hexadecimal).

Read Performance Indicator Command

Read Performance Indicator Response

Packet Contents

Data Sent

Packet Contents

DeviceNet Address

3F*

DeviceNet Address

Response 3F

Get Performance Request

4C

Get Performance Response

CC

Class

C8

Data (LSB)

01

Instance Number (LSB)

01

Data (MSB)

00

Instance Number (MSB)

00

*3F = Address 63, modify as required

Reset Package Counter Command

Reset Package Counter Response

Packet Contents

Data Sent

Packet Contents

Response

DeviceNet Address

3F*

DeviceNet Address

3F

Set Attribute Request

10

Set Attribute Response

90

Class

D2

Instance Number (LSB)

00

Instance Number (MSB)

00

Attribute Number– Reset Counters Data

09 01

*3F = Address 63, modify as required

Read Match Counters Command

Read Match Counters Response

Packet Contents

Data Sent

Packet Contents

Response

DeviceNet Address

3F*

DeviceNet Address

3F

Get Attribute Request

0E

Get Attribute Response

8E

Class

CE

Data

6C, 08, 00, 00

Instance Number (LSB)

01

Instance Number (MSB)

00

Attribute Number

08

*3F = Address 63, modify as required

Read Package Counters Command

Read Package Counters Response

Packet Contents

Data Sent

Packet Contents

Response

DeviceNet Address

3F*

DeviceNet Address

3F

Get Attribute Request

0E

Get Attribute Response

8E

Data

6C, 08, 00, 00

Class

D2

Instance Number (LSB)

01

Instance Number (MSB)

00

Attribute Number– Match Count *3F = Address 63, modify as required

08

Publication 2755-6.8

Page 253

12–32

Communicating with a PLC-5 Processor on a DeviceNet Network using Explicit Messaging

Reset Match Counters Command Packet Contents

Data Sent

Reset Match Counters Response Packet Contents

Response

Response Codes

3F*

DeviceNet Address

3F

Set Attribute Request

10

Set Attribute Response

90

Class

CE

Instance Number (LSB)

00

Instance Number (MSB)

00

Attribute NumberReset Counters Data

0B 01

*3F = Address 63, modify as required

Read Message Command Packet Contents

Data Sent

Read Message Response Packet Contents

Response

DeviceNet Address

3F*

DeviceNet Address

3F

Get Attribute Request

0E

Get Attribute Response

8E

Class

CC

Data (LSB)

04

Instance Number (LSB)

00

Data (MSB)

00

Instance Number (MSB)

00

ASCII Message Data

30*

Attribute Number - Message

14

ASCII Message Data

32

ASCII Message Data

30

ASCII Message Data

30

*3F = Address 63, modify as required

* Example data = 0200

Read LED Status Command

Read LED Status Response

Packet Contents

Data Sent

Packet Contents

DeviceNet Address

3F*

3F

Response 3F

Read LEDS Request

43

Read LEDS Response

C3

Class

CB

I/O 1

See Table Next Page

Instance Number (LSB)

01

I/O 2

See Table Next Page

Instance Number (MSB)

00

Trigger / Read

See Table Next Page

On Symbol

See Table Next Page

Laser On

See Table Next Page

Module

See Table Next Page

Network

See Table Next Page

*3F = Address 63, modify as required

Publication 2755-6.8

Page 254

Communicating with a PLC-5 Processor on a DeviceNet Network using Explicit Messaging

Set Output Timer Command Packet Contents

Data Sent

Set Output Timer Response Packet Contents

Response

DeviceNet Address

3F*

DeviceNet Address

3F

Set Attribute Request

10

Set Attribute Response

90

Class

D0

Instance Number (LSB)

02

Instance Number (MSB)

00

Attribute Number - Max Time

09

Data (LSB)

FA

Data (MSB)

00

12–33

*3F = Address 63, modify as required ** Time in milliseconds

LED Status Response Data at Indicated Bit Address = LED State Byte 0

0 = Off

1 = Yellow

I/O 1

OFF

ON

3-5

I/O 2

OFF

ON

0-2

TRIGGER / READ

No Trigger

Triggered

3-5

ON SYMBOL

Not Reading

Reading

0-2

LASER ON

OFF

ON

3-5

MODULE

No Power

0-2

NETWORK

Bits

LED Indicator

0-2

1

2

3

6 = Flash Green

7 = Flash Red

Hardware Fault

Power Up

Minor Fault

DeviceNet DeviceNet OK Fault

Established

No Response

2 = Green

3 = Red

4 = Not Used

5 = Flash Yellow

Valid Read Read <100%

Device OK

3-5

Publication 2755-6.8