UP-5300 (serv.man2). UP5300 Internal Printer (UPT80BP) Service Manual - Sharp EPOS Service Manual (repair manual). Page 5

Read Sharp UP-5300 (serv.man2) Service Manual online

7. IPL interface
1) Interface specifications
Asynchronous mode
1 STOP bit
Handshake
Poling (simplified procedure) fixed 
Bit length
8 bits fixed
Parity check
Performed/Not performed (selected with
DIP SW)
Parity selection
Even number/Odd number/No (selected
with DIP SW)
Baud rate selection
2400/4800/9600/19200/38400 (selected
with DIP SW)
2) Handshake : Simplified procedure
Protocol:
When receiving program data, the printer checks the checksum. If no
error is found, the printer returns ACK. If any error is found, the
printer returns NAK.
If the host computer resends the data in spite of the printer returning
ACK, the printer ignores the data and returns ACK again.
(Whether to resend the data be not is judged based on the sequence
NO. in the program data packet.)
The time-out period is 10 seconds .
3) DATA FORMAT:
1. ENQ :
05h
2. ACK :
06h
3. NAK :
15h
4. EOT :
04h
5. PROGRAM DATA
Sequence NO.
1 BYTES 30h---39h ring counter
Address
Data write address
Checksum
Lower 8-bit data of two’s complement of
sum of 1 BYTES Address and PROGRAM
DATA
PROGRAM DATA
Binary 256 BYTE fixed DATA
8. Dip switch
1) Table 1. Switch 1 
Switch No.
Function
ON
OFF
1
Handshake
XON/XOFF
DTR/DSR
2
Bit length
7 bits
8 bits
3
Parity check
Performed
Not performed
4
Parity selection
Even number
Odd number
5
Criteria for BUSY condition (See Table 2.)
6
Baud rate selection (See Table 3.)
7
8
Default setting: All switches are OFF.
2) Table 2. Busy condition
Busy condition
Timing of DTR OFF or
XOFF transmission
(Printer busy)
Timing of DTR ON or
XON transmission
(Printer ready)
Period between the
time when the power is
turned ON and the time
when it becomes
possible to
communicate
When it becomes
possible to
communicate
OFF-LINE key entry
Immediately before
OFF-LINE
Immediately before
ON-LINE
Error occurred
 1
Immediately before
print stop
Immediately after
recovery from error
HEAD UP
 1
Immediately before
HEAD UP
Immediately after
recovery from HEAD UP
Key waiting at macro
execute
 1
Immediately before key
waiting
Immediately after
recovery from key
waiting
Set log stamp
 2
Immediately after
stamp data receive
Immediately after data
write for flash memory
Receive buffer full at
page mode
When available space
becomes 62 bytes or
less
Immediately after
printing all the print data
in one page
Receive buffer full
When available space
becomes 62 bytes or
less
When available space
becomes 72 bytes
 1: When DIP SW 1-5 is ON, printer not busy.
 2: While writing stamp data for FLASH ROM, all received data
including [DLE] [EOT] and [DLE] [ENQ] are invalid.
3) Table 3. Baud Rate
Baud rate
[BPS]
Switch No.
6
7
8
 2400
ON
OFF
OFF
 4800
OFF
ON
ON
 9600
OFF
ON
OFF
19200
OFF
OFF
ON
38400
OFF
OFF
OFF
Default setting
4) Table 4. Switch 2 
Switch No.
Function
ON
OFF
1
MODE
selection
IPL MODE
Normal MODE
2
In case of data
reception errors
Ignored
Prints "?"
3
In case of data
reception
errors connect
to the host
Connect
Not connect
4
Print density selection (See Table 5.)
5
6
7
Print speed (See Table 6.)
8
Default setting: All switches are OFF.
HOST
PRINTER
ENQ
PROGRAM DATA
EOT
ACK
ACK
ACK
ACK
PROGRAM DATA
PROGRAM DATA
Sequence No.
Start code(02h)
PROGRAM DATA(binary)
(256 bytes)
End code(0Dh)
Checksum
Address (3 bytes)
1 – 4
Page of 74
Display

Click on the first or last page to see other UP-5300 (serv.man2) service manuals if exist.