12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

plc numbers - 13.4<br />

start with decimal number 932<br />

for binary<br />

(base 2)<br />

932<br />

-------- = 466.0<br />

2(0.0) = 0<br />

2<br />

466<br />

-------- = 233.0<br />

2(0.0) = 0<br />

2<br />

233<br />

-------- = 116.5<br />

2(0.5) = 1<br />

2<br />

116<br />

-------- = 58.0<br />

2(0.0) = 0<br />

2<br />

58<br />

----- = 29.0<br />

2(0.0) = 0<br />

2<br />

29<br />

----- = 14.5<br />

2(0.5) = 1<br />

2<br />

done<br />

14<br />

----- = 7.0<br />

2(0.0) = 0<br />

2<br />

7<br />

-- = 3.5<br />

2(0.5) = 1<br />

2<br />

3<br />

-- = 1.5<br />

2(0.5) = 1<br />

2<br />

1<br />

-- = 0.5<br />

2(0.5) = 1<br />

2<br />

1110100100<br />

multiply places after decimal by division<br />

base, in this case it is 2 because of the binary.<br />

* This method works for other number bases also, the divisor <strong>and</strong> multipliers<br />

should be changed to the new number bases.<br />

Figure 13.4<br />

Conversion from Decimal to Binary<br />

Most scientific calculators will convert between number bases. But, it is important<br />

to underst<strong>and</strong> the conversions between number bases. And, when used frequently enough<br />

the conversions can be done in your head.<br />

Binary numbers come in three basic forms - a bit, a byte <strong>and</strong> a word. A bit is a single<br />

binary digit, a byte is eight binary digits, <strong>and</strong> a word is 16 digits. Words <strong>and</strong> bytes are<br />

www.PA<strong>Control</strong>.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!