https://controlwiki.com/index.php?title=PLC_Archive:Derivative_Calculation&feed=atom&action=historyPLC Archive:Derivative Calculation - Revision history2024-03-28T22:55:58ZRevision history for this page on the wikiMediaWiki 1.15.1https://controlwiki.com/index.php?title=PLC_Archive:Derivative_Calculation&diff=537&oldid=prevCwiki: Created page with '{{PLC Archive | page_title=Derivative Calculation | author_name=Simone Stefani | program_filename=derivate.pdf | abstract=This function calculates the 1st derivative of [Input_va…'2009-09-21T02:41:28Z<p>Created page with '{{PLC Archive | page_title=Derivative Calculation | author_name=Simone Stefani | program_filename=derivate.pdf | abstract=This function calculates the 1st derivative of [Input_va…'</p>
<p><b>New page</b></p><div>{{PLC Archive<br />
| page_title=Derivative Calculation<br />
| author_name=Simone Stefani<br />
| program_filename=derivate.pdf<br />
| abstract=This function calculates the 1st derivative of [Input_value]. The derivative is calculated on 20 samples of [Input_value] - the samples are taken each time [CLK] is TRUE. The output value is the sum of the 1st 10 samples with 2nd 10 samples.<br />
<br />
Parameters:<br />
*[Input_value]: Value to derive <br />
*[Reset]: This command resets the act derive value. The calculation restarts when all the items of samples array are refreshed. <br />
*[Derive_spl_CMD]: Timing step. The samples are taken when [Derive_spl_CMD] = TRUE <br />
*[Derive_value]: Derivated output value<br />
*[Enable]: This output is energized when the calculation of act value is finished<br />
*[Samples]: Samples container.<br />
*[Nr_samples]: # of samples to take for calculation <br />
*[Derive_calc_ON]: System variable<br />
*[Nr_of_shf]: System variable<br />
*[Loop]: System variable<br />
*[Index]: System variable<br />
*[Prev_sum]: System variable<br />
*[Next_sum]: System variable<br />
*[Dummy_bit_1]: System variable<br />
*[Calc_ON]: System variable<br />
*[Init_end]: System variable<br />
<br />
}}</div>Cwiki