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

canon_stand_alone.cc File Reference

#include <stdio.h>
#include "rs274ngc.hh"

Include dependency graph for canon_stand_alone.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define PRINT0(control)
#define PRINT1(control, arg1)
#define PRINT2(control, arg1, arg2)
#define PRINT3(control, arg1, arg2, arg3)
#define PRINT4(control, arg1, arg2, arg3, arg4)
#define PRINT6(control, arg1, arg2, arg3, arg4, arg5, arg6)

Functions

void print_nc_line_number ()
void SET_ORIGIN_OFFSETS (double x, double y, double z, double a, double b, double c)
void USE_LENGTH_UNITS (CANON_UNITS in_unit)
void SET_TRAVERSE_RATE (double rate)
void STRAIGHT_TRAVERSE (double x, double y, double z, double a, double b, double c)
void SET_FEED_RATE (double rate)
void SET_FEED_REFERENCE (CANON_FEED_REFERENCE reference)
void SET_MOTION_CONTROL_MODE (CANON_MOTION_MODE mode)
void SELECT_PLANE (CANON_PLANE in_plane)
void SET_CUTTER_RADIUS_COMPENSATION (double radius)
void START_CUTTER_RADIUS_COMPENSATION (int side)
void STOP_CUTTER_RADIUS_COMPENSATION ()
void START_SPEED_FEED_SYNCH ()
void STOP_SPEED_FEED_SYNCH ()
void SELECT_MOTION_MODE (CANON_MOTION_MODE mode)
void ARC_FEED (double first_end, double second_end, double first_axis, double second_axis, int rotation, double axis_end_point, double a, double b, double c)
void STRAIGHT_FEED (double x, double y, double z, double a, double b, double c)
void STRAIGHT_PROBE (double x, double y, double z, double a, double b, double c)
void DWELL (double seconds)
void SPINDLE_RETRACT_TRAVERSE ()
void START_SPINDLE_CLOCKWISE ()
void START_SPINDLE_COUNTERCLOCKWISE ()
void SET_SPINDLE_SPEED (double r)
void STOP_SPINDLE_TURNING ()
void SPINDLE_RETRACT ()
void ORIENT_SPINDLE (double orientation, CANON_DIRECTION direction)
void USE_NO_SPINDLE_FORCE ()
void USE_TOOL_LENGTH_OFFSET (double length)
void CHANGE_TOOL (int slot)
void SELECT_TOOL (int slot)
void CLAMP_AXIS (CANON_AXIS axis)
void COMMENT (char *s)
void DISABLE_FEED_OVERRIDE ()
void DISABLE_SPEED_OVERRIDE ()
void ENABLE_FEED_OVERRIDE ()
void ENABLE_SPEED_OVERRIDE ()
void FLOOD_OFF ()
void FLOOD_ON ()
void MESSAGE (char *s)
void MIST_OFF ()
void MIST_ON ()
void PALLET_SHUTTLE ()
void TURN_PROBE_OFF ()
void TURN_PROBE_ON ()
void UNCLAMP_AXIS (CANON_AXIS axis)
void PROGRAM_STOP ()
void OPTIONAL_PROGRAM_STOP ()
void PROGRAM_END ()
CANON_VECTOR GET_PROGRAM_ORIGIN ()
CANON_UNITS GET_LENGTH_UNITS ()
CANON_PLANE GET_PLANE ()
double GET_EXTERNAL_FEED_RATE ()
int GET_EXTERNAL_FLOOD ()
int GET_EXTERNAL_MIST ()
int GET_EXTERNAL_POCKET ()
CANON_POSITION GET_EXTERNAL_POSITION ()
CANON_POSITION GET_EXTERNAL_PROBE_POSITION ()
double GET_EXTERNAL_PROBE_VALUE ()
double GET_EXTERNAL_SPEED ()
CANON_DIRECTION GET_EXTERNAL_SPINDLE ()
int GET_EXTERNAL_TOOL ()
int GET_EXTERNAL_TOOL_MAX ()
CANON_TOOL_TABLE GET_EXTERNAL_TOOL_TABLE (int pocket)
double GET_EXTERNAL_TRAVERSE_RATE ()
CANON_MOTION_MODE GET_MOTION_CONTROL_MODE ()
void INIT_CANON ()
int IS_EXTERNAL_QUEUE_EMPTY ()
void CANON_UPDATE_POSITION ()

Variables

