Examples of toho communications, Examples of communications to be read – TOHO ELECTRONICS TTM200 User Manual

Page 13

Advertising
background image

13

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)

2 7 R

P V 1

① ② ③

⑥ ⑦

2 7

P V 1

① ② ⑧

⑥ ⑦

0 0 7 7 7


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

Advertising