![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi Guys I'm working with the attached post and I need to make a mod for a new machine we got. I've editied posts before but now sure how to go about this one. I need to replace every Z move with an M00 (new machine is 2 axis) Any ideas on how I do this would be much appreciated. Cheers Dave |
|
#2
| |||
| |||
| Hi Spent a few hours working on this. Found a more appropiate simple post to edit. See attached file Now the type of output this is giving me is :- % N100G00G90 N110G20 N120T214 N130G00X-15.Y.3415 N140Z50. N150Z10. N160G01Z0.F1.79 N170X-10. N180G02X-5.Y-4.658I0.J-5. N190G01Y-12.4 N200G02X-7.827Y-19.568I-10.5J0. N210G03X-8.5Y-21.274I1.827J-1.706 N220G01Y-32. N230Y-80. N240G03X-6.Y-82.5I2.5J0. N250G01X6. N260G03X8.5Y-80.I0.J2.5 N270G01Y-32. N280Y-21.274 N290G03X7.827Y-19.568I-2.5J0. N300G02X5.Y-12.4I7.673J7.168 N310G01Y-4.6585 N320G02X10.Y.342I5.J0. N330G01X15.Y.3415 N340Z10. N350G00Z50. N360M02 % and what I am looking for is :- % N100G00G90 N110G20 N120T214 N130G00X-15.Y.3415 N140 M00 (Z50.) N150 M00 (Z10.) N160M00 (G01Z0.F1.79) N170X-10. N180G02X-5.Y-4.658I0.J-5. N190G01Y-12.4 N200G02X-7.827Y-19.568I-10.5J0. N210G03X-8.5Y-21.274I1.827J-1.706 N220G01Y-32. N230Y-80. N240G03X-6.Y-82.5I2.5J0. N250G01X6. N260G03X8.5Y-80.I0.J2.5 N270G01Y-32. N280Y-21.274 N290G03X7.827Y-19.568I-2.5J0. N300G02X5.Y-12.4I7.673J7.168 N310G01Y-4.6585 N320G02X10.Y.342I5.J0. N330G01X15.Y.3415 N340Z10. N350M00(G00Z50.) N360M02 % Any help on this would be much appreciated. Cheers Dave |
|
#3
| |||
| |||
| Hello I'm guessing I need to edit these lines - prapid$ # Linear line movement - at rapid feedrate pcan pcan1, n$, sgcode, pccdia, x$, y$, z$, strcantext, e$ pcan2 sof = 1 pzrapid$ # Linear line movement - at rapid feedrate pcan pcan1, n$, sgcode, x$, y$, z$, strcantext, e$ pcan2 plin$ # Linear line movement - at feedrate sof = 1 pcan pcan1, n$, sgcode, pccdia, x$, y$, z$, pfr, strcantext, e$ pcan2 pz1$ # First linear movement after SOF pz$ pz$ # Linear line movement - at feedrate n$, sgcode, pccdia, x$, y$, z$, pfr,e$ pcirout #Circular interpolation pcan pcan1, n$, sgcode, pccdia, x$, y$, z$, i$, j$, pfr, strcantext, e$ pcan2 However if I replace z$ with "M00" then I end up with M00 on every single line. I need a way to code - If z$ is not empty then set z$ to "M00" How would I go about this ? Cheers |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Routing image moves | lockeyone | WoodWorking | 8 | 11-22-2006 02:18 PM |
| Rapid moves G00 | dicksonhof | Mach Software (ArtSoft software) | 9 | 11-07-2006 10:21 AM |
| Z position moves up during run | henryj1951 | Gecko Drives | 3 | 03-27-2006 06:16 PM |
| motor moves one direction: what am I missing? | boyvox | Stepper Motors and Drives | 12 | 10-10-2005 07:43 PM |
| Motor only moves one direction | spoiledbrat | Mach Software (ArtSoft software) | 3 | 06-12-2005 02:02 PM |