5 description of codes – TOHO ELECTRONICS TTM-10L User Manual
Page 9

9
3.5 Description of codes
n The codes from ① STX, ② address to ⑩ ERR type as indicated below are expressed in
ASCII codes.
n For the ASCII codes, see "8. Table of ASCII codes."
n For conversion to ASCII codes, see "4. Examples of 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 "7. 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 00010.
Example
Significance of the value
Proportional band (P)
→
1.0%
Data (PV), etc, whose decimal point can be shifted
When the decimal point setting (DP) is 0
→
10
When the decimal point setting (DP) is 0.1
→
1.0
Even when "###" is set to "0" on a model with a platinum resistance temperature detector, a
communications data is transmitted with a decimal point.
⑥ ETX
This code is needed for the receiver to detect the end of a message. It is affixed to the end of
a character string to be sent (except for BCC).
⑦ BCC
This is a check code for error detection and is the exclusive OR (EX-OR) of all characters
from STX to ETX.
If the BCC check is set to "Disabled" in the communications settings in this product, this
code (BCC) will not be incorporated in the response message. See "2. Settings regarding
communications."