block _interpreter_block
setup _interpreter_settings
int line_number SET_TO
CANON_VECTOR program_origin
CANON_UNITS length_units = CANON_UNITS_MM
CANON_PLANE active_plane = CANON_PLANE_XY


Define Documentation

#define PRINT0 control   
 

Value:

if (1)               \
          {printf("%5d ", line_number++);    \
           print_nc_line_number();           \
           printf(control);                  \
          } else

Definition at line 45 of file canon_stand_alone.cc.

Referenced by DISABLE_FEED_OVERRIDE(), DISABLE_SPEED_OVERRIDE(), ENABLE_FEED_OVERRIDE(), ENABLE_SPEED_OVERRIDE(), FLOOD_OFF(), FLOOD_ON(), MIST_OFF(), MIST_ON(), OPTIONAL_PROGRAM_STOP(), PALLET_SHUTTLE(), PROGRAM_END(), PROGRAM_STOP(), SET_MOTION_CONTROL_MODE(), SPINDLE_RETRACT(), SPINDLE_RETRACT_TRAVERSE(), START_SPEED_FEED_SYNCH(), START_SPINDLE_CLOCKWISE(), START_SPINDLE_COUNTERCLOCKWISE(), STOP_CUTTER_RADIUS_COMPENSATION(), STOP_SPEED_FEED_SYNCH(), STOP_SPINDLE_TURNING(), TURN_PROBE_OFF(), TURN_PROBE_ON(), USE_LENGTH_UNITS(), and USE_NO_SPINDLE_FORCE().

#define PRINT1 control,
arg1   
 

Value:

if (1)         \
          {printf("%5d ", line_number++);    \
           print_nc_line_number();           \
           printf(control, arg1);            \
          } else

Definition at line 50 of file canon_stand_alone.cc.

Referenced by CHANGE_TOOL(), CLAMP_AXIS(), COMMENT(), DWELL(), MESSAGE(), SELECT_MOTION_MODE(), SELECT_PLANE(), SELECT_TOOL(), SET_CUTTER_RADIUS_COMPENSATION(), SET_FEED_RATE(), SET_FEED_REFERENCE(), SET_MOTION_CONTROL_MODE(), SET_SPINDLE_SPEED(), SET_TRAVERSE_RATE(), START_CUTTER_RADIUS_COMPENSATION(), UNCLAMP_AXIS(), USE_LENGTH_UNITS(), and USE_TOOL_LENGTH_OFFSET().

#define PRINT2 control,
arg1,
arg2   
 

Value:

if (1)   \
          {printf("%5d ", line_number++);    \
           print_nc_line_number();           \
           printf(control, arg1, arg2);      \
          } else

Definition at line 55 of file canon_stand_alone.cc.

Referenced by ORIENT_SPINDLE().

#define PRINT3 control,
arg1,
arg2,
arg3   
 

Value:

if (1)         \
          {printf("%5d ", line_number++);                \
           print_nc_line_number();                       \
           printf(control, arg1, arg2, arg3);            \
          } else

Definition at line 60 of file canon_stand_alone.cc.

Referenced by SET_ORIGIN_OFFSETS(), STRAIGHT_FEED(), STRAIGHT_PROBE(), and STRAIGHT_TRAVERSE().

#define PRINT4 control,
arg1,
arg2,
arg3,
arg4   
 

Value:

if (1)   \
          {printf("%5d ", line_number++);                \
           print_nc_line_number();                       \
           printf(control, arg1, arg2, arg3, arg4);      \
          } else

Definition at line 65 of file canon_stand_alone.cc.

#define PRINT6 control,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6   
 

Value:

if (1) \
          {printf("%5d ", line_number++);                          \
           print_nc_line_number();                                 \
           printf(control, arg1, arg2, arg3, arg4, arg5, arg6);    \
          } else

Definition at line 70 of file canon_stand_alone.cc.

Referenced by ARC_FEED().


Function Documentation

void ARC_FEED double    first_end,
double    second_end,
double    first_axis,
double    second_axis,
int    rotation,
double    axis_end_point,
double    a = 0,
double    b = 0,
double    c = 0
 

Definition at line 151 of file canon_stand_alone.cc.

00155 {PRINT6("ARC_FEED(%.4f, %.4f, %.4f, %.4f, %d, %.4f)\n",
00156         first_end, second_end, first_axis, second_axis, rotation,
00157         axis_end_point);}

void CANON_UPDATE_POSITION  
 

