How connect MPJ


Results 1 to 4 of 4

Thread: How connect MPJ

  1. #1
    Registered MarunovV's Avatar
    Join Date
    May 2012
    Location
    Ucraine
    Posts
    14
    Downloads
    0
    Uploads
    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%
    How connect MPJ-3-bmp

    Manual control movement buttons on co-ordinates on working and fast feedings
    How connect MPJ-2-bmp

    how connection and program in C

    Similar Threads:


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

    Default

    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

    Regards
    TK http://dynomotion.com


  3. #3
    Registered MarunovV's Avatar
    Join Date
    May 2012
    Location
    Ucraine
    Posts
    14
    Downloads
    0
    Uploads
    0

    Default

    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
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default

    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

    Regards
    TK http://dynomotion.com


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

How connect MPJ

How connect MPJ