Mach3 MPG Wiring and Full Config

Sdílet
Vložit
  • čas přidán 23. 02. 2023
  • MPG (Handwheel) wiring and configuration needed in Mach3 , I have Red 4 axis mach3 board and standard handwheel.
    Mach3 Red handwheel 10 socket port:
    +5v | o o | GND
    X | o o | Y
    ACH o o | BCH
    Z | o o | A
    X100 | o o | X10
    Standard MPG with ESTOP Wire Colors:
    (Red - Green/black) -- 5v
    (Black - White/Black - Orange/Black) -- GND
    (Yellow) -- X
    (Yellow/Black) -- Y
    (Green) -- A CH (Encoder)
    (White) -- B Ch (Encoder)
    (Brown) -- Z
    (Brown/Black) -- A
    (Orange) -- X100
    (Gray/Black) -- X10
    (Blue & Blue/Black) -- IN1 & DCM in BOB
    _____________________________________________________
    2- Config -- ports & pins -- Input signal:
    OEM Trig#1 port -- 3 , pin -- 5
    OEM Trig#2 port -- 3 , pin -- 6
    OEM Trig#3 port -- 3 , pin -- 7
    OEM Trig#4 port -- 3 , pin -- 8
    OEM Trig#5 port -- 3 , pin -- 9
    OEM Trig#6 port -- 3 , pin -- 10
    _____________________________________________________
    3- Config -- ports & pins -- Encoder/MPG's:
    Encoder1 -- Enabled
    MPG#1 -- Enabled
    _____________________________________________________
    4- Config -- System hotkeys:
    Trigger 1 -- oem code 185 To select X axis
    Trigger 2 -- oem code 186 To select y axis
    Trigger 3 -- oem code 187 To select z axis
    Trigger 4 -- oem code 188 To select a axis
    Trigger 5 -- oem code 192 To select x10 jog step
    Trigger 6 -- oem code 193 To select x100 jog step
    _____________________________________________________
    5- Config -- General Config... -- Jog Increments in cycle Mode:
    Position1 -- 1
    Position1 -- 10
    Position1 -- 100
    _____________________________________________________
    6- Program Run Alt1 -- Tab key -- Jog Mode MPG
    _____________________________________________________
    Notes:
    0- Just use 5v pulse generator (encoder) , higher than this will damage your BOB.
    1- Plugin control -- RnRMoton "MPG disable" must not selected
    2- Check Encoder in Setting Alt6 -- MPG Diagnstic -- MPG1 ,by rotating encoder you can see count and velocity ; just by settings in step 3, you can check encoder test
    3- In Program Run Alt1 -- Tab key -- Jog Mode MPG, you can see selected axis and jog step
    4- to select axis and jog step you must push side key
    5- Default jog step is 1 for encoder without pressing side key , pressing side key equal to selected jog step
    6- To calibrate your MPG: Function Cfg's -- Calibration of MPG's
    7- Do not forget to save any changes in Config -- save settings..

