Appendix 4 Data Used In Sequence Programs; Appendix - Mitsubishi Electric Q01UCPU User Manual

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

Appendix 4

The CPU module represents numeric and alphabetic data using two symbols (states): 0 (off) and 1 (on).
Data represented using these two symbols is called binary number (BIN).
The CPU module can also use hexadecimal (HEX) (each hexadecimal digit represents four binary bits), binary-coded
decimal (BCD), or real numbers.
The following table lists the numeric representations of BIN, HEX, BCD, and DEC (decimal).
BIN (Binary)
1001
1010
1
0000
1
0001
10
0111
1111
1111
0111
1111
1111
1000
0000
0000
0000
1000
0000
0000
0001
1111
1111
1111
1111
1111
1111
486
Data Used in Sequence Programs
DEC (Decimal)
0
0
1
1
10
2
11
3
4
5
6
7
8
9
10
1011
11
1100
12
1101
13
1110
14
1111
15
16
17
1111
47
1110
32766
1111
32767
-32768
-32767
1110
-2
1111
-1
HEX (Hexadecimal)
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11
2F
7FFE
7FFF
8000
8001
FFFE
FFFF
BCD (Binary-coded decimal)
1
1
1
1
1
1
1
1
100
-
-
1000
0000
0000
1000
0000
0000
-
-
0
1
10
11
1001
0000
0001
0010
0011
0100
0101
0110
0111
0111
0000
0001

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents