NCR 7870 manual Examples of Host Access to Tallies

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

RS-232 Codes

 

Scanner/Scale OCIA

 

 

 

 

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

Image 180
Contents Users Guide Page Table of Contents Site Preparation Users Guide Installation CalibrationOperation Programming Users Guide Viii Users Guide Troubleshooting Appendix a Programming WorksheetsRevision Record Radio Frequency Interference Statements Federal Communications Commission FCCCanadian Department of Communications Voluntary Control Council For Interference VcciMark Applicability Scale RegulatoryDeclaration of Conformity This Directive is not applicable to NCR 7870-1000 or NCRScale Identification Label NCR CorporationLaser Safety Laser Safety LabelCountry Language Specific IEC Class 1 Laser Labels Laser Power Laser Module LabelMicrowatts MilliwattsIntroduction About the NCR 7870 Scanner/Scale ModelsCommon Features Reading the Product Number7870-1000-9090 7870-2000-90907870-3000-9090 7870-4000-9090General Features and Functions Bar Code RecognitionDecode Features Mode 1 Inquiry ModeBi-Optic Scanning Pacesetter PlusMode 2 Real-Time Mode Mode 3 Operations ModeDisplays NCR 7825 Remote DisplayIntegrated Display Power Supply Interface TypesLaser Scanner No DisplayProgramming Sizes section in Site PreparationScale Certifications Scanner Power Requirements Soft Power DownScan Zone Top Plates and Scan Windows Top PlatesSlot Scanner Window Side Scanner Window Scale Features and Functions Scale Functions and FeaturesReset / Scale Zero Load CellKits Kit Name Kit Type Available forKit Name Kit Type Available for Kit Name Kit Type Available for Chapter Kit Name Kit Type Available for Kit Name Kit Type Available for Features, Functions, and Kits Site Preparation Getting Started Site Preparation About Site Preparation Site Preparation Customer Responsibilities Environmental Requirements Operating RangeExtreme Operating Range Storage Range Transit RangeCheckstand Power and Wiring Considerations Power ConsiderationsPower Applications Power Transients ProtectionWiring Considerations Canadian, and Japanese Checkstand WiringEuropean Checkstand Wiring 220Vac StoreInternational Checkstand Wiring Wiring Instructions Running Feeder Lines from Main Service PanelCircuit a Circuit B Circuit CCheckstand Considerations Ventilation RequirementsService Clearance Display Clearance Item DiverterCheckstand Hole Checkstand Hole Models 1000 NCR 7870-1000 ScannerCheckstand Hole Models 3000, 4000 NCR 7870 3000 ScannerDC Power Cable Power Supply to Cable Lengths and Hole SizesCable Hole Diameters Minimum Hole Diameter 1.52 cm 0.60AC Power Cords Outlet to Power Supply Remote Display CablesMinimum Hole Diameter 3.18 cm 1.25 Minimum Hole Diameter 1.90 cm 0.75Interface Cables NCR Host Terminals Host Interface Cable Corporate Part Length Terminal NumberInterface Cables NCR Host Terminals Interface Cables Casio Host Terminals Interface Cables Data Checker Host Terminals Interface Cables Epson Host TerminalsInterface Cables Gilbarco Host Terminals Interface Cables IBM Host Terminals Interface Cables ICL Host TerminalsInterface Cables Microbilt Host Terminals Interface Cables NEC Host TerminalsInterface Cables Sasi Host Terminals NCR 7870 Dimensions NCR 7870 1000 DimensionsNCR 7870 2000 Dimensions NCR 7870-1000 & 2000 ModelsNCR 7870 3000 Dimensions NCR 7870-3000 ModelNCR 7870 4000 & 4500 Dimensions NCR 7870-4000 & 4500 ModelsReporting a Damaged Unit What’s in the BoxCable Verification Checkstand VerificationInstalling Unit in Checkstand Install CablesInstructions Single Cable Set-Up Dual Cable Set-Up Datachecker or RS-232 Cable Set-Up Tower Subplate Assembly Cover/Lift Strap If the NCR 7870 Does Not Pass Level O Diagnostics Determining if the Unit is OperationalNCR 7870-1000 and 3000 Scanners NCR 7875-2000, 4000, and 4500 Scanner/ScalesCheckout Reading Operation Determining Communications Protocol Scale Address for IBM Installation Calibration GeneralCalibration Calibration Procedure Exercising the ScaleTools InstructionsAccessing the Calibration Switch Remove screw securing Lift Strap to unit 11040 Connecting the Field Service Calibration Display Go to Performing the Calibration Performing the Calibration Display Add Weight Remove Weight Verifying Calibration Procedure 1 Increasing Load Test Select the appropriate weight feature from the table belowProcedure 2 Over-Capacity Test Procedure 3 Decreasing Load Test Procedure 4 Shift Test Securing the Calibration Switch Prior StepsCalibration Calibration Operation About Using the Operator Controls Status IndicatorsScan Windows Reset / Scale Zero Button Motion DetectorAudible Tone Voice MessagesAbout Using the Scanner Proper Label OrientationActive Scan Zone Multiple ReadsBar Code Quality Power Up Operating InstructionsScanner Only Models Scanner/Scale ModelsScanning Procedure Not-On-File ErrorWeighing Procedure Changing the Good Read Tone Routine Maintenance Operation Programming Programming How to Program the NCR Creating the ProgramWriting the Program Entering the ProgramScan the Save and Reset Tag Save the ProgramProgramming Mode NormalNormalOperatingOperatingModeModeProgramming Tags AbortDefault EndHex 0 Hex F FunctionProgramming Mode Save and ResetScan the Programming Mode tag Program Entry ExampleEnter All Parameters Enter Specific Parameters Base Programming StateAr C odes Code Programming Tips Defaults Program Parameter DescriptionsCommunications Protocol Specific Program ParametersOcia NCR Long Hex Ocia Non NCR Dual Cable HexIBM 468x/9x Port 4A Slot Scanner Hex 3 tag IBM 468x/9x Port 4B Hhbcr Hex 4 tag RS-232 Hex 5 tagOcia Single Cable Hex 6 tag Ocia NCR Dual Cable Hex 7 tagCasio 4-Bit, Parallel, Dual Cable Hex a tag IBM 1520 BRC, IBM 468x/9x Port 4B Hex B tagTEC, 4-Bit, Parallel, Dual Cable Hex C tag Programming Example Communications Protocol Hex Tag SummaryYour Program Not On File Tone Volume Good Read ToneTone Frequency Hertz Tone Volume Program ExampleTone Length Milliseconds Tone On/OffTimers Lockout Timer MillisecondsRestart Lockout Timer Active Time Minutes Bar Codes Version DExtend UPC-A to EAN-13 Extend UPC-E to UPC-APeriodic Codes Periodic Code Extension0 0 1 2 Send DataCode Minimum Characters AllowedFull Ascii Check Digit PresentTransmit Check Digit Allow 1- or 2-Character TagsAscii Interleaved 2 Bar Code Length Value 14 1 0 Minimum Data Characters Allowed UCCBar Codes Minimum Data Characters Allowed UCC Label Identifiers Identifier Type Common Byte 1 and Common Byte Bar Code Type Common ByteUnique Identifier Version Number UPC-D Only Label Identifier RS-232 Parameters Baud RateParity Stop Bits and Character Length HandshakeRS-232 Parameters Baud Rate Parity BCC Options Interface ControlCheck Digit RS-232 Parameters BCC Interface Options Control Check Digit RS-232 Prefix Byte Prefix ByteAscii Code RS-232 Prefix Byte RS-232 Terminator Byte Terminator ByteRS-232 Terminator Byte Normal or Eavesdrop Mode Message DelayRS-232 Communications Options Scanner or Scanner/Scale Format Beep at Scale Weight Transmission RS-232 Scale Parameters Model NumberIBM Address 995 kg / 13.995 kg Second Weight Display Timer Miscellaneous ParametersOcia Blank Display In Price Mode IBM Tone Control Good Read ToneOcia Price Display IBM Rexmit ControlEnable/Disable Voice Messages IBM Tag Data Format11822 Mode 1 Inquiry Pacesetter Plus InformationMode 2 Real Time 1136Codes Description Mode 3 Normal OCH, xyH, xzH 43H, 3yH, 3zH OCH, 0yH, 0zHDecoding was difficult. May be due to Host Access to Tallies Examples of Host Access to TalliesExample An IBM host terminal request for tally C1 0DH C1H Host Reset of Tallies C5H C0HDelay Weight Data to IBM Host Terminal Special ProgrammingEAN/JAN/UPC Multi-Symbol Scanning Parameters Label ConstructionSingle Label Restriction Transmitting Label DataHex a tag and the Save and Reset tag Programming Early Beep Disable Good Read Tone Presets PresetGood Weigh Tone When Transmitting Data Terminal Coupon Interface Parameters HexHex a Hex B Hex C Hex DCoupon Select 2 Parameter Disable Enable Ascii Code Chart 1A SUB 1B ESC 1C FS 1D GS 1E RS 1F USProgramming Troubleshooting Fault IdentificationScanner Troubleshooting Chart Scale Troubleshooting Chart Voice Messages Troubleshooting Chart Scan the Diagnostic Mode tagScan Programming Mode tag Troubleshooting Purpose FormatShortcuts Defaults Hex CharactersProgram Entry Timers Communications ProtocolGood Read Tone Bar Codes-1Bar Codes-3 Bar Codes-4Label Identifiers RS-232 Parameters-1RS-232 Prefix Byte RS-232 Terminator ByteRS-232 Communications Options Scale ParametersWorksheets Communications ProtocolGood Read Tone Timers BAR Codes BAR Codes BAR Codes Code Label Identifiers RS-232 Parameters Appendix a Programming Worksheets A-15 RS-232 Prefix Byte RS-232 Terminator Byte RS-232 Communications Options Scale Parameters Miscellaneous Parameters Appendix a Programming Worksheets A-21 Appendix a Programming Worksheets Index Scanner/Scale Index-3 Slot Scan Window Index-5 Business Reply Mail BST0-2121-90 Nov Printed on recycled paper