Citizen CBM-270 user manual Data Configuration, Error Detection

Page 40

CBM-270 User’s Manual

7.3.2Data Configuration

t

Mark

b0, b1, b2, · · · ·

Space

(1)

(2)

(3)

(1)Start Bit

(2)Data Bit (+ Parity Bit)

(3)Stop Bit (1 or More)

(1)Start bit

The system reads the status again after a lapse of 1/2 bit from a fall edge from the mark to space, and if it is a space, this bit will be recognized as the start bit.

If it is a mark, the system will not recognize the bit as the start bit and try to detect the start bit again without judging it as an error.

(2)Data bits + Parity bit

The system samples the data bits and parity bit for the 1 bit worth of time from 1/2 start bit and assumes the then status as the data for the relevant bits. The bits are called Bit 0, Bit 1, ..., Parity bit, counting from the one closest to the start bit.

(3)Stop bit

The stop bit is the Mark level of 1 bit or more. If a space is detected in detecting the stop bit, a framing error will result.

7.3.3Error Detection

The system detects a parity, framing, or overrun error. If an error is detected, the relevant data will be stored in the buffer as "?".

(1)Parity error

With a parity check specified, if an error is detected at parity check time, the relevant data will be stored in the buffer as "?".

(2)Framing error

This error results if the Space status is detected at stop bit detection time. The relevant data will be stored in the buffer as "?".

(3)Overrun error

If an overrun error is detected, the relevant data will be stored in the buffer as "?".

40

CITIZEN

Image 40
Contents Citizen LVD EMCImportant Safety Instructions Wichtige Sicherheitsanweisungen Lärmemission kleiner 70dBASicherheitshinweis Citizen Safety Precautions Be Sure to Observe Citizen Precautions for Installation Precautions for Handling Daily Maintenance Contents Maintenance and Service Print Control Functions Parallel InterfaceGerman AppendixAppendix Wall Mounting Holes Layout Drawing DIP-SCHALTEREINSTELLUNGOutline FeaturesUnpacking Basic Specifications Model ClassificationsBasic Specifications UL, C-ULPaper Specifications Recommended PaperPrinting Position Head and Paper Cutter LayoutOuter Appearance and Component Parts Citizen Connecting AC Adapter OperationConnecting Interface Cable Inserting the Paper How to Remove Remaining Paper Roll Eliminating the Paper Jam Feed Switch Function When Thermal Paper is UsedWhen Label Paper is Used When the Macro is ExecutedPaper Near End Function OFFAuto-Loading Function Self-Print FunctionOperation Panel and Display of Error Error DetailsOFF Busy12 Red/Black Print Precautions for Use Mitsubishi Paper MillsDIP Switch Setting Location of DIP SwitchDIP Switch Function DS2 For Serial Interface OnlyJumper Wire Function USAConnectors Pin Configuration SpecificationsParallel Interface Input and Output Signals Input and Output SignalsElectrical Characteristics Data Receiving Control Timing Chart Buffering Serial Interface RXDDTR TXDInput and Output Signals Data Configuration Error DetectionInput RXD, DSR Printer Side Host Side Power Connector Maintenance and Service 10.1 Command List Print Control Functions0AH 0DH ESC1DH 2AH 1DH 3AHDC2 DC3Descriptions of Each Item Command DetailsXxxx Command Details ESC DCitizen ESC SP Citizen ESC ESC E, ESCESC % A p s´a m-n+1 ESC * m N1 n2 d Print Results Dots single density Dots double density ESC n ESC = ESC @ ESC D n k NULESC E ESC GESC !, ESC G ESC EESC J ESC R ESC ESC a ESC c Parallel Interface Only ESC cESC d ESC t ESC Serial Interface Only Lprint Aaaaa CHR$ &HA Lprint Bbbbb CHR$ &HA ESC $ ESC ¥ESC ¥ ESC $NUL GS k nUPC-A UPC-E JAN13 EAN JAN 8 EAN Code ITF Codabar NW-7 CODE39 JAN-8EANCODE128 Test Code Btestcode A123Description of Bar Codes GS w GS h nGS H GS f n GS HGS * n1 N2 d n1 ´ n2 ´ See Also GS /, ESC N1´8 dots N2´8 dots Sample ProgramGS / m Lprint CHR$ END GS n1 n2 n3 DC2 a DC3 nGS FF Only When Label Printer is SelectedGS FF, GS GS C0 Lprint CHR$ 0 CHR$ GS C2 GS C N1 N2 N3 N4 N5GS c GS a m Only When Label Printer is Selected Character Codes Table International DomesticInternational Character Codes Table Appendix 1. Block Diagram Appendix 2. Outline Drawing Appendix 3. Wall Mounting Holes Layout Drawing German Vorsicht ZU Beachtende Sicherheitsmassregeln Warnung Vorsichtsmassregeln FÜR DIE Aufstellung Vorsichtsmassregeln FÜR DIE Handhabung Tägliche Wartung VorsichtBetrieb Anschließen des NetzteilsAnschließen des Schnittstellenkabels Einsetzen des Papiers Entnehmen der eingesetzten Papierrolle Beseitigen von Papierstau FEED-Schalterfunktion Papierende-FunktionBei Verwendung von Thermalpapier Bei Verwendung von EtikettenpapierPapiermangel-Funktion Autoladefunktion SelbstdruckfunktionBedienfeld und Fehleranzeigen Fehler-Einzelheiten 12 Rot/Schwarz-Druck Vorsichtsmaßregeln DIP-SCHALTEREINSTELLUNG Lage der DIP-SchalterDIP-Schalterfunktion DS1Jumperdraht-Funktion Wartung UND Dienst