I don't think NCPlot is doing anything with G60 or G64, they should be ignored. What kind of funny things do you see? Can you post an example?
Thanks,
Scott
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
I don't think NCPlot is doing anything with G60 or G64, they should be ignored. What kind of funny things do you see? Can you post an example?
Thanks,
Scott
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
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
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.
The EHH72 sets the power level word E, the H is just like # in Fanuc macros.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.
The A word sets the wire angle to the value in variable 75, the problem here being the H again.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.
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