Entering data with a bar code scanner – Rockwell Automation 2707-NP DTAM Programming Software User Manual

Page 147

Advertising
background image

Chapter 18

DTAM Plus ASCII Bar Code Input

18–3

After creating the data entry screen and downloading the application to the
DTAM Plus, bar code data can be scanned into the data entry field.

1. Setup the bar code scanner to match the message format the DTAM Plus

is expecting:

Prefix = STX

Preamble = None

Code ID = None

Postamble = None

2. Configure the DTAM printer port and the bar code scanner’s

communication port to match:

Baud Rate = 300, 600, 12000, 24000, 48000, 96000, 19200 with 9600
as both the scanner and the DTAM default.

Data Bits = 8

Stop Bits = 1

Parity = Odd, Even, or None with None as the DTAM default.

3. Connect the DTAM to the bar code scanner as described in the DTAM

Plus user manual.

4. When the bar code entry screen is displayed, data can be scanned in.

Here are some items you should note when using a bar code scanner.

Odd character counts from the scanner are rounded up to create even
byte counts. This facilitates word writes to the controller. The last
character written is a Null.

When displaying a bar code input data entry display the following
DTAM keys are active:

MAIN

MENU

PREV
MENU

PREV

NEXT

and the following keys are inactive:

EXP

F

and the

key is not available for printing screens

If keypad entry is enabled, the operator can enter the ASCII
character’s decimal equivalent value into the data entry field. The bar
code ASCII input is also enabled at the same time. This allows input
from both sources. For example, an operator can manually enter 3
characters and then scan a bar code containing 8 characters. The
DTAM then would write all 11 characters to the controller.

Entering Data with a
Bar Code Scanner

Advertising