Page 1 of 1
XBOX 360 Game pad Strange behavior
Posted:
Thu Jan 20, 2022 5:41 pm
by PDW
I have a strange problem using a game pad. If I move all 3 axis at the same time with a game pad, the game pad will become unresponsive while the machine continues to move. Hitting the reset is the only way to stop the machine.
With both the UCCNC plugin and Eric's plugin.
Set up is a logitech game pad, Windows 10, UC100, Gecko 320(x) servo drives.
Has anyone experienced a game pad locking up while in motion? How did you solve the problem
Re: XBOX 360 Game pad Strange behavior
Posted:
Fri Jan 21, 2022 12:49 am
by eabrust
Hi PDW,
To me it sounds like a glitch or undesired feature of your particular Logitech pad in which it gets stuck outputing that the sticks/buttons are 'pressed'. I've definitely moved all three axes and never had an issue like that using real xbox, and knockoff xbox controllers for testing.
Is this wired or wireless? Here's a couple suggested tests:
If you go into the windows 10 joystick settings where you can see button feedback and stick movements as feedback, if you do the same 'all thee axis' combo, does it stick there too?
Another test you could try, with my plugin and an instance of UCCNC running in demo mode for safety, move all three axes to get UCCNC jogging, then if it stays 'stuck on', look at the plugin feedback for stick/button positions. Are they stuck on? then unplug your controller from the computer and see does it stop?
please let me know if you can check that out and the results.
regards,
Eric
Re: XBOX 360 Game pad Strange behavior
Posted:
Fri Jan 21, 2022 11:00 pm
by PDW
Hi Eric
Thank you for your reply.
Logitech F310 corded gamepad. UCCNC V.1.2113, CraftyCNC XBOX Plugin V.2.060-8-1-2021
Tested UCCNC XBOX plugin on Windows 7 Pro. - No Issues. In demo mode.
UCCNC XBOX plugin on Windows 10 Pro - Gamepad locks up(unresponsive) while moving 3 axis simultaneously
CraftyCNC XBOX Plugin (with modified configuration. L/R Buttons = Z up/down). Z axis locks up and continues to move when button is released. Game pad will resolve when the z-axis button is pushed
**UPDATE**
CraftyCNC XBOX Plugin.
Plugin works perfectly with the supplied .XML file. Axis controlled with the joysticks.
Re: XBOX 360 Game pad Strange behavior
Posted:
Sat Jan 22, 2022 12:55 pm
by eabrust
Hi PDW,
When you were setting up your own configurations for the L/R button to do Z up/down, can you confirm how you set it up?
If you set any buttons to do jogging, you have to make sure that on 'button release' you issue the 'JOG STOP' command to UCCNC for that axis and direction as well.
So in case of Z, on a button press you would set button command 151 or 152 (z+ or z-) and that starts the axis moving. To make the axis stop, you have to to send on a button release a button command 233 or 234 (Z+ off or Z- off). Other axes are similar, just different buttons as defined in the 'buttons by number' file in UCCNC.
f you are running the 'std xml' setup w/ the Crafty plugin, the plugin internally handles all this 'button setup' as long as you keep step jogs on the normal assigned Dpad and shoulder buttons, and axis normal jogs on kept on the sticks.
If it was setup correctly as described above, and still kept moving after releasing buttons, still seems to be something with that controller and Win10.
regards,
Eric