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.18<br />

5.<br />

MOV<br />

Source F8:0<br />

Dest N7:0<br />

AIC<br />

Source N7:0<br />

Dest ST9:0<br />

R6:0/EN<br />

AWT<br />

ASCII WRITE<br />

Channel<br />

Source<br />

<strong>Control</strong><br />

String Length<br />

Characters Sent<br />

0<br />

ST9:0<br />

R6:0<br />

5<br />

27.8 ASSIGNMENT PROBLEMS<br />

1. Describe an application of ASCII communications.<br />

2. Write a ladder logic program to output an ASCII warning message on channel 1 when the value<br />

in N7:0 is less than 10, or greater than 20. The message should be "out of temp range".<br />

3. Write a program that will send an ASCII message every minute. The message should begin<br />

with the word ‘count’, followed by a number. The number will be 1 on the first scan of the<br />

PLC, <strong>and</strong> increment once each minute.<br />

4. A PLC will be controlled by ASCII comm<strong>and</strong>s received through the RS-232C communications<br />

port. The comm<strong>and</strong>s will cause the PLC to move between the states shown in the state dia-<br />

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

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

Saved successfully!

Ooh no, something went wrong!