Это старая версия документа.
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
====== promauto.gelios.pass ====== Mодуль управления проходными / выбойными весами (ПромАвтоматика). Используемый протокол - AA55. <code yaml> module.gelios1: netaddr: 1 portnum: 1 enable: off type: promauto.gelios.pass params: Step: 16 WorkState: 17 StopHold: 32 </code> ===== Дополнительные параметры ===== |**paired** |off=обычные весы, on=весы на два продукта | |**params** |дополнительные регистры в виде пар - название тега и адрес | ===== Теги ===== |Crc |см. [[#Crc]] | |SumWeightHigh1 | | |SumWeightLow1 | | |SumNumHigh1 | | |SumNumLow1 | | |CurWeightHigh | | |CurWeightLow | | |State | | |ErrorCode | | |Output |производительность в г/ч. Расчитывается из LastWeight и LastTime | |OutputKg |производительность в кг/ч | |SetCmd |внешнее управление: 0=нет команды, 1=старт, 2=стоп | |SetCmdCtrl |управление: 0=не управлять, 1=внешнее управление тегом SetCmd, 2=стоп, 3=старт | |WesSvrState |флаг работы сервера архивации | ^Теги для режима ''paired=off'' ^^ |LastWeightHigh | | |LastWeightLow | | |LastTimeHigh | | |LastTimeLow | | ^Теги для режима ''paired=on'' ^^ |SumWeightHigh2 | | |SumWeightLow2 | | |SumNumHigh2 | | |SumNumLow2 | | ===== Crc ===== Расчет Crc выполняется по алгоритму Crc8. Исходный для расчета буфер данных формируется из двухбайтовых слов следующих тегов в приведенной последовательности: <code> SumWeightHigh1 SumWeightLow1 SumNumHigh1 SumNumLow1 SumWeightHigh2 SumWeightLow2 SumNumHigh2 SumNumLow2 CurWeightHigh CurWeightLow LastWeightHigh LastWeightLow LastTimeHigh LastTimeLow </code>