Sharp XE-A201 Service Manual Download Page 11

XE-A201UC

– 10 –

CHAPTER 7. TEXT BLOCK FORMAT

1. BASIC FORMAT

Start code : This code may not be provided.

Null is impermissible.

End code : This code may not be provided.

Null or any same code as the start code is

not permissible.

When master reset is performed, the default is assumed:

Start code  = 02h

End code  = 0Dh

Block consecutive No. : This number starts with 30h and cycles

like this: 30h, 31h 

.

 39h, 30h, 31h

(Ring counter system)

Check sum

: 2 bytes hex number 

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.

Code conversion table.

1) ID-ENQ :

10bytes

ENQ code (05h)

Terminal No. 000001-999999 (6 bytes)

EOT is set as dummy cahracters. (3 bytes)

2) ACK :

1 byte   06h

3) NAK :

1 byte   15h

4) EOT :

1 byte   04h

5) ENQ :

1 byte   05h

6) TEXT :

Data ASCII (max. 1000

 bytes)

Block consecutive No.

Start code

End code

Check sum

Print code (high-order or low-order 4 bits)

Line image

Bit image

Hexadecimal

ASCII

0000

0

30h

0001

1

31h

0010

2

32h

0011

3

33h

0100

4

34h

0101

5

35h

0110

6

36h

0111

7

37h

1000

8

38h

1001

9

39h

1010

A

41h

1011

B

42h

1100

C

43h

1101

D

44h

1110

E

45h

1111

F

46h

Example

Memory image

Line image

02

5A

F0

1

2

3

30h

32h

35h

41h

46h

30h

Transmission sequence

1

2

3

Summary of Contents for XE-A201

Page 1: ...e these parts with specified ones for maintaining the safety and performance of the set 00ZXEA201UCSE ELECTRONIC CASH REGISTER MODEL XE A201 XE A201UC For U A version XE A201 ONLINE COMMUNICATION FUNCTION CHAPTER 1 CHAPTER 2 CHAPTER 3 CHAPTER 4 CHAPTER 5 CHAPTER 6 CHAPTER 7 CHAPTER 8 OVERVIEW SYSTEM CONFIGURATION INTERFACE SPECIFICATIONS SIGNAL CONNECTION DIAGRAM ONLINE PROTOCOL CONTROL SIGNAL SEQ...

Page 2: ...figuration 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 g Code ASCII h Bit sequence LSB first i Data format 1 start bit 7 data bits 1 parity 1 stop bit j Protocol Polling selecting Simple procedure k Transmission Cable Shielded cable Connector ECR side D sub 9 pin female type conn...

Page 3: ...k 9 Sends the next text if ACK is received and sends EOT and terminates the operation if data transfer is finaiized 2 Receives ENQ Check 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 ACK 10 Terminates the operation if EOT is received ENQ Host Satellite Dummy 3bytes Terminal No 6bytes Start c...

Page 4: ...xt block 9 Sends the next text if ACK is received and sends EOT and 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 ACK 10 Terminates the operation if EOT is received ENQ Host Satellite Dummy 3bytes Terminal No 6bytes NAK ACK 8 Sends NAK if any error occurs ENQ ACK Contin...

Page 5: ...xt block formats 13 Receives text 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 16 Sends the next text if ACK is received and sends EOT and terminates the operation if data transfer is finalized STATE Initial After sending ID ENQ After sending text EVENT 0 1 2 ENQ ACK Sends text and goes to 2 Sends text and goes to 2 Sends ...

Page 6: ...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...

Page 7: ...d goes to 0 ERROR END TIME UP Satellite goes to 0 ERROR END Time up is 7 seconds Satellite goes to 0 ERROR END Time up is 7 seconds STATE After receiving text and sending ACK After sending ENQ After sending TEXT EVENT 3 4 5 ID ENQ ACK 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 NAK Resends the text and then goes to 5 If sa...

Page 8: ... Half duplex transmission 2 Full duplex transmission 3 Line connection sequence flow DATA SD DTE DCE DATA RD RTS CTS DSR DCD DTR 100ms DATA SD DTE DCE DATA RD RTS CTS DSR DCD DTR 100ms STARTED BY P C INITIAL DTR ON DSR ON FULL DUPLEX RTS ON LINE ESTABLISHED NO NO YES YES ...

Page 9: ... ON FULL DUPLEX DCD ON CTS ON TIME OUT TIME OUT YES YES YES NO NO 5 sec YES YES YES YES YES NO 30 sec NO YES 7 sec Programmable TXRDY SEND 1 CHARACTER MORE TO SEND FULL DUPLEX WAIT 100ms FULL DUPLEX RTS OFF LINE ESTABLISHED TRANSMIT ERROR NO YES YES YES YES LINE ESTABLISHED RTS OFF DTR OFF RTS OFF ...

Page 10: ... DUPLEX TIME OUT TIME OUT SEND TEXT LINE ESTABLISHED RECEIVE ERROR AFTER RECEIVE ER OFF COMMAND NO NO NO NO NO NO NO YES YES YES YES YES NO YES YES YES YES ID ENQ ACK or NAK 4 sec TEXT 7 sec END CODE NAK BUFFER FULL LINE ESTABLISHED DTR OFF RTS OFF DSR OFF INITIAL YES YES YES YES YES NO 30sec DTR OFF RTS OFF ...

Page 11: ...ne 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 Code conversion table 1 ID ENQ 10bytes ENQ code 05h Terminal No 000001 999999 6 bytes EOT is set as dummy cahracters 3 bytes 2 ACK 1 byte 06h 3 NAK 1 byte 15h 4 EOT 1 byte 04h 5 ENQ 1 byte 05h 6 TEXT Data ASCII max 1000 bytes Block consecutive No Start code End cod...

Page 12: ... 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 Job PGM MODE programming for online operation 30 Programming of the terminal number 31 Programming of the transmission control 32 Programming of the baud rate 33 Programming of the start and end code 35 Programming of the time...

Page 13: ...ra 639 1186 Japan q 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 XE A201UC ...

Reviews: