I have some data in a FB.
Said data is visible in the FB's DB.
I would like to have this data in a UDT and then move it to another location periodicaly as an archive of sorts.
I have done it nicely in a slightly different situation and I would like to do it with the UDT.
All the data are reals.
All the data are in the same FB.
All the data are contiguos.
There are 7 real numbers in a FB. I want to save them at regular intervals.
I can do it with just one variable, but I want them all together. I thought I could address a UDT in a DB and just move it with FC20 and FC90. But it just doesn't work.
I want those first 7 variables moved into DB85 as repeated UDTs.
The new one would come in at the top and the oldest would vanish off the end.
FC90 is perfect, but it doesn't like me or the UDTs or both.
Can't even get FC20 to do it.
Said data is visible in the FB's DB.
I would like to have this data in a UDT and then move it to another location periodicaly as an archive of sorts.
I have done it nicely in a slightly different situation and I would like to do it with the UDT.
All the data are reals.
All the data are in the same FB.
All the data are contiguos.
There are 7 real numbers in a FB. I want to save them at regular intervals.
I can do it with just one variable, but I want them all together. I thought I could address a UDT in a DB and just move it with FC20 and FC90. But it just doesn't work.
I want those first 7 variables moved into DB85 as repeated UDTs.
The new one would come in at the top and the oldest would vanish off the end.
FC90 is perfect, but it doesn't like me or the UDTs or both.
Can't even get FC20 to do it.