/ src / emc / nml_intf / emcglb.c
emcglb.c
 1  /********************************************************************
 2  * Description: emcglb.c
 3  *   Globals initialized to values in emccfg.h
 4  *
 5  *   Derived from a work by Fred Proctor & Will Shackleford
 6  *
 7  * Author:
 8  * License: GPL Version 2
 9  * System: Linux
10  *    
11  * Copyright (c) 2004 All rights reserved.
12  *
13  * Last change:
14  ********************************************************************/
15  
16  #include "emcglb.h"		/* these decls */
17  #include "emccfg.h"		/* their initial values */
18  #include "emcpos.h"		/* EmcPose */
19  
20  char emc_inifile[LINELEN] = DEFAULT_EMC_INIFILE;
21  
22  char emc_nmlfile[LINELEN] = DEFAULT_EMC_NMLFILE;
23  
24  char rs274ngc_startup_code[LINELEN] =
25      DEFAULT_RS274NGC_STARTUP_CODE;
26  
27  int emc_debug = 0;		/* initially no debug messages */
28  
29  double emc_task_cycle_time = DEFAULT_EMC_TASK_CYCLE_TIME;
30  
31  double emc_io_cycle_time = DEFAULT_EMC_IO_CYCLE_TIME;
32  
33  int emc_task_interp_max_len = DEFAULT_EMC_TASK_INTERP_MAX_LEN;
34  
35  char tool_table_file[LINELEN] = DEFAULT_TOOL_TABLE_FILE;
36  
37  EmcPose tool_change_position;	/* no defaults */
38  unsigned char have_tool_change_position = 0;	/* default is 'not there' */
39  
40  int taskplanopen = 0;