Message instruction configuration, Example bar code string = 0300 – Rockwell Automation 2755-SNx Adaptascan Bar Code Readers User Manual

Page 81

Advertising
background image

4–25

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

t

or SLC 5/04

t

Controller

Publication 2755-6.8

Viewing Match Code Downloads in Master Mode via Ladder
Logic

Use the following SLC ladder logic for DH485 Master Mode if the
AdaptaScan I/O LEDs cannot be used for viewing.

Read/Write

Read/Write:

Type:

Target Device:

Local/Remote:

Control Block:

Control Block Length:

WRITE

PEER-TO-PEER

485CIF

LOCAL

N7:100

14

B3

0

]

[

Message Instruction Configuration

Parameter

Configuration

Type

Peer-to-Peer

Read/Write

Write

Target Device

485CIF

Local/Remote

Local

Control Block

N7:100

Channel

0

Target Node

2

Destination File Access

N7:200

Target Offset

255

Message Length in Elements

10

Message Timeout (seconds)

10

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

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:200

103F

01CE

0300

0004

3330

3030

Advertising