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 serial - 27.16<br />

5. Write a program that will convert a numerical value stored in F8:0 <strong>and</strong> write it out the RS-232<br />

output on a PLC-5 processor.<br />

27.7 PRACTICE PROBLEM SOLUTIONS<br />

1.<br />

before start data parity stop<br />

2.<br />

ACI<br />

Source ST10:0<br />

Dest N7:0<br />

ACI<br />

Source ST10:1<br />

Dest N7:1<br />

NEQ<br />

Source A 0<br />

Source B N7:1<br />

DIV<br />

Source A N7:0<br />

Source B N7:1<br />

Dest N7:2<br />

AIC<br />

Source N7:2<br />

Dest ST10:2<br />

3. If we assume 9600 baud, for (1start+8data+0parity+1stop)=10 bits/byte we get 960 bytes per<br />

second. If there are only 7 data bits per byte this becomes 9600/9 = 1067 bytes per second.

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

Saved successfully!

Ooh no, something went wrong!