SHARP XEA201O, XE-A201 Service Manual

XE-A201UC
q
SERVICE MANUAL
CODE :
00ZXEA201UCSE
XE-A201 ONLINE COMMUNICATION FUNCTION
ELECTRONIC CASH REGISTER
MODEL XE-A201
(For "U" & "A" version)
CHAPTER 1.
CHAPTER 2.
CHAPTER 3.
CHAPTER 4.
CHAPTER 5.
CHAPTER 6.
CHAPTER 7.
CHAPTER 8.
CONTENTS
OVERVIEW......................................................................................
SYSTEM CONFIGURATION...........................................................
INTERFACE SPECIFICATIONS......................................................
SIGNAL CONNECTION DIAGRAM.................................................
ONLINE PROTOCOL.......................................................................
CONTROL SIGNAL SEQUENCE....................................................
TEXT BLOCK FORMAT................................................................
ONLINE APPLICATION................................................................
1
1
1
1
2
7
10
11
This document has been published to be used
SHARP CORPORATION
for after sales service only. The contents are subject to change without notice.
XE-A201UC
CHAPTER 1. OVERVIEW
1. GENERAL
This is a specification of the on-line data communication via RS-232 interface. It enables the ECR to perform on-line communication. For on-line data communication a ECR can be connected to a host computer. We support mainly the following functions.
a) The function of ONLINE
1) Down load of ECR data (ECR 1 PC)
2) Up load of ECR data (ECR 3 PC)
3) RJE (Remote job entry) function (ECR 1 PC)
CHAPTER 2. SYSTEM
CONFIGURATION
1. GENERAL
Online data communication is allowed always.
g) Code : ASCII h) Bit sequence : LSB first i) Data format : 1 start bit + 7 data bits + 1 parity +
1 stop bit
b1 b2 b3 b4 b5 b6 b7
Start-bit
j) Protocol : Polling/selecting (Simple procedure) k) Transmission:
Cable : Shielded cable Connector (ECR side): D-sub 9 pin (female type) connector Inch
Connector cover : Shielded cover
Data-bit
pitch (4-40 UNC) lock screw
P
Parity-bit Stop-bit
CHAPTER 4. SIGNAL CONNECTION
DIAGRAM
1. CONNECTION BETWEEN THE MASTER (HOST) AND SATELLITE
2. ONLINE DATA COMMUNICATION
In this machine, the type of data communication is “Direct connection” only.
(a) Direct connection
Host computer ECR
CHAPTER 3. INTERFACE
SPECIFICATION
1. ONLINE INTERFACE
This cable is supported as the standard cable with ECR.
9PIN D-SUB 9PIN D-SUB
SD
RD
RTS
DCD
DTR
DSR
CTS
SG
3
2
7
1
4
6
8
55
3
2
7
1
4
6
8
SD
RD
RTS
DCD
DTR
DSR
CTS
SG
a) Interface : RS-232 b) Duplex type : Half-duplex / Full-duplex c) Line configuration : Direct connection/Modem connection d) Data rate : 19200, 9600, 4800 and 2400 bps
(Programmable) e) Synchronizing mode : Asynchronous f) Parity check : Vertical parity check (odd)
SD : TRANSMITTED DATA RD : RECEIVED DATA DTR : DATA TERMINAL READY DSR : DATA SET READY RTS : REQUEST TO SEND DCD : DATA CARRIER DETECTOR CTS : CLEAR TO SEND
– 1 –
CHAPTER 5. ONLINE PROTOCOL
1. BASIC PROTOCOL SPECIFICATION
1) Data transmission from the host to a satellite
( 1 ) Inquires of the satellite.
XE-A201UC
Host Satellite
( 4 ) Receives ACK.
( 5 ) Sends the text.block.
Three types of text block formats are available
( 7 ) Resends the text block if NAK is received. Resends the text block up to two times. Sends EOT and terminates the operation with error if NAK is still received after the second resending of text block.
( 9 ) Sends the next text if ACK is received and sends EOT and terminates the operation if data transfer is fi na i iz ed .
Dummy (3bytes)
Start code Text (parameter) End code
Text (FDS)
Text (DATA)
Terminal No. (6bytes)
ENQ
( 2 ) Receives ENQ. Check the terminal No. to see if it is its own.
( 3 ) Sends ACK.
ACK
( 6 ) Receives text. Checks the check sum,text data,etc. And goes to (8) if there is no error in them.
( 8 )' Sends NAK if any error occurs.
NCK
( 8 ) Sends ACK.
ACK
– 2 –
EOT
( 10 ) Terminates the operation if EOT is received.
XE-A201UC
2) Data transmission from satellite to the host
( 1 ) Inquires of the satellite.
Host Satellite
Dummy (3bytes)
( 4 ) Receives ACK.
( 5 ) Sends the text.block.
Start code Text (parameter) End code
( 7 ) Resends the text block if NAK is received.
Resends the text block up to two times.
Sends EOT and terminates the operation with error if NAK is still received after the second resending of text block.
( 9 ) Sends the next text if ACK is received and sends EOT and
waits for ENQ.
Terminal No. (6bytes)
ENQ
( 2 ) Receives ENQ. Checks the terminal No. to see if it is its own.
( 3 ) Sends ACK.
ACK
( 6 ) Receives text. Checks the check sum,text data,etc. And goes to (8) if there is no error in them.
( 8 )' Se nd s N A K if any error occurs.
NAK
( 8 ) Sends ACK.
ACK
EOT
ACK
( 10 ) Terminates the operation if EOT is received.
ENQ
Continued on the next page
– 3 –
Loading...
+ 9 hidden pages