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 basic functions - 15.9<br />

given<br />

A<br />

=<br />

lnB+<br />

e C acos( D)<br />

LN<br />

Source B<br />

Dest. temp_1<br />

XPY<br />

SourceA 2.718<br />

SourceB C<br />

Dest temp_2<br />

ACS<br />

SourceA D<br />

Dest. temp_3<br />

MUL<br />

SourceA temp_2<br />

SourceB temp_3<br />

Dest temp_4<br />

ADD<br />

SourceA temp_1<br />

SourceB temp_4<br />

Dest temp_5<br />

SQR<br />

SourceA temp_5<br />

Dest. A<br />

Figure 15.7<br />

An Equation in Ladder Logic<br />

The same equation in Figure 15.7 could have been implemented with a CPT function<br />

as shown in Figure 15.8. The equation uses the same memory locations chosen in Figure<br />

15.7. The expression is typed directly into the PLC programming software.<br />

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

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

Saved successfully!

Ooh no, something went wrong!