From: Paul C. <pa...@us...> - 2005-06-26 19:41:54
|
Update of /cvsroot/emc/emc2/src/emc/nml_intf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27036 Modified Files: Tag: NML_take_2 emc2.hh Log Message: Comment a few more status messages - As yet, no feedback. Guess everyone is happy with the proposed changes then.. Index: emc2.hh =================================================================== RCS file: /cvsroot/emc/emc2/src/emc/nml_intf/Attic/emc2.hh,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -C2 -d -r1.1.2.12 -r1.1.2.13 *** emc2.hh 26 Jun 2005 14:47:54 -0000 1.1.2.12 --- emc2.hh 26 Jun 2005 19:41:11 -0000 1.1.2.13 *************** *** 557,572 **** enum EMC_TASK_EXEC_ENUM execState; // EMC_DONE,WAITING_FOR_MOTION, etc. enum EMC_TASK_INTERP_ENUM interpState; // EMC_IDLE,READING,PAUSED,WAITING ! int motionLine; // line motion is executing-- may lag ! int currentLine; // line currently executing ! int readLine; // line interpreter has read to ! char file[LINELEN]; ! char command[LINELEN]; ! EmcPose origin; // origin, in user units, currently active ! EmcPose toolOffset; // tool offset, in general pose form ! int activeGCodes[ACTIVE_G_CODES]; // dialect-specific ! int activeMCodes[ACTIVE_M_CODES]; // dialect-specific ! double activeSettings[ACTIVE_SETTINGS]; // dialect-specific ! CANON_UNITS programUnits; // CANON_UNITS_INCHES,MM,CM ! int interpreter_errcode; // return value from rs274ngc function }; --- 557,572 ---- enum EMC_TASK_EXEC_ENUM execState; // EMC_DONE,WAITING_FOR_MOTION, etc. enum EMC_TASK_INTERP_ENUM interpState; // EMC_IDLE,READING,PAUSED,WAITING ! int motionLine; // line motion is executing -- may lag // P.C.: Most of the time, this would be motion.traj.id ! int currentLine; // line currently executing // P.C.: exectuting in task, interp, or motion ?? ! int readLine; // line interpreter has read to // P.C.: Keep ! char file[LINELEN]; // P.C.: Keep ! char command[LINELEN]; // P.C.: Keep - This is required in task ! ! EmcPose origin; // origin, in user units, currently active // P.C.: Keep, if only to display work offsets. ! EmcPose toolOffset; // tool offset, in general pose form // P.C.: Is this needed ? ! int activeGCodes[ACTIVE_G_CODES]; // dialect-specific // P.C.: Keep - May be have the interp sprintf ? ! int activeMCodes[ACTIVE_M_CODES]; // dialect-specific // P.C.: Keep - May be have the interp sprintf ? ! double activeSettings[ACTIVE_SETTINGS]; // dialect-specific // P.C.: Keep - May be have the interp sprintf feedrate & speed ? ! CANON_UNITS programUnits; // CANON_UNITS_INCHES,MM,CM // P.C.: Keep - but only as inch/metric ! int interpreter_errcode; // return value from rs274ngc function // P.C.: Keep }; *************** *** 587,594 **** void update(CMS *cms); ! EmcToolStatus operator = (EMC_TOOL_STAT s); // need this for [] members int toolPrepped; // tool ready for loading, 0 is no tool // P.C.: Tool ID - Needs to be an int int toolInSpindle; // tool loaded, 0 is no tool// P.C.: ditto ! CANON_TOOL_TABLE toolTable[CANON_TOOL_MAX + 1];// P.C.: task needs to know about the tool table, as does the interp & may be the HMI. Tool process does not. }; --- 587,594 ---- void update(CMS *cms); ! EmcToolStatus operator = (EMC_TOOL_STAT s); // need this for [] members // P.C.: If tool table is in task status, we don't need this here. int toolPrepped; // tool ready for loading, 0 is no tool // P.C.: Tool ID - Needs to be an int int toolInSpindle; // tool loaded, 0 is no tool// P.C.: ditto ! CANON_TOOL_TABLE toolTable[CANON_TOOL_MAX + 1];// P.C.: task needs to know about the tool table, as does the interp & may be the HMI. Tool process does not. (Should be in task status) }; *************** *** 609,613 **** int estop; // non-zero means estopped ! int estopIn; // non-zero means estop button pressed }; --- 609,614 ---- int estop; // non-zero means estopped ! int estopIn; // non-zero means estop button pressed // P.C.: Why does the state of the estop button need to be passed around ? ! // Surely estop on it's own would be enough..? }; |