Examples of toho communications – TOHO ELECTRONICS TRM-006A 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