1 transmission message format, Operation procedure – Toshiba AS311 User Manual

Page 40

Advertising
background image

38

ASCII Interface Module (AS311)

5. Operation Procedure


5.1 Transmission message format


The transmission message is composed by ASCII characters and a specified trailing

code. The default setting of the trailing code is CR (carriage return code = H0D).

Refer to section 5.6 for setting the trailing code other than CR.


The maximum length of a message is 896 bytes. An example of the message is

shown

below.

1 2 3 4 5 6 7 8 9

″

0

″

″

1

″

″

2

″

″

A

″

″

B

″

″

7

″

″

8

″

″

9

″

CR



In the above figure,

″

x

″

means an ASCII character. For example,

″

0

″

is H30.


When the above message is received or transmitted, the data arrangements in the

T3 registers are as follows.







Register

F 8 7 0

n

″

1

″

″

0

″

n+1

″

A

″

″

2

″

n+2

″

7

″

″

B

″

n+3

″

9

″

″

8

″

n+4

CR

Transmission message

″

0

″

″

1

″

″

2

″

″

A

″

″

B

″

″

7

″

″

8

″

″

9

″

CR

Advertising