Need Help! Chinese electronic handwheel for Mach3


Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: Chinese electronic handwheel for Mach3

  1. #1
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Chinese electronic handwheel for Mach3

    I bought one of those chinese electronic handwheeels for use with Mach 3 on ebay.

    (New MACH3 CNC Electronic Hand wheel For ModsMach3 Only | eBay)

    After installing according to the instructions it only partly works.
    The following keys work:

    Origin
    Cycle start
    Stop
    Spindle + -
    Feedrate + -

    E-Stop, Motion step, MPG Select do not work, but the LED´s are flashing. The handwheel does not react.
    As to be expected there was not support from the seller.
    I am not a computer expert so can anyone help with some advice on how to do the correct settings.

    Similar Threads:


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default

    I didn't look through all the instructions, but did you put the "macropump.m1s in \Mach3\macros\yourprofile and check "Run Macro Pump" in General Config?

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Yes I did. I also tried two diffent computers and with Windows Xp and Vista to exclude the computer itself. It seems to probably be related to the port and pin allocation or setting. as some of the funktions of the handwheel like spindle speed or feed rate up and down , move to machine zero coordinates work correctly.
    Another buyer from ebay contacted me, who has the same problems, it does not seem to be specific to me.



  4. #4
    Member neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3757
    Downloads
    0
    Uploads
    0

    Default

    Does the manual have any information about how to make it work? Pins allocated, etc. Or is it a keyboard stuffer?

    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. THREE ways to fix things: The RIGHT way, the OTHER way, and maybe YOUR way, which is possibly a FASTER WRONG WAY!


  5. #5
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Hi,

    I have exactly the same issue. Working buttons:
    EmStop
    feed rate
    spindle speed
    cycle start
    Stop
    Spindle on/off
    Origin

    MPG and Motion step buttons are not working.

    If I set the Jog mode to mg manually (press tab in mach3) and select the axis from there, the handwheel is working.

    I believe with exception of the motion step and mpg select, all other buttons are direct inputs. Looking at the macropump file, it looks like motion step and mpg select are the only ones controlled with this.

    Looking further into setup serial modbus and test settings, i can see that there is a input when pressing either button. Mpg select cycles through the following values (starting from Cont) :
    0000
    0031
    0065
    0098
    00CC
    00FF

    And Motion step cycles through (starting from cont) :
    00FF
    00AB
    0056
    0000

    Either the macro is not working as it should or mach3 does not load it......
    Any idea how to test?

    Thanks

    Sent from my GT-I9300 using Tapatalk 2



  6. #6
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Found the issue:

    Googled to check how I can see whether the macropump file is loaded and found a hint on the use of profiles.
    Long story short: the macropump.m1s file needs to be in your profile folder.

    In my case I had created a profile named sherline. So i had to copy the file to Mach3\macros\sherline\ instead of the mach3mill folder stated in the manual

    Restarted Mach3 and all works fine now

    Hope this helps.

    Sent from my GT-I9300 using Tapatalk 2



  7. #7
    Member neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3757
    Downloads
    0
    Uploads
    0

    Default

    Good fix! That should help others.



  8. #8
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Hi,

    I have tried all reccommmendations, but nothing has changed .



  9. #9
    Member neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3757
    Downloads
    0
    Uploads
    0

    Default

    Idefix seems to have solved it. Post #6. Your folder names might be different.

    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. THREE ways to fix things: The RIGHT way, the OTHER way, and maybe YOUR way, which is possibly a FASTER WRONG WAY!


  10. #10
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    I did try it with Macropump in the general macro folder as well as in the folder for my router settings-- no difference



  11. #11
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Chinese electronic handwheel for Mach3

    Maybe you can try downloading the latest macro from cncdiy.org and try if this makes a difference (setup Manual link in the header)

    Sent from my GT-I9300 using Tapatalk 2



  12. #12
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    I have already done this.
    If you open the macros (the older one supplied with the handwheel and the by date newer one fron cncdiy.org) they are exacly the same.

    Different to your wheel on mine the e-stop does not work, however the LED´s of e-stop, Motion step and MPG select keep flashing all the time



  13. #13
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Chinese electronic handwheel for Mach3

    Damn, sorry to hear that.
    My estop led (which labled power led) is flashing as well. The other ones are not flashing.

    Sent from my GT-I9300 using Tapatalk 2



  14. #14
    Member neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3757
    Downloads
    0
    Uploads
    0

    Default

    Life sucks. Inadequate documentation. No source code. Badly written code. Bum product not adequately tested before release. COMPLAIN - COMPLAIN - REQUEST A SOLUTION.
    Give them a link to this thread.

    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. THREE ways to fix things: The RIGHT way, the OTHER way, and maybe YOUR way, which is possibly a FASTER WRONG WAY!


  15. #15
    Registered
    Join Date
    Feb 2013
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Quick question: before I installed the handwheel I could move the Axes with my keyboard smoothly and continuously. Since the handwheel is installed and the macropump is on, the keyboard inputs, if used, only allow me to move the axes step by step (steps are not equal). I assume the macro is somehow interfering with the keyboard commands. Any idea how mach3 can be set to allow both inputs? As the continuous movement with the handwheel is not very smooth either, the keyboard is useful for rough adjustments for me (in other words the handwheel does not work to well for large movements, fine adjustments work fine though....)

    Sent from my GT-I9300 using Tapatalk 2



  16. #16
    Member neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3757
    Downloads
    0
    Uploads
    0

    Default

    I have a USB keyboard stuffer pendant, and when run through an extra hub, it gets excessive delays because of extra USB layer.
    Even without hub, once I could get the plug to reach, it was still slow and useless.
    If the USB thing was written so that it emulated a keyboard in the standard manner all would be fine. Poorly written USB gadget.
    Mine is only good for changing the feed rate. ESTOP has to be a hardwired thing. You can't rely on PC interrupts for important functions.
    Windows can go off in the weeds for two seconds as it proceeds to remove your finger(s).

    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. THREE ways to fix things: The RIGHT way, the OTHER way, and maybe YOUR way, which is possibly a FASTER WRONG WAY!


  17. #17
    Registered
    Join Date
    Jan 2011
    Location
    United States
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Here is Help for the Chinese Mach3 Handwheel (MPG/Pendant)

    Folks,

    The pendant I have was purchased from eBay about 6 months ago. (There are probably variations out there, but I'm guessing that the basic electronics are the same.) I installed it yesterday and finally found the docs I needed to get it to work.

    First -
    The following buttons work out of the box with only the USB connection plugged in:

    EmStop
    feed rate
    spindle speed
    cycle start
    Stop
    Spindle on/off
    Origin

    They work because this section of the pendant works as a keyboard emulator (stuffer) over the USB for Mach3. These will work w/o installing the MacroPump file.

    Second -
    The MacroPump file activates the MPG and Motion step buttons (only).

    (Note: Once these are working, if the Motion buttons are selected to X,Y, Z or A, the keyboard arrow and page up/down keys will be disabled. To get them to work, select CONT(Continuous) or Sp Lk (Step). My unit has the MPG mode choices in a yellow area that is marked "handwheel" and the keyboard mode in a red area marked "keyboard." If any of the LEDs in the yellow area (the axis choices) are on, those keyboard keys will not work.)

    It is very important to follow the setup instructions step by step. It did not work for me the first time and I found that I had not checked one of the boxes on one of the setup pages.

    Once I had done that, all worked well.

    BTW - You can see the MPG output changing in the "Setup Serial Modbus Control" tab and clicking on the Test Modbus button. Rotating the handwheel will change the top number up and down as you move it. This will test the raw connection, even if the Mach3 configuration elsewhere is not completed or not quite correct. This is what led me to go back thru the configs, since I could verify that the Modbus communication was working even though not doing anything useful in Mach3.

    All my LEDs blink all the time once the USB is plugged in. (Power comes from the USB port.)

    The instructions (PDF) and MacroPump files are attached. I had to add .TXT to the end of MacroPump.m1s to get it to attach. Please delete the .TXT extension from the file before using it.

    Best regards,

    Scott

    Attached Thumbnails Attached Thumbnails Chinese electronic handwheel for Mach3-chinese-mach3-mpg-pendant-installation-instructions-e  
    Attached Files Attached Files


  18. #18
    Member
    Join Date
    Jul 2016
    Location
    France
    Posts
    0
    Downloads
    0
    Uploads
    0

    Default Re: Chinese electronic handwheel for Mach3

    Hello,
    I have bought such a device and I got some trouble to make it work properly, with the problems related in this thread.
    I have carefully followed the instructions without success, so after some investigation it appeared the malfunction could come from the serial communication protocol.
    A couple of hours later the right configuration seems to be 19200b/s 8b 1stop no parity on mach3 side as well as on the computer side (only these values seem to be appropriate).
    You can push the test ModBus button, put the start register (1150) and the #reg (7) in the fields and then read the data coming from the mpg.
    If you can check the MODIO modbus Card config, the MPG should be working.
    It looks like this MPG is a chinese clone of the Homann designs MODIO card.
    It seems the communication protocol is not very reliable. There are some CRC errors, this is probably the cause of the lack of smoothness in the axis moves with the MPG.
    If somebody can find some clues for that, this pendant could become very acceptable.

    Some additional information on modbus here and here.
    I hope this can help.



  19. #19
    Member
    Join Date
    Apr 2008
    Location
    Philippines
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default Re: Chinese electronic handwheel for Mach3

    I have a similar handwheel but not the same also from China. All the ports are working. It can read inputs from the handwheel. I can also select Axis step modes etc.. But when I look into the macropump.. it seems to be missing something.. Because rotating the handwheel does not move the axis... It reads the code but nothing happens.

    'Dim fro As Integer
    'fro = GetInput (66) ' read Analog3
    'setDRO 21, fro+5

    ' Macropump for setting Jog Mode thru Analog In1
    MPGAxis = GetInput( 64 ) 'analog Input 1 On ModIO
    Select Case MPGAxis

    Case < 20
    If GetOEMLED( 14 ) = 0 Then 'If not Set to Continuous Jog Mode
    DoOEMButton( 276 ) 'Set Jog To continuous
    End If
    Case < 80
    If GetOEMLED( 15 ) = 0 Then 'If not Set to Step Jog Mode
    DoOEMButton( 275 ) 'Set Jog To Step
    End If
    Case < 120
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 59 ) = 0 Then
    DoOEMButton( 185 ) 'set MPG Jog to X
    End If
    Case < 180
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 60 ) = 0 Then
    DoOEMButton( 186 ) 'set MPG Jog to Y
    End If
    Case < 220
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 61 ) = 0 Then
    DoOEMButton( 187 ) 'set MPG Jog to Z
    End If
    Case > 230
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 62 ) = 0 Then
    DoOEMButton( 188 ) 'set MPG Jog to A
    End If

    End Select

    MPGspeed = GetInput( 65 ) 'analog Input 1 On ModIO
    Select Case MPGspeed
    Case <20
    DoOEMButton(306)

    DoOEMButton(265)

    Case < 100
    DoOEMButton(306)
    DoOEMButton(266)

    Case <230
    DoOEMButton(306)
    DoOEMButton(267)

    Case >230
    DoOEMButton(303)



    End Select


    Shouldn't there be something like

    Button 307 DoOemButton Push to jog X++ 307

    Button 308 DoOemButton Push to jog X-- 308
    Button 309 DoOemButton Push to jog Y++ 309
    Button 310 DoOemButton Push to jog Y-- 310
    Button 311 DoOemButton Push to jog Z++ 311
    Button 312 DoOemButton Push to jog Z-- 312
    Button 313 DoOemButton Push to jog A++ 313
    Button 314 DoOemButton Push to jog A-- 314

    I can't seem to find this in the macro?
    How will mach3 know I rotated the handwheel? Maybe this is why it doesn't work



  20. #20
    Member
    Join Date
    Jan 2010
    Location
    Canada
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Chinese electronic handwheel for Mach3

    Quote Originally Posted by franzschluter View Post
    I have a similar handwheel but not the same also from China. All the ports are working. It can read inputs from the handwheel. I can also select Axis step modes etc.. But when I look into the macropump.. it seems to be missing something.. Because rotating the handwheel does not move the axis... It reads the code but nothing happens.

    'Dim fro As Integer
    'fro = GetInput (66) ' read Analog3
    'setDRO 21, fro+5

    ' Macropump for setting Jog Mode thru Analog In1
    MPGAxis = GetInput( 64 ) 'analog Input 1 On ModIO
    Select Case MPGAxis

    Case < 20
    If GetOEMLED( 14 ) = 0 Then 'If not Set to Continuous Jog Mode
    DoOEMButton( 276 ) 'Set Jog To continuous
    End If
    Case < 80
    If GetOEMLED( 15 ) = 0 Then 'If not Set to Step Jog Mode
    DoOEMButton( 275 ) 'Set Jog To Step
    End If
    Case < 120
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 59 ) = 0 Then
    DoOEMButton( 185 ) 'set MPG Jog to X
    End If
    Case < 180
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 60 ) = 0 Then
    DoOEMButton( 186 ) 'set MPG Jog to Y
    End If
    Case < 220
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 61 ) = 0 Then
    DoOEMButton( 187 ) 'set MPG Jog to Z
    End If
    Case > 230
    If GetOEMLED( 57 ) = 0 Then 'If not Set to MPG Jog Mode
    DoOEMButton( 327 ) 'set Jog to MPG
    End If
    If GetOEMLED( 62 ) = 0 Then
    DoOEMButton( 188 ) 'set MPG Jog to A
    End If

    End Select

    MPGspeed = GetInput( 65 ) 'analog Input 1 On ModIO
    Select Case MPGspeed
    Case <20
    DoOEMButton(306)

    DoOEMButton(265)

    Case < 100
    DoOEMButton(306)
    DoOEMButton(266)

    Case <230
    DoOEMButton(306)
    DoOEMButton(267)

    Case >230
    DoOEMButton(303)



    End Select


    Shouldn't there be something like

    Button 307 DoOemButton Push to jog X++ 307

    Button 308 DoOemButton Push to jog X-- 308
    Button 309 DoOemButton Push to jog Y++ 309
    Button 310 DoOemButton Push to jog Y-- 310
    Button 311 DoOemButton Push to jog Z++ 311
    Button 312 DoOemButton Push to jog Z-- 312
    Button 313 DoOemButton Push to jog A++ 313
    Button 314 DoOemButton Push to jog A-- 314

    I can't seem to find this in the macro?
    How will mach3 know I rotated the handwheel? Maybe this is why it doesn't work
    hi !

    well, i was facing the same issue as everyone, everything is working but the handwheel doesn't, thanks to everyone for their help.
    I finaly found out how to make it work.

    first, the macropump.m1s file is OK, nothing is missing
    and yes, you need to place it in the profile folder

    everything should have been good, after countless redouble checks and restarts, a was able to solve it by unplugging / plugging the pendant (sound stupid and weird I know) but it took me 3 days of tests, this was my final and stupid option, then it worked. just don't know why, don't ask me.
    desprite the fact that I've unplugged the computer quite a few times, the problem always remains the same, unable to make the handwheel work. the "Serial ModBus Control Setup" showed no CRC or timeout error, that's the first goal to aim if you want to be sure that Mach3 can "read" the pendant (along with the handwheel).

    everyting you have read in those previous posts are going the same way. that's what I've done with the same results as everyone. i'm notdifferent from any other, i've just tried something else stupid and it worked. happy me

    have a nice day to everyone
    eric



Page 1 of 2 12 LastLast

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

Chinese electronic handwheel for Mach3

Chinese electronic handwheel for Mach3