Operation of Number of Decimals
■Sending
Fixed point
Ex.
Conversion: HEXASCII Decimal
Number of Send Data: 2
Conversion Unit: Word
Number of Send Digits of Data: 4
Number of Decimals: 1
Data Storage Area
D0
1234 (04D2H)
D1
5678 (162EH)
Variable Point
Ex.
Conversion: HEXASCII Decimal
Number of Send Data: 2
Conversion Unit: Word
Number of Send Digits of Data: 4
Data Storage Area
D0
1234 (04D2H)
D1
10 (000AH)
D2
5678 (162EH)
D3
1000 (03E8H)
Precautions
An error occurs when a decimal point position is larger than the number of digits for variable point.
(Example) When the number of digits is 3 and the decimal point position is 1000 or larger, an error occurs.
■Receiving
Fixed point
Ex.
Conversion: ASCII DecimalHEX
Number of Send Data: 2
Conversion Unit: Word
Number of Send Digits of Data: 4
Number of Decimals: 1
First data
Second data
APPENDIX
222
Appendix 2 Operation Image and Data Structure of Predefined Protocol
Value
Value
Value
Decimal point
position area
Value
Decimal point
position area
Receive
123.4
567.8
Send
First data
Second data
Send
First data
Second data
Data Storage Area
D0
1234 (04D2H)
D1
5678 (162EH)
123.4
567.8
123.4
5.678
Value
Value