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 17 of 18

AtomScan+ Bar Code Readers User Manual (Cat. Nos. 2755-LS7-SA, 2755-LS7-SB, 2755-LS7-RA, 2755-LS7-RB, 2755-LS7-SBV, and 2755-LS7-RBV): E - Application Examples, pages 126 to 133

Pages 126 to 133 of 141, from AtomScan+ Bar Code Readers User Manual (Cat. Nos. 2755-LS7-SA, 2755-LS7-SB, 2755-LS7-RA, 2755-LS7-RB, 2755-LS7-SBV, and 2755-LS7-RBV)

The original document is the PDF (914 KB). 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-LS7

Page 126

E–10

Application Examples

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

Note: Termination 1 is set for \a or Line Feed [LF], and Termination 2 is set for \d or Carriage Return [CR]. These terminators, along with the ARL instruction in the SLC, allow you to read one message at a time with [CR] [LF] terminators.

SLC Program The sample ladder logic listing below instructs the SLC 5/03 and SLC 5/04 controllers to: Rung 2:0 – Read one string of ASCII data terminated with a [CR] [LF].

Publication 2755-6.9

Page 127

Application Examples

PLC-5 Controller

E–11

This application example describes how to configure and operate the readers when using an RS-232 cable connected to the PLC-5 controllers (Catalog Nos. 1785-L11B, 1785-L20B, 1785-L30B, 1785-L40B, 1785-L60B, and 1785-L80B)

!

ATTENTION: Do not install the RS-232 cable with power applied to either the interface box or PLC-5 controllers. Failure to follow this caution may result in damage to the reader, interface box, or PLC-5 controllers.

Refer to the following publications for additional information.

• Classic PLC-5 Family Programmable Controllers Hardware Installation Manual (Publication No. 1785-6.6.1)

• PLC-5 Programming Software Instruction Set Reference Manual (Publication No. 6200-6.4.11) • PLC-5 Programming Software Configuration and Maintenance Manual (Publication No. 6200-6.4.6)

Publication 2755-6.9

Page 128

E–12

Application Examples

Hardware Connections for the PLC-5 Controllers The interface box connects to the PLC-5 controllers with an RS-232 cable. Reader

Interface Box

Power Supply To Power Receptacle

To RS-232 Port

OR

RS-232 Cable

RS-232 Null Modem Cable (Swap pins 2 and 3.)

Personal Computer PLC-5

To Channel 0 Port

Configuration Codes for the PLC-5 Controllers After making the necessary connections, set the reader to the settings in the table below to allow the reader to communicate with the PLC-5 controllers. Description

Menu Setting

Serial Command Setting

Preamble

Disable

<Kd0>

Postamble

Control J

<Kel,^M,^J>

Baud Rate

9600

Parity

None

Stop Bits

One

Data Bits

8

<Ka4,0,0,1>

Publication 2755-6.9

Page 129

Application Examples

E–13

PLC-5 Controllers Setup You need to configure the Channel 0 port of the PLC-5 controllers. Follow the steps below or refer to the following publications:

• Classic PLC-5 Family Programmable Controllers Hardware Installation Manual (Publication No. 1785-6.6.1)

• PLC-5 Programming Software Instruction Set Reference Manual (Publication No. 6200-6.4.11) • PLC-5 Programming Software Configuration and Maintenance Manual (Publication No. 6200-6.4.6) 1. Set the PLC-5 Channel 0 to User in the Channel 0 Configuration screen.

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

Publication 2755-6.9

Page 130

E–14

Application Examples

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 controllers, allow you to read one message at a time with [CR] [LF] terminators.

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

DTAM Plus DeviceNet

This application example describes how to configure and operate the readers when using an RS-232 cable connected to a DTAM Plus Operator Interface (Catalog Nos. 2707-L8P1D, 2707-L8P2D, 2707-L40P1D, 2707–L40P2D, 2707-V40P1D, 2707-V40P2D, or 2707-V40P2ND) on a DeviceNet network.

!

Publication 2755-6.9

ATTENTION: Do not install the RS-232 cable with power applied to either the interface box or DTAM Operator Interface. Failure to follow this caution may result in damage to the reader, interface box, or DTAM Operator Interface.

Page 131

Application Examples

E–15

Refer to the following publications for additional information.

• DTAM Plus Operator Interface Module User Manual (Publication No. 2707-800)

• DTAM Plus Devicenet Operator Interface Document Update (Publication No. 2707-800.5)

• DTAM Programming Software Programming Manual (Publication No. 2707-802) • Getting Started with DTAM Plus User Manual (Publication No. 2707-802)

Hardware Connections for the DTAM Plus Operator Interface The readers connect to the DTAM Plus Operator Interface with the RS-232 cable. You need to use a 25–9 pin cable or a 25–9 pin connector as shown below. Reader

Interface Box

Power Supply To Power Receptacle

To RS-232 Port

OR

RS-232 Null Modem Cable

RS-232 Cable

(Swap pins 2 and 3.) Personal Computer 25–9 Pin Adapter

PLC-5 Controller 1771-SDN Module

DTAM Plus DeviceNet

Publication 2755-6.9

Page 132

E–16

Application Examples

Configuration Codes for the DTAM Plus Operator Interface After making the necessary connections, set the reader to the settings in the table below to allow the reader to communicate with the DTAM Plus Operator Interface. Description

Menu Setting

Serial Command Setting

Preamble

Disable

<Kd0>

Postamble

Control J

<Kel,^M,^J>

Baud Rate

9600

Parity

None

Stop Bits

One

Data Bits

8

<Ka4,0,0,1>

DTAM Plus Operator Interface Setup You may need to configure the DTAM Plus Operator Interface RS-232 port to accept the reader data. Follow the steps below or refer to the DTAM Programming Software Programming Manual (Publication No. 2707-802). 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.

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.

Publication 2755-6.9

Page 133

Application Examples

E–17

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 reader.

Publication 2755-6.9