Komentáře • 87

  • @clintsmart9501
    @clintsmart9501 Před rokem +1

    Very helpful my MPG is working took me too long because i didn't read your notes until i was ready to give up my MPG was disabled in the RnRMoton Addon. that little bit of information saved me thank you,

  • @ali-ascentsayder5641
    @ali-ascentsayder5641 Před rokem +2

    I've been looking for a video like this for a long time.very nice video and explanation.thank you for that.thank you for the time you spent.

  • @tasso6196
    @tasso6196 Před 2 měsíci

    This video helped me a lot, thank you!

  • @cncrobotic5254
    @cncrobotic5254 Před měsícem

    HI This video helped me a lot TOO, thank you! I APPRECIATED

  • @AlexMoonXXI
    @AlexMoonXXI Před 11 měsíci

    Hi!
    And could you make a video of how the CNC machine behaves under the control of the MPG?
    I made an MPG in the same way and set it up like you.
    On the Mach3 screen, everything works decently.
    But the machine works successfully only with jog step x1.
    When switching to x10 and even more so to x100, the machine becomes crazy: it moves at high speed, skips steps, etc.
    Settings Mach3 (MPG calibration) does not give any results.
    It also makes no difference what parameters are set in General Config (Jog Increments in Circle Mode).
    Thank you!

  • @jesperhansen8777
    @jesperhansen8777 Před 10 měsíci

    Super helpful thank a English version will be most welcome

    • @manifa59
      @manifa59  Před 10 měsíci

      So Glad to hear that ♥️

  • @mostafaamin5707
    @mostafaamin5707 Před rokem

    thank you

  • @walterperry4565
    @walterperry4565 Před rokem

    Awsome

  • @waynephillips1848
    @waynephillips1848 Před 11 měsíci

    Hi, to get X1 speed do you leave x10 and x100 high, or pull both to 0v (low), the manual is confusing it states, X10 and X100 are selectors for resolution multiplication of steps move per encoder pulse, connected both is X1 by default

    • @manifa59
      @manifa59  Před 11 měsíci

      Hi
      As I see in the manual , when you do not choose x10 or x100 and put in x1 state , by default it goes to x1 movement strate.

    • @waynephillips1848
      @waynephillips1848 Před 11 měsíci

      @@manifa59 👍

  • @luizmacena4623
    @luizmacena4623 Před měsícem

    Olá, parabéns pelo vídeo, foi a melhor ajuda que consegui. Como chama esse tipo de conector que você usou?

    • @manifa59
      @manifa59  Před měsícem

      Hi
      glad to hear it.
      Connector name: IDC 10 pin connector
      www.amazon.com/Aexit-10-draads-IDC-connector-moederbord-lintkabel/dp/B07B7FWYRM

  • @jrmichel
    @jrmichel Před rokem +1

    Excelent!
    It’s possible to change for only 3 axis and 3 steps choices? 1x, 10x and 100x?

    • @manifa59
      @manifa59  Před rokem +3

      Thanks
      Yes , you can use 3 axes and 3 steps
      for example instead of "A" axis , connect "1x" wire and config it in Mach3 as well
      and change 188 OEM code to 191 and test it

    • @jrmichel
      @jrmichel Před rokem +2

      @@manifa59 thank you a lot!!!!!
      Your video is the unic in the internet about this subject!

    • @manifa59
      @manifa59  Před rokem

      Glad to hear it
      🙏🙏🙏

    • @jrmichel
      @jrmichel Před rokem

      @@manifa59 Hello Mani Fa. After everithing set due to your help, I´m having a issue with the MPG movement. I tried to tune many times, but all the real moves fails. With out motors the moves works very well. The movement without MPG iare very smoths.Any sugestion? nice week end!

    • @manifa59
      @manifa59  Před rokem +1

      @@jrmichel Hi ,
      To troubleshoot do step by step
      first just connect the MPG encoder and check its settings.
      then add one axis to check movement.
      try to use the encoder to move the axis without pushing the side button and see its feedback
      If you see any problems in movement, adjust motor tuning in settings and lower your velocity and check again.
      (Also do the MPG colibration that shows at the end of the video)
      Try to upload a video which shows your settings and problem that you have faced for better understanding your situation.

  • @RodrigoLopez-zn2ir
    @RodrigoLopez-zn2ir Před 5 měsíci

    Hello. I am using the same bob and MPG. I did what you did, all connections, config etc. Everything is working except encoder. When i open Rnr motion card plugin window, i can see the MPG A and MPG B ticks. While i am rotating encoder they are blinking but Mach 3 is not counting at Settings (Alt-6) window so i can not move my axis. Can you help me please ?

    • @manifa59
      @manifa59  Před 5 měsíci

      Hello
      If MPG A and MPG B ticks and while rotating they must change, for the test I use a rotary encoder module (for arduino) and it works somehow ok
      1. The encoder must be 5v
      2. If all settings are ok , check with another BOB
      let me know the result

  • @AlexMoonXXI
    @AlexMoonXXI Před rokem +1

    Hi!
    Thank you very much again!
    I tested your suggested Mach3 configuration method with my simple MPG and it worked!
    I will make a video about DIY making of MPG on my channel.
    Can I include a link to your video in it?

    • @manifa59
      @manifa59  Před rokem

      Hi
      Glad to hear it.
      Yes , sure

  • @sangukkim7868
    @sangukkim7868 Před 3 měsíci

    The video was very helpful
    I followed the settings, but each axis and speed change is reflected in mach3.
    But the off switch doesn't work.
    Even in the video, it is off, but the x-axis appears to be selected.
    How should I solve this?

    • @manifa59
      @manifa59  Před 3 měsíci

      Hi
      off switch? you mean the side key?
      In some models the side key works as an on and off switch and some others use like my model. even after releasing the side key , the previous axis must be selected.

    • @sangukkim7868
      @sangukkim7868 Před 3 měsíci

      @@manifa59 My mpg is for the model without the side key.
      What I'm talking about is a rotary switch that selects the X, Y, and Z axes.
      Even if you leave this switch in the off position, the x-axis is still selected.
      I asked because I wasn't sure if I should use it in this state or if I had done something wrong with the settings.

  • @o0Vion70o
    @o0Vion70o Před 6 měsíci

    Hey, can you help me? I want to use the inputs for something else instead for a handweel. I wanna use the inputs for the endstops and e-Stop. I unse port 3 and pin 5-13 but nothing works 🙈

    • @manifa59
      @manifa59  Před 6 měsíci

      Hi
      They can be use just for general inputs as a key or push button, so you can use them for for e-stop or run, pause , stop and so on , but not for endstops
      next video will be about these compabilities about adding more 8 push button.

    • @o0Vion70o
      @o0Vion70o Před 6 měsíci

      @@manifa59 Nice to hear that! i let an Abo there so i dont miss that !

  • @gordonbournival152
    @gordonbournival152 Před rokem

    Again very usefull video, well explained, and for the motors themselve if you can give me the settings of X Y Z A and B port an d pin, that is an issue for me,thanks

    • @manifa59
      @manifa59  Před rokem

      in Mach3 Red board:
      Config , ports and pins , motor outputs:
      just check "enabled" for any axis that you want to be enable. step pin and dir pin for all axis (X,Y,Z,A) can be set to 0.
      Config , ports and pins , input signals:
      For inputs : all ports are 3 and pin number is from 1 to 4
      Config , ports and pins , output signals:
      For outputs (output#1 , output#2 , output#3 and output#4): all ports are 3 and pin number is from 1 to 4
      these are just a quick way to set them up, However I'm recording a video for this board based on 2 comments asking for help.

    • @gordonbournival152
      @gordonbournival152 Před rokem +1

      @@manifa59 thanks for all, i will give a try!

    • @gordonbournival152
      @gordonbournival152 Před rokem

      Hi, forgot to ask, do you think it can be use with any version of mach 3 , i have the 3.043.066

    • @manifa59
      @manifa59  Před rokem

      @@gordonbournival152 yes , there is no problem with your Mach3 version

    • @gordonbournival152
      @gordonbournival152 Před rokem +1

      @@manifa59 ok then, i let you know

  • @johnalex3023
    @johnalex3023 Před 4 měsíci

    If the blue and black go to IN1 and DCM, does that mean I can’t use 24v on that side of the board for IN and OUT?

    • @manifa59
      @manifa59  Před 3 měsíci

      Hi
      Blue and Blue/Black used for emergency stops and you can connect them to IN1 UpTo 4 , one lead goes to DCM and another lead goes to Input
      I didn't understand what you mean exactly

    • @johnalex3023
      @johnalex3023 Před 3 měsíci

      I thought the inputs and outputs on that board get wired to a 24v supply

    • @manifa59
      @manifa59  Před 3 měsíci

      @@johnalex3023 Aha I get it now.
      for these 8 pins they are not.
      they work with 5V instead of 24V and GND instead of DCM.
      remember, IN1-4 and OUT1-4 are opto isolated , therefore they can use 24v to operate.

    • @johnalex3023
      @johnalex3023 Před 3 měsíci

      If I wire that estop that way, can I still use 24v on the other I/O?

    • @manifa59
      @manifa59  Před 3 měsíci

      @@johnalex3023 Yes , for sure
      estop did not connect to those 8 pins and it is a separate key.
      for I/O 1-4 you can use 24v like before

  • @petrkriza3654
    @petrkriza3654 Před 9 měsíci

    Hello.Thanks for your video. I set up my hand wheel according your video. I have one problem. X1 Its ok ( calibraton of MPG was Done). When I switch to X10 or X100, my motors doesn't go fluently.When I look at unit/mm there Is too hide numbers...nobody Is able to help.

    • @manifa59
      @manifa59  Před 9 měsíci +1

      As I know if your velocity and acceleration is so high , your motor movement does not work well, change these values , and you can use other values for x10 and x100 too

    • @petrkriza3654
      @petrkriza3654 Před 9 měsíci

      ​@@manifa59but when I drive on my keyboard, motors go well (also when I use Shift - full Speed). IT is something like software don't akcept highest value of motors speeds.

    • @petrkriza3654
      @petrkriza3654 Před 9 měsíci

      ...for specifycation i have handwheel without side button

    • @manifa59
      @manifa59  Před 9 měsíci

      @@petrkriza3654 So let me check it

  • @aboli5792
    @aboli5792 Před rokem +1

    ممنون مهندس بابت تهیه این آموزش عالی
    اگه امکانش هست در مورد این برد نحوه اتصال استپر موتور رو هم اموزش بدین
    در ضمن میشه ی ویدیو در مورد اتصال دو استپر موتور به یک محور رو هم بسازید.
    ممنون از شما

    • @manifa59
      @manifa59  Před rokem

      سلام
      بله ، چشم
      درباره راه اندازی اولیه این برد هم قراره یه ویدئو درست کنم که شامل کلیه اتصالات موتورها و ورودی و خروجی ها میشه
      درباره دو استپر موتور هم صحبت خواهیم کرد

  • @AlexMoonXXI
    @AlexMoonXXI Před rokem

    Bravo, maestro!
    I and many other users have been unable to set up MPG for this board.
    (Axes control does not switch)
    Please specify the version of the plugin that your setup works with.
    A lot depends on the version of the plugin. For example, heightmap does not work with version 3.5. And with version 3.4, PWM does not work :(
    Thank you!

    • @manifa59
      @manifa59  Před rokem +1

      Ok , let me upload my board plugin and see version of my mach3.
      I test standard MPG for 3 boards and all works well

    • @manifa59
      @manifa59  Před rokem +1

      RnRMotion.dll file download:
      drive.google.com/file/d/1MP2sYZ91PUQWU0tUXL7es5HeQoBf_dgm/view?usp=sharing
      Mach3 software version: Version R3.043.066
      for any problem you can upload an image of your configuration and wiring , I will try my best to solve it together.
      my Telegram ID: @mani_fa

    • @AlexMoonXXI
      @AlexMoonXXI Před rokem

      @@manifa59 Thanks a lot for your responsiveness!
      I will test the downloaded plugin as soon as possible.
      But the size looks like it's a version 3.4
      Where did you get the MPG settings information from?
      I have not seen this in any manual.
      Have you studied this controller in depth? :)
      I tried to extract full functionality from it, but never succeeded.
      Even conducted a comparative analysis of control signals
      (if interested, I can tell you more)

    • @manifa59
      @manifa59  Před rokem +1

      @@AlexMoonXXI My friend had a MPG handwheel with no success of installation for a month, He sent it for me to test , After one or two times failure, I solve the problem.
      I couldn't find any good manuals , just the wiring color of MPG , also no good configuration for Mach3 , just a very brief configuration in CZcams.
      I knew a bit about Mach3 and with some curiosity I did it. As I know there is a lack of installation manual for MPG so I record a movie to anyone.
      cause of one or two failures : wiring mistakes and bad configuration in Mach3.
      I can also make my own MPG with encoder and buttons as well , the wiring and everything is the same.

    • @AlexMoonXXI
      @AlexMoonXXI Před rokem

      @@manifa59 Sorry for the intrusiveness, but you have a high competence in CNC controllers.
      Is it possible to apply such an MPG for Grbl controllers?
      By the way, do you know that the controller from your video has a STM32 chip and can be re-flashed for Grbl-HAL?

  • @pvsuryajaya1962
    @pvsuryajaya1962 Před 8 měsíci

    please share circuit scematic of handwheel mpg, please open the box of handwheel mpg sir

    • @manifa59
      @manifa59  Před 8 měsíci

      Hi
      I do not have it now
      but a schematic of wiring can be found here:
      cncyadak.com/wp-content/uploads/2020/09/Handwheel-MPG-CNC-MACH3-Siemens-GSK-4.jpg
      for any problem comment here

  • @AbolfazlKafchi
    @AbolfazlKafchi Před 3 měsíci

    سلام و عرض ادب استاد. ورژن مچتری شما چنده با چه لایسنسی

    • @manifa59
      @manifa59  Před 3 měsíci

      سلام
      نسخه برنامه R3.043.066 هستش و لایسنس هم لایسنسی که همه استفاده میکنن

  • @reviewphimhay1104
    @reviewphimhay1104 Před 7 měsíci

    I followed you but it didn't work. Can you help me?

    • @manifa59
      @manifa59  Před 7 měsíci

      Hi
      where is your problem exactly?
      @mani_fa (my telegram ID)

    • @reviewphimhay1104
      @reviewphimhay1104 Před 7 měsíci

      @@manifa59 Can I contact you via email? Because my telegram is not working

  • @valdineiribeiro4911
    @valdineiribeiro4911 Před rokem

    HELLO GOOD MORNING I'M FROM BRAZI MY NAME IS VALDINEI I HAVE A DOUBT ABOUT WHAT YOU SHOWN IN YOUR VIDEO IN MY CASE WHEN I PUT ON X100 IT GETS VERY FAST I GET TO LOSE A STEP I CANNOT DOWN IF I TURN THE CRANK SLOWLY IT WORKS BUT IF IT TURNS QUICKLY IT DOESN'T WORK COOL

    • @manifa59
      @manifa59  Před rokem +1

      Hi
      x100 goes so fast , this is fast based on config -> motor tuning and highest velocity that you defined there , try to decrease the value and test again
      mostly losing steps means incorrect and higher velocity that you defined.
      one more thing , you can change the value of x100 to lower value in config - general config - jog increments

  • @magnummild9602
    @magnummild9602 Před rokem

    Auto bang

  • @Ggggggvvvvvvvvvvvtybffxgtdf
    @Ggggggvvvvvvvvvvvtybffxgtdf Před 4 měsíci

    سلام استاد من تمام مراحل روانجام دادم ولی انکودر کار نمیکنه همه قسمتها درست عمل میکنن

    • @manifa59
      @manifa59  Před 4 měsíci

      سلام
      تنها قسمتی که فقط با یه تیک زدن باید کار کنه ، انکودر هستش که توی نکات گفته شده
      چند حالت داره :
      ۱. انکودر ۵ ولتی باید باشه نه ۱۲ ولتی
      ۲.امکان داره برد هم مشکل داشته باشه
      ۳. امکان داره سیم بندی انکودر متفاوت باشه
      برای تست انکودر بعد از تنظیم وارد تنظیمات افزونه rnrmotion بشید ، با چرخوندن انکودر باید قسمت A و B تیک دار بشه و بازی کنه
      حالت دوم تست هم با یه ماژول انکودر ساده آردوینو هستش که در حد تست میشه متوجه شد که بخش انکودر کار میکنه یا نه

    • @Ggggggvvvvvvvvvvvtybffxgtdf
      @Ggggggvvvvvvvvvvvtybffxgtdf Před 4 měsíci

      آخه تازه انکودر رو عوض کردم ممکنه مشکل از brain باشه

    • @manifa59
      @manifa59  Před 4 měsíci

      انکودرتون ۵ ولته؟
      نه کاری با brain نداریم ، اگر احتمال میدی خراب باشه ، مچ تری رو دوباره نصب کن
      خودم با اولین تنظیم به راحتی عملکرد انکودر رو دیدم و بعد رفتم سراغ بقیه تنظیمات (دقیقه ۱۳:۵۱)
      تنظیم خاصی نداره برای اینکه کار کنه ، ولی دیده ام که برد مچ تری قسمت هندویلش مشکل داشته باشه
      اگه برد دیگه ای هم دارید تست بگیرید
      دوباره باید بگم که با ماژول انکودر آردوینو تست هم گرفتم (فقط با تنظیمی که گفتم) و کار کرد

    • @Ggggggvvvvvvvvvvvtybffxgtdf
      @Ggggggvvvvvvvvvvvtybffxgtdf Před 4 měsíci

      اتفاقا دوباره نصب هم کردم مچتری رو فقط مونده برد که یه دونه دیگه بندازم بازم ممنون از لطفتون بله انکودرم ۵ ولتیه

    • @Ggggggvvvvvvvvvvvtybffxgtdf
      @Ggggggvvvvvvvvvvvtybffxgtdf Před 4 měsíci

      سلام مهندس جسا رتا سیستم عاملتون چیه و چند بیتی است