Definition at line 494 of file canon_stand_alone.cc.

00495 {
00496   return;
00497 }

void CHANGE_TOOL int    slot
 

Definition at line 214 of file canon_stand_alone.cc.

00215 {PRINT1("CHANGE_TOOL(%d)\n", slot);}

void CLAMP_AXIS CANON_AXIS    axis
 

Definition at line 223 of file canon_stand_alone.cc.

00224 {PRINT1("CLAMP_AXIS(%s)\n",
00225         (axis IS CANON_AXIS_X) ? "CANON_AXIS_X" :
00226         (axis IS CANON_AXIS_Y) ? "CANON_AXIS_Y" :
00227         (axis IS CANON_AXIS_Z) ? "CANON_AXIS_Z" : "UNKNOWN");}

void COMMENT char *    s
 

Definition at line 229 of file canon_stand_alone.cc.

00230 {PRINT1("COMMENT(\"%s\")\n", s);}

void DISABLE_FEED_OVERRIDE  
 

Definition at line 232 of file canon_stand_alone.cc.

00233 {PRINT0("DISABLE_FEED_OVERRIDE()\n");}

void DISABLE_SPEED_OVERRIDE  
 

Definition at line 235 of file canon_stand_alone.cc.

00236 {PRINT0("DISABLE_SPEED_OVERRIDE()\n");}

void DWELL double    seconds
 

Definition at line 178 of file canon_stand_alone.cc.

00179 {PRINT1("DWELL(%.4f)\n", seconds);}

void ENABLE_FEED_OVERRIDE  
 

Definition at line 238 of file canon_stand_alone.cc.

00239 {PRINT0("ENABLE_FEED_OVERRIDE()\n");}

void ENABLE_SPEED_OVERRIDE  
 

Definition at line 241 of file canon_stand_alone.cc.

00242 {PRINT0("ENABLE_SPEED_OVERRIDE()\n");}

void FLOOD_OFF  
 

Definition at line 244 of file canon_stand_alone.cc.

00245 {PRINT0("FLOOD_OFF()\n");}

void FLOOD_ON  
 

Definition at line 247 of file canon_stand_alone.cc.

00248 {PRINT0("FLOOD_ON()\n");}

double GET_EXTERNAL_FEED_RATE  
 

Definition at line 319 of file canon_stand_alone.cc.

00320 {
00321   return 15;
00322 }

int GET_EXTERNAL_FLOOD  
 

Definition at line 326 of file canon_stand_alone.cc.

00327 {
00328   return OFF;
00329 }

int GET_EXTERNAL_MIST  
 

Definition at line 333 of file canon_stand_alone.cc.

00334 {
00335   return OFF;
00336 }

int GET_EXTERNAL_POCKET  
 

Definition at line 340 of file canon_stand_alone.cc.

00341 {
00342   return 1;
00343 }

CANON_POSITION GET_EXTERNAL_POSITION  
 

Definition at line 347 of file canon_stand_alone.cc.

00348 {
00349   return CANON_POSITION(_interpreter_settings.current_x,
00350                         _interpreter_settings.current_y,
00351                         _interpreter_settings.current_z,
00352                         0.0,
00353                         0.0,
00354                         0.0);
00355 }

CANON_POSITION GET_EXTERNAL_PROBE_POSITION  
 

Definition at line 359 of file canon_stand_alone.cc.

00360 {
00361   return CANON_POSITION(_interpreter_settings.current_x,
00362                         _interpreter_settings.current_y,
00363                         _interpreter_settings.current_z,
00364                         0.0,
00365                         0.0,
00366                         0.0);
00367 }

double GET_EXTERNAL_PROBE_VALUE  
 

Definition at line 371 of file canon_stand_alone.cc.

00372 {
00373   return 1.0;
00374 }

double GET_EXTERNAL_SPEED  
 

Definition at line 378 of file canon_stand_alone.cc.

00379 {
00380   // speed is in RPMs everywhere
00381   return 1000;
00382 }

CANON_DIRECTION GET_EXTERNAL_SPINDLE  
 

Definition at line 386 of file canon_stand_alone.cc.

00387 {
00388   return CANON_STOPPED;
00389 }

int GET_EXTERNAL_TOOL  
 

Definition at line 393 of file canon_stand_alone.cc.

00394 {
00395   return 1;
00396 }

int GET_EXTERNAL_TOOL_MAX  
 

Definition at line 400 of file canon_stand_alone.cc.

00401 {
00402   return CANON_TOOL_MAX;
00403 }

CANON_TOOL_TABLE GET_EXTERNAL_TOOL_TABLE int    pocket
 

Definition at line 407 of file canon_stand_alone.cc.

00408 {
00409   CANON_TOOL_TABLE retval;
00410 
00411   if (pocket == 0)
00412     {
00413       retval.id = 1;
00414       retval.length = 2.0;
00415       retval.diameter = 1.0;
00416     }
00417   else if (pocket == 1)
00418     {
00419       retval.id = 1;
00420       retval.length = 2.0;
00421       retval.diameter = 1.0;
00422     }
00423   else if (pocket == 2)
00424     {
00425       retval.id = 2;
00426       retval.length = 1.0;
00427       retval.diameter = 2.0;
00428     }
00429   else
00430     {
00431       retval.id = 0;
00432       retval.length = 0.0;
00433       retval.diameter = 0.0;
00434     }
00435 
00436   return retval;
00437 }

double GET_EXTERNAL_TRAVERSE_RATE  
 

Definition at line 442 of file canon_stand_alone.cc.

00443 {
00444   return 100.0;
00445 }

CANON_UNITS GET_LENGTH_UNITS  
 

Definition at line 292 of file canon_stand_alone.cc.

00293 {
00294   return length_units;
00295 }

CANON_MOTION_MODE GET_MOTION_CONTROL_MODE  
 

Definition at line 449 of file canon_stand_alone.cc.

00450 {
00451   return CANON_EXACT_PATH;
00452 }

CANON_PLANE GET_PLANE  
 

Definition at line 297 of file canon_stand_alone.cc.

00298 {
00299   return active_plane;
00300 }

CANON_VECTOR GET_PROGRAM_ORIGIN  
 

Definition at line 286 of file canon_stand_alone.cc.

00287 {
00288   return program_origin;
00289 }

void INIT_CANON  
 

Definition at line 464 of file canon_stand_alone.cc.

00465 {}

int IS_EXTERNAL_QUEUE_EMPTY  
 

Definition at line 477 of file canon_stand_alone.cc.

00478 {
00479   return 1;
00480 }

void MESSAGE char *    s
 

Definition at line 250 of file canon_stand_alone.cc.

00251 {PRINT1("MESSAGE(\"%s\")\n", s);}

void MIST_OFF  
 

Definition at line 253 of file canon_stand_alone.cc.

00254 {PRINT0("MIST_OFF()\n");}

void MIST_ON  
 

Definition at line 256 of file canon_stand_alone.cc.

00257 {PRINT0("MIST_ON()\n");}

void OPTIONAL_PROGRAM_STOP  
 

Definition at line 279 of file canon_stand_alone.cc.

00280 {PRINT0("OPTIONAL_PROGRAM_STOP()\n");}

void ORIENT_SPINDLE double    orientation,
CANON_DIRECTION    direction
 

Definition at line 200 of file canon_stand_alone.cc.

00201 {PRINT2("ORIENT_SPINDLE(%.4f, %s)\n", orientation,
00202         (direction IS CANON_CLOCKWISE) ? "CANON_CLOCKWISE" :
00203                                          "CANON_COUNTERCLOCKWISE");
00204 }

void PALLET_SHUTTLE  
 

Definition at line 259 of file canon_stand_alone.cc.

00260 {PRINT0("PALLET_SHUTTLE()\n");}

void PROGRAM_END  
 

Definition at line 282 of file canon_stand_alone.cc.

00283 {PRINT0("PROGRAM_END()\n");}

void PROGRAM_STOP  
 

Definition at line 276 of file canon_stand_alone.cc.

00277 {PRINT0("PROGRAM_STOP()\n");}

void SELECT_MOTION_MODE CANON_MOTION_MODE    mode
 

Definition at line 142 of file canon_stand_alone.cc.

00143 {PRINT1("SELECT_MOTION_MODE(%s)\n",
00144         (mode IS CANON_EXACT_STOP) ? "CANON_EXACT_STOP" :
00145         (mode IS CANON_EXACT_PATH) ? "CANON_EXACT_PATH" :
00146         (mode IS CANON_CONTINUOUS) ? "CANON_CONTINUOUS" :
00147                                           "UNKNOWN");
00148 }

void SELECT_PLANE CANON_PLANE    in_plane
 

Definition at line 117 of file canon_stand_alone.cc.

