Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

emcglb.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define EMC_AXIS_MAX   8
#define EMC_INIFILE_LEN   256
#define EMC_NMLFILE_LEN   256
#define DEFAULT_RS274NGC_STARTUP_CODE   ""
#define RS274NGC_STARTUP_CODE_MAX   256
#define EMC_DEBUG_INVALID   0x00000001
#define EMC_DEBUG_CONFIG   0x00000002
#define EMC_DEBUG_DEFAULTS   0x00000004
#define EMC_DEBUG_VERSIONS   0x00000008
#define EMC_DEBUG_TASK_ISSUE   0x00000010
#define EMC_DEBUG_IO_POINTS   0x00000020
#define EMC_DEBUG_NML   0x00000040
#define EMC_DEBUG_MOTION_TIME   0x00000080
#define EMC_DEBUG_INTERP   0x00000100
#define EMC_DEBUG_RCS   0x00000200
#define EMC_DEBUG_TRAJ   0x00000400
#define EMC_DEBUG_INTERP_LIST   0x00000800
#define EMC_DEBUG_ALL   0x7FFFFFFF
#define TOOL_TABLE_FILE_LEN   256
#define DEFAULT_EMCLOG_INCLUDE_HEADER   (1)

Functions

int emcGetArgs (int argc, char *argv[])
void emcInitGlobals ()

Variables

char EMC_INIFILE [EMC_INIFILE_LEN]
char EMC_NMLFILE [EMC_NMLFILE_LEN]
char RS274NGC_STARTUP_CODE [RS274NGC_STARTUP_CODE_MAX]
int EMC_DEBUG
double EMC_TASK_CYCLE_TIME
double EMC_IO_CYCLE_TIME
char TOOL_TABLE_FILE [TOOL_TABLE_FILE_LEN]
double TRAJ_DEFAULT_VELOCITY
double TRAJ_MAX_VELOCITY
double AXIS_MAX_VELOCITY [EMC_AXIS_MAX]
double SPINDLE_OFF_WAIT
double SPINDLE_ON_WAIT
int ESTOP_SENSE_INDEX
int LUBE_SENSE_INDEX
int ESTOP_SENSE_POLARITY
int LUBE_SENSE_POLARITY
int SPINDLE_ON_INDEX
int SPINDLE_FORWARD_INDEX
int SPINDLE_REVERSE_INDEX
int SPINDLE_BRAKE_INDEX
int SPINDLE_DECREASE_INDEX
int SPINDLE_INCREASE_INDEX
int SPINDLE_ENABLE_INDEX
int MIST_COOLANT_INDEX
int FLOOD_COOLANT_INDEX
int ESTOP_WRITE_INDEX
int LUBE_WRITE_INDEX
int SPINDLE_FORWARD_POLARITY
int SPINDLE_REVERSE_POLARITY
int MIST_COOLANT_POLARITY
int FLOOD_COOLANT_POLARITY
int SPINDLE_DECREASE_POLARITY
int SPINDLE_INCREASE_POLARITY
int ESTOP_WRITE_POLARITY
int SPINDLE_BRAKE_POLARITY
int SPINDLE_ENABLE_POLARITY
int LUBE_WRITE_POLARITY
int EMCLOG_INCLUDE_HEADER
int taskplanopen


Define Documentation

#define DEFAULT_EMCLOG_INCLUDE_HEADER   (1)
 

Definition at line 109 of file emcglb.h.

#define DEFAULT_RS274NGC_STARTUP_CODE   ""
 

Definition at line 39 of file emcglb.h.

#define EMC_AXIS_MAX   8
 

Definition at line 31 of file emcglb.h.

#define EMC_DEBUG_ALL   0x7FFFFFFF
 

Definition at line 62 of file emcglb.h.

#define EMC_DEBUG_CONFIG   0x00000002
 

Definition at line 51 of file emcglb.h.

#define EMC_DEBUG_DEFAULTS   0x00000004
 

Definition at line 52 of file emcglb.h.

#define EMC_DEBUG_INTERP   0x00000100
 

Definition at line 58 of file emcglb.h.

#define EMC_DEBUG_INTERP_LIST   0x00000800
 

Definition at line 61 of file emcglb.h.

#define EMC_DEBUG_INVALID   0x00000001
 

Definition at line 50 of file emcglb.h.

#define EMC_DEBUG_IO_POINTS   0x00000020
 

Definition at line 55 of file emcglb.h.

#define EMC_DEBUG_MOTION_TIME   0x00000080
 

Definition at line 57 of file emcglb.h.

#define EMC_DEBUG_NML   0x00000040
 

Definition at line 56 of file emcglb.h.

#define EMC_DEBUG_RCS   0x00000200
 

Definition at line 59 of file emcglb.h.

#define EMC_DEBUG_TASK_ISSUE   0x00000010
 

Definition at line 54 of file emcglb.h.

#define EMC_DEBUG_TRAJ   0x00000400
 

Definition at line 60 of file emcglb.h.

#define EMC_DEBUG_VERSIONS   0x00000008
 

Definition at line 53 of file emcglb.h.

#define EMC_INIFILE_LEN   256
 

Definition at line 33 of file emcglb.h.

#define EMC_NMLFILE_LEN   256
 

Definition at line 36 of file emcglb.h.

#define RS274NGC_STARTUP_CODE_MAX   256
 

Definition at line 40 of file emcglb.h.

#define TOOL_TABLE_FILE_LEN   256
 

Definition at line 68 of file emcglb.h.


Function Documentation

int emcGetArgs int    argc,
char *    argv[]
 

Referenced by main().

void emcInitGlobals  
 

Definition at line 97 of file emcglb.c.

00098 {
00099   int t;
00100 
00101   for (t = 0; t < EMC_AXIS_MAX; t++) {
00102     AXIS_MAX_VELOCITY[t] = DEFAULT_AXIS_MAX_VELOCITY;
00103   }
00104 }


Variable Documentation

double AXIS_MAX_VELOCITY[EMC_AXIS_MAX]
 

Definition at line 74 of file emcglb.h.

int EMCLOG_INCLUDE_HEADER
 

Definition at line 110 of file emcglb.h.

int EMC_DEBUG
 

Definition at line 49 of file emcglb.h.

char EMC_INIFILE[EMC_INIFILE_LEN]
 

Definition at line 34 of file emcglb.h.

double EMC_IO_CYCLE_TIME
 

Definition at line 66 of file emcglb.h.

char EMC_NMLFILE[EMC_NMLFILE_LEN]
 

Definition at line 37 of file emcglb.h.

double EMC_TASK_CYCLE_TIME
 

Definition at line 64 of file emcglb.h.

int ESTOP_SENSE_INDEX
 

Definition at line 79 of file emcglb.h.

int ESTOP_SENSE_POLARITY
 

Definition at line 82 of file emcglb.h.

int ESTOP_WRITE_INDEX
 

Definition at line 95 of file emcglb.h.

int ESTOP_WRITE_POLARITY
 

Definition at line 104 of file emcglb.h.

int FLOOD_COOLANT_INDEX
 

Definition at line 94 of file emcglb.h.

int FLOOD_COOLANT_POLARITY
 

Definition at line 101 of file emcglb.h.

int LUBE_SENSE_INDEX
 

Definition at line 80 of file emcglb.h.

int LUBE_SENSE_POLARITY
 

Definition at line 83 of file emcglb.h.

int LUBE_WRITE_INDEX
 

Definition at line 96 of file emcglb.h.

int LUBE_WRITE_POLARITY
 

Definition at line 107 of file emcglb.h.

int MIST_COOLANT_INDEX
 

Definition at line 93 of file emcglb.h.

int MIST_COOLANT_POLARITY
 

Definition at line 100 of file emcglb.h.

char RS274NGC_STARTUP_CODE[RS274NGC_STARTUP_CODE_MAX]
 

Definition at line 41 of file emcglb.h.

int SPINDLE_BRAKE_INDEX
 

Definition at line 89 of file emcglb.h.

int SPINDLE_BRAKE_POLARITY
 

Definition at line 105 of file emcglb.h.

int SPINDLE_DECREASE_INDEX
 

Definition at line 90 of file emcglb.h.

int SPINDLE_DECREASE_POLARITY
 

Definition at line 102 of file emcglb.h.

int SPINDLE_ENABLE_INDEX
 

Definition at line 92 of file emcglb.h.

int SPINDLE_ENABLE_POLARITY
 

Definition at line 106 of file emcglb.h.

int SPINDLE_FORWARD_INDEX
 

Definition at line 87 of file emcglb.h.

int SPINDLE_FORWARD_POLARITY
 

Definition at line 98 of file emcglb.h.

int SPINDLE_INCREASE_INDEX
 

Definition at line 91 of file emcglb.h.

int SPINDLE_INCREASE_POLARITY
 

Definition at line 103 of file emcglb.h.

double SPINDLE_OFF_WAIT
 

Definition at line 76 of file emcglb.h.

int SPINDLE_ON_INDEX
 

Definition at line 85 of file emcglb.h.

double SPINDLE_ON_WAIT
 

Definition at line 77 of file emcglb.h.

int SPINDLE_REVERSE_INDEX
 

Definition at line 88 of file emcglb.h.

int SPINDLE_REVERSE_POLARITY
 

Definition at line 99 of file emcglb.h.

char TOOL_TABLE_FILE[TOOL_TABLE_FILE_LEN]
 

Definition at line 69 of file emcglb.h.

double TRAJ_DEFAULT_VELOCITY
 

Definition at line 71 of file emcglb.h.

double TRAJ_MAX_VELOCITY
 

Definition at line 72 of file emcglb.h.

int taskplanopen
 

Definition at line 113 of file emcglb.h.


Generated on Sun Dec 2 15:27:54 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001