The text of a manual · part 15 of 42
DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 9 - Configuration: AUX and LCD Display Parameters
Pages 123 to 135 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 123
Configuration: AUX and LCD Display Parameters AUX and LCD Display Parameters
The decoder can display the following on an auxiliary terminal or an optional 2 line x 20 character per line alphanumeric LCD display to monitor: • bar code data • output counters • decoder performance values • host messages The AUX terminal and LCD display can each display bar code data, output counter values and decoder performance indicators. The parameters on the screen shown below control how this data is formatted on both devices.
Each format parameter is defined below along with the field type and possible values. The default value is shown in bold letters
Display Data Field Type Options None Aux Only Select LCD Only Aux and LCD
Controls whether the formatted data is sent to the AUX terminal and/or the LCD display. The default is None, which disables the display of data on both devices. Publication 2755-833
Page 124
9–2
Configuration: AUX and LCD Display Parameters
Select AUX Only to display the data on the AUX terminal but not the LCD display. Select LCD Only to display the data on the LCD display but not the AUX terminal. Select AUX and LCD to enable the display of data on both devices. The display parameters set for the AUX port apply to the AUX terminal when it is in manual data entry mode (See Chapter 13 for information on manual data entry).
Message Format Field Type Options Select
Unformatted Host Format
Controls the format of the bar code data that is displayed. The default is Unformatted, which means the bar code data is displayed unformatted. Select Host Format to display scanned data in the host message format set by the parameters on the Host Message Format configuration screen. Note: Manually entered data cannot be sent to the LCD. For example, assume the scanned bar code data is 123456. If the data is displayed unformatted, it is sent as 123456. If the data is displayed in the host format (using predefined configuration parameters), it is sent as: #LD8–AScanner A Data / 01123456 / / 000013CRLF Start Character Source Identifier Header MesField Delimiter sage Code 39 Bar Code Label Data Field Delimiters Package Count End Message Character
See the Host Message Format screen configuration instructions in Chapter 11 for details on the configuration parameters that control the host message format. Note: The Aux Terminal internal selector (described in Chapter 13) must be installed in the data entry position to send host formatted data to the Aux Port.
Publication 2755-833
Page 125
Configuration: AUX and LCD Display Parameters
9–3
Scroll LCD Field Type Options No Yes
Select
Enables or disables scrolling of the LCD display. The default of No disables scrolling and formats the LCD as a single line, 40 character display. Each new entry overwrites all positions. Note: Newly displayed data will overwrite existing display data from the lowest position specified to the end of the display with blanks, so plan your LCD display parameters carefully. For example, messages written from the host to position 1 would not be overwritten by the decoder if the lowest position specified for LCD display was 21. Select Yes to enable scrolling. With scrolling enabled, the LCD operates as a 2 line x 20 character display. New data always displays on line 2, moving the previous data up to line 1. The following figure illustrates how the LCD operates when scrolling is disabled (left) and enabled (right). Scrolling Enabled 2 Line x 20 Character Display
Scrolling Disabled (Default) 1 Line x 40 Character Display Package Counter 1
BAR CODE DATA 000001
20
21
000000
40
1
20
Message 1 displays in positions 1 - 40 Symbols Not Read Counter
000100
Message 1 displays on line 2
1
BAR CODE DATA 000001
20
20
Message 1 scrolls up to line 1
1
BAR CODE DATA 000001
20
40
Message 2 displays on line 2
1
Decoder Performance Package Counter
1
NEW DATA
000002
21
000000
100000
Message 2 overwrites message 1
Symbols Not Read Counter
NEW DATA
000002
20
Decoder Performance Package Counter
1
NO-READ
000003
20
Message 2 scrolls up to line 1
1
NEW DATA
000002
20
21
000001
000000
40
Message 3 displays on line 2
1
NO-READ
000003
20
Message 3 overwrites message 2 Symbols Not Read Counter
Decoder Performance
You must consider the operating mode of the LCD when displaying data. If scrolling is disabled, the LCD operates as a l line x 40 character display. Any data that exceeds 40 characters is truncated. If scrolling is enabled, the LCD operates as a 2 line x 20 character display. Any data that exceeds 20 characters is truncated.
Publication 2755-833
Page 126
9–4
Configuration: AUX and LCD Display Parameters
Position: Bar Code Strings Field Type Options Edit Numeric
0 through 40 0
Defines the character position at which to start displaying the bar code data. The default of 0 disables the display of bar code data. To start the bar code data display at a specific position, enter a starting character position between 1 and 40. For example, to start the display at character position 1, enter 1.➀
Position: Decoder Performance Field Type Options Edit Numeric
0 through 40 0
Defines the character position at which to start displaying the decoder performance values for Scanner A and (for DD decoders) Scanner B. The performance indicator displays one value for each scanner. Each is left justified and can be a value up to 100. For DD decoders, the first value applies to Scanner A; the second value applies to Scanner B. The default of 0 disables the display of this data. To determine the starting position for decoder performance display, enter a starting character position between 1 and 40. For example, to start the display at character position 21, select 21. Assuming scrolling is disabled, the display will appear beginning in the first position on the second line of the LCD display.① Remember when selecting a starting position that you will need space for up to 3 characters for a single scanner and 6 characters for two scanners.
Position: Package Counter Field Type Options Edit Numeric
0 through 40 0
Defines the character position at which to start displaying the 6 digit package counter. The default of 0 disables the display of the package counter. ➀ The Default Prompt Message and host messages always start in position 1. To prevent other data fro overwriting these messages on the LCD Display, select a position greater than the message length a LCD scrolling.
Publication 2755-833
Page 127
Configuration: AUX and LCD Display Parameters
9–5
To start the package counter display at a specific position, enter a starting character position between 1 and 40. For example, to start the display at character position 30, select 30.➀
Position: Symbols Not Read Counter Field Type Options Edit Numeric
0 through 40 0
Defines the character position at which to start displaying the 6 digit no-read counter. The default of 0 disables the display of the no-read counter. To start the no-read counter display at a specific position, enter a starting character position between 1 and 40. For example, to start the display at character position 30, select 30.➀
Position: Primary Counters Field Type Options Edit Numeric
0 through 40 0
Defines the character position at which to start displaying the 6 digit primary output counters (1–8). The default of 0 disables the display of the specified output counter. To start the output counter display at a specific position, enter a starting character position between 1 and 40. For example, to start the display at character position 30, select 30. Remember, each output counter occupies 6 character positions. If you display more than one counter, allow enough positions for each counter to prevent data from overwriting other data.➀ Note: All of the output counters (1-8) are formatted the same way.
Displaying Host Messages The LCD Display can display text messages that are sent from the host using the ASCII or PCCC form of the Display Text Message command (depending on the host protocol you are using). Refer to Chapters 15 and 16 for additional information on ASCII and PCCC commands. ➀ The Default Prompt Message and host messages always start in position 1. To prevent other data fro overwriting these messages on the LCD Display, select a position greater than the message length a LCD scrolling.
Publication 2755-833
Page 128
9–6
Configuration: AUX and LCD Display Parameters
ASCII Command The Display Text Message (TM) command allows you to send a message to the LCD Display. The following TM command sends the message ”START JOB!”.
TM010START JOB! Message Text String = START JOB! Length of Text String = 10 AUX Keyboard Not Enabled = 0 Command Code = TM
When the host sends this command to the decoder, the message displays on the LCD at the beginning of the line in position 01. The message remains on the display until it is overwritten by another message or data. Remember, the LCD can only display 20 or 40 characters depending on whether scrolling is enabled. Messages that are longer than 20 or 40 characters will be truncated. See the examples on the next page. If the TM command is sent with a string length of zero, the decoder displays the Default Prompt Message (if defined) instead. The following prompt defines this message: Defines 1 to 20 character prompt message. Initially, the default message is undefined.
Refer to chapter 13 for additional information.. PCCC Command You can also send a PCCC command to display a message on the LCD. The following command uses the command address of 900H to send the message ”START JOB!”. Bytes 6 – 15 define the characters of the message.
Publication 2755-833
Page 129
Configuration: AUX and LCD Display Parameters
9–7
Display Message at AUX Terminal (900H) High Byte
Low Byte
MSB 1 3
LSB STS= 00H
CMD= 08H
0
TNS
2
5
Command Address = 900H
7
”T”
”S”
4 6
9
”R”
”A”
8
11
””
”T”
10
13
”O”
”J”
12
15
”!”
”B”
14
When the host sends this command to the decoder, the message displays on the LCD at the beginning of the line in position 01. The message remains on the display until it is overwritten by another message or data. Remember, the LCD can only display 20 or 40 characters depending on whether scrolling is enabled. Messages that are longer than 20 or 40 characters will be truncated. If the PCCC (900H) command is sent without a message defined, the decoder displays the Default Prompt Message instead. How Scrolling Affects the Display of Host Messages Scrolling affects the placement of host messages (and default prompt messages) on the LCD Display. When scrolling is disabled, each new message overwrites the last message. When scrolling is enabled, new messages display on line 2, scrolling the previous message up to line 1. The following example shows how the LCD handles the host messages ”START JOB” and ”END JOB” when scrolling is disabled and enabled. Scrolling Enabled 2 Line x 20 Character Display
Scrolling Disabled (Default) 1 Line x 40 Character Display
1
START JOB
20
1
Host message displays 21
New host message over-1 writes previous host message. 21
END JOB
20
40
Host message displays on line 2
1
START JOB
20
20
Host message scrolls up to line 1
1
START JOB
20
40
New host message displays on line 2
1
END JOB
20
Publication 2755-833
Page 130
9–8
Configuration: AUX and LCD Display Parameters
Select starting positions for other data that is greater than the length of the host messages. This will allow host messages and other data to display at the same time without overwriting each other.
LCD Display Examples The section provides examples to illustrate how data is displayed on the LCD Display and how the configuration parameters control the format of the displayed data. Example 1 In Example 1, the LCD Display is enabled to display bar code data, decoder performance values, primary counter 1, primary counter 4, and primary counter 8. Enables LCD to display data. Displays unformatted bar code data Disables scrolling Displays bar code data starting in position 1. Displays decoder performance values at position 15.
Displays Primary Counter 1 at position 21. Displays Primary Counter 4 at position 28. Displays Primary Counter 8 at position 35.
When scrolling is not enabled, the display operates as a single line, 40 character display. Line 1 displays characters in positions 1 - 20. Line 2 displays characters in positions 21 - 40. Any data you configure to display beyond position 40 will be truncated. The LCD display will look like this for the above configuration. Line 1 displays the bar code data and the decoder performance values. Line 2 displays output counters 1, 4, and 8. Bar Code Data
1
123456
21
001012 000237 000000
Primary Counter 1 (Match-Entry)
Publication 2755-833
Performance Indicators Scanner A Scanner B
98 96
Primary Counter 4 (Read and No-Match)
20 40
Primary Counter 8 (No-Read)
Page 131
Configuration: AUX and LCD Display Parameters
9–9
Important: Host messages and Default Prompt Messages always display in position 01. If host messages are expected, select starting positions for other data that are greater than the length of these messages to avoid conflicts. Example 2 In Example 2, the LCD Display is enabled to display bar code data in position 1 and decoder performance values in position 15. Scrolling is enabled for the LCD Display, which means the display operates as a 2 line display with 20 characters per line. Both lines display characters in positions 1 - 20. With scrolling enabled, you cannot display more than 20 characters per line at one time. Any data you configure to display beyond position 20 will be truncated. Enables LCD to display data. Displays unformatted bar code data Enables Scrolling Displays bar code data starting in position 1. Displays decoder performance values at position 15.
The LCD display will look like this for the above configuration. Line 2 displays the bar code data and the performance indicators. Previous data
1
New data
1
20
123456
Bar Code Data
98 96
20
Scanner A Scanner B Performance Indicators
When scrolling is enabled, all new data displays on the second line. When the LCD receives new data, it will display on line 2, moving the previous data up one line. Previous data moves up to line 1
1
123456
98 96
20
New data displays on line 2
1
347861
97 98
20
Publication 2755-833
Page 132
9–10
Configuration: AUX and LCD Display Parameters
Adjusting Contrast of LCD Display
The main logic board of the decoder has a potentiometer for adjusting the contrast of the LCD Display. Figure 9.1 shows the general location of the potentiometer on the main logic board. Figure 9.1 Potentiometer for LCD display contrast Mounting bracket for optional battery Potentiometer for LCD Display Contrast AUX TERMINAL
LCD DISPLAY CONTRAST ADJUST
∨∨ DATA CONFIG. ENTRY
Enclosure
Main Logic Board
To adjust the contrast of the LCD Display: 1. Power on decoder, but if possible disconnect power from module connectors. 2. Loosen the two screws which secure the cover of the decoder and open. 3. Using your fingers, turn the LCD Display potentiometer to the left or right until the desired contrast or readability is achieved. 4. Close cover of decoder and tighten screws.
AUX Terminal Display Examples The section provides examples to illustrate how data is displayed at the AUX terminal and how the configuration parameters control the format of the displayed data. Example 1 In Example 1, the AUX terminal is configured to display unformatted bar code data in position 21.
Publication 2755-833
Page 133
Configuration: AUX and LCD Display Parameters
9–11
Enables AUX Terminal to display data. Displays unformatted bar code data.
Displays bar code data starting at position 21.
The AUX terminal display will look like this for the above configuration. Bar Code Data 229176 229183 229192 229206 229240 229253 229263 229268 229285 229322 229327 229336 229345 229361 229371 229391 229427 229433 229438 229449 229456 229466 229476 229493 229517
Example 2 In Example 2, bar code data configured to display in position 21 will not display because the AUX terminal has not been enabled to display data.
Publication 2755-833
Page 134
9–12
Configuration: AUX and LCD Display Parameters
Disables the display of data on any device
Configures bar code data to display in position 21
Example 3 In Example 3, the AUX terminal is enabled to display bar code data, decoder performance values, and the package counter. Enables AUX terminal to display data. Displays unformatted bar code data. Displays bar code data starting at position 21. Displays Decoder Performance values at position 50. Displays Package Counter at position 60.
The terminal display will look like this for the above configuration.
Publication 2755-833
Page 135
Configuration: AUX and LCD Display Parameters
Decoder Performance Values Scanner A Scanner B Bar Code Data 229176 229183 229192 229206 229240 229253 229263 229268 229285 229322 229327 229336 229345 229361 229371 229391 229427 229433 229438 229449 229456 229466 229476 229493 229517
0 98 0 96 98 0 0 95 96 0 99 0 0 97 0 99 97 0 0 96 99 0 99 0 0 95 0 98 97 0 0 99 98 0 97 0 98 0 0 95 96 0 99 0 0 97 0 99 97 0
9–13
Package Counter
001724 001725 001726 001727 001728 001729 001730 001731 001732 001733 001734 001735 001736 001737 001738 001739 001740 001741 001742 001743 001744 001745 001746 001747 001748
Publication 2755-833