FB_FiFo and FB_LiFo: Register Function Block
The register function block in EcoStruxure Machine Expert - Basic has 2 types:
oQueue (FIFO)
oStack (LIFO)
The following graphics show the pin diagrams of the function blocks FB_FiFo and FB_LiFo:
The table describes the input / output variables of the function block in the TwidoEmulationSupport library:
Input / Output |
Data Type |
Description |
---|---|---|
iq_iInput |
INT |
Input word (read and write variable) |
iq_iOutput |
INT |
Output word (read and write variable) |
The table describes the input variables of the function block in the TwidoEmulationSupport library:
Input |
Data Type |
Description |
---|---|---|
i_xReset |
BOOL |
Reset input initializes the register at state = 1 |
i_xStorage |
BOOL |
The storage input stores the contents in the register, on a rising edge. |
i_xRetrieve |
BOOL |
The retrieval input loads a data word of the register, on a rising edge. |
The table describes the output variables of the function block in the TwidoEmulationSupport library:
Output |
Data Type |
Description |
---|---|---|
q_xEmpty |
BOOL |
This output indicates that the register is empty. |
q_xFull |
BOOL |
This output indicates that the register is full. |