13 - 14
13. COMMUNICATION FUNCTIONS
(2) Writing the processed data
When the data to be written is handled as decimal, the decimal point position must be specified. If it is
not specified, the data cannot be written. When the data is handled as hexadecimal, 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 siginificant digit
[3]: Third least siginificant digit
[4]: Forth least siginificant digit
[5]: Fifth least siginificant 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 hexadecimal, the decimal data is converted into hexadecimal.
155
→
9B
Hence, "0200009B" is transmitted.