TOHO ELECTRONICS TTM-00BT User Manual

Page 28

Advertising
background image

28

7.9.12 Examples of communications to be written

Example: Request message: Requests that the temperature alarm output setting of EIF in channel 1
(High-level computer)

of unit number 3 be changed to deviation top/bottom alarm + holding.

In response to that,

Response message: This returns a notice that the request message has been received.
(This product)

*Check that it has been correctly written by reading the data separately.

Write request message (transmitted from a high-level computer)

S
T
X

3 1 W E 1 F 0 0 0 1 1

E
T
X

B
C
C

① ② ③ ④

―⑤―

―――⑥―――

⑦ ⑧








Response message (returned from this product)

S
T
X

3 1

A
C
K

E
T
X

B
C
C

① ② ③ ⑨ ⑦ ⑧

Code

Code, data

ASCII code, note 2)

① Start code

STX

02H

② Unit number

3

33H

③ Channel number

1

31H

④ Request contents

W (Write)

57H

⑤ Identifier, note 1)

E1F

41H 34H 46H

⑥ Numerical data

00011

30H 30H 30H 31H 31H

⑦ End code

ETX

03H

⑧ BCC data request

56H

response

05H

⑨ Acknowledge code

ACK

06H


Note 1): See "6. Table of identifiers (codes)."
Note 2): For the ASCII codes, see "7.9.13. Table of ASCII codes."

Advertising