2 available data, Data types, Numeric value handling by data type – IDEC High Performance Series User Manual

Page 32: Available data -2

Advertising
background image

1 WindO/I-NV2 Specifications

2-2

WindO/I-NV2 User’s Manual

1.2 Available Data

Data types

Data type is the format of the data related to the minimum and maximum values of data that can be processed by a
part and handling of negative and real numbers.
Data types and data ranges that can be used on the MICRO/I and WindO/I-NV2 are listed below.

Numeric value handling by data type

Data stored in devices is handled as described below.

Data type

Required word count

Processable data range

BIN16 (+)

1

0 to 65535

BIN16 (+/-)

1

-32768 to 32767

BIN32 (+)

2

0 to 4294967295

BIN32 (+/-)

2

-2147483648 to 2147483647

BCD4

1

-999 to 9999

BCD8

2

-9999999 to 99999999

float32

2

-3.4x10

38

to -1.18x10

-38

, 0 , 1.18x10

-38

to 3.4x10

38

Data type

Data handling

BIN16 (+)

Data is handled as an unsigned 16-bit integer.

BIN16 (+/-)

Data is handled as an signed 16-bit integer.
If the sign bit (bit 15) is 1, the value is two’s complement.

BIN32 (+)

Handled as an unsigned 32-bit integer with the starting address
as the lower word.

BIN32 (+/-)

Handled as a signed 32-bit integer with the starting address as
the lower word.
If the sign bit (bit 31) is 1, the value is two’s complement.

BCD4

Data is handled as a four digit (16-bit) binary-coded decimal
value.
Each four bits from bit 0 to bit 11 is handled as the absolute
value for the 1st to 3rd digit.
Bit 12 to bit 15 is handled as the minus sign (-) when its value is
F (hex) and it is handled as the absolute value for the 4th digit
when 0 to 9 (hex).

BCD8

Data is handled as an eight digit (32-bit) binary-coded decimal
value.
Each four bits from bit 0 to bit 27 is handled as the absolute
value for the 1st to 7th digit.
Bit 28 to bit 31 is handled as the minus sign (-) when its value is
F (hex) and it is handled as the absolute value for the 8th digit
when 0 to 9 (hex).

bit

bit

15

0

1 word

bit

bit

15

0

1 word

Sign bit

bit
31

bit

0

Upper word

Lower word

bit

0

bit
31

Lower word

Upper word

Sign bit

bit

bit

15

0

1 word

Sign

1st

2nd

3rd

Absolute value

bit

0

bit
31

Absolute value

Lower word

Upper word

Sign

1st

2nd

3rd

4th

5th

6th

7th

Advertising
This manual is related to the following products: