Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
doc:jroboplc:consolecmd [2016/12/23 08:14] denis |
doc:jroboplc:consolecmd [2025/03/26 16:47] (текущий) denis |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| ====== Команды консоли ====== | ====== Команды консоли ====== | ||
| - | Актуальный перечень команд консоли можно получить в самой консоли командой ''h''. | + | Актуальный перечень команд консоли можно получить в самой консоли командой **''h''**. Вывод зависит от состава подключенных плагинов. |
| - | <code> | + | |
| + | Пример вывода командой **''h''**: | ||
| + | <code> | ||
| + | run>h | ||
| General format: | General format: | ||
| <comand> common command | <comand> common command | ||
| Строка 10: | Строка 12: | ||
| Common commands: | Common commands: | ||
| ansi off|on turns off/on ansi colors | ansi off|on turns off/on ansi colors | ||
| + | appname application name | ||
| + | check [mod filter] checks internal errors of the modules | ||
| + | gc starts garbage collector | ||
| h shows this help | h shows this help | ||
| i [mod] module info | i [mod] module info | ||
| + | l [mod|filter] list tags filtered with regex | ||
| + | lb list the previous page | ||
| + | lf list the next page | ||
| + | ll list the last page again | ||
| load plg mod loads new module | load plg mod loads new module | ||
| quit stop and exit | quit stop and exit | ||
| reload [mod1 mod2 ...] reloads modules. Can be used while running | reload [mod1 mod2 ...] reloads modules. Can be used while running | ||
| remove mod unloads existing module | remove mod unloads existing module | ||
| - | st mod tag val set tag value | + | st mod tag val sets a new value to a tag |
| start start tasks | start start tasks | ||
| state load|save [mod1 ...] loads or saves state of modules to file | state load|save [mod1 ...] loads or saves state of modules to file | ||
| stop stop tasks | stop stop tasks | ||
| - | tl .|limit n|filter shows tags: | + | stx mod tag val sets a new value to a group of tags, where mod and tag are regex expressions |
| - | Continue from showed tag, ex: tl . | + | susp [off|on] mod switches suspend mode for a module |
| - | Set list limit (default is 1000), ex: tl limit 20 | + | tl [[mod] tagname] list tags filtered with regex by module/tagname |
| - | Filtering, ex: tl mymod.* .*[E,e]rror.* | + | version shows version of the core |
| peripherial: | peripherial: | ||
| - | m:debugInfoError on|off turns on/off info on errors | + | m:logerror cnt sets logerror counter value |
| - | + | ||
| - | rpclient: | + | |
| - | m:debugInfoWrite on|off turns on/off info on writing tags | + | |
| rpsvrtcp: | rpsvrtcp: | ||
| Строка 39: | Строка 45: | ||
| p:check [mod ...] checks and shows errors | p:check [mod ...] checks and shows errors | ||
| p:test for developers | p:test for developers | ||
| + | |||
| + | serial: | ||
| + | m:disable all|port disables for all ports or for one port if specified | ||
| + | m:enable all|port enables for all ports or for one port if specified | ||
| + | |||
| + | tagsaver: | ||
| + | m:load filename load tag values from a file | ||
| tcpserver: | tcpserver: | ||