![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| NCPlot G-Code editor / backplotter Discuss NCPlot software here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| Hi Scott, Could you help me with this small problem please?. When we make our cnc programs we sometimes paste them all up together so we can load them into the machine in one shot. When NCPlot sees an M99 though it reads it as end of program and will not plot the rest of the other programs...eg % O4454 G80 ( JOB DESCRIPTION ) G40 G0 G55 G90 N12T12M6 (*ROUGH* THREE PASSES.) G0G17G90X347.63Y-70.S936M3 M8 G43Z10.H12 G1G94Z4.5F5000. -----PROGRAM CODE------ G0 G91 G28 Z0.0 M95 G91 G28 X0.0 Y0.0 G90 M5 M9 M99 NCP stops here O6454(M/C PAD FOR WELDED RAMP) (10MM DJA BALL NOSE. STATION 9) (CALJBRATE TOOL 9 TO BALL CENTRE) G21 G80 -----PROGRAM CODE------ G0 G91 G28 Z0. M95 G91 G28 Y0. Z0. G17 G90 M99 % Maybe you could have an option to ignore M99 so the whole lot could be plotted at once. I know you have the subprogram feature which works well if i split all my progams but its a bit of pain to do in this case. It would be great if you could help. Also before i forget, i have noticed when you use the insert macro function, if the output numbers in the code are whole numbers it doesnt add a decimal point ?? thanks...Turner |
|
#2
| ||||
| ||||
M98 P1 M98 P2 M98 P3 M2 % O1(PROGRAM1) .. M99 O2(PROGRAM2) ... M99 O3(PROGRAM3) ... M99 % Of course, this will only work as long as each program ends with M99 and not M2/M30. I'll check out the macro insert problem and let you know what I find. Regards, Scott |
|
#3
| |||
| |||
Well done again this approach works great. Thanks for the help. Turner. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |