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

Page 98

Advertising
background image

6–3

Communicating with an SLC

t

over an RS-232 Link

Publication 2755-6.8

Configure Channel 0 in the Channel 0 User Mode Configuration
screen.

Note: Termination 1 is set for

\d

or Carriage Return

[CR]

, and

Termination 2 is set for

\a

or Line Feed

[LF]

. These terminators,

along with the

ARL

instruction in the SLC 500, allow the User port to

read in one message at a time with

[CR][LF]

terminators.

The sample ladder logic below instructs the SLC 5/03 or 5/04 to read
one string of ASCII data terminated with

[CR][LF]

.

Refer to the SLC 5/03 user manual for detailed information on using
the SLC 5/03 or 5/04 programming software including the ASCII
instructions.

SLC Ladder Logic
Program

Advertising