00118 {PRINT1("SELECT_PLANE(%s)\n",
00119         (in_plane IS CANON_PLANE_XY) ? "CANON_PLANE_XY" :
00120         (in_plane IS CANON_PLANE_YZ) ? "CANON_PLANE_YZ" :
00121         (in_plane IS CANON_PLANE_XZ) ? "CANON_PLANE_XZ" : "UNKNOWN");
00122 }

void SELECT_TOOL int    slot
 

Definition at line 217 of file canon_stand_alone.cc.

00218 {PRINT1("SELECT_TOOL(%d)\n", slot);}

void SET_CUTTER_RADIUS_COMPENSATION double    radius
 

Definition at line 124 of file canon_stand_alone.cc.

00125 {PRINT1("SET_CUTTER_RADIUS_COMPENSATION(%.4f)\n", radius);}

void SET_FEED_RATE double    rate
 

Definition at line 105 of file canon_stand_alone.cc.

00106 {PRINT1("SET_FEED_RATE(%.4f)\n", rate);}

void SET_FEED_REFERENCE CANON_FEED_REFERENCE    reference
 

Definition at line 108 of file canon_stand_alone.cc.

00109 {PRINT1("SET_FEED_REFERENCE(%s)\n",
00110         (reference IS CANON_WORKPIECE) ? "CANON_WORKPIECE" : "CANON_XYZ");}

void SET_MOTION_CONTROL_MODE CANON_MOTION_MODE    mode
 

Definition at line 112 of file canon_stand_alone.cc.

00113 {PRINT1("SET_MOTION_CONTROL_MODE(%s)\n",
00114         (mode IS CANON_EXACT_PATH) ? "CANON_EXACT_PATH" :
00115         (mode IS CANON_EXACT_STOP) ? "CANON_EXACT_STOP" : "CANON_CONTINUOUS");}

void SET_ORIGIN_OFFSETS double    x,
double    y,
double    z,
double    a = 0,
double    b = 0,
double    c = 0
 

Definition at line 82 of file canon_stand_alone.cc.

00084 {PRINT3("SET_ORIGIN_OFFSETS(%.4f, %.4f, %.4f)\n", x, y, z);
00085   program_origin.x SET_TO x;
00086   program_origin.y SET_TO y;
00087   program_origin.z SET_TO z;
00088 }

void SET_SPINDLE_SPEED double    rpm
 

Definition at line 191 of file canon_stand_alone.cc.

00192 {PRINT1("SET_SPINDLE_SPEED(%.4f)\n", r);}

void SET_TRAVERSE_RATE double    rate
 

Definition at line 97 of file canon_stand_alone.cc.

00098 {PRINT1("SET_TRAVERSE_RATE(%.4f)\n", rate);}

void SPINDLE_RETRACT  
 

Definition at line 197 of file canon_stand_alone.cc.

00198 {PRINT0("SPINDLE_RETRACT()\n");}

void SPINDLE_RETRACT_TRAVERSE  
 

Definition at line 182 of file canon_stand_alone.cc.

00183 {PRINT0("SPINDLE_RETRACT_TRAVERSE()\n");}

void START_CUTTER_RADIUS_COMPENSATION int    side
 

Definition at line 127 of file canon_stand_alone.cc.

00128 {PRINT1("START_CUTTER_RADIUS_COMPENSATION(%s)\n",
00129         (side IS LEFT)  ? "LEFT"  :
00130         (side IS RIGHT) ? "RIGHT" : "UNKNOWN");
00131 }

void START_SPEED_FEED_SYNCH  
 

Definition at line 136 of file canon_stand_alone.cc.

00137 {PRINT0 ("START_SPEED_FEED_SYNCH()\n");}

void START_SPINDLE_CLOCKWISE  
 

Definition at line 185 of file canon_stand_alone.cc.

00186 {PRINT0("START_SPINDLE_CLOCKWISE()\n");}

void START_SPINDLE_COUNTERCLOCKWISE  
 

Definition at line 188 of file canon_stand_alone.cc.

00189 {PRINT0("START_SPINDLE_COUNTERCLOCKWISE()\n");}

void STOP_CUTTER_RADIUS_COMPENSATION  
 

Definition at line 133 of file canon_stand_alone.cc.

00134 {PRINT0 ("STOP_CUTTER_RADIUS_COMPENSATION()\n");}

void STOP_SPEED_FEED_SYNCH  
 

Definition at line 139 of file canon_stand_alone.cc.

