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 function ref - 34.36<br />

PID - Proportional Integral Derivative controller<br />

A<br />

PID<br />

PID<br />

PID File PD9:0<br />

<strong>Process</strong> Variable N10:0<br />

<strong>Control</strong> Variable N10:30<br />

Description:<br />

This function calculates a value for a control output based on a feedback<br />

value. When ’A’ is true the instruction will do a PID calculation. In<br />

this example the PID calculation is based on the parameters stored in<br />

’PD9:0’. It will use the setpoint ’PD9:0.SP’, <strong>and</strong> the feedback value<br />

’N10:0’ to calculate a new control output ’N10:30’. The control variables<br />

are normally set using the programming software, although it is<br />

possible to set up this instruction using MOV instructions.<br />

Status Bits:<br />

Registers:<br />

EN<br />

DN<br />

KC<br />

TI<br />

TD<br />

MAXS<br />

MINS<br />

SP<br />

enable - indicates when the input is active<br />

done - this indicates when the instruction is done (not available<br />

when using the ’PD’ control block.<br />

controller gain - the overall gain for the controller<br />

reset time - this gives a relative time for integration<br />

rate time - this gives a relative time for the derivative<br />

maximum setpoint - the largest value for the setpoint<br />

minimum setpoint - the smallest value for the setpoint<br />

setpoint - the setpoint for the process<br />

Note: This is only a partial list, see the manuals for additional<br />

status bits <strong>and</strong> registers.<br />

Available on: PLC-5

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

Saved successfully!

Ooh no, something went wrong!