Introduction to Industrial Automation


Figure A.7  Conversion of an octal number to a decimal



Download 43,9 Mb.
Pdf ko'rish
bet417/440
Sana01.01.2022
Hajmi43,9 Mb.
#294756
1   ...   413   414   415   416   417   418   419   420   ...   440
Bog'liq
Introduction to Industrial Automation by Stamatios Manesis, George

Figure A.7  Conversion of an octal number to a decimal.

Octal number

2 5 7

Binary


number

0 1


1

1

1 1 1



0

0

2



8

Figure A.8  Conversion of an octal number to binary.


Appendix A 



 



415

A.6   Hexadecimal Arithmetic System

Another arithmetic system that is widely used in PLCs and PCs is the hexadecimal arithmetic 

system, also often referred to as HEX. This system has a base 16, which means that it uses 16-digit 

symbols that take decimal values from 0 to 15. But because it will create confusion if a hexadeci-

mal digit consisted of two numbers, the digits from 10 to 15 are represented by the letters of the 

alphabet A to F, as shown in Table A.1. For example, the hypothetical number 15

16

 is not clear 



what expresses, because may be the hexadecimal 15 (equivalent decimal value 15) or two discrete 

digits, the hexadecimal 1 and the hexadecimal 5, which have an equivalent decimal value of 21. 

Although the use of letters in the hexadecimal system seems complicated at first sight, the hexa-

decimal code is the most appropriate for the digital representation of numbers. The reason is that 

it is possible with two hexadecimal digits to represent all the decimal numbers from 0 to 255 (0 to 

FF), while in a binary arithmetic system 8 binary bits or 1 byte are required.

The position weighting values of the hexadecimal system are derived in a similar way to that 

applied to binary and decimal systems. Starting from the first right position with the null power 

value of 16 (16

0

), the value at each position of a hexadecimal digit rises to the left of the LSB by 



a power of 16. Converting a decimal number to a hexadecimal one becomes with subsequent 


Download 43,9 Mb.

Do'stlaringiz bilan baham:
1   ...   413   414   415   416   417   418   419   420   ...   440




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish