Description of codes – TOHO ELECTRONICS TTM200 User Manual

Page 10

Advertising
background image

10

3.5 Description of codes

 The codes from ① STX, ② address to ⑩ ERR type as indicated below are expressed in

ASCII codes.

 For the ASCII codes, see "11. Table of ASCII codes."
 For conversion to ASCII codes, see "4. Examples of TOHO communications."

① STX

This code is needed for the receiver to detect the top of the message. It is affixed to the top
of a character string to be sent.

② Address

This is the address of the party (this product) with whom a high-level computer
communicates. The address in the response message from this product indicates the sender
of the response message.

③ Contents requested

Enter a code R / W. / L / B

R: to read data from this product
W: to write or store data in this product
L: to read blind setting from this product
B: to write or store blind setting in this produc

④ Identifier

An identifier is a classification code (identifier) for data to be read or written and expressed
in a three-digit alphanumerical ASCII code. See "10. Table of identifiers (codes)."

⑤ Numerical data

In writing mode, you can write 5 or 6 digits of numerical data. In reading, you can set this
product to 5 or 6 digits of numerical data. Following are the conditions for switchover
between 5 and 6 digits.
Negative data: The "-" (minus) sign is in a single digit at the largest digit.

Position of the decimal point: 5-digit data does not include a decimal point.

Example: The table below indicates the significances of 5-digit numerical data -9999

Example

Significance of the

value

Data (PV), etc, whose
decimal point can be
shifted

decimal point setting (DP) is 0

-9999

decimal point setting (DP) is 0.0

-999.9

decimal point setting (DP) is 0.00

-99.99

decimal point setting (DP) is 0.000

-9.999

Decimal point setting (DP) is
0.0000

-0.9999

When the character data is “ INP”.

Example: The table below indicates the significances of 6-digit numerical data -10000

設定

数値の意味

Data (PV), etc, whose
decimal point can be
shifted

decimal point setting (DP) is 0

-10000

decimal point setting (DP) is 0.0

-1000.0

decimal point setting (DP) is 0.00

-100.00

decimal point setting (DP) is 0.000

-10.000

Decimal point setting (DP) is
0.0000

-1.0000

Advertising