#include <emc.hh>
Inheritance diagram for EMC_TASK_STAT:


Public Methods | |
| EMC_TASK_STAT () | |
| void | update (CMS *cms) |
Data Fields | |
| int | mode |
| int | state |
| int | execState |
| int | interpState |
| int | motionLine |
| int | currentLine |
| int | readLine |
| char | file [EMC_TASK_FILENAME_LEN] |
| char | command [EMC_TASK_COMMAND_LEN] |
| EmcPose | origin |
| EmcPose | toolOffset |
| int | activeGCodes [EMC_TASK_ACTIVE_G_CODES] |
| int | activeMCodes [EMC_TASK_ACTIVE_M_CODES] |
| double | activeSettings [EMC_TASK_ACTIVE_SETTINGS] |
| CANON_UNITS | programUnits |
| int | interpreter_errcode |
|
|
Definition at line 103 of file emcops.cc. 00103 : 00104 EMC_TASK_STAT_MSG(EMC_TASK_STAT_TYPE, sizeof(EMC_TASK_STAT)) 00105 { 00106 int t; 00107 00108 mode = EMC_TASK_MODE_MANUAL; 00109 state = EMC_TASK_STATE_ESTOP; 00110 execState = EMC_TASK_EXEC_DONE; 00111 interpState = EMC_TASK_INTERP_IDLE; 00112 motionLine = 0; 00113 currentLine = 0; 00114 readLine = 0; 00115 file[0] = 0; 00116 command[0] = 0; 00117 00118 origin.tran.x = 0.0; 00119 origin.tran.y = 0.0; 00120 origin.tran.z = 0.0; 00121 origin.a = 0.0; 00122 origin.b = 0.0; 00123 origin.c = 0.0; 00124 00125 toolOffset.tran.x = 0.0; 00126 toolOffset.tran.y = 0.0; 00127 toolOffset.tran.z = 0.0; 00128 toolOffset.a = 0.0; 00129 toolOffset.b = 0.0; 00130 toolOffset.c = 0.0; 00131 00132 for (t = 0; t < EMC_TASK_ACTIVE_G_CODES; t++) 00133 activeGCodes[t] = -1; 00134 for (t = 0; t < EMC_TASK_ACTIVE_M_CODES; t++) 00135 activeMCodes[t] = -1; 00136 for (t = 0; t < EMC_TASK_ACTIVE_SETTINGS; t++) 00137 activeSettings[t] = 0.0; 00138 } |
|
|
Reimplemented from EMC_TASK_STAT_MSG. Definition at line 2167 of file emc.cc. Referenced by EMC_STAT::update().
02168 {
02169
02170 EMC_TASK_STAT_MSG::update(cms);
02171 cms->update(mode);
02172 cms->update(state);
02173 cms->update(execState);
02174 cms->update(interpState);
02175 cms->update(motionLine);
02176 cms->update(currentLine);
02177 cms->update(readLine);
02178 cms->update(file,256);
02179 cms->update(command,256);
02180 EmcPose_update(cms,&origin);
02181 EmcPose_update(cms,&toolOffset);
02182 cms->update(activeGCodes,12);
02183 cms->update(activeMCodes,7);
02184 cms->update(activeSettings,3);
02185 cms->update(programUnits);
02186 cms->update(interpreter_errcode);
02187
02188 }
|
|
|
Definition at line 1994 of file emc.hh. Referenced by emcTaskUpdate().
|
|
|
Definition at line 1995 of file emc.hh. Referenced by emcTaskUpdate().
|
|
|
Definition at line 1996 of file emc.hh. Referenced by emcTaskUpdate().
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1990 of file emc.hh. Referenced by emcTaskUpdate().
|
|
|
|
|
|
|
|
|
Definition at line 1982 of file emc.hh. Referenced by emcTaskUpdate().
|
|
|
Definition at line 1987 of file emc.hh. Referenced by emcTaskUpdate().
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1983 of file emc.hh. Referenced by emcTaskUpdate().
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001