
32
4. Operating procedures
Useful functions (RS485 communication function)
4.5
Description of codes
■
Codes below from
①
STX,
②
Address .
・・・
⑩
Error type are expressed in ASCII codes.
■
For ASCII codes, see
“8.ASCII code list”.
■
For conversion to ASCII codes, see
“5.Communication example”.
①
STX
This code is necessary for the receiving side to detect the beginning of a message. This is
prefixed to the beginning of the character string to be transmitted.
②
Address
This is the address of the counterpart (the Unit) for communication with a host PC. The
address within a reply message from the Unit indicates the transmission source of the reply
message.
③
Request
Indicate R or W symbol.
R
:
When data is read out from the Unit
W
:
When data is written into the Unit or stored in the Unit.
④
Identifier
This is a classification symbol (identifier) for data to be read out or written and is expressed
in a three-digit ASCII code. See
“7. Identifier
/
command list
”.
⑤
Numeric data
This is data to be read out or written all of which are expressed in a five-digit number
irrespective of their type.
Minus data
:
The
“
-
” symbol is indicated at the first digit.
Decimal point position
:
A five-digit data does not contain a decimal point.
Example) Five-digit numeric data
00101
has the following meanings:
Example
Meaning
Set temp. (SV1)
When temp. sensor is a thermocouple
→
101
℃
When temp. sensor is of platinum
→
10.1
℃
Set time (TIM)
→
1 hr 1min
⑥
ETX
This is a code necessary for the receiving side to detect the end of a message. This is
suffixed to the end of a character string to be transmitted. (Excluding BCC)