
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
16823
30H
b3H
3dH
32H
b3H
8fH
30H
33H
3yH
3xH
3xH
3xH
3xH
3xH
3xH
3xH
BCC (with EOM Bit)
The NCR 7870 response to the host request.
Host requesting tally C3 through single-cable OCIA.
Decimal digit with high order digit sent first
Tally count number
Block Check Character - an exclusive OR of all previous bytes
Presence of BCC specified by protocol
x =
y =
BCC =
Summary of Contents for 7870
Page 1: ...NCR 7870 Scanner Scale Release 1 0 User s Guide BST0 2121 90 Issue G...
Page 42: ...2 18 Chapter 2 Features Functions and Kits...
Page 86: ...4 12 Chapter 4 Installation...
Page 104: ...5 18 Chapter 5 Calibration...
Page 116: ...6 12 Chapter 6 Operation...
Page 194: ...7 78 Chapter 7 Programming...
Page 199: ...8 6 Chapter 8 Troubleshooting...
Page 221: ...A 22 Appendix A Programming Worksheets...
Page 228: ...BST0 2121 90 Nov 1999 Printed on recycled paper...