Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 3 of 14

CG4 Series Service Manual, pages 21 to 30

Pages 21 to 30 of 134

The original document is the PDF (11 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Sato CG4 Series

Page 21

Section 3: Interface Specifications

3.2 RS232C SERIAL INTERFACE (cont’d) Function descriptions Function

Description

Baud rate setting

Select the data rate (bps) for the RS232 port.

Data bit length

Sets the printer to receive either 7 or 8 bits of data for each byte transmitted.

Parity setting

Selects the type of parity used for error detection.

Stop bit setting

Selects the number of stop bits to end each byte transmission.

Protocol setting

Selects the flow control and status reporting protocols

Synchro system

Asynchronous method

Maximum receive buffer capacity

1MB 1MB

0MB Buffer near full occurred

Remaining 0.25MB Buffer near full released Remaining 0.5MB

Code

ASCII (7 bits), Graphic (8 bits)

Transmission form

Start b1 b2 b3 b4 b5 b6 b7

Stop b8

[Note] If using 7 bits, b8 will be omitted. Signal level

High level Low level

: +5 to +12V : -5 to -12V

Interface type

Use Printer configuration tool or <DI> command. <DI>a Parameter a

CG4 Series Service Manual

Downloaded from www.Manualslib.com manuals search engine

Item

Interface selection

Value

Description

0

USB

1

RS-232C

2

Keypad

3

Scanner/ Smart keyboard

Page 3-3

Page 22

Section 3: Interface Specifications

3.2 RS232C HIGH SPEED SERIAL INTERFACE (cont’d) 3.2.2 Ready/Busy This protocol controls the reception of print data only by the control of hardware signal. Use the command <I2> to toggle between single item buffer and multi item buffer. When the print data (STX ESC+”A”~ ESC+”Z” ETX) is sent from the host in the conditions below, received data may be incorrect. 1) When the printer is Offline 2) When an error has occurred in the printer Pin Assignments 1)Host with DB-25P terminal Printer CD 1 RD 2 SD 3 ER 4 SG 5 DR 6 RS 7 CS 8 RI 9

Host 1 2 3 6 7 20 5 4

FG SD RD DR SG ER CS RS

2)Host with DB-9P terminal Printer CD 1 RD 2 SD 3 ER 4 SG 5 DR 6 RS 7 CS 8 RI 9

Host 1 3 2 6 5 4 8 7 9

CD SD RD DR SG ER CS RS RI

Interface Signals

Pin no.

Signal Type

Direction

Description

2

RD

Input

Data transferred from the host to the printer

3

SD

Output

Data transferred from the printer to the host

4

ER

Output

Data terminal READY

5

SG

-

Signal ground

6

DR

Input

Data set READY

7

RS

Output

Send request

8

CS

Input

READY to send

Notes: Follow the procedures below when executing READY/BUSY control. 1) When the host sends the data for printing labels, make sure that the printer is on. 2) Turning the printer on after the printer receives a request from the host to print labels may cause the printer not to print the first print data (approximately 120 bytes). To avoid this problem, it is necessary to attach approximate 120 bytes of dummy data by application software that enables the host to send the data for printing labels. For example: When sending [STX+<A>+<V>20+<H>20+<P>2+<L>0202+<X20>, 1234+<Q>2+<Z>+ETX], transfer the appropriate 120 bytes of dummy data shown below. [00H+00H+ ~ +00H+00H+00H+00H] + [STX ~ ETX]

Page 3-4

Downloaded from www.Manualslib.com manuals search engine

CG4 Series Service Manual

Page 23

Section 3: Interface Specifications

3.2 RS232C HIGH SPEED SERIAL INTERFACE (cont’d) Timing Chart (Single item buffer) (1) Normal process Press the FEED/LINE button

Power ON Printer side ER

Initial

Press the FEED/LINE button td td STX..ETX(1)

RD

ETX(2)

……..

STX

RS Online

Printer status

Online

Offline

Receiving/Analysis/Editing(1)

Receiving/Analysis/Editing(2)

