Rockwell Automation 2755-SNx Adaptascan Bar Code Readers User Manual

Page 321

Advertising
background image

16–18

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

Publication 2755-6.8

9. Click the Edit button to open the Message Field Edit dialog.

10. Under Replacement Strings, type no read in the Fail: text box.

Bar code data is sent to the host on a valid read. The Fail string
sends “no read” to the host when a no read occurs on Bar Code
Reader 3.

11. Click OK to return to the Message Field dialog.

12. Click OK again to return to the Message dialog.

Define the Message Format

1. Click the Format button from the Message dialog.

2. In the Trailer text box, type \r\n (for CRLF).

3. Verify that the Field Data check box (under Include) is checked.

4. Under Message Destination, select Serial Port and Bar Code

Reader 1 from the list box.

Data is sent to the host device through the serial port of Bar Code
Reader 1.

5. Click OK to return to the Message dialog.

6. Click Save and then Close to return to the Project dialog.

Advertising