#include <stdio.h>
#include "rs274ngc.hh"
Include dependency graph for canon_stand_alone.cc:
Go to the source code of this file.
|
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().
|
|
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().
|
|
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().
|
|
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().
|
|
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. |
|
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().
|
|
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);} |
|
Definition at line 494 of file canon_stand_alone.cc. 00495 { 00496 return; 00497 } |
|
Definition at line 214 of file canon_stand_alone.cc. 00215 {PRINT1("CHANGE_TOOL(%d)\n", slot);} |
|
Definition at line 223 of file canon_stand_alone.cc. |
|
Definition at line 229 of file canon_stand_alone.cc. 00230 {PRINT1("COMMENT(\"%s\")\n", s);} |
|
Definition at line 232 of file canon_stand_alone.cc. 00233 {PRINT0("DISABLE_FEED_OVERRIDE()\n");} |
|
Definition at line 235 of file canon_stand_alone.cc. 00236 {PRINT0("DISABLE_SPEED_OVERRIDE()\n");} |
|
Definition at line 178 of file canon_stand_alone.cc. 00179 {PRINT1("DWELL(%.4f)\n", seconds);} |
|
Definition at line 238 of file canon_stand_alone.cc. 00239 {PRINT0("ENABLE_FEED_OVERRIDE()\n");} |
|
Definition at line 241 of file canon_stand_alone.cc. 00242 {PRINT0("ENABLE_SPEED_OVERRIDE()\n");} |
|
Definition at line 244 of file canon_stand_alone.cc. 00245 {PRINT0("FLOOD_OFF()\n");} |
|
Definition at line 247 of file canon_stand_alone.cc. 00248 {PRINT0("FLOOD_ON()\n");} |
|
Definition at line 319 of file canon_stand_alone.cc. 00320 { 00321 return 15; 00322 } |
|
Definition at line 326 of file canon_stand_alone.cc. 00327 { 00328 return OFF; 00329 } |
|
Definition at line 333 of file canon_stand_alone.cc. 00334 { 00335 return OFF; 00336 } |
|
Definition at line 340 of file canon_stand_alone.cc. 00341 { 00342 return 1; 00343 } |
|
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 } |
|
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 } |
|
Definition at line 371 of file canon_stand_alone.cc. 00372 { 00373 return 1.0; 00374 } |
|
Definition at line 378 of file canon_stand_alone.cc. 00379 { 00380 // speed is in RPMs everywhere 00381 return 1000; 00382 } |
|
Definition at line 386 of file canon_stand_alone.cc. 00387 { 00388 return CANON_STOPPED; 00389 } |
|
Definition at line 393 of file canon_stand_alone.cc. 00394 { 00395 return 1; 00396 } |
|
Definition at line 400 of file canon_stand_alone.cc. 00401 { 00402 return CANON_TOOL_MAX; 00403 } |
|
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 } |
|
Definition at line 442 of file canon_stand_alone.cc. 00443 { 00444 return 100.0; 00445 } |
|
Definition at line 292 of file canon_stand_alone.cc. 00293 { 00294 return length_units; 00295 } |
|
Definition at line 449 of file canon_stand_alone.cc. 00450 { 00451 return CANON_EXACT_PATH; 00452 } |
|
Definition at line 297 of file canon_stand_alone.cc. 00298 { 00299 return active_plane; 00300 } |
|
Definition at line 286 of file canon_stand_alone.cc. 00287 { 00288 return program_origin; 00289 } |
|
Definition at line 464 of file canon_stand_alone.cc. 00465 {} |
|
Definition at line 477 of file canon_stand_alone.cc. 00478 { 00479 return 1; 00480 } |
|
Definition at line 250 of file canon_stand_alone.cc. 00251 {PRINT1("MESSAGE(\"%s\")\n", s);} |
|
Definition at line 253 of file canon_stand_alone.cc. 00254 {PRINT0("MIST_OFF()\n");} |
|
Definition at line 256 of file canon_stand_alone.cc. 00257 {PRINT0("MIST_ON()\n");} |
|
Definition at line 279 of file canon_stand_alone.cc. 00280 {PRINT0("OPTIONAL_PROGRAM_STOP()\n");} |
|
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 } |
|
Definition at line 259 of file canon_stand_alone.cc. 00260 {PRINT0("PALLET_SHUTTLE()\n");} |
|
Definition at line 282 of file canon_stand_alone.cc. 00283 {PRINT0("PROGRAM_END()\n");} |
|
Definition at line 276 of file canon_stand_alone.cc. 00277 {PRINT0("PROGRAM_STOP()\n");} |
|
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 } |
|
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 } |
|
Definition at line 217 of file canon_stand_alone.cc. 00218 {PRINT1("SELECT_TOOL(%d)\n", slot);} |
|
Definition at line 124 of file canon_stand_alone.cc. 00125 {PRINT1("SET_CUTTER_RADIUS_COMPENSATION(%.4f)\n", radius);} |
|
Definition at line 105 of file canon_stand_alone.cc. 00106 {PRINT1("SET_FEED_RATE(%.4f)\n", rate);} |
|
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");} |
|
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");} |
|
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 } |
|
Definition at line 191 of file canon_stand_alone.cc. 00192 {PRINT1("SET_SPINDLE_SPEED(%.4f)\n", r);} |
|
Definition at line 97 of file canon_stand_alone.cc. 00098 {PRINT1("SET_TRAVERSE_RATE(%.4f)\n", rate);} |
|
Definition at line 197 of file canon_stand_alone.cc. 00198 {PRINT0("SPINDLE_RETRACT()\n");} |
|
Definition at line 182 of file canon_stand_alone.cc. 00183 {PRINT0("SPINDLE_RETRACT_TRAVERSE()\n");} |
|
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 } |
|
Definition at line 136 of file canon_stand_alone.cc. 00137 {PRINT0 ("START_SPEED_FEED_SYNCH()\n");} |
|
Definition at line 185 of file canon_stand_alone.cc. 00186 {PRINT0("START_SPINDLE_CLOCKWISE()\n");} |
|
Definition at line 188 of file canon_stand_alone.cc. 00189 {PRINT0("START_SPINDLE_COUNTERCLOCKWISE()\n");} |
|
Definition at line 133 of file canon_stand_alone.cc. 00134 {PRINT0 ("STOP_CUTTER_RADIUS_COMPENSATION()\n");} |
|
Definition at line 139 of file canon_stand_alone.cc. 00140 {PRINT0 ("STOP_SPEED_FEED_SYNCH()\n");} |
|
Definition at line 194 of file canon_stand_alone.cc. 00195 {PRINT0("STOP_SPINDLE_TURNING()\n");} |
|
Definition at line 159 of file canon_stand_alone.cc. 00161 {PRINT3("STRAIGHT_FEED(%.4f, %.4f, %.4f)\n", x, y, z);} |
|
Definition at line 163 of file canon_stand_alone.cc. 00165 {PRINT3("STRAIGHT_PROBE(%.4f, %.4f, %.4f)\n", x, y, z);} |
|
Definition at line 100 of file canon_stand_alone.cc. 00102 {PRINT3("STRAIGHT_TRAVERSE(%.4f, %.4f, %.4f)\n", x, y, z);} |
|
Definition at line 262 of file canon_stand_alone.cc. 00263 {PRINT0("TURN_PROBE_OFF()\n");} |
|
Definition at line 265 of file canon_stand_alone.cc. 00266 {PRINT0("TURN_PROBE_ON()\n");} |
|
Definition at line 268 of file canon_stand_alone.cc. |
|
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 } |
|
Definition at line 206 of file canon_stand_alone.cc. 00207 {PRINT0("USE_NO_SPINDLE_FORCE()\n");} |
|
Definition at line 211 of file canon_stand_alone.cc. 00212 {PRINT1("USE_TOOL_LENGTH_OFFSET(%.4f)\n", length);} |
|
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 } |
|
Definition at line 75 of file canon_stand_alone.cc. |
|
Definition at line 26 of file canon_stand_alone.cc. |
|
Definition at line 27 of file canon_stand_alone.cc. |
|
Definition at line 78 of file canon_stand_alone.cc. |
|
Definition at line 77 of file canon_stand_alone.cc. |
|
Definition at line 76 of file canon_stand_alone.cc. |