Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 16 of 17

2-D Hand-Held Bar Code Scanners (Cat. No. 2755-HTG-4) Bar Code Programming Guide, pages 151 to 160

Pages 151 to 160 of 165

The original document is the PDF (1.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 2755-HFC-SA1 and Allen-Bradley 2755-HFC-SP2

Page 151

E–6

PLC-5 Controller Application

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

Note that Termination 1 is set for \0xa or Line Feed [LF], and Termination 2 is set for \0xd or Carriage Return [CR]. These terminators, along with the ARL instruction in the PLC-5, allow you to read one message at a time with [CR] [LF] terminators.

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 152

PLC-5 Controller Application

E–7

PLC Program The sample ladder logic listing below instructs the PLC-5 to: Rung 2:0 – Read one string of ASCII data terminated with a [CR] [LF].

Refer to the PLC-5 user manual for detailed information on using the PLC programming software.

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 153

Appendix

F

DTAMt Plus DeviceNett Application This appendix describes how to configure and operate the scanner when connected to a DTAM Plus Operator Interface on a DeviceNet network.

Related Publications Below is a list of related publications you may need to refer to when using the DTAM Plus Operator Interface. Publication No.

Title

2707-800

DTAM Plus Operator Interface Module User Manual

2707-800.5

DTAM Plus DeviceNet Operator Interface Document Update

2707-801

DTAM Programming Software Programming Manual

2707-802

Getting Started with DTAM Plus User Manual

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 154

F–2

DTAMt Plus DeviceNett Application

Hardware Connections The scanner connects to the DTAM Plus with the 9-Pin RS-232 Synapse cable (Catalog No. 2755-HFC-SR3-01). The cables and connections are shown in Chapter 2 of the scanner user manual (Publication 2755-6.2). PLC-5 Controller

1771-SDN Module DTAM Plus DeviceNet

RS-232 Synapse Cable

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Scanner

Page 155

DTAMt Plus DeviceNett Application

F–3

Codes for DTAM Plus Operator Interface DeviceNet Application 1. After making the necessary connections, scan the following following bar code symbol to set the scanner to its default settings.

Set Scanner Defaults

2. Set the bar code suffix to CR LF (ASCII equivalent 7013) by scanning the following labels.

Suffix

7

1

0

3

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 156

F–4

DTAMt Plus DeviceNett Application

3. Send the data then the suffix by scanning these labels.

Scan this Symbol First

Send <Data> <Suffix>

Scan Enter after Scanning Option

4. Set the RS-232 Synapse cable to defaults by scanning this label.

Set RS-232 Synapse Cable Defaults

5. The cable defaults will work with the DTAM Plus. Your application may have specific requirements. Chapter 3 lists the settings that can be modified. If you change a communication setting, make sure the PLC controller is configured to accept the change.

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 157

DTAMt Plus DeviceNett Application

F–5

DTAM Plus Operator Interface Setup You may need to configure the DTAM Plus Operator Interface RS-232 port to accept the scanner data. Refer to the DTAM Programming Software Programming Manual. Configure the DTAM Plus Operator Interface serial port as shown below. 1. Open Screen Builder. 2. Open Create Screen. 3. Open Data Entry Screen. 4. Select Set Up Screen. 5. Select Data Entry. 6. Select ASCII Input. 7. Set up DTAM.

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 158

F–6

DTAMt Plus DeviceNett Application

DeviceNet Operation The DTAM Plus DeviceNet operates as a Group 2 Server on the DeviceNet network. It supports the Unconnected Message Manager (UCMM). The DTAM Plus DeviceNet implements the predefined master/slave connection set, operating as a slave device. It does not initiate communications except for a Duplicate Node Address check on power-up. The DTAM Plus DeviceNet supports the polled I/O method of exchanging data with a master, in the following sequence: 1. The designated master writes an output image to the DTAM Plus DeviceNet using the Poll Command message. 2. The DTAM Plus DeviceNet responds to the poll command by returning an input image back to the master in a Poll Response message. Note: The size of the input and output images (also referred to as files) are individually configurable from 0 words to 121 words each, to optimize DeviceNet network loading. 3. The DTAM Plus DeviceNet application program interacts with data contained in the input and output files. 4. Data Display screens are used to view input and output data. 5. Data Entry screens are used to modify input and output data from the scanner.

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 159

Appendix

G

ASCII Chart

ASCII Value

Full ASCII Code 39 Encode Char.

Character (Control Code)

ASCII Value

Full ASCII Code 39 Encode Char.

Character (Control Code)

1000

%U

NULL (CTRL 2)

1016

$P

DLE (CTRL P)

1001

$A

SOH (CTRL A)

1017

$Q

DC1 (CTRL Q)

1002

$B

STX (CTRL B)

1018

$R

DC2 (CTRL R)

1003

$C

ETX (CTRL C)

1019

$S

DC3 (CTRL S)

1004

$D

EOT (CTRL D)

1020

$T

DC4 (CTRL T)

1005

$E

ENQ (CTRL E)

1021

$U

NAK (CTRL U)

1006

$F

ACK (CTRL F)

1022

$V

SYN (CTRL V)

1007

$G

BEL (CTRL G)

1023

$W

ETB (CTRL W)

1008

$H

BS (CTRL H)

1024

$X

CAN (CTRL X)

1009

$I

HT (CTRL I)

1025

$Y

EM (CTRL Y)

1010

$J

LF (CTRL J)

1026

$Z

SUB (CTRL Z)

1011

$K

VT (CTRL K)

1027

%A

ESC (CTRL[)

1012

$L

FF (CTRL L)

1028

%B

FS (CTRL \)

1013

$M

CR (CTRL M)

1029

%C

GS (CTRL ])

1014

$N

SO (CTRL N)

1030

%D

RS (CTRL 6)

1015

$O

SI (CTRL O)

1031

%E

US (CTRL _ )

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine

Page 160

G–2

ASCII Chart

ASCII Value

Full ASCII Code 39 Encode Char.

Character

ASCII Value

Full ASCII Code 39 Encode Char.

Character

1032

SP

SP

1057

9

9

1033

/A

!

1058

/Z

:

1034

/B

’

1059

%F

;

1035

/C

#

1060

%G

<

1036

/D

$

1061

%H

=

1037

/E

%

1062

%I

>

1038

/F

&

1063

%J

?

1039

/G

’

1064

%V

@

1040

/H

(

1065

A

A

1041

/I

)

1066

B

A

1042

/J

*

1067

C

C

1043

/K

+

1068

D

D

1044

/L

,

1069

E

E

1045

-

-

1070

F

F

1046

.

.

1071

G

G

1047

/

/

1072

H

H

1048

0

0

1073

I

I

1049

1

1

1074

J

J

1050

2

2

1075

K

K

1051

3

3

1076

L

L

1052

4

4

1077

M

M

1053

5

5

1078

N

N

1054

6

6

1079

O

O

1055

7

7

1080

P

P

1056

8

8

1081

Q

Q

Publication 2755-6.7

Downloaded from www.Manualslib.com manuals search engine