beautypg.com

Interface, Serial (rs232c)interface, Serial (rs232c) interface – Citizen Systems CD-S500A User Manual

Page 48: 48 chapter5 appendixes, Pin assignment, Connection with host buffer full control

background image

48

Chapter5

Appendixes

Serial (RS232C) interface

Pin assignment

1

FG

2

TxD

3

RxD

20 DTR

6

DSR

4

RTS

5

CTS

7

SG

25 RESET

1

DCD

3

TxD

2

RxD

4

DTR

6

DSR

7

RTS

8

CTS

5

GD

9

RI/RESET

Host D-Sub9P

Reception buffer 40/4K

16/512 bytes

8/1536 bytes

XON

XOFF

Overrun/Buffer size: 16/512 bytes
XOFF cancel size:

8/1536 bytes

Printer D-Sub25P

Connection with HOST

Buffer Full Control

Interface

PIN No. Signal Name Direction Function

1

Frame ground

2

TXD

FG

SG

Output

Data transmission

3

RXD

Input

Data reception

4

RTS

Output

Same as DTR (20pin)

6

DSR

Input

Host reception enabled status HIGH-READY/LOW-NOT READY
[During DTR/RTS control]

The printer transmits data after it is confirmed that DSR is high.
(But transmission by DLE EOT, GS a)
[During XON/XOFF control]
Printer does not confirm DSR.

7

Signal ground

20

DTR

Output

Printer READY/BUSY status HIGH-READY/LOW-BUSY

[During DTR/RTS control]
When the printer is in reception enabled status, it is READY, when it is
reception disabled, it is BUSY.

Printer status

1) BUSY until completion of initial settings when the power is turned on

2) BUSY in normal OFFLINE status

3) BUSY in OFFLINE status during PE

4) BUSY in OFFLINE status when other errors occur

5) BUSY when the reception buffer is full

6) BUSY during Self-Print

[During XON/XOFF control]
Always HIGH-READY except under the following conditions
1) Until completion of initial settings when the power is turned on
2) During Self-Print

25

INIT

Input

Printer RESET (1ms or more is higher)