Page 4 of 5 FirstFirst 12345 LastLast
Results 37 to 48 of 60

Thread: KMotion CNC.net

  1. #37
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    Changed to pos but ther is no movement of DROs they just stay at 000.000. All 3 DROs.

    Thanks,
    Troy
    [url]http://www.homecncstuff.elementfx.com/[/url]


  2. #38
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    This fixed it.
    Thanks Brad,
    Troy

    "Brad wrote-Yahoo Forum
    > Hello Troy,

    > We need to set a flag as well, sorry about that….

    > In the top of your Index.html file you will see a script section similar to this::
    > $(document).ready(function() {
    >
    > window.external.UpdateCommandButtonText(11,20);
    >
    > window.external.RefreshInterpreterState();
    >
    > window.external.InitInterpreterData();
    >
    > $('[data-commandid]').click(function() {
    >
    > var id = $(this).attr('data-commandid');
    >
    > window.external.RunUserCommand(id);
    >
    > });
    >
    > });

    > Add this line after window.external.UpdateCommandButtonText(11,20);

    > window.external.ShowPosition = true;
    > And then your position html elements will be updated.
    > -Brad Murry
    >
    >
    "
    [url]http://www.homecncstuff.elementfx.com/[/url]


  3. #39
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    Now for the next one.

    How to program a button for each axis to Reference the axis off of my limit switches.
    Attached is the C program i currently use with Mach3. Would this be needed?

    Where to start?

    Thanks,
    Troy
    Attached Files Attached Files
    [url]http://www.homecncstuff.elementfx.com/[/url]


  4. #40
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    This worked great Tom.
    Thanks again,
    Troy


    "-------- Original Message --------
    Subject:Re: [DynoMotion] Re: KMotion CNC.net
    From :Tom Kerekes

    Hi Troy,

    Yes you can basically use that same code. But there is a difference. Mach3 sends a message for each axis it wishes to home. So the one Home program gets called one time for each axis with a "flags" variable telling the program which of the axis Mach3 would like to home each time.

    The simplest thing would be to modify that program to home all 3 axes in sequence. Then add a single button in either KMotionCNC or KflopWebNC to call that one program to home all the axes.

    Your current program has "if" statements so it only homes each axis "if" it was told to do that particular axis. I will remove the "if" statements so runing the program will always home all of your three axes in sequence. I will also change the order of the code to be Z first then X then Y.

    I uploaded it to your Yahoo Directory

    http://tech.groups.yahoo.com/group/D...%20KflopWebNC/

    You can test it by running it from KMotion.exe | C Program Screen

    Regards
    TK
    "
    [url]http://www.homecncstuff.elementfx.com/[/url]


  • #41
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    Brad,
    When adding trying to add a C program to a new button in the settings page, the "Browse for file" button does not work, but if i type the file address in the block, that is accepted.
    Sumthinelse for list?

    Troy
    Attached Thumbnails Attached Thumbnails KMotion CNC.net-settingspage1.jpg  
    [url]http://www.homecncstuff.elementfx.com/[/url]


  • #42
    Registered bradodarb's Avatar
    Join Date
    Oct 2004
    Location
    usa
    Posts
    147
    Downloads
    0
    Uploads
    0
    Hello Troy,

    Did you try my internet security options I suggested on the Yahoo forum?

    I'm hoping it will get your file button working.


    -Brad Murry


  • #43
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    Ummm.....
    I got the "run as admin" post, and i posted back that iam already admin. Is this the one your talking about?

    Troy
    Last edited by Need TECH Help!; 03-30-2012 at 05:49 PM.
    [url]http://www.homecncstuff.elementfx.com/[/url]


  • #44
    Registered bradodarb's Avatar
    Join Date
    Oct 2004
    Location
    usa
    Posts
    147
    Downloads
    0
    Uploads
    0
    Hello Troy,


    Sometimes just because your login is admin, does not mean the program will run with administrqative rights.

    After some thought I do not belive it should need to run as admin, it is most likely an Internet Explorer settings issue.

    Before we get into that, send me the settings.html and your KflopWebnc.exe so I can be sure nothing is wrong with your release.


    -Brad Murry


  • #45
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    I opened my Settings html and all fields are blank??? But fields are there within KflopWebNC.

    Troy
    Attached Files Attached Files
    [url]http://www.homecncstuff.elementfx.com/[/url]


  • #46
    Registered bradodarb's Avatar
    Join Date
    Oct 2004
    Location
    usa
    Posts
    147
    Downloads
    0
    Uploads
    0
    Hello Troy,

    Where did that file come from? c:\Dyno Install\KMotion\Release\Site ?


    It gave me a bunch of invalid character errors...


    Try this one::
    Attached Files Attached Files


  • #47
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    U.S.A.
    Posts
    92
    Downloads
    0
    Uploads
    0
    C:\KMotion429z\KMotion\Release\Site

    Troy
    [url]http://www.homecncstuff.elementfx.com/[/url]


  • #48
    Registered bradodarb's Avatar
    Join Date
    Oct 2004
    Location
    usa
    Posts
    147
    Downloads
    0
    Uploads
    0
    Hello Troy,

    Did you get the same results with the file I sent you?

    -Brad Murry


  • Page 4 of 5 FirstFirst 12345 LastLast

    LinkBacks (?)


    Similar Threads

    1. Mach3 with Kmotion USB controller
      By DennisCNC in forum Mach Software (ArtSoft software)
      Replies: 2
      Last Post: 03-31-2008, 10:14 PM

    Tags for this Thread

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.