Hello Guest it is April 23, 2024, 02:30:42 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kunte

Pages: 1
1
On eBay I bought MACH3 4 AXIS CNC Wheel Hand Engraving Machine For ModsMach3 MODBUS Pendan MPG. When you plug in a hand controller, the keyboard can be moved by engines only a few millimeters. Regardless of the settings on the hand controller can still move to larger engines powered by repeatedly pressing the keyboard. Pressing home the motors move for about one lap, and digital readouts set to zero, although it was not run over any limit switch. I have already contacted the seller but no reply yet. I attach Macropump.m1s I've got with hand control. What could be wrong?
http://www.ebay.com/itm/4-AXIS-CNC-Hand-wheel-MODBUS-MPG-for-MACH-3-only-pendant?item=260900099371&cmd=ViewItem&_trksid=p5197.m185&_trkparms=algo%3DSIC.NPJS%26itu%3DI%252BUA%26otn%3D12%26pmod%3D260990962870%26po%3DLVI%26ps%3D63%26clkid%3D7607171986600094798

Macropump.m1s

'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

 

Pages: 1