СИНОПСИС
rs274 [-p interp.so] [-t tool.tbl] [-v var-file.var] [-n 0|1|2] [-b] [-s] [-g] [ input_file [output_file] ]
ОПИСАНИЕ
rs274 Standalone G-code interpreter interface
Использование: rs274 [-p interp.so] [-t tool.tbl] [-v var-file.var] [-n 0|1|2] [-b] [-s] [-g] [input file [output file]]
ОПЦИИ
- -p
-
Укажите подключаемый интерпретатор для использования
- -t
-
Specify the .tbl (tool table) file to use
- -v
-
Specify the .var (parameter) file to use
- -n
-
Specify the continue mode:
0: continue
1: enter MDI mode
2: stop (default) - -b
-
Toggle the block delete flag (default: OFF)
- -s
-
Toggle the print stack flag (default: OFF)
- -g
-
Toggle the go (batch mode) flag (default: OFF)
- -i
-
specify the .ini file (default: no ini file)
- -T
-
call task_init()
- -l
-
specify the log_level (по умолчанию: -1)
EXAMPLE
Например, чтобы увидеть результат цикла, мы можем запустить rs274 со следующим файлом и увидеть, что цикл никогда не заканчивается. Чтобы выйти из цикла, используйте Ctrl Z. Для запуска примера необходимы следующие два файла.
FIXME: Some good soul please fix the whitespace for the examples below
test.ngc
#<test> = 123.352 o101 while [[#<test> MOD 60 ] NE 0] (debug,#<test>) #<test> = [#<test> + 1] 101 endwhile M2
test.tbl
T1 P1 Z0.511 D0.125 ;1/8 концевая фреза T2 P2 Z0.1 D0.0625 ;1/16 концевая фреза T3 P3 Z1.273 D0.201 ;#7 сверло под резьбу
command
rs274 -g test.ngc -t test.tbl
СМОТРИТЕ ТАКЖЕ
linuxcnc(1)
Much more information about LinuxCNC and HAL is available in the LinuxCNC and HAL User Manuals, found at /usr/share/doc/LinuxCNC/.
BUGS
None known at this time.
АВТОР
This man page written by Andy Pugh, as part of the LinuxCNC project.
СООБЩЕНИЕ ОБ ОШИБКАХ
Сообщайте об ошибках по адресу https://github.com/LinuxCNC/linuxcnc/issues.
АВТОРСКОЕ ПРАВО
Copyright © 2020 Andy Pugh.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.