You are not logged in.
Pages: 1
Topic closed
I’m having a little trouble understanding the TRND block. More specifically the relationship between parameters “l” and “pfac”. I understand ”l” is the memory space reserved for samples for each trend buffer (i.e. ptype1-4). So what does “pfac” do? Is it the sample time in seconds? I.e. a sample is taken every “pfac” seconds?
Thanks in advance!
Offline
Parameter "pfac" has 2 meanings according to "ptypei":
If "ptypei": 1 (No processing, just storing data) the "pfac" parameter is a factor. I.e. data are stored every "pfac" * "Ts" seconds ("Ts" is period of TRND execution in seconds).
On the other hand, if "ptypei" > 1 the "pfac" parameter means number of last samples to be processed (Minimum, Maximum, Sum, ...).
Offline
Pages: 1
Topic closed