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.
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
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
2 Attachment(s)
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
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
Re: Chinese electronic handwheel for Mach3
Quote:
Originally Posted by
franzschluter
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
1 Attachment(s)
Re: Chinese electronic handwheel for Mach3
Hello everyone.
I write from Italy and I hope to make myself understood.
First of all I want to thank this forum because in the past years I have solved very difficult problems for me.
Today, as you can imagine, I am here writing because I also bought this Chinese MPG and I encountered the same problems.
I have read that in addition to the "macropump.m1s file, the usbmove.dll file is also needed."
Can you confirm this last?
Where can I find it?
On the cncdiy.org site it is not reachable.
can someone give me a hand?
thank you