Citizen PPU-231 manual Data Configuration, Error Detection

Page 46

PPU-231 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 "?".

33

CITIZEN

Image 46
Contents Line Thermal Printer Declaration of Conformity Important Safety Instructions Wichtige Sicherheitsanweisungen Lärmemission kleiner 70dBACitizen Safety Precautions Be Sure to ObserveCitizen Precautions for Installation Precautions for Handling Daily Maintenance Contents DIP Switch Setting Appendix Outline FeaturesUnpacking Model Classifications Basic SpecificationsPPU series Printer/Presenter unit 31AD series Power supply unit Options PHU series Paper holding unitPRU series Presenter unit MiscellaneousPMU series Printer mechanism unit BD2 series Control PCB with accessories Basic Specifications ESC/POSRecommended Paper Paper SpecificationsPrinting Position Printing Head and Paper Cutter Layout Outer Appearance and Component Parts PPU Printer/Presenter UnitCitizen Optional PHU Paper Holding Unit Using the Power Connector Connecting the AC AdapterOperation CN1 Connecting a Power Cable to the Control PCBGND Connecting the Interface Cable Busy STBACK RXD DTRTXD DSRInserting the Paper How to Remove Remaining Paper Roll Eliminating the Paper Jam Eliminating a Jam in the Printer MechanismEliminating a Jam in the Presenter Releasing a Locked Cutter Feed Switch FunctionPaper End Function CN5 Connecting the PHU Paper Holding UnitPaper Near End Function When Using the PHU PNESelf-Print Function Auto-Loading FunctionPresenter Control DIP Switch Setting Location of DIP SwitchDIP switch 2 DS2 DIP Switch FunctionDIP switch 1 DS1 Baud rate and parity settingPrint density ACK, BUSY, STROBE, FAULT, PE, Reset SpecificationsConnectors Pin Configuration Strobe Twisted Pair GND Data ACK Busy Reset Fault Frame GNDInput and Output Signals Input and Output SignalsStrobe Electrical Characteristics Data Receiving Control Timing ChartBuffering Serial Interface Input and Output Signals Data Configuration Error DetectionElectrical Characteristics RS-232C Circuit Output TXD, DTR Printer SidePower Connector Maintenance and Service Commands List Print Control Functions1DH 3AH Command Details Description of ItemsDetails ESC DESC SP ESC Lprint CHR$ &HA ESC % ESCESC & s n P s × a m n +1 Citizen ESC ∗ m n1 N2 d k Example Sample Program ESC − n ESC 3 n ESC = 52CITIZEN ESC D n NUL ESC E ESC G ESC EESC R Condition Canceling 90-right- turned Characters Position ESC c Parallel Interface Only ESC c ESC dESC When Using Auto Cutter ESC m When Using Auto Cutter ESC t ESC Serial Interface Only XON/XOFFInverted printing means printing the line at 180turned ESC $ n1 ESC ¥Type Only ESC $Codabar NW-7 GS k nUPC-A UPC-E JAN13 EAN JAN 8 EAN Code UPC-ACODE39 JAN-13EANJAN-8EAN ITFTest Code Btestcode A123UPC-A GS w GS h n Specify before the GS k command GS f n GS HGS ∗ n1 N2 d n1 × n2 × Sample Program Print Results 203 DPI Double wide mode Lprint CHR$ GS n1 n2 n3 Character Codes Table InternationalJapanese International Character Code Table Appendix 1. Block Diagram Appendix 2. Outline Drawing for PPU Unit mmAppendix 3. Outline Drawing for PHU