Examples of toho communications – TOHO ELECTRONICS TTM000 User Manual

Page 15

Advertising
background image

15

4. Examples of TOHO communications

4.1 Examples of communications to be read

Example: Request message: This requests this product set at address 27 to read the PV.
(High-level computer)

In response to that,

Response message: This returns PV data (00777).
(This product)

Read request message (transmitted from the high-level computer)


Code

Code, data

ASCII code, note 2)

Start code

STX

02H

Address

27

32H 37H

Request contents

R (Read)

52H

Identifier, note 1)

PV1

50H 56H 31H

Numerical data

00777

30H 30H 37H 37H 37H

End code

ETX

03H

BCC data request

61H

response

02H

Acknowledge code

ACK

06H

Note 1): See "9. Table of identifiers (codes)."

Note 2): For the ASCII codes, see "10. Table of ASCII codes."

Advertising