Citizen Systems Model CMP-10 Serial Interface, Pin No Signal Direction Function Pin No. of Cable

Page 74

6.SERIAL INTERFACE

6.1Specifications

(1) Data transfer system

Asynchronous, half duplex

(2)Baud rates

1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps (Selectable by command)

(3)Serial data configuration Start bit: 1 bit

Data bit: 8 bits Fixed

Parity bit: No parity

Stop bit: 1 bit

(4)Signal polarity RS-232C

¥Mark = logic Ò1Ó (Ð3V ~ Ð12V)

¥Space = logic Ò0Ó (+3V ~ +12V)

(5)Receiving data (RD signal) RS-232C

¥Mark = logic Ò1Ó (Ð3V ~ Ð12V)

¥Space = logic Ò0Ó (+3V ~ +12V)

(6)Transmission control (TD signal)

DC1 code (11H) X-ON: Data reception is available

DC3 code (13H) X-OFF: Data reception is not available

6.2. Connector Pin Configuration

Pin No.

 

Signal

Direction

 

Function

 

Pin No. of Cable

3

 

 

TXD

Output

Transferred data

No. 2 pin of D-Sub 9 pins

6

 

 

+5V

Ñ

 

 

 

 

 

 

 

 

No connection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

RXD

Input

Received data

No. 3 pin of D-Sub 9 pin

11

 

 

RTS

Input

Auto Turn On

No. 7 pin of D-Sub 9 pin

14

 

 

Ñ

Ñ

 

Communication mode setting

No. 5 pin of D-Sub 9 pin

 

 

 

 

 

 

(InfraRed or Serial)

 

 

 

 

 

 

15

 

 

GND

Ñ

 

No. 5 pin of D-Sub 9 pin

 

 

 

 

 

 

 

 

 

 

Connector

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Printer side:

 

Connector used on StarTac (Motorola)

 

 

 

 

 

 

PC side

 

9 pin D-SUB

 

 

 

 

 

 

Cable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ñ 72 Ñ

Image 74
Contents Command Reference Revision CMP-10 Command SET Code Command FunctionGS W GS HGS L Command Details Xxxx ALLBEL Sample Program Print Results0AH ESC RS Default Sample Program ESC SP nBit Function Value Default See AlsoESC ! n END ESC $ n1 n2 ESC % n Initialize command ESC & m n1 n2 d kMax. Dots Hex Mode Vertical Direction Horizontal Direction DotsESC * m n1 n2 d k IMG1 Page Hex Type ESC +ESC n ESC ESC 3 n ESC = n Bit Equipment Value21 Ñ ESC ? n Hex TrackESC @ ESC D n k NUL See Also Sample Program Print ResultsESC E n ESC G n Hex Character Set ESC J nESC R n Hex Speed bps ESC S nESC T Model CMP-10 VerESC V n Hex ConditionESC Y n ESC Z ByteUpdate via firmware interface Not in use Reserved, always 33 Ñ ESC \ n1 n2 ESC ` ESC a n Hex PositionESC c5 n ESC d n ESC ESC x n B B B Memory Switch OFF GS n mGS * n1 n2 d n1 n2 D1 ...... Dn See Also Sample ProgramGS / m Hex Name Dot Density Vertical Direction Horizontal Direction1DH3AH GS H n Hex Printing PositionGS L nL nH GS W n NL = 40 Hex, nH = 2 Hex Hex Mode GS n1 n2 n3GS a n Bit Status Item Addressed by ABSNot in use Thermal head is overheated Disabled for ASB may also have changed GS f n Hex Font1DH68Hn Bar code system Range of n Range of d GS k m d1 ..... dk NUL GS k m n d1 ...... dnBar code system Range of k Range of d Description of Bar Codes For Standard ModeFor JAN-8EAN Hex Code set a Code set B Code set CJAN-8 Type Print Sample Outline of Symbol Max. ColumnDescriptionof Bar Codes CODE93 CODE128GS w nL nH AT*PAIRINFO=1 AT command Function Factory defaultAT*PAIRINFO=0 Bluetooth Init Commands ExampleBlack Mark Function ESC l nDistance from PE sensor and print head is approx .5 mm Character Codes Table Setup menu function After Ver2.20 If YES is not chosen, the changed setting will not be lost Change IrDA MAX Speed ?Memory switches OFF0 ON1 Memory switch 8 =Change Print Density ? Programming Considerations Pin No Signal Direction Function Pin No. of Cable Serial InterfaceExplanation of Input/Output Signals 14, 15 pin Communicate mode settingElectrical Characteristics RS-232C CircuitInfrared Communication Specifications IrComm 3 Wire raw IrLPTMechanical Specification McbfPower Related Specifications BatteryUL, C-UL, PSE 10AD-JU AC AdaptorEMI Standard