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 il - 18.8<br />

value.<br />

I:001/0<br />

TON<br />

Timer T4:0<br />

Delay 5s<br />

ADD<br />

SourceA 3<br />

SourceB T4:0.ACC<br />

Dest N7:0<br />

START:LD I:001/0<br />

TON(T4:0, 1.0, 5, 0)<br />

LD 1<br />

ADD (3, T4:0.ACC, N7:0)<br />

END<br />

Figure 18.6<br />

A Complex Ladder Rung <strong>and</strong> Equivalent IL<br />

An example of an instruction language subroutine is shown in Figure 18.7. This<br />

program will examine a BCD input on card I:000, <strong>and</strong> if it becomes higher than 100 then 2<br />

seconds later output O:001/00 will turn on.<br />

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

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

Saved successfully!

Ooh no, something went wrong!