![]() | |
| 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....is there a way to have NC-PLOT ignore certain G or M codes? I have a siemens 3M control on one of my machines and i can use G64 to have the machine not decelerate at each programed line (it eliminates dwell marks) and G60 to turn off G64, but NC-PLOT does funny things when it encounters these commands. thanks |
|
#3
| |||
| |||
| sorry for taking so long....here is one of the short programs i am having problems with. you will notice it is giving full arcs in the slots and eliminating a line in cutter comp mode. then on the right side it is also acting funny, doesn't come out as machined. thanks ahead of time for looking.had to change the .nc file to .txt |
|
#4
| ||||
| ||||
| Ok, I've taken a look at your program and it is the G60 commands that are causing the problem. If you remove these commands from your program, it plots fine. I will either have to set up a way for certain G-Codes to be ignored, or just ignore the G60. Thanks, Scott |
|
#5
| |||
| |||
| You could add to the Machine Configuration menu (Default, Haas Mill, Horizontal Mill, etc.) a machine like Simple G-Code that just ignores any unrecognized codes. I sometimes use your program to check a path for a wire EDM program (Older Mitsubishi machines). EDM programs have some strange codes for power settings and stuff that I have to delete or comment out to get the path to display. This line for example. Code: EHH72FHH73HH74(POWER,SETTINGS) The FHH73 is the target feed rate. And the HH74 sets the wire radius compensation, there is no word letter for this just that the variable accessed be in a set range (1 to 30) I think. And this line. Code: G02 X0.0000 Y1.5020 I0.0300 J0.0000 AH75 And instead of an O word they use the letter L for the program number. Overall it is not a big problem. I have learned to do my text copy using the CTRL key to skip the problem lines so I just have to delete the AH75 word on one line. |
| Sponsored Links |
|
#6
| ||||
| ||||
| Andre, I think there's actually a simpler solution to cases like this. On the Mitsubishi controls (non-EDM that is, and may also be true for other brands), if an address letter is followed by another without a value in between, it's value is assumed to be zero. For example: G28XYZ The Mits controls actually interpret this as G28 X0 Y0 Z0. Having NCPlot do the same thing would cause it to interpret your sample line: EHH72FHH73HH74(POWER,SETTINGS) as: E0 H0 H72 F0 H0 H73 H0 H74(POWER,SETTINGS) Which, is basically meaningless to NCPlot as there are no G-Codes, but it would not generate an error message. This would also allow other control specific keywords to be used without errors. I do think that I will eventually want the ability to create control specific configuration files, but I think this would be a good compromise in the meantime. Thanks, Scott |
![]() |
| 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 |
| Ignoring Feed Speeds | xichanceix | DeskCNC Controller Board | 1 | 12-17-2007 09:55 PM |
| M-codes and G-codes 4 Matsuura ES-1000V | maximusek | G-Code Programing | 2 | 11-27-2007 07:41 AM |
| mach-3 ignoring my origin. goes to home instead | mxpro32 | Mach Mill | 1 | 09-26-2007 01:43 PM |
| MDI Codes Anyone know about them? | manyhobies | Coding | 5 | 08-03-2007 04:16 PM |
| g-codes | pimp215 | General Metalwork Discussion | 11 | 03-07-2005 02:43 PM |