WHB04B-6 Manual Pulse Coder

More
9 years 7 months ago #90190 by smalla
Replied by smalla on topic WHB04B-6 Manual Pulse Coder
Not really.
I see jog.increment is always rising, If I push a button, move the mpg.
If I press Fn with any other keys, one pin is turning off, but nothing else seems to be moving.

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

More
9 years 7 months ago - 9 years 7 months ago #90211 by smalla
Replied by smalla on topic WHB04B-6 Manual Pulse Coder
with whb04b program itself I have identified these output commands:
Axis select:
04 XX XX XX XX 06 XX XX - Off
04 XX XX XX XX 11 XX XX - X
04 XX XX XX XX 12 XX XX - Y
04 XX XX XX XX 13 XX XX - Z
04 XX XX XX XX 14 XX XX - A
04 XX XX XX XX 15 XX XX - B
04 XX XX XX XX 16 XX XX - C

Resolution
04 XX XX XX 0D XX XX XX - 1X
04 XX XX XX 0E XX XX XX - 10X
04 XX XX XX 0F XX XX XX - 100X
04 XX XX XX 10 XX XX XX - MPG
04 XX XX XX 1A XX XX XX - Lead

Buttons:
1 2
04 XX 01 ZZ XX XX XX XX - Reset
04 XX 02 ZZ XX XX XX XX - Stop
04 XX 03 ZZ XX XX XX XX - Start
04 XX 04 ZZ XX XX XX XX - Feed+
04 XX 05 ZZ XX XX XX XX - Feed-
04 XX 06 ZZ XX XX XX XX - Spindle+
04 XX 07 ZZ XX XX XX XX - Spindle-
04 XX 08 ZZ XX XX XX XX - Morigin <-
04 XX 09 ZZ XX XX XX XX - /2
04 XX 0A ZZ XX XX XX XX - Worigin <-
04 XX 0B ZZ XX XX XX XX - Spindle On/off
04 XX 0C ZZ XX XX XX XX - Fn
04 XX 0D ZZ XX XX XX XX - Switch Coorinate

MPG:
04 XX XX XX XX XX 01- XX - MPG+
04 XX XX XX XX XX FF- XX - MPG-
04 XX XX XX XX XX 00 XX - MPG idle

And I dont know what second and eight column does, they seem to change with every input, but I cant see the relation.
Last edit: 9 years 7 months ago by smalla.

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

More
9 years 7 months ago #90216 by andypugh
8th column could be a checksum, or even a serial number.

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

More
9 years 7 months ago - 9 years 7 months ago #90279 by f1oat
Replied by f1oat on topic WHB04B-6 Manual Pulse Coder
Here we see that mpg pulses are in bytes #6, instead of #4 for original XHC-HB04.
You will need to patch here: github.com/LinuxCNC/linuxcnc/blob/af15a4...mps/xhc-hb04.cc#L440
Also, you will need to adapt buttons coding.
But the tricky part will be adapting the LCD display framing, if it has changed.
To guess the framing, one solution is to boot a windows machine with the official driver, and capture the USB traffic with an USB analyzer software.
Would like to help, but I do not have this pendant on my side.
Frederic.
Last edit: 9 years 7 months ago by f1oat.

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

More
9 years 7 months ago #90311 by smalla
Replied by smalla on topic WHB04B-6 Manual Pulse Coder
Thank for all so far,

I made some progress,

In Linuxcnc all buttons working, the first 3 is default, the rest needs setup.
The axis selector, and mpg jogging are working.

The scale/rate switcher is not working currently.
The secondary functions not accessible yet -with FN key.

Here I have some questions, how do You name a rotary switch which switches:
1X, 10X, 100X, MPG and LEAD.
scale? rate selector?

What do You think what does MPG and LEAD should do or what do they do on Mach3 ?

I still dont know what does second and eight column do, I might try the manufacturer.
The following user(s) said Thank You: nebelnoir

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

More
9 years 6 months ago - 9 years 6 months ago #91009 by nebelnoir
I have WHB04B-4.
smalla, could you write short step by step manual?
or could you share your config folder?
Last edit: 9 years 6 months ago by nebelnoir.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum