Rockwell Automation 2755-SNx Adaptascan Bar Code Readers User Manual

Page 313

Advertising
background image

16–10

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

Publication 2755-6.8

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 no read in the Fail: 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 1.

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 CR, LF).

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

4. Under Message Destination, select Serial Port.

Data is sent from the serial port of Bar Code Reader 1 to the host
device over an RS-232 link.

5. Click OK to return to the Message dialog.

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

Advertising