IDEC High Performance Series User Manual
Page 34
![background image](/manuals/350385/34/background.png)
1 WindO/I-NV2 Specifications
2-4
WindO/I-NV2 User’s Manual
Data type
Storing 1234 (hex) in LDR10
Storing F765 (hex) in LDR10
BCD4
The sign is 1 (hex), so the binary-coded decimal
value of the positive number 234 (hex),
handled as 1234 (dec).
The sign is F (hex), so the binary-coded decimal
value of the negative number 765 (hex),
handled as -765 (dec).
Data type
Storing 5678 (hex) in LDR10, 1234 (hex) in
LDR11
Storing F765 (hex) in LDR10, 4321 (hex) in
LDR11
BCD8
The sign is 1 (hex), so the binary-coded decimal
value of the positive number 2345678 (hex),
handled as 12345678 (dec).
The sign is F (hex), so the binary-coded decimal
value of the negative number 7654321 (hex),
handled as -7654321 (dec).
Data type
Storing 0000 (hex) in LDR10, BFA0 (hex) in LDR11
float32
In the data types BIN32 (+), BIN32 (+/-), BCD8, and float32, two words (upper word and lower word) are
used for a single value. The MICRO/I and host device communicate data in device addresses in one word
units, so when the upper word and lower word are sent in separate packets, the value may have already
changed when the data for both words is received, which may cause an unexpected result.
bit
bit
15
0
234 (Hex)
LDR10
+
0001001000110100
bit
bit
15
0
765 (Hex)
LDR10
−
1111011101100101
bit
0
bit
31
2345678 (Hex)
LDR10
LDR11
+
00010010001101000101011001111000
bit
0
bit
31
7654321 (Hex)
LDR10
LDR11
−
0001
0010
0011
0100
0101
0110
0111
1111
bit
bit
22
0
bit
31
bit
23
Exponent
LDR10
LDR11
Sign
Significand
10111111101000000000000000000000
0000 (Hex)
BFA0 (Hex)
1
01000000000000000000000
01111111
2
-2
= 0.25
2
0
+2
1
+2
2
+2
3
+2
4
+2
5
+2
6
= 127
Negative
−1.25Ч2
127-127
= −1.25