beautypg.com

FUJITSU M304X User Manual

Page 79

background image

Transmitted Data

and Received Data

lines are connected to the

universal synchronous asynchronous receiver/transmitter

through a

transmitter/receiver

The Data Terminal Ready

Request to Send

and Clear

Send

control lines are provided for these data lines

and are also connected to

through the T/R.

The

transmit/receive request line

is connected

the interface

microprocessor

via

bus lines and address lines.

The bus and

address lines

also connected to the interface buffer and internal bus MPU.

The interface MPU operation is controlled by microprograms stored in the ROM.

Microprogram execution is described below.

Receiving data

When one-word data is generated in the

from the serially sent data, the

issues a receive request interrupt to the interface MPU.

The interface

reads the data, decodes it, and checks whether it is a Status Request

command.

If not,

the interface MPU stacks the data in the interface buffer.

If so, it responds with the printer status.

Transmitting data

When data transmission is necessary (for the printer status

transmission, or local

test), the interface

data and

writes data in the

every time the LJSART issues a transmit request

interrupt.

Commands to the internal bus

When writing data into the interface buffer begins,

interface

detects

a control code or control sequence written in the interface buffer and
decodes it,

than issues a command to the internal bus

Whether the command sent from the internal bus

terminates or not, if a

mechanical error or operator intervention request (indicated by the

Intervention Required signal) occurs, it is reported to the interface

If the command

normally, the interface

issues the next

command.

If printer operation is stopped due to a mechanical error or an operator

request (the internal bus MPU cannot operate in this state), the

interface MPU stops issuing the next command to the internal

and stops

reading data in the interface buffer until the mechanical error is corrected
or the operator intervention request ends.

The amount of data transmitted from the host can be reduced by the Repeat
Character command or the

Horizontal Position command or by the Horizontal

Tabulation

code using horizontal tab stop data downloaded by the Load

Horizontal Tab Stop Data command.

A line feed pitch of

lpi can be selected by the Select Vertical Pitch

command.

A half-line feed pitch of 12 lpi can also be selected by using the

Half Line Feed command.

Responding to the Status Request command from the host, the printer reports its

status

response).

6 - 3