Hex (Hexadecimal) - Mitsubishi Electric MELSEC-Q Series User Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

4 SEQUENCE PROGRAM CONFIGURATION & EXECUTION
CONDITIONS

4.8.2 HEX (Hexadecimal)

4 - 23
(1) Hexadecimal notation
In the hexadecimal system, 4 bits of binary data are expressed by 1 digit.
4 bits of binary data can express 16 values (0 to 15).
In the hexadecimal system, values from 0 to 15 are expressed by 1 digit.
This is accomplished by using alphabetic characters following "9", with a carry
occurring after "F", as follows:
A comparison of binary, hexadecimal, and decimal numeric expressions is shown
in Table 4.3 below.
Table 4.3 Comparison of BIN, HEX, and DEC Numeric Expressions
DEC (Decimal)
0
1
2
3
9
10
11
12
13
14
15
16
17
47
(2) Hexadecimal numeric expression
Basic model QCPU registers (data registers, link registers, etc.) consist of 16
bits.
Therefore, as expressed in hexadecimal code, the numeric value range which
can be stored is 0 to FFFF
HEX (Hexadecimal)
0
1
2
3
9
A
B
C
D
E
F
10
11
2F
.
H
MELSEC-Q
BIN (Binary)
0
1
10
11
1001
1010
1011
1100
1101
1110
1111
Carry
1 0000
1 0001
10 1111
4 - 23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qcpuMelsec q00jcpuMelsec q00cpuMelsec q01cpu

Table of Contents