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

4.<br />

Assume the values:<br />

update<br />

N7:0 = Analog input value<br />

N7:1 = Analog output value<br />

N7:2 = Setpoint<br />

MOV<br />

Source F8:4<br />

Dest F8:5<br />

MOV<br />

Source F8:3<br />

Dest F8:4<br />

SUB<br />

Source A N7:2<br />

Source B N7:0<br />

Dest F8:3<br />

F8:0 = Kp<br />

F8:1 = Kd<br />

F8:2 = Ki<br />

F8:3 = ei<br />

F8:4 = ei-1<br />

F8:5 = ei-2<br />

F8:6 = T (Scan Time)<br />

CPT<br />

Dest F8:10<br />

Expression<br />

CPT<br />

Dest F8:11<br />

Expression<br />

CPT<br />

Dest F8:12<br />

Expression<br />

"F8:0 + F8:2 * F8:6 + F8:1 | F8:6"<br />

"-F8:0-2*F8:1|F8:6"<br />

"F8:1 | F8:6"<br />

CPT<br />

Dest N7:1<br />

Expression<br />

"N7:1+F8:3*F8:10+F8:4*F8:11+F8:5*F8:12"<br />

5. Logical control is more popular because the system is more controllable. This means either<br />

happen, or they don’t happen. If a system requires a continuous control system then it will tend<br />

to be unstable, <strong>and</strong> even when controlled a precise values can be hard to obtain. The need for<br />

control also implies that the system requires some accuracy, thus the process will tend to vary,<br />

<strong>and</strong> be a source of quality control problems.

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

Saved successfully!

Ooh no, something went wrong!