From: John T. <gi...@gi...> - 2011-04-23 19:05:38
|
Docs: add info on starting EMC Signed-off-by: John Thornton <jth...@gn...> http://git.linuxcnc.org/?p=emc2.git;a=commitdiff;h=b451499 --- docs/src/config/ini_config.txt | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/src/config/ini_config.txt b/docs/src/config/ini_config.txt index 06e4afc..651a7aa 100644 --- a/docs/src/config/ini_config.txt +++ b/docs/src/config/ini_config.txt @@ -1,3 +1,24 @@ += Starting EMC + +== Files + +EMC is started with the script file emc. + usage: emc [options] [<ini-file>] + options: + -v = verbose - prints info as it works + -d = echos script commands to screen for debugging + +The emc script file reads the ini file and starts emc. The ini file +[HAL] section specifies the order of loading up hal files if more than +one is used. Once the HAL=xxx.hal files are loaded then the GUI is loaded +then the POSTGUI=.xxx.hal file is loaded. If you create pyvcp objects +with hal pins you must use the postgui hal file to make any connections +to those pins. + +If no ini file is passed to the emc script it loads the configuration picker +so you can choose a sample configuration. + + = Config Files == Files Used for Configuration @@ -10,8 +31,7 @@ gedit or kwrite produce files that are plain text. They also produce lines of text that are separated from each other. A word processor like Open Office produce files with paragraphs and word wrapping and lots of embedded codes that control font size and such. A text editor does none -of this. - ] You'll need to be a bit careful when you edit these files. Some +of this.] You'll need to be a bit careful when you edit these files. Some mistakes will cause the start up to fail. These files are read whenever the software starts up. Some of them are read repeatedly while the CNC is running. @@ -43,7 +63,7 @@ NML:: single computer but can be modified to communicate between several computers. -.emcrc:: +emcrc:: (((.emcrc))) This file saves user specific information and is created to save the name of the directory when the user first selects an EMC configuration.footnote:[Usually this file is in the users home |