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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc serial - 27.19<br />

gram. Implement the ladder logic.<br />

FS<br />

“start”<br />

IDLE<br />

“estop”<br />

ACTIVE<br />

“reset”<br />

FAULT<br />

“error”<br />

5. A program is to be written to control a robot through an RS-232c interface. The robot has<br />

already been programmed to respond to two ASCII strings. When the robot receives the string<br />

‘start’ it will move a part from a feeder to a screw machine. When the robot receives an ‘idle’<br />

comm<strong>and</strong> it will become inactive (safe). The PLC has ‘start’ <strong>and</strong> ‘end’ inputs to control the<br />

process. The PLC also has two other inputs that indicate when the parts feeder has parts available<br />

(‘part present’) <strong>and</strong> when the screw machine is done (‘machine idle’). The ‘start’ button<br />

will start a cycle where the robot repeatedly loads parts into the screw machine whenever the<br />

‘machine idle’ input is true. If the ‘part present’ sensor is off (i.e., no parts), or the ‘end’ input<br />

is off (a stop requested), the screw machine will be allowed to finish, but then the process will<br />

stop <strong>and</strong> the robot will be sent the idle comm<strong>and</strong>. Use a structured design method (e.g., state<br />

diagrams) to develop a complete ladder logic program to perform the task.<br />

6. A PLC-5 is connected to a scale that measures weights <strong>and</strong> then sends an ASCII string. The<br />

string format is ‘XXXX.XX’. So a weight of 29.9 grams would result in a string of ‘0029.90’.<br />

The PLC is to read the string <strong>and</strong> then check to see if the weight is between 18.23 <strong>and</strong> 18.95<br />

grams. If it is not then an error output light should be set until a reset button is pushed.

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

Saved successfully!

Ooh no, something went wrong!