Mitsubishi Electronics FX3G User Manual

Page of 964
154
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
5 How to Specify Devices and Constants to Instructions
5.1 Numeric Values Handled in PLC (Octal, Decimal, Hexadecimal and Real Numbers)
5.1.2
Conversion of numeric values
Numeric values handled in FX PLCs can be converted as shown in the table below:
Major applications
Decimal number (DEC)
Octal number (OCT)
Hexadecimal number 
(HEX)
Binary number (BIN)
BCD
0
0
00
0000
0000
0000
0000
1
1
01
0000
0001
0000
0001
2
2
02
0000
0010
0000
0010
3
3
03
0000
0011
0000
0011
4
4
04
0000
0100
0000
0100
5
5
05
0000
0101
0000
0101
6
6
06
0000
0110
0000
0110
7
7
07
0000
0111
0000
0111
8
10
08
0000
1000
0000
1000
9
11
09
0000
1001
0000
1001
10
12
0A
0000
1010
0001
0000
11
13
0B
0000
1011
0001
0001
12
14
0C
0000
1100
0001
0010
13
15
0D
0000
1101
0001
0011
14
16
0E
0000
1110
0001
0100
15
17
0F
0000
1111
0001
0101
16
20
10
0001
0000
0001
0110
••
••
••
••
••
••
••
99
143
63
0110
0011
1001
1001
••
••
••
••
••
••
••
Decimal number (DEC)
Octal number (OCT)
Hexadecimal number 
(HEX)
Binary number (BIN)
BCD
Constants (K) and
numbers of internal
devices except I/O
relays
Numbers of internal
I/O relays
Constants (H)
Processing inside
PLC
BCD digital switches
and seven-segment
display units