Your DB needs to have place to store the data plus two integers: the length (first word) of the FIFO and the number of entries (second word). Both FC84 and FC85 have to point to the firts word of the table, being the length. The data is located from the third word on.
As I stated before: show us what you already have done. Maybe we can help from there on.
Kind regards,
Jean Pierre Vandecandelaere
I now about the two integers but how can I make place for the data to store, and store it ??
What I dit is exactly as the help from S7
FC84:
EN i0.0
DATA W#16#0024
TABLE P#db1.dbx10.0
ENO Q0.0
FC85:
EN I0.1
TABLE P#DB1.DBX10.0
RET_VAL MW2
ENO Q0.2
In the manager I made the DB but I dont no how to make place to store the data