Rockwell Automation 2755-SNx Adaptascan Bar Code Readers User Manual

Page 80

Advertising
background image

4–24

Downloading Match Codes via DH485 Protocol with an SLC 5/03

t

or SLC 5/04

t

Controller

Publication 2755-6.8

Place the Match Code Hex command (Byte Swapped) in the
Destination File Address N7:90.

example bar code string = 0300

0300 converted to hex = 30333030

ASCII Hex command = 3F10CE010003040030333030

Byte Location

0

1

2

3

4

5

Byte Swapped

N7:90

103F

01CE

0300

0004

3330

3030

In Slave Mode, file N7:80 will contain the response for a successful
download (i.e. 3F90) or failure (i.e. 3F94).

3F90

Address (3F = 63)

Response Code (90 = Successful)

(94 = Fail)

Note: The response cannot be displayed at the same time as the
match code download. For this reason, an Examine If Close (XIC)
contact B3:0 is used to control when the response is requested.

Advertising