![RKC INSTRUMENT SA100L Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/rkc-instrument/sa100l/sa100l_communication-instruction-manual_1466621025.webp)
5. RKC COMMUNICATION PROTOCOL
IMR01J08-E1
19
(3) Data sent from the host computer
The host computer sends data for the selecting sequence with the following format:
For the STX, ETX and BCC, see
5.1 Polling (P. 13)
.
1.
Identifier (2 digits)
The identifier specifies the type of data that is requested from the controller, such as set value.
For details, see
5.3 Communication Identifier List (P. 22)
.
2.
Data (Maximum 6 digits)
Data is the information being sent to the controller. It is expressed in decimal ASCII code
including a minus sign (-) and a decimal point (period).
About numerical data
The data that receipt of letter is possible
•
Data with numbers below the decimal point omitted or zero suppressed data can be received.
<Example> When data send with
−
001.5,
−
01.5,
−
1.5,
−
1.50,
−
1.500 at the time of
−
1.5, controller
can receive a data.
•
When the host computer send data with decimal point to item of without decimal point, controller
receives a message with the value which cut off below the decimal point.
<Example> When setting range is 0 to 200, controller receives as a following.
Send data
0.5 100.5
Receive data
0 100
•
Controller receives value in accordance with decided place after the decimal point. The value
below the decided place after the decimal point is cut off.
<Example> When setting range is
−
10.00 to +10.00, controller receives as a following.
Send data
−
.5
−
.058 .05
−
0
Receive data
−
0.50
−
0.05 0.05 0.00
The data that receipt of letter is impossible
Controller sends NAK when received a following data.
+
Plus sign and the data that gained plus sing
−
Only minus sign (there is no figure)
.
Only decimal point (period)
−
.
Only minus sign and decimal point (period)
Identifier Data
BCC
ETX
STX
2.
1.