The text of a manual · part 20 of 26
NCR 7870 Scanner/Scale Release 1.0 User's Guide: Chapter 7: Programming, pages 177 to 186
Pages 177 to 186 of 228, from NCR 7870 Scanner/Scale Release 1.0 User's Guide
The original document is the PDF (1.3 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 NCR 7870
Page 177
Chapter 7: Programming
7-61
Codes
Description
Code 00
Label was decoded without major problems.
Code x1
Label appears to be highly underprinted.
Code x2
Label appears to be highly overprinted.
Code x4
Label appears to have missing bars or margins.
Code x5
Label appears to be highly underprinted and to have missing bars or margins.
Code x6
Label appears to be highly overprinted and to have missing bars or margins.
Code 1x
Decoding was difficult. May be due to inconsistent printing.
Code 2x
Fragmented or folded label or inconsistent printed.
Code 3x
Decoding was difficult due to fragmented, folded, or inconsistently printed label.
Code 98
Label cannot be decoded due to missing print lines.
Code 99
Label cannot be decoded. If a particular label shows this code it should be analyzed more closely for out-ofspecification conditions, even though the label may show a Code 00 when it does scan (printing may be inconsistent).
Note: If a label displays a code other than Code 00, the label should be tested further for being out of specification by using a symbol verifier. Note: To exit Mode 2 and return to Normal Mode, press the Scale Zero Button on the Operator Display Panel. To go from Mode 2 to Mode 1, scan the Mode 1 tag.
Page 178
7-62
Chapter 7: Programming
Mode 3 – Normal Mode 3 is the normal operating mode. You can program the scanner to add PACESETTER Plus information to the decoded UPC/EAN data that is sent to the host terminal. Perform the following procedure to enable or disable PACESETTER Plus information. 1. Scan the Programming Mode tag (must be first tag scanned after power-up). 2. Scan the Hex 3 tag. 3. Scan the Hex 1 tag. 4. Scan the Hex 3 tag. 5. Scan the Hex 1 tag to disable PACESETTER Plus information, or the Hex 2 tag to enable PACESETTER Plus information. 6. Scan the Save and Reset tag. The PACESETTER Plus information describes the label readability much the same way as described in Mode 2. However, the host software must be capable of receiving the extra data being sent to it. With OCIA and RS-232 communications, PACESETTER Plus information is sent as trailer information. With IBM communications, PACESETTER Plus information is sent as header information that is located between the last Status byte and the first tag data byte in the message. The PACESETTER Plus format is defined as the normal UPC/EAN format with the following added.
OCIA
RS-232
IBM
OCH, xyH, xzH
43H, 3yH, 3zH
OCH, 0yH, 0zH x = High nibble containing character parity depending on communication format (or 0). yz = Decoding code
Page 179
Chapter 7: Programming
7-63
The EOM bit, if applicable, is in the last byte sent, not the last byte of the label data. The Decoding Codes are specified in the following table.
Decoding Codes Y Z
Description
1 z
Decoding was difficult. May be due to inconsistent printing.
2 z
Fragmented or folded label or inconsistent printing.
3 z
Decoding was difficult due to fragmented, folded, or inconsistently printed label.
y
1
Label appears to be highly underprinted.
y
2
Label appears to be highly overprinted.
y
4
Label appears to have missing bars or margins.
y
5
Label appears to be highly underprinted and to have missing bars or margins.
y
6
Label appears to be highly overprinted and to have missing bars or margins.
0
0
Label was decoded without major problems.
9
9
If a particular label intermittently shows this code, the label should be analyzed more closely for out-of-specification conditions, even though the label may show a Code 00 when it does scan (printing may be inconsistent).
Page 180
7-64
Chapter 7: Programming
Host Access to Tallies The host can send Long Format Codes, Short Format Codes, RS-232 Format Codes, and IBM 4683 Format Codes to read the scanner tallies. The following table shows the Long Format Codes and the RS-232 Format Codes to use.
Tally
Long Format Codes: OCIA and Single-Cable Scanner/Scale OCIA
RS-232 Codes
C1
00H, 33H, 3DH, 32H, 31H
33H, 3dH, 32H, 31H
C2
00H, 33H, 3DH, 32H, 32H
33H, 3dH, 32H, 32H
C3
00H, 33H, 3DH, 32H, 33H
33H, 3dH, 32H, 33H
C4
00H, 33H, 3DH, 32H, 34H
33H, 3dH, 32H, 34H
C5
00H, 33H, 3DH, 32H, 35H
33H, 3dH, 32H, 35H
Note: Parity, BCC, and so on, appropriate to the communication protocol must be added.
Examples of Host Access to Tallies Example 1 Host requesting tally C3 through single-cable OCIA. 30H b3H
3dH
32H b3H
8fH
The NCR 7870 response to the host request. 30H
33H
3yH
3xH
3xH
3xH
3xH
3xH
3xH
3xH
BCC (with EOM Bit)
x = Decimal digit with high order digit sent first y = Tally count number BCC = Block Check Character - an exclusive OR of all previous bytes Presence of BCC specified by protocol
16823
Page 181
Chapter 7: Programming
7-65
Example 2 Host requesting tally C3. 30H b3H
3dH
32H b3H
8fH
The NCR 7870 response to the host request (tally count = 23,456 30H
33H
33H
30H
30H
32H
33H
34H
35H
BCC (with EOM Bit)
36H
16824
Example 3 An IBM host terminal request for tally C1. 4A xx
00
33
3D
32
31 xx xx
7E xx
32
00
00
02
03
Address Frame Request CRC Bytes (2) End Byte The NCR 7870 response to the host request. 4A xx xx xx
04
05
06
31 xx xx
7E
Scanner Address Frame Counts Scanner Status Bytes (3) Pacesetter Plus Group Code Seven Bytes BCD Data Pacesetter Plus Function Code CRC Bytes (2) End Byte 16825
Page 182
7-66
Chapter 7: Programming
Host Terminal request using short format codes: Send Tally Count
NCR OCIA
Non-NCR OCIA
C1: 03H 0dH 01H
03H 4DH 21 H With Parity & EOM
83H 0DH C1H With Parity & EOM
C2: 03H 0dH 02H
03H 4DH E3H 03H 4DH 21H
83H 0DH C2H With Parity & EOM
C3: 03H 0dH 03H
03H 4DH A3H With Parity & EOM
83H 0DH 43H With Parity & EOM
C4: 03H 0dH 04H
03H 4DH 65H With Parity & EOM
83H 0DH 24H With Parity & EOM
C5: 03H 0dH 05H
03H 4DH 65H With Parity & EOM
83H 0DH 45H With Parity & EOM
The NCR 7870 response to the host request. 00H 03H 0yH 0xH 0xH 0xH 0xH 0xH 0xH 0xH
Parity & EOM bits added.
x = Decimal digit with high order digit sent first y = Tally count number 16826
Example 4 Host request for tally C5 using short format codes: Send Tally Count
NCR OCIA
Non-NCR OCIA
C5: 03H 0dH 05H
03H 4DH 65H With Parity & EOM
83H 0DH 45H With Parity & EOM
Page 183
Chapter 7: Programming
7-67
The NCR 7870 response to the host request (tally count = 23,456): Send Tally Count
NCR OCIA
Non-NCR OCIA
00H 03H 00H 00H 02H 03H 04H 05H 06H
C0H 03H C5H C0H C0H 42H 03H 84H C5H A6H C0H 03H C0H C0H 42H 03H 84H C5H A6H C0H 03H C0H C0H 42H 03H 84H C5H A6H With Parity & EOM
80H 83H 85H 80H 80H 02H 83H 04H 85H 46H With Parity & EOM
Host Reset of Tallies The host terminal can reset the tally counts using the Long Format OCIA, Short Format OCIA, Single-Cable Scanner/Scale OCIA (parity bits, EOM bits or BCC bytes are not shown), RS-232, and IBM 4683 formats. The OCIA and RS-232 command is given in the following chart: Host terminal request to reset tally counts (OCIA & RS-232) OCIA
RS-232
00H 03H 0DH xxH
44H 43H
XxH = 00H or BBC (where protocol calls for BBC)
An IBM host terminal request to reset tally counts 4A xx
00
33
3D
3C
00 xx xx
7E
Address Frame Request CRC Bytes (2) End Byte
16827
Page 184
7-68
Chapter 7: Programming
Special Programming Some of the NCR 7870 features require programming that is somewhat different than the normal programming.
Delay Weight Data to IBM Host Terminal A timing condition is possible when the NCR 7870 Scanner/Scale communicates with an IBM host terminal. The condition occurs when the IBM Host is requesting weight data, but the scale is not settled. To prevent the problem, you can enable a scale data delay function that gives the scale more time to settle. The default for this parameter is to disable the Scale Data Delay. Enable or disable the Scale Data Delay by scanning the following sequence of programming tags as the first tags scanned after applying power to the NCR 7870. Enable – Programming Mode, Hex 4, Hex C, Hex E, Hex 2, Hex 9, Hex 4, Hex E, Hex 8, Hex 0, and Save and Reset. Disable – Programming Mode, Hex 4, Hex C, Hex E, Hex 2, Hex 9, Hex 4, Hex E, Hex 0, Hex 0, and Save and Reset.
Page 185
Chapter 7: Programming
7-69
EAN/JAN/UPC Multi-Symbol Scanning Parameters The optional Multi-Symbol programming feature permits you to scan bar code labels containing two or three EAN-13, JAN-13, or UPC-A symbols.
Label Construction A multi-symbol label must consist of any combination of two or three EAN-13, JAN-13, or UPC-A symbols, each with different flag digits. Flag digits are the first two digits of the symbol on EAN-13/JAN-13 symbols. Flag digits for UPC-A symbols always have a zero (0) for the first digit with the number system character being the second digit. There is NO restriction on which flag digits may be used except that any flag digits used in a 3-symbol combination cannot be used in any of the 2-symbol combinations, and any flag digits used in a 2-symbol combination cannot be used in any of the 3-symbol combinations. A mixture of 2-symbol and 3-symbol combinations is allowed. A total of five multi-symbol combinations can be programmed.
Single Label Restriction A single-symbol with the same flag digits as programmed for any 2symbol or 3-symbol labels cannot be scanned as a single-symbol label.
Transmitting Label Data Transmission of a multi-symbol label consists of a separate message for each of the symbols. The symbol with the lower numbered flag digits is transmitted first. For example, for the 3-symbol combination of JAN13 flag 21, JAN-13 flag 29, and JAN-13 flag 96, the symbol with flag digits 21 is transmitted first, the symbol with flag digits 29 is transmitted second, and the symbol with flag digits 96 is transmitted third.
Page 186
7-70
Chapter 7: Programming
Perform the following to program the NCR 7870 for multi-symbol scanning. 1. Disconnect the communications cable from the scanner or the terminal. 2. Apply power to the NCR 7870. 3. To enter the Multi-Symbol program parameters mode, scan the following tags: Programming Mode, Hex 1, Hex 3, and Hex F. 4. Choose an option: Option A: Clear multi-symbol programming by scanning the Hex A tag and the Save and Reset tag. Result: All previously programmed combinations are cleared from permanent memory. The scanner goes through a sequence similar to the power up sequence. Option B: Program a 2-symbol label by scanning the Hex 2 tag. Result: The scanner sounds two beeps followed by a 1second pause. After the pause, the scanner beeps to indicate the number of labels that are currently in the scanner memory. Five beeps indicate a full multisymbol memory. Option C: Program a 3-symbol label by scanning the Hex 3 tag. Result: The scanner sounds three beeps followed by a 1-second pause. After the pause, the scanner beeps to indicate the number of labels that are currently in the scanner memory. Five beeps indicate a full multisymbol memory. Option D: Scan a multi-symbol label (2-symbol label if you scanned the Hex 2 tag or 3-symbol label if you scanned the Hex 3 tag).