00140 {PRINT0 ("STOP_SPEED_FEED_SYNCH()\n");}

void STOP_SPINDLE_TURNING  
 

Definition at line 194 of file canon_stand_alone.cc.

00195 {PRINT0("STOP_SPINDLE_TURNING()\n");}

void STRAIGHT_FEED double    x,
double    y,
double    z,
double    a = 0,
double    b = 0,
double    c = 0
 

Definition at line 159 of file canon_stand_alone.cc.

00161 {PRINT3("STRAIGHT_FEED(%.4f, %.4f, %.4f)\n", x, y, z);}

void STRAIGHT_PROBE double    x,
double    y,
double    z,
double    a = 0,
double    b = 0,
double    c = 0
 

Definition at line 163 of file canon_stand_alone.cc.

00165 {PRINT3("STRAIGHT_PROBE(%.4f, %.4f, %.4f)\n", x, y, z);}

void STRAIGHT_TRAVERSE double    x,
double    y,
double    z,
double    a = 0,
double    b = 0,
double    c = 0
 

Definition at line 100 of file canon_stand_alone.cc.

00102 {PRINT3("STRAIGHT_TRAVERSE(%.4f, %.4f, %.4f)\n", x, y, z);}

void TURN_PROBE_OFF  
 

Definition at line 262 of file canon_stand_alone.cc.

00263 {PRINT0("TURN_PROBE_OFF()\n");}

void TURN_PROBE_ON  
 

Definition at line 265 of file canon_stand_alone.cc.

00266 {PRINT0("TURN_PROBE_ON()\n");}

void UNCLAMP_AXIS CANON_AXIS    axis
 

Definition at line 268 of file canon_stand_alone.cc.

00269 {PRINT1("UNCLAMP_AXIS(%s)\n",
00270         (axis IS CANON_AXIS_X) ? "CANON_AXIS_X" :
00271         (axis IS CANON_AXIS_Y) ? "CANON_AXIS_Y" :
00272         (axis IS CANON_AXIS_Z) ? "CANON_AXIS_Z" : "UNKNOWN");}

void USE_LENGTH_UNITS CANON_UNITS    in_unit
 

Definition at line 90 of file canon_stand_alone.cc.

00091 {PRINT1("USE_LENGTH_UNITS(%s)\n",
00092         (in_unit IS CANON_UNITS_INCHES) ? "CANON_UNITS_INCHES" :
00093         (in_unit IS CANON_UNITS_MM)     ? "CANON_UNITS_MM" : "UNKNOWN");
00094 }

void USE_NO_SPINDLE_FORCE  
 

Definition at line 206 of file canon_stand_alone.cc.

00207 {PRINT0("USE_NO_SPINDLE_FORCE()\n");}

void USE_TOOL_LENGTH_OFFSET double    length
 

Definition at line 211 of file canon_stand_alone.cc.

00212 {PRINT1("USE_TOOL_LENGTH_OFFSET(%.4f)\n", length);}

void print_nc_line_number  
 

Definition at line 28 of file canon_stand_alone.cc.

Referenced by ARC_FEED(), SET_ORIGIN_OFFSETS(), STRAIGHT_FEED(), STRAIGHT_PROBE(), and STRAIGHT_TRAVERSE().

00029 {
00030   int line_number SET_TO _interpreter_block.line_number;
00031   if (line_number IS -1)
00032     printf(" N ... ");
00033   else if (line_number < 10)
00034     printf("    N%d ", line_number);
00035   else if (line_number < 100)
00036     printf("   N%d ", line_number);
00037   else if (line_number < 1000)
00038     printf("  N%d ", line_number);
00039   else if (line_number < 10000)
00040     printf(" N%d ", line_number);
00041   else
00042     printf("N%d ", line_number);
00043 }


Variable Documentation

int line_number SET_TO [static]
 

Definition at line 75 of file canon_stand_alone.cc.

block _interpreter_block
 

Definition at line 26 of file canon_stand_alone.cc.

setup _interpreter_settings
 

Definition at line 27 of file canon_stand_alone.cc.

CANON_PLANE active_plane = CANON_PLANE_XY [static]
 

Definition at line 78 of file canon_stand_alone.cc.

CANON_UNITS length_units = CANON_UNITS_MM [static]
 

Definition at line 77 of file canon_stand_alone.cc.

CANON_VECTOR program_origin [static]
 

Definition at line 76 of file canon_stand_alone.cc.


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