The text of a manual · part 19 of 41
AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide: 9 - Communicating with an SLC 5/03 Processor on a DeviceNet Network, pages 157 to 162
Pages 157 to 162 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 157
Communicating with an SLC 5/03 Processor on a Network
9–17
Configure the Decoder Trigger To test the application, use the Timer to trigger the reader’s decoder. 1. Click the Decoder button from the main Project dialog. 2. Under Triggered By, select Timer from the Input list.
3. Click the Save button. 4. Click the Close button and return to the main Project dialog.
Create a Message Defines the content of messages sent from the reader to the 1747-SDN Scanner after bar codes have been decoded. 1. Click the Message button from the main Project dialog. 2. Under Triggered By, check the Enable check box.
3. Under Device, select Bar Code Reader 1. 4. Under Input, select [Decoder].
Publication 2755-6.8
Page 158
9–18
Communicating with an SLC 5/03 Processor on a Network
5. Click the New button to create a message field.
6. Under Symbol Source, select Bar Code Reader 1. 7. Under Bar Code Label & Symbols, select Symbol 1. 8. Check (enable) the Match Exactly check box. 9. Click the Edit button to open the Message Field Edit dialog.
10. Under Replacement Strings, type nr in the Fail: field. Bar code data is sent to the 1747-SDN Scanner on a valid read; the Fail string sends the characters “nr” to the 1747-SDN when a no read occurs. 11. Under Data Format, type 4 in the Length box. Important:
The Length must match the number of characters in the bar code symbol. This application uses 4 character, Interleaved 2 of 5 symbols.
12. Click OK to return to the Message Field dialog. 13. Click OK to return to the Message dialog.
Publication 2755-6.8
Page 159
Communicating with an SLC 5/03 Processor on a Network
9–19
Define the Message Format This section defines the format and destination of messages sent from the reader. 1. Click the Format button from the Message dialog.
2. Under Message Destination, select DeviceNet. 3. Accept the defaults for all other parameters. 4. Click OK to return to the Message dialog. 5. Click OK again to return to the Message Field dialog. 6. Click Save and then Close to return to the main Project dialog.
Sending the Configuration to the Reader
From the main Project dialog, click the Send Device button to download the configuration to the bar code reader. Note: If you are using Send all to download multiple reader configurations, unplug the DeviceNet scanner from the SLC processor. Use the Monitor dialog to verify the decoding of bar code labels.
Running the Application
If the: • AdaptaScan Reader is configured correctly, • the 1747-SDN Scanner is configured correctly, and • the ladder program is entered as shown in this application, you will see bar code data or ‘nr’ in the SLC M1 file (N23) as bar code symbols are decoded. Remember that all data is byte swapped. If the 1747-SDN Scanner is not working properly, refer to the next section.
Publication 2755-6.8
Page 160
9–20
Communicating with an SLC 5/03 Processor on a Network
Troubleshooting the Module and Network
The bicolor (green/red) module status indicator (MODULE) displays module status. It indicates whether the module has power and is functioning properly. If the Module LED is Off this indicates
Take this action Apply power.
Flashing green there is no power applied to the module. the module is operating in normal condition. the module is not configured.
Flashing red there is invalid configuration.
Check configuration setup.
Solid red the module has an unrecoverable fault.
Replace the module.
Solid green
None Configure the module.
The DeviceNet channel has a bicolor (green/red) network status indicator (NET). The next table provides troubleshooting information about the DeviceNet channel communication link. If the NET indicator is
Publication 2755-6.8 this indicates
Take this action
Off 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.
Page 161
Communicating with an SLC 5/03 Processor on a Network
9–21
Your module uses numeric displays to indicate diagnostic information about the status of your module. The display flashes at 1 second intervals. 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 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).
Reconfigure the scan list table and remove any illegal data. Inspect the field devices and verify connections.
72 73
Take this action
Enter a matching scan list device ID. Make sure that the device at the flashing node address matches the desired key parameters (vendor, product code, product type). Modify your configuration and check for invalid data. Verify connections.
74 data overrun on port detected.
75 no network traffic has been detected.
76 no direct network traffic for module detected.
77
79 data size returned 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.
None. The module hears other network communication. Reconfigure your module and change the addressing. 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. Verify baud rate.
80 module is in IDLE mode.
None.
81 module is in FAULT mode.
None.
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).
Check accuracy of scan list table entry. Check slave device configuration.
84 module is initializing the DeviceNet channel.
None. This code clears itself once module attempts to initialize all slave devices on the channel.
85 data size returned is bigger than expected.
86 device is producing idle state data while the scanner is in Run Mode. available for allocation. Scanner has not yet been detected by allocated master, or slave mode is enabled but scanner is not allocated to a master. this is not an error. At power-up and reset, the module displays all 14 segments of the node address and status display LEDs.
Check accuracy of scan list table entry. Check slave device configuration. Check device configuration/slave node status.
78
87
88
Monitor scanner to determine if error code clears when master detects scanner. If error remains, check scanner slave mode configuration. None.
Table continued on the next page.
Publication 2755-6.8
Page 162
9–22
Communicating with an SLC 5/03 Processor on a Network
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.
None.
98
Unrecoverable firmware failure.
Service or replace your module.
99
Unrecoverable hardware failure.
Service or replace your module.