Print(2)

Print(1)

td: It takes the printer approx. 10μs to recognize the end of item and to start controlling ER.

(2) Error process Head open

Printer side

Head close

Press the FEED/LINE button td

ER STX..ETX(1)

RD RS Offline

Printer status

Online

Offline

Online

*

Print(1)

Receiving/Analysis/Editing(1)

Print(1)

* When the paper end has occurred: Open the head Set the label Close the head for feed operation. NOTE: When the head is closed, the paper end will be released.

Timing Chart (Multi item buffer) (1) Normal process Receive buffer near full occurred

Power ON Printer side ER

Press the FEED/LINE button

Receive buffer near full release

Initial STX..ETX(2)

STX..ETX(1)

RD

STX

……..

ETX(3)

STX

……..

ETX(4)

Offline

Online

RS Online

Printer status Receiving/Analysis/Editing(1)

Receiving/Analysis/Editing(2)

Receiving/Analysis/Editing(3)

Receiving/Analysis/Editing(4)

Print(2)

Print(1)

Print(3)

NOTE: For multi buffer mode, it is possible to continue data communications while printing.

(2) Error process Printer side

Head open

Head close

Press the FEED/LINE button

Press the FEED/LINE button

Paper end

ER RD

STX

……..

Online

Offline

STX

ETX(1)

ETX(2)

……..

RS Printer status

Offline

Online

Receiving/Analysis/Editing(1)

Online

Receiving/Analysis/Editing(2)

Print(1)

*

Print(1)

Print(2)

* When the paper end has occurred: Open the head Set the label Close the head for feed operation. NOTE: When the head is closed, the paper end will be released.

CG4 Series Service Manual

Downloaded from www.Manualslib.com manuals search engine

Page 3-5

Page 24

Section 3: Interface Specifications

3.2 RS232C HIGH SPEED SERIAL INTERFACE (cont’d) 3.2.3 X-ON/X-OFF This transmission protocol informs the host if the printer is ready to receive data, by sending the “XON” (Hex 11H) or “XOFF” (Hex 13H) code. When the print data (STX ESC+”A”~ ESC+”Z” ETX) is sent from the host in the conditions below, received data may be incorrect. 1) When the printer is Offline 2) When an error has occurred in the printer Pin Assignments 1) Host with DB-25P terminal Printer RD 2 SD 3 SG 5

2) Host with DB-9P terminal Printer RD 2 SD 3 SG 5

Host 2 3 7

SD RD SG

Host 3 2 5

SD RD SG

Note: Depending on the host used, it may need to loop CS and RS (maintaining at “High” level) on the host side. Therefore, make sure to re-check the host before use. Input/Output Signals

Pin no.

Signal Type

Direction

Description

2

RD

Input

Data transferred from the host to the printer

3

SD

Output

Data transferred from the printer to the host

5

SG

-

Signal ground

Timing Chart (Multi item buffer) (1) Normal process Receive buffer near full occurred

Power ON Printer side SD

XON 500ms

Initial

XOFF

XON STX..ETX(1)

RD

Press the FEED/LINE button

Receive buffer near full released XON

STX..ETX(2)

XOFF

XON

STX.......ETX(4)

STX..ETX(3)

Offline

Online

Printer status

Press the FEED/LINE button

Receiving/Analysis/

Receiving/Analysis/

Receiving/Analysis/

Editing(1)

Editing(2)

Editing(3)

Receiving/Analysis/Editing(4)

Print(3)

Print(2)

Print(1)

NOTE: In this protocol, executing the polling of “XON” at intervals of 500ms from the power supply to the first data reception.

(2) Error process Head open

Printer side

Head close

Press the FEED/LINE button

Paper end occurred

Press the FEED/LINE button

XON

XOFF

XON

XOFF

SD

STX

……..

STX

ETX(1)

……..

XOFF

ETX(2)

RD Printer status

Online

Offline

Online

Offline

Receiving/Analysis/Editing(1)

Online

Receiving/Analysis/Editing(2)

Print(1)

*

