706414/00
Page 14 of 14
© ifm efector gmbh
6 Other:
Byte:
1 2 3 4
Word 1:
8 0 0 0
0 0 0 0
HEX coding
Word 0:
Bit: 1000 0000 0000 0000
0000 0000 0000 0000 BINARY
CODING
Bit numbers:31…28 27…24
23…20
19...16 15…12
11…8
7…4
3…0
Example decimal to binary:
8 bits = 1 byte
=
octet
16bits = 2 bytes
=
word
32bits = 4 bytes
=
double word
(DWORD)
64bits = 8 bytes
=
quadruple word (L
ong
WORD)
31
0
Word 1
Double word
15
Word 0
Multiturn Singleturn