After toolchange jump to the start of the g-code

If you think you've found a bug post it here.

After toolchange jump to the start of the g-code

Postby medicusdkfz » Sat Jan 26, 2019 3:52 pm

Today I had another disturbing experience with UCCNC: After I had integrated the switch-off and switch-on command lines for the handwheel XHC HB04 into all zeroing macros of Gerry's Screen 2017 and the automatic zeroing of X/Y/Z with my touch plate worked super and error-free, I had another problem. If there are several toolpaths with tool changes, UCCNC sometimes jumps back to the beginning of the G code after the 2nd or 3rd tool change! Of course, this is not very fine if a narrower milling cutter was previously clamped... You can imagine the rest... I don't know if it's connected to the handwheel XHC HB04 again...

Best regards,
Pierre
medicusdkfz
 
Posts: 10
Joined: Sat Jun 23, 2018 10:30 pm

Re: After toolchange jump to the start of the g-code

Postby ger21 » Sat Jan 26, 2019 4:26 pm

Create a test program with multiple tool changes, but no cutting, and test it with and without the pendant plugin enabled.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: After toolchange jump to the start of the g-code

Postby Robertspark » Sun Jan 27, 2019 8:46 am

How long have you had the xhc-hb04?
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: After toolchange jump to the start of the g-code

Postby ger21 » Sun Jan 27, 2019 12:38 pm

I think he's had it before he got my screenset.

There seems to possibly be issues with probing with both the XHC and UCR201 plugins?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: After toolchange jump to the start of the g-code

Postby Robertspark » Sun Jan 27, 2019 2:56 pm

I ask because the XHC-HB04 uses a membrane.... and looking at the image below there is a rewind button next to the pause/ start
Image

Is it possible that the XHC-HB04 is issuing some sort of a spurious command?

Is there any way to log or monitor the signals comming from a specific USB device?

Its been a while since I played with the plugin for the shuttle express / pro, but I used a c# application to find out what each of the buttons did..... basically I created a program the output the hex on each button press and then used those button presses via a uccnc plugin to act as an MPG for uccnc.

I have an XHC-HB04 and if I knew what I was testing i'd give it a go, but I'd suggest it was probably first worth checking that there was nothing spurious being sent from the XHC-HB04 because of a faulty membrane keypad..... worth a check I guess.

I'll try to find the programme I used to trace the button codes for the shuttle pro / express so at least that item is rulled out?

You should be able to use this application to find out the VID and PID which you can then use for the application to log / display the messages recieved from the device.
http://www.nirsoft.net/utils/usb_devices_view.html
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: After toolchange jump to the start of the g-code

Postby Robertspark » Sun Jan 27, 2019 3:12 pm

Here you go, a USB sniffer.... just enter the device PID and VID

https://drive.google.com/drive/folders/ ... sp=sharing

You can find these through that app I posted in the last thread or go through the device manager, just plug in and unplug the device and it should show up as a newly added device added to the list and then just get the PID (product id) and the VID (vendor id) of the device.

This is not my app, it was something I used and was obtained from here:
https://www.codeproject.com/Articles/18 ... nent-for-C
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: After toolchange jump to the start of the g-code

Postby medicusdkfz » Sun Jan 27, 2019 5:36 pm

Hi Rob,

I have my wireless XHC HB04 since several years... But I lost some router bits in the past and rouined several workpieces. Now I ordered a new handwheel from UCCNC-shop and hope, that the problems are a thing of the past!

Kindly regards,
Pierre
medicusdkfz
 
Posts: 10
Joined: Sat Jun 23, 2018 10:30 pm


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 0 guests