![background image](http://html1.mh-extra.com/html/eaton/easye4-series/easye4-series_manual_3910990338.webp)
6. Function blocks
6.1 Manufacturer function blocks
6.1.5.6 TB - Table function
General
easyE4 base devices provide 32 table function function blocks,
TB01 through TB32.
The table function block allows you to easily create and read
table entries in the form of double words (32 bit).
You can select a LIFO or FIFO function for read operations.
A table can contain up to 16 double words.
Operating principle
Writing to a table
The function block is enabled when EN=1. When the function block is enabled and there
is a rising edge at the function block input, the current value at function block input I1
will be added to the table. Every time there is an edge, a double word (32 bits) will be
assigned a value.
It is permissible to simultaneously activate the EN coil and the WP coil with a rising
edge.
Every new table entry will be appended after the last entry until the sixteenth entry is
reached. At the same time, function block output QN will be incremented by 1. QN indic-
ates the current number of entries. If I1 is added successfully, the input value that was
just entered will be output at function block output QV.
Once the maximum number of 16 table entries is reached, no more data will be added to
the table. If you want to keep making table entries in this scenario, you will first need to
clear the entire table with a rising edge at function block input RE. Function block output
QN will be set to 0 in this case.
Reading from the table
A table can be read from the table's beginning or end.
When there is a rising edge at the RF coil, the oldest value in the table will be read and
output at output QV (FIFO function).
The read operation deletes this value from the table and the actual number of entries is
decremented by 1 at the QN output.
A rising edge at the RL coil causes the most recent value entered in the table to be out-
put at QV (LIFO function).
The read operation deletes this value from the table and the actual number of entries is
decremented by 1 at the QN output.
334
easyE4
11/18 MN050009 EN www.eaton.com
Содержание easyE4 series
Страница 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Страница 4: ......
Страница 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Страница 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Страница 40: ...1 easyE4 control relays description 1 10 Safety regulations 36 easyE4 11 18 MN050009 EN www eaton com...
Страница 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Страница 462: ...6 Function blocks 6 4 Timing and counter relay example 458 easyE4 11 18 MN050009 EN www eaton com...
Страница 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Страница 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Страница 524: ...10 Diagnostics messages of the operating system 10 2 Diagnostics buffer 520 easyE4 11 18 MN050009 EN www eaton com...
Страница 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Страница 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Страница 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Страница 594: ...590 easyE4 11 18 MN050009 EN www eaton com...
Страница 614: ...610 easyE4 11 18 MN050009 EN www eaton com...