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 20 of 42

DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 13 - Configuration: AUX Terminal Data Entry

Pages 170 to 182 of 361, from DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755)

The original document is the PDF (1.4 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-DD and Allen-Bradley 2755-DS

Page 170

Chapter

13

Configuration: AUX Terminal Data Entry Chapter Objectives

The terminal connected to the AUX port can be used for either configuration or manual data entry and display operations. We refer to this terminal as the AUX terminal. This chapter describes how to configure and use the AUX terminal for manual data entry and display operations. Topics include: • supported terminals for manual data entry • configuration for AUX terminal data entry • how to enable manual data entry mode • how to display bar code data, decoder performance and counter values • how to display host messages • how to perform manual data entry at the keyboard

Supported Terminals

Any terminal that supports the following features can be used for manual data entry or display operations at the AUX port: • Carriage Return and Line Feed • 9600 Baud Rate • 8 Data Bits • 1 Stop Bit • Parity None • XON/XOFF Flow Control Specific terminal types for data entry and display include:

• Allen-Bradley Industrial Terminal (Catalog No. 1771-T1, -T2, • • • •

-T3) Allen-Bradley laptop computers (Catalog No. 1784-T45, –47, –48) Allen-Bradley 2708-DH5 Series of Attended Workstations DEC VT100 Lear Siegler ADM 3E

Appendix D provides details on how to connect and setup the terminals listed above. To set the above communication parameters for other types of terminals, refer to your terminal’s User Manual.

Publication 2755-833

Page 171

13–2

Configuration: AUX Terminal Data Entry

AUX Terminal Configuration

Function 8 on the Select Operation screen accesses the AUX Terminal Data Entry screen. Use this screen to configure the AUX terminal for manual data entry operations. These parameters are used by the terminal when the AUX port is set to manual data entry (not configuration) mode. Note: Manual data entry and configuration modes are mutually exclusive. Each manual data entry parameter is defined below along with the field type and possible values. The default value is shown in the tables in bold letters.

Enable Keyboard Entry Field Type Options No Select Yes No-Read

Enables or disables use of the terminal keyboard when the AUX port is set to manual data entry mode. The default is No, which disables keyboard data entry.

Publication 2755-833

No

Disables the keyboard locally. However, the host can remotely enable the keyboard for one message using the Display Text Message command as explained later in this chapter.

Yes

Enables the keyboard for data entry. Selecting Yes enables you to manually enter data at the keyboard. When entry is enabled, pressing [ESC] will cancel the current entry.

Page 172

Configuration: AUX Terminal Data Entry

13–3

Data entered at the keyboard is sent to the host with the AUX Port Source Identifier (if defined) and formatted according to the Aux Data Format parameter. The data is either formatted like the host message or is unformatted. No-Read

Enables the keyboard for data entry when a no-read occurs for a package. Selecting No-Read allows you to manually enter a single string at the keyboard. If a no-read occurs, the Default Prompt Message displays (if defined) prompting you to act. You can also use the Display Text Message host command at any time to manually prompt for data. Data is sent to the host with the AUX Port Source Identifier (if defined) and formatted according to the Aux Data Format parameter.

Note: For safety considerations, data entered at the keyboard cannot be used to control the discrete I/O.

Confirm Entry Field Type Options Select

No Yes

Specifies whether you are required to confirm a keyboard entry by typing the data a second time. The default is No, confirmation is not required. Select Yes to require that data entered at the keyboard be entered a second time. Data must be entered twice consecutively in exactly the same way before it is sent to the host. Entering the data twice helps ensure data integrity. Errors are more likely to occur with data that is manually entered than scanned, but it is unlikely that one will make identical typing errors in succession. Simply press [ENTER] twice in succession to send no message (with the end message character).

Publication 2755-833

Page 173

13–4

Configuration: AUX Terminal Data Entry

AUX Data Format Field Type Options Select

Unformatted Host Format

Controls the format of data sent to the host from the keyboard. The default is Unformatted; the data, with the AUX Source ID prefix (if defined), is sent in the same form it was entered. Select Host Format to send the data in the host message format set by the parameters on the Host Message Format configuration screen. The host format packages the manually entered data as if it were scanned. The source identifier for the AUX terminal (if defined) will distinguish manually entered data from scanned data. If Send Symbology is enabled, “00” will be sent for data entered at the AUX terminal. (Also see Host Message Replacement Rules, Chapter 10.)

Rubout Character Field Type Options Edit ASCII

0 through 255 008 BS

Defines the terminal character that allows you to delete the previous character during keyboard data entry. The default is backspace (decimal ASCII 008). To define a different rubout character, enter a numeric value between 0 and 255.

Echo To Terminal Field Type Options Select

No Yes

Controls whether data entered at the keyboard is displayed (echoed) on the terminal display. The default is No, keyboard data is not echoed. If the terminal itself is set to echo data, select No to prevent the terminal from displaying duplicate characters; otherwise, select Yes.

Publication 2755-833

Page 174

Configuration: AUX Terminal Data Entry

13–5

Size of Display Field Type Options Edit Numeric

10 through 80 80

Defines the maximum number of characters that can display on one line of the terminal display. The default is 80, which means up to 80 characters can display on one line. The typical display size is 80. To specify another display size, enter a value between 10 and 80.

Default Prompt Message Field Type Options Edit Text

ASCII Text to 20 Characters Max Blank

Defines a 1 to 20 character message that displays on the terminal prompting you to enter keyboard data or take some other action. The message always starts at position 1 on the display. The default is Blank, which means a prompt message is not defined. This message is displayed when Enable Keyboard Entry is set to No-Read and a no-read occurs. It is also displayed when Enable Keyboard Entry is set to No and the host remotely enables the keyboard for one message using the Display Text Message command. If this command is sent with a zero length string (no message), the Default Prompt Message is displayed.

Switching to Manual Data Entry Mode

The AUX terminal port is set for configuration operations at the factory. To enable the AUX terminal for manual data entry (instead of configuration), use one of the AUX Terminal Selectors. The AUX Terminal Selectors allow you to switch between configuration and manual data entry operations using one of two methods:

• Internal Selector (jumper on main logic board) • External Selector (pin connections on AUX port connector) Note: Manual data entry and configuration modes are mutually exclusive.

Publication 2755-833

Page 175

13–6

Configuration: AUX Terminal Data Entry

Internal Selector The Internal Selector is a jumper on the main logic board, labelled AUX Terminal. The figure below shows the location of this jumper on the board. Internal Selector (AUX Terminal Jumper) Internal Selector

AUX TERMINAL

∨∨ LCD DISPLAY CONTRAST ADJUST

DATA CONFIG. ENTRY

Enclosure

Main Logic Board

The jumper has two positions, which determine the mode of operation that is enabled for the AUX port terminal. CONFIG (Jumper Right)

AUX TERMINAL

∨∨ DATA CONFIG. ENTRY

AUX TERMINAL

∨∨ DATA CONFIG. ENTRY

Default

With the jumper positioned as shown on the upper left, you can use the AUX terminal for configuration only. Configuration menus and screens are enabled. This is the factory default setting. DATA ENTRY (Jumper Left) With the jumper positioned as shown on the lower left, you can use the AUX terminal for manual data entry and display functions only. Configuration menus and screens are disabled.

External Selector The other way to switch from configuration to manual data entry mode is to connect pins 15 and 16 (NEMA Type 1) or G and H (NEMA Type 4) in the AUX port connector. See Chapter 4 for a description of the AUX port connector pins.

Publication 2755-833

Page 176

Configuration: AUX Terminal Data Entry

13–7

Note: If either the external selector or the the internal selector is set to data entry, the decoder will be in manual data entry mode, and will not display the Configuration screens.

Data Entry and Display Operations

After switching to manual data entry mode, you can: • Display bar code data, decoder performance indicators, counter data, and host messages on the AUX terminal. • Enter data at the AUX terminal keyboard. Both of these operations are controlled by parameters on the AUX and LCD Display Format and AUX Terminal Data Entry configuration screens. The parameters defining display parameters are discussed in Chapter 9. The sections that follow show how these parameters directly affect the display of data on the AUX terminal, and control the type of data entry operations that are allowed at the AUX terminal.

Displaying Data at the AUX Terminal

This section shows how to configure the AUX terminal for display operations. You can configure the AUX terminal to display: • Bar code data • Decoder performance indicators • Counter data • Host messages The parameters on the AUX and LCD Display Format configuration screen determine what data is displayed, where the data is displayed, and on which device. Detailed definitions of these parameters appear in Chapter 9.

Publication 2755-833

Page 177

13–8

Configuration: AUX Terminal Data Entry

Displaying Host Messages The AUX terminal can display text messages that are sent from the host using the Display Text Message command. Typically, this command is used during manual data entry to prompt the user to enter bar code data or take some other action. The last section in this chapter describes manual data entry operations. To accommodate the many variations in display terminals, messages sent from the host always display in position 1. If the host sends the Display Text Message command to the decoder with a text string length set to zero, the decoder will display the Default Prompt Message instead (if defined). The text string from the host and the default prompt message are always preceded by a carriage return and line feed, and display at the beginning of the line in position 1. The following parameter defines the Default Prompt Message: Defines 1 to 20 character prompt message. Initially, the default prompt message is undefined.

The amount of data to be displayed is restricted by the size of the terminal display. For example, most terminals support an 80 character display. Formatted data (other than host messages) that exceeds the size of the display is truncated. Text messages from the host that are longer than the size of the display will truncate.

Processing No-Reads This section includes some examples to illustrate how the decoder handles subsequent packages while waiting for you to respond to a no-read. All examples assume that manual data entry is enabled only for no-reads and the Default Prompt Message is defined as ”Enter Carton Data:”. Example 1: What happens if you respond to a no-read before the next package arrives? If you complete the data entry process for a no-read before the next package arrives, the package count of the manually entered data (which is sent to the host if the data is host formatted) will be the same as the no-read package.

Publication 2755-833

Page 178

Configuration: AUX Terminal Data Entry

Decoder Operations AUX Terminal Screen

13–9

Host Recieves

Packag no-read

1

12345

1

Package 1

Sends Default Prompt Message to AUX Terminal Keyboard enabled for package 1 no-read.

no-read

Enter Carton Data: 12345

Example 2: What happens if you have not completed entering the data at the keyboard and the next package arrives? If the next package is a valid read, it will be sent to the discretes I/O and the host. The package count will increment. This will continue with each subsequent valid read. When the manual data entry is complete, it will be sent to the host with the package count of the last package read. Decoder Operations AUX Terminal Screen

Host Recieves

Package C

Package 1

Sends Default Prompt Message to AUX Terminal Keyboard enabled for package 1 no-read. Enter Carton Data: 12 no-read no-read

1

76543

2

Package 2 Data entry started.

Not completed before package 2 arrives. Enter Carton Data: 1234 Data entry continues. Not complete before package 3 arrives

76543 Package 3 24678

3

24678

Data entry complete.

3

12345

If the next package (or any of the packages processed before the manual data entry is completed) is a no-read, the decoder will send only a single message. The opportunity for entering data for additional no-reads that occurred during manual data entry will be lost. In other words, if you can enter data manually more quickly than no-reads occur, then you will lose no data. If two no-reads occur before you have completed entering data for the first, then you will have no opportunity to enter data for the second no-read in the sequence.

Publication 2755-833

Page 179

13–10

Configuration: AUX Terminal Data Entry

Decoder Operations AUX Terminal Screen

Host Recieves

Package C no-read

1 no-read

2

Package 1

Sends Default Prompt Message to AUX Terminal Keyboard enabled for package 1 no-read.

no-read

Enter Carton Data: 12 Package 2 no-read

Data entry started.

Completed after package 2 arrives.

The opportunity to enter data for the Package 2 no-read is lost.

12345

2

Important: To process a no-read and guarantee that the package count of the manually entered data corresponds to the scanned data, prevent future triggers from occurring. You can configure a discrete output for the no-read condition or a host message containing ”no-read” to prevent subsequent packages from being processed.

Using ASCII and PCCC Commands

ASCII Commands The Display Text Message (TM) command allows you to send a message to the AUX terminal and optionally enable the AUX terminal keyboard for one entry. The following TM command sends the message ”START JOB!” but does not enable the keyboard.

TM010START JOB! Message Text String = START JOB! Length of Text String = 10 Keyboard Not Enabled = 0 Command Code = TM

When the host sends this command to the decoder, the text string displays on the AUX terminal at the beginning of the line in position 01.

START JOB!

Messages that are longer than the size of the AUX terminal display truncate.

Publication 2755-833

Page 180

Configuration: AUX Terminal Data Entry

13–11

If the TM command is sent with a string length of zero (no message defined), the decoder displays the Default Prompt Message instead. The following TM command sends the message ”ENTER DATA:” to the AUX Terminal and enables the keyboard for one entry.

TM111ENTER DATA: Message Text String = ENTER DATA: Length of Text String = 11 1 = Enables Keyboard for Data Entry Command Code = TM

When the host sends this command to the decoder, the following text string displays on the AUX terminal prompting you to enter data. The message displays at the beginning of the line in position 01.

ENTER DATA:

If the TM command is sent without a message defined, the decoder displays the Default Prompt Message instead. Messages that are longer than the size of the AUX terminal display truncate. When receiving the host or default prompt message, the keyboard is enabled for one entry. Type the data and press [Enter]. ENTER DATA: 123456 [Enter]

After pressing [Enter], the keyboard is immediately disabled until receiving the next host command. To cancel the data entry operation without entering data, press [Esc]. Format of Manually Entered Data After entering data, the decoder sends it to the host. The format in which the data is sent is controlled by the AUX Data Format parameter, which is described earlier in this chapter.

PCCC Commands You can also send a PCCC command to the decoder to display a message at the AUX terminal and optionally enable the AUX terminal keyboard.

Publication 2755-833

Page 181

13–12

Configuration: AUX Terminal Data Entry

The following PCCC command sends the message ”START JOB!” to the AUX terminal. The command address 900H sends a message for display, but does not enable the keyboard. Bytes 6 – 15 in the example below define the characters of the message .

Display Message at AUX Terminal (900H) High Byte

Low Byte

MSB 1 3

LSB STS= 00H

CMD= 08H

TNS

0 2

5

Command Address = 900H

7

”T”

”S”

4 6

9

”R”

”A”

8

11

””

”T”

10

13

”O”

”J”

12

15

”!”

”B”

14

Messages that are longer than the size of the AUX terminal display will truncate. When the host sends this command to the decoder, the message displays on the AUX terminal at the beginning of the line in position 01.

START JOB!

If the PCCC (900H) command is sent with a string length of zero (no message defined), the decoder displays the Default Prompt Message instead. The following PCCC command sends the message ”ENTER CARTON DATA:” to the AUX terminal and enables the keyboard for data entry. The command address 901H distinguishes this command function from the 900H command. Bytes 6 – 23 define the characters of the message.

Publication 2755-833

Page 182

Configuration: AUX Terminal Data Entry

MSB 1 3

13–13

Display Message on AUX Terminal/ Enable Aux Terminal for Keyboard Entry (901H) High Byte Low Byte LSB STS= 00H

CMD= 08H

TNS

0 2

5

Command Address = 901H

7

”N”

”E”

4 6

9

”E”

”T”

8

11

””

”R”

10

13

”A”

”C”

12

15

”T”

”R”

14

17

”N”

”O”

16

19

”D”

””

18

21

”T”

”A”

20

23

”:”

”A”

22

Messages that are longer than the size of the AUX terminal display will truncate. When the host sends the command to the decoder, the text string displays on the AUX terminal prompting you to enter data. The message always displays at the beginning of the line in position 01. ENTER CARTON DATA:

If the command is sent with a string length of zero (no message defined), the decoder displays the Default Prompt Message. When receiving the host or default prompt message, the keyboard is enabled for one entry. Type the data and press [Enter]. ENTER CARTON DATA: 123456 [Enter]

After pressing [Enter], the keyboard is disabled until receiving the next host command. To cancel the operation, press [Esc].

Publication 2755-833