Это старая версия документа.
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/handler.php on line 1458
Warning: Declaration of syntax_plugin_tablecalc::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 41
Warning: Declaration of syntax_plugin_tablecalc::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 72
Warning: Declaration of syntax_plugin_offline::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 60
Warning: Declaration of syntax_plugin_offline::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 67
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3416 in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/lexer.php on line 118
====== Функциональные теги ====== Любой из модулей может иметь любое количество функциональных тегов. ===== avg - функция усреднения значения тега за период времени ===== <code yaml> plugin.peripherial: module.W1: descr: promauto.gelios.flow type: modbus tags: - name: CurFlow address: 0x1002 type: int32 access: ro func.tags: CurFlowAvg: func: avg input: CurFlow period: 30_000 </code> В данном примере создается функциональный тег ''CurFlowAvg'', в котором будет вычислятся среднее значение тега ''CurFlow'' за последние 30 секунд. ^Параметр ^Описание ^ | ''**func**'' |''**avg**'' - идентификатор функции | | ''**input**'' |Ссылка на тег входных данных, см. [[doc:jroboplc:refs]] | | ''**period**'' |Период усреднения в миллисекундах | <note>Другие функции будут создаваться по заявкам трудящихся</note>