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 advanced functions - 16.5<br />

A<br />

FFL<br />

source word_in<br />

FIFO stack[0]<br />

<strong>Control</strong> c<br />

length 5<br />

position 0<br />

B<br />

FFU<br />

FIFO stack[0]<br />

destination word_out<br />

<strong>Control</strong> c<br />

length 5<br />

position 0<br />

Figure 16.4<br />

FIFO Stack Instructions<br />

The LIFO stack comm<strong>and</strong>s are shown in Figure 16.5. As values are loaded on the<br />

stack the will be added sequentially stack[0], stack[1], stack[2], stack[3] then stack[4].<br />

When values are unloaded they will be taken from the last loaded position, so if the stack<br />

is full the value of stack[4] will be removed first.<br />

A<br />

B<br />

LFL<br />

source word_in<br />

LIFO stack[0]<br />

<strong>Control</strong> c<br />

length 5<br />

position 0<br />

LFU<br />

LIFO stack[0]<br />

destination word_out<br />

<strong>Control</strong> c<br />

length 5<br />

position 0<br />

Figure 16.5<br />

LIFO Stack Comm<strong>and</strong>s<br />

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

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

Saved successfully!

Ooh no, something went wrong!