Queue Buffer Function Blocks
Function Block Friday: Queue Buffers This week, we’re diving into Buffers as Function Blocks. Buffers are essential elements of many robust systems for ensuring actions and data in asynchronous environments are dealt with. Though simple in concept buffers can be deceptively difficult to code robustly and efficiently, especially for memory-constrained applications. Lucid offers a range of buffer types including First-In-First-Out (FIFO), and Last-In-First-Out (LIFO). Queuing buffers are conventionally modelled as push and pop functions, where push adds an element to…