
5 Function blocks
5.33 TB, table function
264
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
5.33 TB, table function
This function block is available for easy800-SWD from device version 01 and
for easy800 standard devices from device version 07.
The table function block enables you to create and read table entries in the
form of double words (32-bit). The function block works on the memory
stack principle, whereby you can choose to apply the FIFO (first-in-first-out)
or the LIFO (last-in-first-out) principle for read operations. A table can contain
up to 16 double words.
easy800 device allows the use of up to 32 table function blocks.
Contacts and Coils
The data at function block output QV depends on which coil was activated
•
TB..WP: the currently read input value.
•
TB..RF: the first table entry.
•
TB..RL: the last table entry.
Example of a table function block:
Figure 198:Wiring the function block coils
Markers switch the coils of the function block.
Figure 199:Wiring the function block contacts
Function block contacts TE (empty) and TF (full) display an empty or full table
respectively.
Operands are assigned to inputs and outputs in the parameter display.
Contacts
Meaning
TB..TE
Table is empty
TB..TF
Table is full
Coils
Function
TB..EN
Selective activation of the function block
TB..WP
A rising edge at the TB..WP coil transfers the value at input TB..I1 into the table and outputs it at
output QV.
TB..RF
Clears the value entered first from the table and outputs it at output QV.
TB..RL
Clears the most recently entered value from the table and outputs it at output QV.
TB..RE
Clears the table content.
M 10--------------------------
Ä
TB01EN
M 11--------------------------
Ä
TB01WP
M 12--------------------------
Ä
TB01RE
M 13--------------------------
Ä
TB01RF
M 13--------------------------
Ä
TB01RL
TB01TE------------------------
Ä
M2
TB01TF------------------------
Ä
M3