Rockwell Automation 1771-QC , D17716.5.25 SER/B SERVO POS User Manual
Page 193

Chapter 8
8Ć32
You can directly convert between hexadecimal and binary as follows:
Binary
Hexadecimal
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Hexadecimal digits 0 thru 9 are the same as decimal digits 0 thru 9.
Therefore, if a word is to contain only a BCD value, you can enter the
decimal digits directly as hexadecimal digits.
If you make an individual selection with each bit of a word, write down
the binary value and convert it to hexadecimal. For example:
binary
1001
1101
0100
0011
converts to hexadecimal
9
D
4
3
If a word is to contain a combination of a BCD value and individual bit
selections:
write down the BCD value
fill in the individual bit selections
convert the combined binary value to hexadecimal
For example, if a word is to have bits 17, 16, and 15 on plus the decimal
value 1972, you would:
write down the BCD value of 1972 as:
_____1 1001 0111 0010
fill in bits 17, 16, and 15 as:
1111 1001 0111 0010
convert it to hexadecimal as:
F 9 7 2