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