NCR 7870 Scanner User Manual


 
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)
Address
Frame
Request
CRC Bytes (2)
End Byte
An IBM host terminal request to reset tally counts
4A xx 00 33 3D 3C 00 xx xx 7E
16827