Page 1 of 1

XHC-HB04 Plugin question

PostPosted: Sat Feb 04, 2017 7:13 pm
by ger21
What does the Step++ button do in this plugin?
Someone using my screen says it works differently in my 2017 screen than in the default screen. I'm waiting to here back what's actually different, but there's a 12 hour time delay.

Re: XHC-HB04 Plugin question

PostPosted: Sun Feb 05, 2017 1:53 pm
by TadasM
I use XHC-HB04, The Step++ button on pendant changes "Step dist" (between: 0.001 / 0.01 / 0.10 / 1.00)

Re: XHC-HB04 Plugin question

PostPosted: Sun Feb 05, 2017 2:12 pm
by ger21
Does it work in the 2017 Screen? I have another customer that says it does that in the default screen, but the button does nothing in the 2017 screen.

Re: XHC-HB04 Plugin question

PostPosted: Sun Feb 05, 2017 6:01 pm
by cncdrive
Gerry, I think that button calls the Step distance buttons on the jogpanel.
I'm not 100% sure if it is still read the info from the step distance buttons or from the step distance DRO,
because the step distance DRO was only recently added and I'm not sure if my collegue updated the XHC pendant plugin yet.
So, what could be the reason for this function not to work is if you do not have these buttons or the DRO in your screenset.

Re: XHC-HB04 Plugin question

PostPosted: Sun Feb 05, 2017 6:45 pm
by ger21
Thank You.

That's what I was thinking.
I tried adding the buttons to a hidden tab layer, but it didn't work. I sent him another version with the buttons on the jog panel to test.
I'm just waiting to hear back from australia, with a 12 hour time difference.

Re: XHC-HB04 Plugin question

PostPosted: Sun Feb 05, 2017 11:36 pm
by cncdrive
I'm sure the plugin reads those buttons from the jogpanel, so putting the buttons on the main screen will sure not work.
What I'm not sure yet if my collegue converted to read the jog distance field or still reading the buttons,
I bet that the plugin is still reading the buttons only if this problem happens.
I will ask my collegue tomorrow about this and if the plugin still reads the buttons then I'll ask him to change it to read the DRO instead.

Re: XHC-HB04 Plugin question

PostPosted: Mon Feb 06, 2017 1:08 am
by ger21
OK, he got to test it.
He said that the button on the pendant will not work at first, until he clicks one of the 4 buttons. After that, the pendant button cycles through them.
Any ideas?

It would be nice if that button could be assigned to a user button or macro, as I use a button and macro to cycle through different increments, and the one button works for both % and increment.

Re: XHC-HB04 Plugin question

PostPosted: Mon Feb 06, 2017 3:54 am
by ger21
I added
exec.Callbutton(241);
to the Constructor macro, and it now works with the 4 buttons added to the jog screen.

But I think it would be nice to have the option to either use the current settings, or have the option of calling a button or macro from the Step++ button on the pendant.

Re: XHC-HB04 Plugin question

PostPosted: Mon Feb 06, 2017 5:10 pm
by cncdrive
Do you write the jog distance DRO from your screen/plugin?
I'm asking this, because the issue might be that this DRO is written, because if you writting into it then the UCCNC will switch all the jog distance buttons off,
this is because then you typed in your own distance value, so these buttons should not be on anymore.
And if these buttons are all off then the XHC plugin probably don't know which distance mode to use and it also can't cycle through them,
because non of them is active, so which is the next button then in the cycle?!
The XHC plugin we wrote before the distance DRO function and my collegue confirmed today that the plugin was not fitted yet to handle the distance DRO, it still reads the jog distance DROs only.
I've asked my collegue to fit the plugin asap to read the distance DRO and not the buttons, so this will be the solution...

Re: XHC-HB04 Plugin question

PostPosted: Mon Feb 06, 2017 5:19 pm
by ger21
OK, that makes sense. Yes, I'm writing user specified increments from other DRO's into it, so yes, it would be turning the 4 buttons off. And by turning one button on when UCCNC starts, it then works.

I would still like the option of calling a macro from the Step++ button on the pendant, though.