|
| 1 | += linuxcnc(1) |
| 2 | + |
| 3 | +== NAME |
| 4 | + |
| 5 | +linuxcnc - LinuxCNC (The Enhanced Machine Controller) |
| 6 | + |
| 7 | +== SYNOPSIS |
| 8 | + |
| 9 | +*linuxcnc* [_-h_] [_-v_] [_-d_] [_-r_] [_-l_] [_-k_] [_-t <tpmodulename> |
| 10 | + [parameters]_] [_-m <homemodulename> [parameters]_] [_-H <dirname>_] |
| 11 | + [_INI file_] |
| 12 | + |
| 13 | +== DESCRIPTION |
| 14 | + |
| 15 | +*linuxcnc* is used to start LinuxCNC (The Enhanced Machine Controller). |
| 16 | +It starts the realtime system and then initializes a number of LinuxCNC |
| 17 | +components (IO, Motion, GUI, HAL, etc). The most important parameter is |
| 18 | +_INI file_, which specifies the configuration name you would like to |
| 19 | +run. If _INI file_ is not specified, the *linuxcnc* script presents a |
| 20 | +graphical wizard to let you choose one. |
| 21 | + |
| 22 | +== OPTIONS |
| 23 | + |
| 24 | +*-h*:: |
| 25 | + Shows the help |
| 26 | +*-v*:: |
| 27 | + Be a little bit verbose. This causes the script to print information |
| 28 | + as it works. |
| 29 | +*-d*:: |
| 30 | + Print lots of debug information. All executed commands are echoed to |
| 31 | + the screen. This mode is useful when something is not working as it |
| 32 | + should. |
| 33 | +*-r*:: |
| 34 | + Disable redirection of stdout and stderr to ~/linuxcnc_print.txt and |
| 35 | + ~/linuxcnc_debug.txt when stdin is not a tty. Used when running |
| 36 | + linuxcnc tests non-interactively. |
| 37 | +*-l*:: |
| 38 | + Use the last-used INI file without prompting. This is often a good |
| 39 | + choice for a shortcut command or startup item. |
| 40 | +*-k*:: |
| 41 | + Continue in the presence of errors in HAL files |
| 42 | +*-t <tpmodulename> [parameters]*:: |
| 43 | + Specify custom trajectory_planning_module overrides optional INI |
| 44 | + setting [TRAJ]TPMOD |
| 45 | +*-m <homemodulename> [parameters]*:: |
| 46 | + Specify custom homing_module overrides optional INI setting |
| 47 | + [EMCMOT]HOMEMOD |
| 48 | +*-H <dirname>*:: |
| 49 | + Search dirname for HAL files before searching INI directory and system |
| 50 | + library: $HALLIB_DIR |
| 51 | +*<INIFILE>*:: |
| 52 | + The INI file is the main piece of a LinuxCNC configuration. It is not |
| 53 | + the entire configuration; there are various other files that go with |
| 54 | + it (NML files, HAL files, TBL files, VAR files). It is, however, the |
| 55 | + most important one, because it is the file that holds the |
| 56 | + configuration together. It can adjust a lot of parameters itself, but |
| 57 | + it also tells *linuxcnc* which other files to load and use. |
| 58 | + |
| 59 | +There are several ways to specify which config to use: |
| 60 | + |
| 61 | +Specify the absolute path to an INI, e.g., + |
| 62 | +*linuxcnc* _/usr/local/linuxcnc/configs/sim/sim.ini_ |
| 63 | + |
| 64 | +Specify a relative path from the current directory, e.g. + |
| 65 | +*linuxcnc* _configs/sim/sim.ini_ |
| 66 | + |
| 67 | +Otherwise, in the case where the *INIFILE* is not specified, the |
| 68 | +behavior will depend on whether you configured LinuxCNC with |
| 69 | +*--enable-run-in-place*. If so, the LinuxCNC config chooser will search |
| 70 | +only the configs directory in your source tree. If not (or if you are |
| 71 | +using a packaged version of LinuxCNC), it may search several |
| 72 | +directories. The config chooser is currently set to search the path: |
| 73 | + |
| 74 | +.... |
| 75 | +@LINUXCNC_CONFIG_PATH@ |
| 76 | +.... |
| 77 | + |
| 78 | +== EXAMPLES |
| 79 | + |
| 80 | +*linuxcnc* |
| 81 | + |
| 82 | +*linuxcnc* _configs/sim/sim.ini_ |
| 83 | + |
| 84 | +*linuxcnc* _/etc/linuxcnc/sample-configs/stepper/stepper_mm.ini_ |
| 85 | + |
| 86 | +== SEE ALSO |
| 87 | + |
| 88 | +*halcmd(1)* |
| 89 | + |
| 90 | +Much more information about LinuxCNC and HAL is available in the |
| 91 | +LinuxCNC and HAL User Manuals, found at /usr/share/doc/linuxcnc/. |
| 92 | + |
| 93 | +Web: https://www.linuxcnc.org/ |
| 94 | + |
| 95 | +User forum: https://forum.linuxcnc.org/ |
| 96 | + |
| 97 | +== BUGS |
| 98 | + |
| 99 | +None known at this time. |
| 100 | + |
| 101 | +== AUTHOR |
| 102 | + |
| 103 | +This man page written by Alex Joni, as part of the LinuxCNC Enhanced |
| 104 | +Machine Controller project. |
| 105 | + |
| 106 | +== REPORTING BUGS |
| 107 | + |
| 108 | +Please report any bugs at https://github.com/LinuxCNC/. |
| 109 | + |
| 110 | +== COPYRIGHT |
| 111 | + |
| 112 | +Copyright © 2003- The LinuxCNC authors. |
| 113 | + |
| 114 | +This is free software; see the source for copying conditions. There is |
| 115 | +NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 116 | +PURPOSE. |
0 commit comments