The text of a manual · part 15 of 26
NCR 7870 Scanner/Scale Release 1.0 User's Guide: Chapter 7: Programming, pages 127 to 136
Pages 127 to 136 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 127
Chapter 7: Programming
7-11 parameter options, you have to re-enter the Specific Programming Mode by scanning the two Hex tags again. The following figure shows how to proceed through a Specific Programming Mode where you change only one of the parameters. This figure presents the specific programming mode for Bar Codes 2 program parameters. Notice that once you have entered the Specific Programming Mode, if you scan the Hex A, Hex B, Hex C, Hex D, Hex E, or Hex F tag, you can enter the specific parameters that correspond to that tag. After you record the parameters, the scanner immediately returns to the Base Programming State. To return to programming, you scan the Hex 1 and Hex 4 tags again and re-enter the Specific Programming Mode. From this point, you can enter either all parameters or another specific parameter. BASE PROGRAMMING STATE 1 4
B ar C odes - 2 A
C ode 39
0
1
Disable Enable
B
M inim um C haracters Allow ed
2- F
C
F ull A S C II
0
D
C heck D igit P resent
1
Disable Enable
0
1
Disable Enable
E
Transmit 0 1 Check Digit Disable Enable
F
Allow Single 0 1 Character Disable Enable Tags
For example: Full ASCII is programmed by scanning, in sequence, the Hex 1, Hex 4, Hex C, and Hex 1 tags. The other parameters are left in original state.
11723
5. Repeat step 3 and step 4 until all parameters are entered. 6. Scan the Save and Reset tag. All parameter changes are saved and NCR 7870 is reset (goes through initial power-up sequence). The NCR 7870 now operates using the new program.
Page 128
7-12
Chapter 7: Programming
Programming Tips •
Turn the host terminal off or disconnect all interface cables to the NCR 7870 before entering your program. Some host terminals can corrupt your program if they are running and are connected to the NCR 7870 while you are entering the program.
•
To exit a Specific Programming Mode without entering all the parameters, scan the Abort tag. All parameters entered are retained and the NCR 7870 returns to the Base Programming State. To save the changed parameters, you must scan the Save and Reset tag.
•
To exit the programming mode without saving any parameter changes, scan the Abort tag while in the Base Programming State. The NCR 7870 goes through initial startup and operates using the old program.
•
If you do not know how your NCR 7870 is programmed, set all parameters to default values, then enter any required changes. Do this by scanning the Default tag as the first tag after applying power to the NCR 7870. Next, scan the Programming Mode tag to enter the Base Programming State and enter your programming changes.
•
After completing a programming sequence, wait for the tone or Voice Message to indicate the unit is back in Programming Mode before beginning the next programming sequence.
Note: Some parameters do not have default values and are not changed when you scan the Default tag.
Page 129
Chapter 7: Programming
7-13
Program Parameter Descriptions Within the Base Programming State are several Specific Programming Modes. Each of these have specific programming parameters.
Communications Protocol The Communications Protocol programming mode selects the protocol that the NCR 7870 Scanner/Scale uses to communicate with the host terminal. Note: The factory sets the Communications Protocol according to the specifications on your order. Before changing the Communications Protocol, the NCR 7870 must contain the correct Communications Interface Board. Also, since there is no default Communications Protocol, the Default tag does not change this parameter.
Defaults Parameter
Default Value
Protocol
No Default
Specific Program Parameters OCIA NCR Short (Datachecker) – Hex 0 tag NCR short format OCIA is the scanner only (NCR 7870-1000/3000) protocol used in older NCR terminal systems such as 2557 and 2126 systems. Later model terminals may also use this format for scanner only configurations. If the scale is enabled (NCR 78702000/4000/4500), a system using the short format OCIA protocol uses the OCIA Dual-Cable setting as explained under OCIA Dual-Cable. This format accommodates only 5 data bits per character and supports only UPC/EAN bar code data.
Page 130
7-14
Chapter 7: Programming
A scanner or scanner/scale that uses the Datachecker Interface should be programmed using this format. If the protocol information is lost, the scanner/scale defaults to RS-232. It then must be reprogrammed to OCIA NCR Short. Use the Hex 0 tag to enable this protocol. OCIA NCR Long – Hex 1 OCIA Long (Alternate Codes Long Format) is used on the NCR 7852 Alternate Codes Scanner and the NCR 7890 Presentation Scanner. This format originally supported only single byte commands from the host terminal due to scanner limitations. The OCIA NCR Long format sends ASCII tag data to the host terminal. Since this format supports 8 data bits, it can accommodate the alphanumeric data found in the Code 128 and Code 39 bar codes, provided the system software supports those codes. This data format cannot accommodate scale communications and is not the same as the data format used in Single Cable OCIA, even though both formats use long format OCIA hardware. Use the Hex 1 to enable this protocol. OCIA Non NCR Dual Cable – Hex 2 The Non NCR Dual Cable configuration uses two separate cables for the scanner and the scale. The scanner data protocol is the same as in the OCIA Non NCR protocol. The scale data protocol is the same as is used on OCIA Dual Cable scale communications (OCIA NCR Short). Use the Hex 2 tag to enable this protocol. IBM 468x/9x Port 4A (Slot Scanner) – Hex 3 tag All models of the NCR 7870 support the IBM 468x/9x format and use the same protocol found on IBM terminals. The scanner uses terminal port 17 and the select address is set to 4A. If your unit is a scanner/scale, the IBM address default setting is 6E, but can be programmed to 6A or 6B. The IBM terminal integrated scanner/scale driver normally uses address 6E. However, if the scanner works but the scale does not, try using the other two scale addresses. Use the Hex 3 tag to enable this protocol.
Page 131
Chapter 7: Programming
7-15
IBM 468x/9x Port 4B (HHBCR) – Hex 4 tag All models of the NCR 7870 support the IBM 468x/9x format and use the same protocol found on IBM terminals. The scanner uses terminal port 17 and the select address is set to 4B. Use this protocol with the hand held bar code reader. If your unit is a scanner/scale, the IBM address default setting is 6E, but can be programmed to 6A or 6B. The IBM terminal integrated scanner/scale driver normally uses address 6E. However, if the scanner works but the scale does not, try using the other two scale addresses. Use the Hex 4 tag to enable this protocol. RS-232 – Hex 5 tag RS-232 is used to connect the scanner or scanner/scale to almost any RS-232 type of communications device. This protocol uses 7-bit ASCII to send tag and scale data to the device. Use the Hex 5 tag to enable this protocol. OCIA Single Cable – Hex 6 tag The OCIA Single-Cable scanner/scale format is the format normally used in supermarkets to talk to an NCR 7870 Scanner/Scale. Since this format supports 7-bit data, it can accommodate the alphanumeric data found in the Code 128 and Code 39 bar codes, provided the system software also support those codes. Use the Hex 6 tag to enable this protocol. OCIA NCR Dual Cable – Hex 7 tag The OCIA NCR Dual Cable configuration uses two separate cables for the scanner and scale. The data protocol is the same as in OCIA NCR Short. This dual cable communications scheme is used on older NCR terminal systems such as 2557 and 2126 systems. This format can accommodate only 5 data bits per character and supports only UPC/EAN bar code data. Use the Hex 7 tag to enable this protocol.
Page 132
7-16
Chapter 7: Programming
Casio 4-Bit, Parallel, Dual Cable – Hex A tag Non-NCR short format is used on some older competitive terminal systems. This format is sometimes called 6-bit ASCII since it can accommodate only 6 data bits per character. It cannot support Code 128 or Code 39 bar code data. This format is normally not used on NCR systems. Use the Hex A tag to enable this protocol. IBM 1520 (BRC, IBM 468x/9x Port 4B) – Hex B tag All models of the NCR 7870 support the IBM 468x/9x format and use the same protocol found on IBM terminals. The scanner uses terminal port 17 and the select address is set to 4B. If your unit is a scanner/scale, the IBM address default setting is to 6E, but can be programmed to 6A or 6B. The IBM terminal integrated scanner/scale driver normally uses address 6E. However, if the scanner works but the scale does not, try using the other two scale addresses. Use the Hex B tag to enable this protocol. TEC, 4-Bit, Parallel, Dual Cable – Hex C tag The TEC 4-Bit Parallel protocol is used when connecting the NCR 7870 Scanner/Scale to a TEC M-XXXX host terminal. This configuration uses two cables. The scanner uses an OCIA interface and the scale uses a 4-bit parallel interface. Use the Hex C tag to enable this protocol.
Page 133
Chapter 7: Programming
7-17
Communications Protocol Hex Tag Summary Communications Protocol Type
Hex Tag
OCIA NCR Short (Datachecker)
0
OCIA NCR Long
1
OCIA Non-NCR Dual Cable
2
IBM 468x/9x Address 4A
3
IBM 468x/9x Address 4B (HHBCR)
4
RS-232
5
OCIA Single Cable
6
OCIA NCR Dual Cable
7
Casio 4-Bit, Parallel, Dual Cable
A
IBM 1520 (BRC, IBM 468x/9x Port 4B)
B
TEC, 4-Bit, Parallel, Dual Cable
C
Programming Example Following is an example of a completed Communications Protocol worksheet. In this example, RS-232 is the selected protocol. Your Program
1
0
Communications Protocol
5 Protocol R0064
Page 134
7-18
Chapter 7: Programming
Good Read Tone The Good Read Tone programming mode selects the parameters for sounding a tone each time the NCR 7870 Scanner/Scale successfully reads a bar code. It also controls the volume of the Not-On-File tone. This mode contains five shortcuts: A, B, C, D, and E. After entering this programming mode, you normally go directly to a specific parameter by scanning the appropriate shortcut Hex tag. This eliminates the need to enter all parameters when only one needs changing.
Defaults Parameter
Default Value
Tone On/Off
On
Tone Frequency
No Default
Tone Length
No Default
Tone Volume
No Default
Not-on-File Tone
No Default
Specific Program Parameters Not On File Tone Volume The Hex E tag permits you to select the volume of the Not On File Tone by listening to it as you repeatedly scan the Hex E tag. The new tone sounds for two seconds. End this mode by scanning the End tag or another valid Hex tag. Tone Frequency (Hertz) The Hex B tag permits you to set the frequency of the Good Read Tone by listening to it. Each time the Hex B tag is scanned, the tone increments one unit. After reaching the highest frequency (1250 Hertz), the sequence starts over with the lowest frequency (524 Hertz). End this mode by scanning the End tag or another valid Hex tag.
Page 135
Chapter 7: Programming
7-19
Tone Length (Milliseconds) The Hex C tag permits you to set the length of the Good Read Tone by listening to it. Each time you scan the Hex C tag, the tone length changes from a minimum of 25 milliseconds to a maximum of 250, and then back again. End this mode by scanning the End tag or another valid Hex tag. Tone On/Off The Hex A tag sets the Tone On/Off programming mode, which offers two options, On and Off. The Hex 0 tag turns the Good Read tone off and the Hex 1 tag turns the Good Read Tone on. The default is to turn the Good Read Tone on. Tone Volume The Hex D tag permits you to select the volume of the Good Read tone by listening to it as you repeatedly scan the Hex D tag. End this mode by scanning the End tag or another valid Hex tag.
Program Example Following is an example of a completed Good Read Tone programming worksheet. In this example, the only selection that can be made beforehand is the tone on/off, which is selected to be on. The other adjustments are selected by listening to the tone as you repeatedly scan the appropriate Hex tag. Your Program
1
1
Good Read Tone
B
C
1
B
C
Tone On/Off
Tone Frequency
Tone Length
**
E
D
A
*
D
*
Tone Volume
E
*
Not-On-File Tone Volume
* S can Hex tag repea tedly for desired setting. B052
Page 136
7-20
Chapter 7: Programming
Timers The Timers programming mode controls the two NCR 7875 Scanner/Scale timers: Lockout Time and Active Time.
Defaults Parameter
Default Value
Lockout Time
900 milliseconds
Restart Lockout Timer
Off
Active Time
15 seconds
Specific Program Parameters Lockout Timer (Milliseconds) The lockout timer prevents the scanner/scale from repeatedly reading the same bar code. After reading a bar code, it must be removed from the scan pattern and the time programmed in the lockout timer must elapse before the scanner/scale can read the same bar code again. The Lockout Time parameter selects the lockout time. There are 8 different times ranging from 450 milliseconds to 1500 milliseconds in increments of 150 milliseconds. Select these times using the Hex 0 through Hex 7 tags. The default time is 900 milliseconds. Restart Lockout Timer The Restart Lockout Timer parameter controls restarting the lockout timer each time the scanner/scale reads the same bar code. Turning on the Restart Lockout Timer option has the following effect. After reading a bar code, if the bar code moves out of the scan pattern and then back into the scan pattern before the lockout timer times out, the lockout timer restarts. The Hex 0 tag turns off this option and the Hex 1 tag turns it on. The default is off.