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 basic functions - 15.35<br />

stored in ’thickness_avg’. If button B is pushed, all operations should be complete in a single<br />

scan. Otherwise, only ten values will be calculated each scan. (Note: this means that it will take<br />

10 scans to complete the calculation if A is pushed.)<br />

7. Write <strong>and</strong> simplify a Boolean equation that implements the masked move (MVM) instruction.<br />

The source is S, the mask is M <strong>and</strong> the destination is D.<br />

8. a) Write ladder logic to calculate <strong>and</strong> store the binary sequence in 32 bit integer (DINT) memory<br />

starting at n[0] up to n[200] so that n[0] = 1, n[1] = 2, n[2] = 4, n[3] = 8, n[4] = 16, etc. b)<br />

Will the program operate as expected?<br />

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

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

Saved successfully!

Ooh no, something went wrong!