Home
q SERVICE MANUAL MODEL XE-A201
Contents
1. Print code high order or low order 4 bits Line image 1 ID ENQ LIMITIT 10bytes F i ry j y Bit image Hexadecimal ASCII Terminal No 000001 999999 6 bytes EOT is set as dummy cahracters 3 bytes 0001 1 31h 0010 2 32h 2 ACK 1 byte 06h 0011 3 33h 3 NAK 1 byte 15h 0100 4 34h 4 EOT 1 byte 04h 0101 5 35h 0110 6 36h 5 ENQ 1 byte 05h 0111 7 37h 6 TEXT LI LI 1000 8 38h Data ASCII max 1000 bytes H P code 1001 9 39h Block consecutive No Check sum 1010 A 41h Start code 1011 B 42h 1100 C 43h Start code This code may not be provided 1101 D 44h Null is impermissible 1110 E 45h End code This code may not be provided 1111 F 46h Null or any same code as the start code is not permissible When master reset is performed the default is assumed Example 1 2 3 Start code 02h Memory image End code 0Dh Block consecutive No This number starts with 30h and cycles 1 2 3 like this 30h 31h 39h 30h 31h i i Ring counter system bine iimag Check sum 2 bytes hex number PERR Transmission sequence Low order 8 bit data of the complement of 2 for the sum of text data RAM data Even number of data that is obtained by dividing one byte of RAM data into high order 4 bits and low order 4 bits and con verting them to ASCII codes shown in the code conversion table 10 XE A201UC CHA
2. Normal end Resends the text and then goes to 2 If the host has resent the text two times it sends EOT and goes to 0 ERROR END The host goes to 0 ERROR END TIME UP ERROR END Resends ID ENQ and then goes to 1 If the host has resent ID ENQ two times it sends EOT and goes to 0 Resends the text and then goes to 2 If the host has resent the text two times it sends EOT and goes to 0 ERROR END KEY ENTRY Sends ID ENQ and goes to 1 Time up One second after sending of ID ENQ Four seconds after sending of text XE A201UC 2 Up loading matrix for the host Initial After sending ID ENQ After sending text 0 1 2 Sends text and goes to 2 Sends EOT and goes to 3 Resends the text and then goes to 2 If the host has resent the text two times it goes to 0 ERROR END EOT The host goes to 0 ERROR END TEXT TIME UP Resends ID ENQ and then goes to 1 If the host has resent ID ENQ two timesit goes to 0 ERROR END Resends the text and then goes to 2 If the host has resent the text two times it goes to 0 ERROR END KEY ENTRY Sends ID ENQ and goes to 1 Time up One second after sending of ID ENQ Four seconds after sending of text After sending EOT After sending ACK After sending NAK 3 4 5 i Sends ACK and goes to 4 After the host has received ENQ resends ACK
3. ERROR END Resends the text and then goes to 5 If satellite has resent the text two times sends EOT and goes to 0 ERROR END XE A201UC CHAPTER 6 CONTROL SIGNAL SEQUENCE 1 ONLINE TRANSMISSION 1 Half duplex transmission SD DATA RD DATA el l lt 100ms 2 Full duplex transmission SD DATA RD DATA j lt 100ms 3 Line connection sequence flow STARTED BY P C INITIAL DTR ON i YES NO i YES RTS ON L r7 LINE ESTABLISHED 4 Transmission sequence flow LINE ESTABLISHED WAIT 100ms RTS OFF LINE ESTABLISHED NO YES 7 sec Programmable DTR RTS XE A201UC OFF OFF TRANSMIT ERROR XE A201UC 5 Receiving sequence flow LINE ESTABLISHED gt lt o YES NO YES gt 30sec YES NO ID ENQ NO ACK or NAK 4 sec YES YES TEXT 7 sec READ 1 CHARACTER lt E text gt YES YES LINE ESTABLISHED DTR OFF RTS OFF YES AFTER RECEIVE RECEIVE ERROR YES YES DTR OFF RTS OFF YES YES HHH INITIAL LINE ESTABLISHED XE A201UC CHAPTER 7 TEXT BLOCK FORMAT 1 BASIC FORMAT Code conversion table
4. TEXT goes to 0 Normal end Before satellite has received TEXT ignores the EOT Satellite goes to 0 ERROR END Satellite checks the text block if the block is correct Satellite sends ACK and goes to 1 If it is not correct satellite sends NAK and goes to 2 If transmission cannot be continued satel lite sends EOT and goes to 0 ERROR END Satellite checks the text block if the block is correct Satellite sends ACK and goes to 1 If it is not correct satellite sends NAK and goes to 2 If transmission cannot be continued satel lite sends EOT and goes to 0 ERROR END TIME UP Satellite sends EOT and goes to 0 ERROR END Time up is 7 seconds The host goes to 0 ERROR END Time up is 7 seconds 4 Up loading matrix for the satellite Initial After receiving ID ENQ and sending ACK XE A201UC After sending NAK 0 1 2 Satellite checks the terminal No If it is cor rect satellite sends ACK and goes to 1 If it is not correct satellite ignores the ID ENQ Satellite checks the terminal No f it is cor rect satellite sends ACK and goes to 1 If it is not correct satellite ignores the ID ENQ Satellite goes to 0 ERROR END Satellite checks the text block if the block is correct satellite sends ACK and goes to 3 If it is not correct Satellite sends NAK and goes to 2 If transmission cannot be continued satel lite sends EOT and
5. and goes to 4 After the host has received TEXT ignores the ENQ The host goes to 0 ERROR END After the host has received TEXT goes to 0 Normal end After the host has received ENQ goes to 0 ERROR END The host goes to 0 ERROR END The host checks the text block if the block is correct the host sends ACK and goes to 4 If is not correct the host sends NAK and goes to 5 If transmission cannot be continued the host sends EOT and goes to 0 The host checks the text block if the block is correct the host sends ACK and goes to 4 If is not correct the host sends NAK and goes to 5 If transmission cannot be continued the host sends EOT and goes to 0 ERROR END TIME UP Resends EOT and goes to 3 If the host has resent the EOT two times it goes to 0 ERROR END The host goes to 0 ERROR END Time up is 7 seconds The host goes to 0 ERROR END Time up is 7 seconds KEY ENTRY Time up Two second after sending of EOT 3 Down loading matrix for the satellite Initial After sending ACK After sending NAK 0 1 2 Satellite checks the terminal No If it is cor rect satellite sends ACK and goes to 1 If is not correct Satellite ignores the ID ENQ Satellite checks the terminal No If it is cor rect satellite sends ACK and goes to 1 If it is not correct Satellite ignores the ID ENQ After satellite has received
6. ICATION In this machine the type of data communication is Direct connection only a Direct connection Host computer CHAPTER 3 INTERFACE SPECIFICATION 1 ONLINE INTERFACE RS 232 Half duplex Full duplex a Interface o Duplex type Direct connection Modem connection 19200 9600 4800 and 2400 bps Programmable a O Line configuration Data rate Synchronizing mode Asynchronous Parity check Vertical parity check odd g Code ASCII h Bit sequence LSB first i Data format 1 start bit 7 data bits 1 parity 1 stop bit PEEP EEE NN Data bit Start bit Parity bit Stop bit j Protocol Polling selecting Simple procedure k Transmission Cable Shielded cable Connector ECR side D sub 9 pin female type connector Inch pitch 4 40 UNC lock screw Connector cover Shielded cover CHAPTER 4 SIGNAL CONNECTION DIAGRAM 1 CONNECTION BETWEEN THE MASTER HOST AND SATELLITE This cable is supported as the standard cable with ECR 9PIN D SUB 9PIN D SUB SD 3 3 SD RD 2 2 RD RTS 7 7 RTS DCD 1 1 DCD DTR 4 4 DTR DSR 6 6 DSR CTS 8 8 CTS SG 5 5 SG 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 XE A201UC CHAPTER 5 ONLINE PROTOCOL 1 BASIC PROTOCOL SPECIFICATION 1 Data transmission from the host to a sat
7. PTER 8 ONLINE APPLICATION 1 ONLINE PRESET 1 PGM Preset PGM MODE programming for online operation Programming of the terminal number Programming of the transmission control Programming of the baud rate Programming of the start and end code Programming of the timeout time JOB 30 MRS 000001 Programming of the terminal number PGM mode 000000 ST so gt amp J gt xxxxxx ET gt FT XXXXXX Terminal number MRS 000001 It is set to 000001 when master resetting is taken JOB 31 MRS 00 Programming of the transmission control If the specification of direct connection is used this programming must be not changed PGM mode 00 31 A Not used 31 B Transmission line form Half duplex system Full duplex system 11 JOB 32 MRS 05 Programming of the transmission data rate Baud rate PGM mode 32 A Transmission data Print data send RAM data download and upload 32 B Transmission baud rate 2400 bps 4800 bps 9600 bps 19200 bps JOB 33 MRS 002013 Programming of the start end code If 000 is specified for each of the codes the data block is provided with neither the start code nor the end code PBM mode 000000 ST gt 33 gt xxxvvy St TL XXX Start code YYY End code When master resetting is taken 002013 is specified This means
8. Q 2 Receives ENQ Checks the terminal No to see if it is its own 3 Sends 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 8 Sends ACK 10 Terminates the operation if EOT is received Continued on the next page Host Satellite Continued from the preceding page XE A201UC 12 Sends text corresponding to the job code 13 Receives text Start code Checks the check sum text length text data etc And goes to 15 if there is no error in them Sends NAK if any error occurs NAK When an error occurs 15 Sends ACK ACK 17 Terminates the operation if EOT is received Text FDS End code Two types of text block formats are available Text DATA 14 Resends text block if NAK is received Resends text up to two times and performs error handling if NAK is still received after the second resending of text block 16 Sends the next text if ACK is received and sends EOT and terminates the operation if data transfer is finalized Note For the description of each data block see section 4 Text block formats 2 TRANSMISSION CONTROL PROCEDURE MATRIX 1 Down loading matrix for the host Initial After sending ID ENQ After sending text 0 1 2 Sends text and goes to 2 Sends text and goes to 2 Sends EOT and then goes to 0
9. XE A201UC SHARP SERVICE MANUAL CODE 00ZXEA201UCSE XE A201 ONLINE COMMUNICATION FUNCTION ELECTRONIC CASH REGISTER MODEL XE A201 For U amp A version CONTENTS CHAPTER 1 OVERVIEW cess neta cetera CHAPTER 2 SYSTEM CONFIGURATION rennes CHAPTER 3 INTERFACE SPECIFICATIONS esien CHAPTER 4 SIGNAL CONNECTION DIAGRAM keke kk kk ke CHAPTER 5 ONLINE PROV OG OE en tentes CHAPTER 6 CONTROL SIGNAL SEQUENCE 4 E ek kk kk CHAPTER 7 TEXT BLOCK FORMAT i kk nine CHAPTER 8 ONLINE APPLICATION mme ttes Parts marked with ZA are important for maintaining the safety of the set Be sure to replace these parts with specified ones for maintaining the safety and performance of the set This document has been published to be used SHARP CORPORATION o 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 PC 2 Up load of ECR data ECR PC 3 RJE Remote job entry function ECR PC CHAPTER 2 SYSTEM CONFIGURATION 1 GENERAL Online data communication is allowed always 2 ONLINE DATA COMMUN
10. ellite Host Satellite 1 Inquires of the satellite 2 Receives ENQ Dummy Terminal No 3bytes 6bytes Check the terminal No to see if it is its own 4 Receives ACK ACK ACK 3 Sends AC 5 Sends the text block 6 Receives text Checks the check sum text Start code Text parameter data etc And goes to 8 if there is no error in them Three types of text block formats are available LI Text FDS LI 8 Sends NAK if any error Text DATA occurs 7 Resends the text block if NAK is received NCK 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 8 Sends ACK ACK 9 Sends the next text if ACK is received and sends EOT and terminates the operation if data transfer is finaiized 10 Terminates the operation if EOT is received XE A201UC 2 Data transmission from satellite to the host Host Satellite 1 Inquires of the satellite Dummy Terminal No 3bytes 6bytes 4 Receives ACK ACK 5 Sends the text block Start code Text parameter 7 Resends the text block if NAK is received NAK 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 ACK 9 Sends the next text if ACK is received and sends EOT and waits for ENQ EN
11. goes to 0 ERROR END Satellite checks the text block if the block is correct satellite sends ACK and goes to 3 If it is not correct Satellite sends NAK and goes to 2 If transmission cannot be continued satel lite sends EOT and goes to 0 ERROR END TIME UP After receiving text and sending ACK Satellite goes to 0 ERROR END Time up is 7 seconds After sending ENQ Satellite goes to 0 ERROR END Time up is 7 seconds After sending TEXT 3 4 5 Satellite sends the text and goes to 5 Satellite sends the text and goes to 5 or sends the EOT and goes to 0 Normal END Resends the text and then goes to 5 If satellite has resent the text two times sends EOT and goes to 0 ERROR END Satellite sends ENQ and goes to 4 Resends the ENQ and then goes to 4 If satellite has resent the ENQ two times sends EOT and goes to 0 ERROR END Satellite goes to 0 ERROR END Satellite checks the text block if the block is correct satellite sends ACK and goes to 3 If it is not correct satellite sends NAK and goes to 2 If transmission cannot be continued satel lite sends EOT and goes to 0 ERROR END TIME UP The host goes to 0 ERROR END Time up is 7 seconds Time up Four seconds after sending of text Two second after sending of ENQ Resends the ENQ and then goes to 4 If satellite has resent the ENQ two times sends EOT and goes to 0
12. that the data block is provided with the start code 02h STX and the end code 0Dh CR Enter both the codes in decimal digits Any figures greater than 127 can not be specified for start and end codes JOB 35 MRS 007 Programming of the timeout time PGM2 mode st 35 8J xxx gt s T XXX Time out time 1 255 sec XE A201UC SHARP COPYRIGHT 2001 BY SHARP CORPORATION All rights reserved Printed in Japan No part of this publication may be reproduced stored in a retrieval system or transmitted In any form or by any means electronic mechanical photocopying recording or otherwise without prior written permission of the publisher SHARP CORPORATION Information Systems Group Quality amp Reliability Control Center Yamatokoriyama Nara 639 1186 Japan 2001 October Printed in Japan t
Download Pdf Manuals
Related Search
Related Contents
MEAD User Manual USER GUIDE - silloptics.de EPSON Easy Interactive Tools Ver.3.0 Operation manuale istruzioni Copyright © All rights reserved.
Failed to retrieve file