G code viewer questions...


Results 1 to 12 of 12

Thread: G code viewer questions...

  1. #1
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    332
    Downloads
    0
    Uploads
    0

    Default G code viewer questions...

    Hi Tom,

    I have a few questions about the g code viewer. Honestly I haven't used the g code viewer much but after playing with the transfrom low pass filter ive been finding it handy.

    1. On my mill I cant seem to get any toolpaths to display at all? I can only use the g-code viewer on my office computer. If i click settings they appear to be the same, but nothing shows up on my mill? Any ideas? Do i have some settings wrong or could a custom screen be causing it?

    2. Is this showing the G-code or the path after its ran through the trajectory planner? If i change TP settings I see the same result, but in your video here it shows the results of the changes. Are you doing something different here? How are you viewing the changes in the trajectory planner?

    3. Is there any other way to zoom other then mouse wheel? If not could the increments be smaller? I find things tend to be too small and then one more increment and its off the screen.

    Thanks.

    Mark

    Similar Threads:


  2. #2
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2966
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Hi Mark,

    On my mill I cant seem to get any toolpaths to display at all? I can only use the g-code viewer on my office computer. If i click settings they appear to be the same, but nothing shows up on my mill? Any ideas? Do i have some settings wrong or could a custom screen be causing it?
    If you are using the Screen Editor then the path is directed to the GViewer on the Main Screen rather than the separate resizable screen. You will need to switch to a Standard Screen Face or enable the GViewer Control on one of your Screens.

    Is this showing the G-code or the path after its ran through the trajectory planner?
    Yes

    If i change TP settings I see the same result, but in your video here it shows the results of the changes. Are you doing something different here? How are you viewing the changes in the trajectory planner?
    You must actually run a Job to see the Trajectory Planned Result.

    Is there any other way to zoom other then mouse wheel? If not could the increments be smaller? I find things tend to be too small and then one more increment and its off the screen.
    Yes. See the help:
    G Code Viewer Screen

    Click and drag the right mouse Button to translate closer or farther.

    After 3 seconds of moving the resolution increases.



  3. #3
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    332
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Quote Originally Posted by TomKerekes View Post
    Hi Mark,

    If you are using the Screen Editor then the path is directed to the GViewer on the Main Screen rather than the separate resizable screen. You will need to switch to a Standard Screen Face or enable the GViewer Control on one of your Screens.

    Yes

    You must actually run a Job to see the Trajectory Planned Result.

    Yes. See the help:
    G Code Viewer Screen

    Click and drag the right mouse Button to translate closer or farther.

    After 3 seconds of moving the resolution increases.
    Ok, how do I enable the GViewer Control from a custom screen? I have the button there to open the G viewer, and it opens and looks fine, just doesnt show the toolpaths. It is a screen issue for sure, tried a custom screen on my office computer and it stopped working. I attached my custom screen if you want to take a look.

    Right mouse button is working for zoom, thanks I missed that somehow.

    Attached Files Attached Files


  4. #4
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2966
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Hi Mark,

    By popular demand when using a Custom Screen the GCode Viewer is now part of the main dialog screen and all path info is directed to and displayed there instead of the separate GViewer Screen.

    If you "Show" the GCode Viewer Control on your Screen it should show the tool paths. You might hide the button that brings up the separate GViewer Screen.

    See this video.




  5. #5
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    332
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Ok i was wondering how you got it to change from code to viewer to split, but I see now how you did it with 3 seperate screens. Cool.

    So if I want i can just make 2 or 3 versions of my screen and configure an unused label button to switch between them? So all i need to do is put "SScript:ScreenName.scr" under script to get the button to switch screens?



  6. #6
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2966
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Hi Mark,

    So if I want i can just make 2 or 3 versions of my screen and configure an unused label button to switch between them? So all i need to do is put "SScript:ScreenName.scr" under script to get the button to switch screens?
    Yes. You can also use the '>' browse button to configure the action and browse for the screen script file to format that syntax for you.



  7. #7
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    332
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Ok Tom, I got the viewer working now. Havent got it switching screens yet, ill try that tomorrow.

    One more question, it seems like the Front and Side views are rotated? The Z axis should be vertical in these views but its horizontal on mine?



  8. #8
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2966
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Hi Mark,

    One more question, it seems like the Front and Side views are rotated? The Z axis should be vertical in these views but its horizontal on mine?
    Those views were more for a Lathe. Please see if this patch for non-lathe mode works better for you. This has the Transform Change as well for V4.34:

    http://dynomotion.com/Software/Patch...KMotionCNC.exe
    http://dynomotion.com/Software/Patch...nterpreter.dll



  9. #9
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    332
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Quote Originally Posted by TomKerekes View Post
    Hi Mark,

    Those views were more for a Lathe. Please see if this patch for non-lathe mode works better for you. This has the Transform Change as well for V4.34:

    http://dynomotion.com/Software/Patch...KMotionCNC.exe
    http://dynomotion.com/Software/Patch...nterpreter.dll
    Hi Tom,

    I finally got around to trying these files. When I hit front view or side view now, it just shows a green screen without any tool paths. I tried zooming out but cant seem to find the part again.

    I was able to create two separate screens and get them to switch between each other by clicking a button. This is working well

    One more thing, before I finish everything up with screen editor, would it be possible to add a "Next Tool" button? That would be very handy if it wasnt much trouble. Basically one button to click that would search for the next M06 and make that the next line. That would save me sooo much time when running certain operations over to bring things out to size. Thanks again.

    Mark

    - Also, machine has been running fine since, I will post back if it acts up again.



  10. #10
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    332
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Hi Tom,

    I didnt hear back from you on this last post. No big deal really about the g viewer views being rotated, i can still rotate it around and see what I need.

    Wondering if you think theres any easy way to add a "next tool" button. Thanks.

    Mark



  11. #11
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2966
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Hi Mark,

    Sorry for the delay we’ve been evacuated from the office for almost a week due to the fires here in California (Woolsey). But we were fortunate to not have any loss.

    We were able to duplicate the GViewer issue but don’t have a fix yet.

    Regarding next tool search:I’m trying to think of a general way to add such functionality. The Screen Editor has a means of sending Windows messages such as mouse clicks and keyboard keys. So I was going to see if a fixed sequence of messages would do what you desire. You might also look at a 3rd party keystroke Generator. I assume you realize there is a g code search feature.



  12. #12
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    332
    Downloads
    0
    Uploads
    0

    Default Re: G code viewer questions...

    Quote Originally Posted by TomKerekes View Post
    Hi Mark,

    Sorry for the delay we’ve been evacuated from the office for almost a week due to the fires here in California (Woolsey). But we were fortunate to not have any loss.

    We were able to duplicate the GViewer issue but don’t have a fix yet.

    Regarding next tool search:I’m trying to think of a general way to add such functionality. The Screen Editor has a means of sending Windows messages such as mouse clicks and keyboard keys. So I was going to see if a fixed sequence of messages would do what you desire. You might also look at a 3rd party keystroke Generator. I assume you realize there is a g code search feature.
    Hi Tom, wow sorry to hear your that close to the fire. At least theres no loss, hopefully it stays that way. Wishing the best to all you guys down there. We had a small forest fire close to our home this summer and were evacuated for a day but thankfully they got things under control. Its not a nice feeling to have to just leave everything not knowing if there will be anything left to come back to.

    Yeah I know about the search feature and use it in larger programs. At my last job we used mastercam and their G-code editor has a next and previous tool button and it was very convenient to jump to next tool in a single click. I was thinking it would be awesome to have this in Kmotioncnc, would be super fast for finding tools and restarting part way through the program. See pic here: https://planet-cnc.com/wp-content/up...02/Slika14.jpg

    I downloaded AutoHotkey and created a script to find the next M06 using keyboard commands. Its a pretty neat little program. I setup Ctrl+Down and Ctrl+Up to search up and down and seems to work fine. Its fairly simple, see below. Is there any way to add a simple thing like this to Kmotioncnc or do i need to keep using the AutoHotkey program? Heres the script:

    ^Down::
    Send, ^f
    Send, m06
    Send, {Tab}
    Send, {Tab}
    Send, {Tab}
    Send, {Tab}
    Send, d
    Send, {Tab}
    Send, {enter}
    Send, {Tab}
    Send, {enter}
    return

    ^Up::
    Send, ^f
    Send, m06
    Send, {Tab}
    Send, {Tab}
    Send, {Tab}
    Send, {Tab}
    Send, u
    Send, {Tab}
    Send, {enter}
    Send, {Tab}
    Send, {enter}
    return



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

G code viewer questions...

G code viewer questions...