Examples of communications – TOHO ELECTRONICS TTM-10L User Manual

Page 13

Advertising
background image

13

4. Examples of 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 "7. Table of identifiers (codes)."
Note 2): For the ASCII codes, see "8. Table of ASCII codes."

Response message (returned from this product)

Advertising