User data, User's manual – Toshiba T2N User Manual

Page 190

Advertising
background image

3.User Data

User's manual

177

(1)

Unsigned Integer
This is a 16-bit unsigned integer expressed by 1 register. The bit
configuration inside the register is as shown below

Bit 0 is the least significant bit (LSB), and bit F is the most
significant bit (MSB). The processable numerical value ranges
are as shown in the following Table.

When programming and when program monitoring, it is possible to
shift between decimal numbers and hexadecimal numbers for
displaying/setting register data. When using a hexadecimal display,
“H” is attached before the numerical value.
Example) H89AB (hexadecimal 89AB)

(2)

Integer
This is a 16-bit integer expressed by 1 register. A negative
number is expressed by 2’s complements.

The numerical value is expressed by the 15 bits from bit 0 to bit E.
Bit F expresses the sign (0 when positive, 1 when negative)

                   

Register

Register

Bit positions

Sign bit

Data 15 bits

Bit positions

NOTE

Numerical Value

(Decimal)

Binary Expression

Hexadecimal

Expression

65535

1111 1111 1111 1111

FFFF

65534

1111 1111 1111 1110

FFFE

1

0000 0000 0000 0001

0001

0

0000 0000 0000 0000

0000

(MSB)

(LSB)

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

(MSB)

(LSB)

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

Advertising