Print(1)

* When the paper end has occurred, Open the head Reset the label Close the head for feed operation. NOTE: When the head is closed, the paper end will be released. Data reception during the error ocurrence executes the transmission of “XOFF”

Page 3-6

Downloaded from www.Manualslib.com manuals search engine

CG4 Series Service Manual

Page 25

Section 3: Interface Specifications

3.2 RS232C HIGH SPEED SERIAL INTERFACE (cont’d) 3.2.4 Return Status (STATUS 3 and Protocol for Driver (STATUS 4)) The purpose of these protocols is to control printer status on the host side. With the request command from the host, the status is returned from the printer. After receiving the request command, the status is returned immediately. In these communication protocols, receive mode is set to multi item buffer. When the print data (STX ESC+”A”~ ESC+”Z” ETX) is sent from the host in the conditions below, received data may be incorrect. 1) When the printer is Offline 2) When an error has occurred in the printer

CG4 Series Service Manual

Downloaded from www.Manualslib.com manuals search engine

Page 3-7

Page 26

Section 3: Interface Specifications

3.3 IEEE 1284 PARALLEL INTERFACE 3.3.1 Basic Specifications of IEEE1284 parallel interface This interface complies with the Centronics/ IEEE1284 standard. ECP mode is recommended for LPT1 port. LPT1 port details can be set through a computer’s BIOS settings. Interface connector

Printer side: Amphenol (DDK) 57 to 40360 or equivalent Cable side: Amphenol (DDK) 57 to 30360 or equivalent Cable length: 1.5m or less : +2.4 to +5.0V : +0.0 to +0.4V

Signal level

High level Low level

Communication condition setting

Use the <I1> command for the following settings. Item

Color

Receive mode

Single item buffer Multi item buffer

ACK width

010 to 200 (1=50ns)

Communication protocol cannot be fixed at compatible mode because of IEEE1284 negotiation. Interface type

Maximum receive buffer capacity

Use Printer configuration tool or <DI> command. <DI>a Parameter

Item a

Interface

Value

Decription

0

USB

1

IEEE1284

1MB 0MB

1MB

Buffer near full occurred Remaining 0.25MB Buffer near full released Remaining 0.5MB

DeviceID

CG408 “MFG:SATO;CMD:PCL,MPL;MDL:CG408;” CG412 “MFG:SATO;CMD:PCL,MPL;MDL:CG412;”

Page 3-8

Downloaded from www.Manualslib.com manuals search engine

CG4 Series Service Manual

Page 27

Section 3: Interface Specifications

3.3 IEEE 1284 PARALLEL INTERFACE (cont’d) 3.3.2 Pin Assignments Pin assignment of each signal for the Centronics standard (Compatible Mode) is as follows. Note that the connection of the IEEE1284standard complies with the IEEE1284-B standard.

PIN No.

Signal

I/O

PIN No.

Signal

1

STROBE

Input

19

STROBE-RETURN

2

DATA 1

Input

20

DATA 1-RETURN

3

DATA 2

Input

21

DATA 2-RETURN

4

DATA 3

Input

22

DATA 3-RETURN

5

DATA 4

Input

23

DATA 4-RETURN

6

DATA 5

Input

24

DATA 5-RETURN

7

DATA 6

Input

25

DATA 6-RETURN

8

DATA 7

Input

26

DATA 7-RETURN

9

DATA 8

Input

27

DATA 8-RETURN

10

ACK

Output

28

ACK -RETURN

11

BUSY

Output

29

BUSY -RETURN

12

PE

Output

30

PE -RETURN

13

SELECT

Output

31

INIT

Input

14

AUTOFD

Input

32

FAULT

Output

SELECTIN

Input

15

I/O

33

16

LOGIC GND

34

17

CHASSIS GND

35

18

PERIPHERAL LOGIC HIGH

CG4 Series Service Manual

Downloaded from www.Manualslib.com manuals search engine

Output

36

Page 3-9

Page 28

Section 3: Interface Specifications

