Appendix J Hexadecimal To Decimal Representation; Conversion Guide - ABB Advant Controller 450 User Manual

Advant ocs with master software
Hide thumbs Also See for Advant Controller 450:
Table of Contents

Advertisement

Appendix J Hexadecimal to Decimal Representation

J.1 Conversion Guide
3BSE 002 415R701 Rev A
An explanation of the difference between notation systems is necessary to avoid confusion.
The decimal system is that commonly used but binary and hexadecimal notation systems are
often used in computers. The decimal notation system uses the digits 0 - 9, the binary system
0 - 1, the hexadecimal system 0 - 9 and the letters A - F where A represents 10, B represents 11,
C represents 12, D represents 13, E represents 14 and F represents 15. The examples below are
intended to explain the structure of the notation systems.
Decimal notation:
3
2
1090 = 1 * 10
+ 0 * 10
Binary notation:
3
2
1010 = 1 * 2
+ 0 * 2
+ 1* 2
Hexadecimal notation:
3
2
1099 = 1 * 16
+ 0 * 16
3
A09B = 10 * 16
+ 0 * 16
From the examples above, it is seen that each position in a number corresponds to the value
times the base (2, 10, 16) raised to the power corresponding to its position in the number.
In the Advant Controller 400 Series, numbers in hexadecimal notation are identified by an
introductory H'. Decimal notation is used otherwise.
Examples:
H'0000357A
00003578
The following shows a table for rapid conversion of up to four-figure hexadecimal numbers.
If the number contains more figures, the value can be calculated in accordance with the
examples above.
For example:
H'257E = 8192 + 1280 + 112 + 14
1
0
+ 9 * 10
+ 0 * 10
= 1090
1
0
+ 0* 2
= 10 (dec)
1
0
+ 9 * 16
+ 9 * 16
= 4249 (dec)
2
1
0
+ 9 * 16
+ 11* 16
= 41115 (dec)
Hexadecimal
Decimal
®
Advant
Controller 450 User's Guide
Section J.1 Conversion Guide
J-1

Advertisement

Table of Contents
loading

Table of Contents