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 pid - 25.10<br />

Figure 25.10<br />

A Combined System Model<br />

A proportional control system can be implemented with the ladder logic shown in<br />

Figure 25.11 <strong>and</strong> Figure 25.12. The first ladder logic sections setup <strong>and</strong> read the analog<br />

input value, this is the feedback value.<br />

S2:1/15 - first scan<br />

MOV<br />

Source 0000 0000 0000 0001<br />

Dest N7:0<br />

BT9:0/EN<br />

BT9:1/EN<br />

MOV<br />

Source 0000 0101 0000 0000<br />

Dest N7:2<br />

BTW<br />

Rack: 0<br />

Group: 0<br />

Module: 0<br />

BT Array: BT9:0<br />

Data File: N7:0<br />

Length: 37<br />

Continuous: no<br />

BTR<br />

Rack: 0<br />

Group: 0<br />

Module: 0<br />

BT Array: BT9:1<br />

Data File: N7:37<br />

Length: 20<br />

Continuous: no<br />

Figure 25.11<br />

Implementing a Proportional <strong>Control</strong>ler with Ladder Logic<br />

The control system has a start/stop button. When the system is active B3/0 will be<br />

on, <strong>and</strong> the proportional controller calculation will be performed with the SUB <strong>and</strong> MUL<br />

functions. When the system is inactive the MOV function will set the output to zero. The<br />

last BTW function will continually output the calculated controller voltage.

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

Saved successfully!

Ooh no, something went wrong!