586,115 active members*
3,476 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2012
    Posts
    0

    Question How connect MPJ

    Hi friends!
    I have the problems connection MPJ with kflop+kanalog+mach!
    I want
    Change of supply and spindle rotation frequency from 0 up to 130%
    3.bmp

    Manual control movement buttons on co-ordinates on working and fast feedings
    2.bmp

    how connection and program in C

  2. #2
    Join Date
    May 2006
    Posts
    4045
    Hi MarunovV,

    You will need to supply a lot more detailed information on what you need to do other than just a picture of a control panel :}

    What type of interface do you have to those controls?

    What do you want them to do?

    How is your system configured?

    How are you currently controlling the Spindle?

    What item do you want to try first?

    Regards
    TK
    http://dynomotion.com

  3. #3
    Join Date
    May 2012
    Posts
    0
    Hello Tom!
    I want to create the hand control a machine-tool stand! Mpg works already for me! But I also want to use separate from MPG of the button (X+ X- and ect). How to prescribe them? Connection on Jp4

  4. #4
    Join Date
    May 2006
    Posts
    4045
    Hi MarunovV,

    I'm not sure I understand but I believe you wish to add 2 hardware external buttons to Jog the X axis + and - ?

    To do this you would need to write a small C program that would loop watching the buttons and when depressed issue a Jog command to the X axis.

    The example:

    Mach3_CL_PMDX.c

    Has a useful function that will debounce a button input and detect when it has cleanly transitioned high or low. It returns:

    // Debounce a bit
    //
    // return 1 one time when first debounced high
    // return 0 one time when first debounced low
    // return -1 otherwise


    So for example when the X+ button goes high you might want to execute

    Jog(0,1000.0); // jog positive

    And then when it goes back low:

    Jog(0,0.0); //stop

    Let me know how much of this you understand

    Regards
    TK
    http://dynomotion.com

Similar Threads

  1. How to connect them together !!!!
    By watzmann in forum CNC Machine Related Electronics
    Replies: 5
    Last Post: 04-03-2012, 05:39 PM
  2. connect with dnc
    By sabeurchebil in forum EDM Discussion General Topics
    Replies: 0
    Last Post: 05-08-2011, 12:58 PM
  3. Can i connect.....
    By Gaz. in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 05-02-2010, 09:29 PM
  4. connect to a pc
    By Reid1 in forum Haas Mills
    Replies: 4
    Last Post: 02-21-2009, 02:37 AM
  5. Connect a DDK 57f-50 to PC?
    By bigz1 in forum Computers / Desktops / Networking
    Replies: 0
    Last Post: 03-12-2008, 01:04 AM

Posting Permissions

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