NCR 7870 Scanner User Manual


 
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.
Decimal digit with high order digit sent first
Tally count number
x =
y =
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