7 message format, Message format, 7" "b – Toshiba SX 2000 User Manual

Page 51

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Chapt.1 System Configuration

1.4.7

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 = HOD).

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

The maximum length of a message is 512 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.

The number (1 to 9) shown on each character means the order of transmitting or

receiving.

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

S2T registers are as follows.

Register

8 7

n

"1"

"0"

n+1

"A"

"2"

n+2

"7"

"B"

n+3

„g„

"8"

n+4

CR

Transmission message

CR

The message length is 1 byte, only trailing code, then receive operation ignore the

message.

34

Sequence Controller S2T

Advertising