3. RKC COMMUNICATION PROTOCOL
IMR02F04-E1
25
(3) Data sent from the host computer
For the STX, ETX and BCC, refer to
3.1 Polling (P. 18)
.
1.
Identifier (2 digits)
The identifier specifies the type of data that is requested from the PG500, such as set value.
For details, refer to
5. COMMUNICATION DATA LIST (P. 42)
.
2.
Data
Data which is indicated by an identifier of the PG500 is expressed in decimal ASCII code
including a minus sign (-) and a decimal point. The channel number can be zero-suppressed.
The number of digits varies depending on the type of identifier. (Within 6 digits)
About numerical data
Numerical data which the PG500 can receive
Data with numbers below the decimal point omitted or zero-suppressed data can be received.
(Number of digits: Within 6 digits)
<Example> When data send with
001.5,
01.5,
1.5,
1.50,
1.500 at the time of
1.5, PG500
can receive data.
When the host computer sends data containing a decimal point to an item without a decimal
point, the PG500 receives a message rounded down to the nearest whole number.
<Example> When setting range is 0 to 200, the PG500 will receive as follows:
Send data
0.5 100.5
Receive data
0 100
The PG500 receives the value based on the decided number of places after decimal point.
Any number beyond the established number of decimal points will be cut off.
<Example> When setting range is
10.00 to +10.00, the PG500 will receives as follows:
Send data
.5
.058 .05
0
Receive data
0.50
0.05 0.05 0.00
Numerical data which the PG500 can not receive
When the host computer sends abnormal character data, the PG500 returns NAK as a response.
<Example> Only minus sign (there is no figure)
Only decimal point (period)
2.
1.
BCC
ETX
Identifier
STX Data