14 - 15
14. COMMUNICATION FUNCTIONS
(2) Writing the processed data
When the data to be written is handled as d ecimal, the decimal point position must be specified. If it is
not specified, the data cannot b e written. When the data is handled as hex adecimal, specify "0" as the
decimal point position.
The data to be sent is the following value.
0
Data is transferred in hexadecimal.
Decimal point position
0: No decimal point
1: First least significant digit
2: Second least significant digit
3: Third least significant digit
4: Forth least significant digit
5: Fifth least significant digit
By way of example, here is described how to process the set data when a value of "15.5" is sent.
Since the decimal point position is the second digit, the decimal point position data is "2".
As the data to be sent is hexadecim al, the decimal data is converted into hexad ecimal.
155 9B
Hence, "0200009B" is transmitted.