3.3 IEEE 1284 PARALLEL INTERFACE (cont’d) 3.3.3 Input/Output Signals The details of each signal line for the Centronics standard (Compatible Mode) are as follows. Note that each signal line complies with the IEEE1284 standard. Signal

I/O

Description

STROBE

Input

Synchronization signal that requires low active pulse to read DATA1 ~ DATA8

DATA 1 ~ DATA 8

Input

Data entry of 8bits parallel:

DATA1 --LSB (lowest bit) DATA8 --MSB (highest bit)

ACK

Output

Low active pulse signal indicating the completion of receive data import

BUSY

Output

High active signal indicating that the printer is not ready to receive data

PE

Output

High active signal indicating paper shortage

SELECT

Output

High active signal indicating that the printer is ready to receive data

AUTOFD

Input

Signal for the IEEE1284 standard

CHASSIS GND PERIPHERAL LOGIC HIGH

Connecting to framework ground Output

SIGNAL GND

+5V voltage on the printer side Connecting to each signal ground

INIT

Input

Low active pulse signal requesting to reset the printer

FAULT

Output

Low active pulse signal indicating an error in the printer

SELECTIN

Input

Signal for the IEEE1284 standard

Page 3-10

Downloaded from www.Manualslib.com manuals search engine

CG4 Series Service Manual

Page 29

Section 3: Interface Specifications

3.3 IEEE 1284 PARALLEL INTERFACE (cont’d) Timing Chart (Single item buffer) 1) Normal process Press FEED/LINE

Power ON Printer side DATA

Initial

ESC A…ESC Z(1)

Press FEED/LINE

ESC A……ESC Z(2)

STROBE ACK BUSY SELECT

TX

PE FAULT Offline

Online

Printer status

Online

Receiving/Analysis/Editing(2)

Receiving/Analysis/ Editing(1) Print(1)

Print(2)

*TX<5ms> [Important] Turning the printer off when sending a continuous job will result in the lack of subsequent job. (16 bytes after the command [ESC+Z] is maintained in the printer, but the next job of 16 bytes will be cleared by turning the printer off.)

2) Process of paper end occurrence Paper end occurred

Head close

Head open

Press FEED/LINE

Printer side DATA

ESC A……ESC Z(1)

STROBE ACK BUSY SELECT PE FAULT Printer status

Offline

Online

Online

Receiving/Analysis/Editing(1) Print(1)

*

NOTE: (1) When the paper end has occurred, Open the print head assembly Reset the label (2) When the print head assembly is closed, the paper end will be released.

CG4 Series Service Manual

Downloaded from www.Manualslib.com manuals search engine

Print(1)

Close the print head assembly for feed operation.

Page 3-11

Page 30

Section 3: Interface Specifications

3.3 IEEE 1284 PARALLEL INTERFACE (cont’d) Timing Chart (Multi item buffer) 1) Normal process Power ON

Press FEED/LINE

Printer side DATA

Initial

ESC A…ESC Z(2)

ESC A…ESC Z(1)

Receive buffer near full occurred

Press FEED/LINE

Receive buffer near full release

ESC A…ESC Z(3)

STROBE ACK BUSY SELECT PE FAULT Offline

Online

Printer status

Receiving/Analysis/ Editing(1)

Online

Receiving/Analysis/ Editing(2)

Receiving/Analysis/ Editing(3) Print(2)

Print(1)

Print(3)

2) Process of paper end occurrence Paper end occurred

Head close

Head open

Press FEED/LINE

Printer side DATA

ESC A……ESC Z(1)

ESC A……ESC Z(2)

STROBE ACK BUSY SELECT PE FAULT Printer status

Offline

Online Receiving/Analysis/Editing(1)

Print(1)

NOTE: (1) When the paper end has occurred, Open the print head assembly Reset the label (2) When the print head assembly is closed, the paper end will be released.

Page 3-12

Downloaded from www.Manualslib.com manuals search engine

Online

Receiving/Analysis/Editing(2) Print(1)

Close the print head assembly for feed operation.

CG4 Series Service Manual