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

FFL, FFU, LFL, LFU - FiFo Load, FiFo Unload, LiFo Load, LiFo Unload<br />

Description:<br />

Status Bits:<br />

A<br />

B<br />

FFL<br />

FIFO LOAD<br />

Source<br />

FIFO<br />

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

Length<br />

N7:0<br />

N7:10<br />

R6:0<br />

10<br />

Stack instructions will take integer words <strong>and</strong> store them, <strong>and</strong> then allow<br />

later retrieval. The load instructions will store a value on the stack on a<br />

false to true input change. The Unload instructions will remove a<br />

value from that stack <strong>and</strong> store it in the Dest location. A Last On First<br />

Off stack will return the last value pushed on. A First On First Off<br />

stack will give the oldest value on the stack. If an attempt to load more<br />

than the stack length, the values will be ignored. The instructions<br />

available are:<br />

FFL - FIFO stack load<br />

FFU - FIFO stack unload<br />

LFL - LIFO stack load<br />

LFU - LIFO stack unload<br />

EN<br />

DN<br />

ER<br />

UL<br />

Registers: none<br />

Available on: Micrologix, PLC-5<br />

Position 0<br />

FFU<br />

FIFO UNLOAD<br />

FIFO N7:10<br />

Dest<br />

N7:11<br />

<strong>Control</strong> R6:0<br />

Length 10<br />

Position 0<br />

Enable - is on when the input to the function is on<br />

Done - is on when the shift operation is complete<br />

Error - indicates when an error has occurred<br />

Unload - the unloaded value is stored in this bit

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

Saved successfully!

Ooh no, something went wrong!