Slc ladder logic – Rockwell Automation 2755-SNx Adaptascan Bar Code Readers User Manual

Page 77

Advertising
background image

4–21

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

t

or SLC 5/04

t

Controller

Publication 2755-6.8

This section describes how to view match codes

in Slave Mode via the reader’s LEDs

in Slave Mode via ladder logic

in Master Mode via ladder logic

Viewing Match Codes in Slave Mode via the Reader’s LEDs

Use a MSG Write command to download the Match Code Hex
commands. The enable bit is toggled

[F9]

in order to make the

download transition. The AdaptaScan I/O LED’s will indicate a
good match or a No-Read or No-Match.

MSG

Read/Write

Read/Write:

Type:

Target Device:

Local/Remote:

Control Block:

Control Block Length:

WRITE

PEER-TO-PEER

485CIF

LOCAL

N7:200

14

Message Instruction Configuration

Parameter

Configuration

Type

Peer-to-Peer

Read/Write

Write

Target Device

485CIF

Local/Remote

Local

Control Block

N7:200

Channel

0

Target Node

2

Destination File Access

N7:90

Target Offset

255 (Change 255 to 256 or 100H in the third word of the
Control Block. An offset greater than 255 tells the MSG
instruction that the SLC controller is talking to a bar code
device.)

Message Length in Elements

10

Message Timeout (seconds)

10

SLC Ladder Logic

Advertising