How to configure a XHC-WHB04B pendant ?

More
5 years 9 months ago - 5 years 9 months ago #195978 by alkabal
Thanks a lot

So if i understand correctly with trivial kinematics the teleop mode is used only if machine is not homed ?

You mean after machine is homed this is no more used.

Signal managed by pendant is :
Code:
net pdnt.mode.is-auto net pdnt.mode.is-manual net pdnt.mode.is-mdi net pdnt.mode.is-teleop net pdnt.mode.is-joint

from Lcnc manual i see
Code:
halui.mode.teleop bit in : pin for requesting coordinated jog mode

So at the end i have not really understand what is really needed what is really needed.

Original component for machinekit did not use teleop mode at all, when i have start the conversion for Linuxcnc i get mpg working only using teleop mode, now i think this is maybe because i use a not homed machine for test ???
Last edit: 5 years 9 months ago by alkabal.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #196017 by alkabal
Another test done with machine homed and you are right pendant work very fine without the use of teleop, so i will now check for update the driver and remove or use teleop only if machine is not homed.

Br

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago - 5 years 9 months ago #196033 by alkabal
If some user are able to compile i have ask a PR for updated driver.

github.com/LinuxCNC/linuxcnc/pull/1049


hal config need to be restored :
Code:
net pdnt.mode.is-teleop halui.mode.is-teleop whb.halui.mode.is-teleop

hal config you need to add :
Code:
# "is-homed" axis signal for allowing pendant when machine is not homed net pdnt.axis.X.is-homed halui.joint.0.is-homed whb.halui.joint.x.is-homed net pdnt.axis.Y.is-homed halui.joint.1.is-homed whb.halui.joint.y.is-homed net pdnt.axis.Z.is-homed halui.joint.2.is-homed whb.halui.joint.z.is-homed
Last edit: 5 years 9 months ago by alkabal.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #196249 by andypugh

alkabal wrote: Original component for machinekit did not use teleop mode at all,


That could be because Machinekit does not have the Joints-Axes changes, which separates the concepts of joints and axes (and adds separate jog inputs for both)
The following user(s) said Thank You: alkabal

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago - 5 years 9 months ago #196280 by alkabal
I know yes you are right but i have also check the driver for older unit and see nothing about changind mode.

github.com/LinuxCNC/linuxcnc/blob/master...er_comps/xhc-hb04.cc

I have push code to Github for manage both case (homed/unhomed)
Last edit: 5 years 9 months ago by alkabal.

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #215595 by MRx
I just debugged this part and it doesn't seem to work as expected. it will set teleop mode permanently (even before homed) here and I cannot drive beyond the designated area.

Does anyone know what the reason is why the pendant only works in teleop mode?
I checked the sourcecode and the implementation is certainly not correct right now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.430 seconds
Powered by Kunena Forum