TOHO ELECTRONICS TTM000 User Manual

Page 11

Advertising
background image

11

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 "10. 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 or W.

R: to read data from this product
W: to write or store data in this product

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 "9. Table of identifiers (codes)."

Numerical data

These are data to be read or written, and are all expressed in five digits regardless of the
type.
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.

Setting

Meaning of Value

The data of which the

decimal point position

can be changed

(PV/SV)

When decimal point position [_dP *] is 0

-9999

When decimal point position [_dp *] is 0.0

-999.9

When decimal point position [_dp *] is 0.00

-99.99

When decimal point position [_dp *] is 0.000 -9.999

Advertising