- Posts: 1850
- Thank you received: 0
Want to test MPG
halcmd loadusr xhc-whb04b-6 = no connection.
failed to claim interface
So I ask if it can be compiled to suite LHB04-6
Please Log in to join the conversation.
pi@pi4-mate:~ $ uname -a
Linux pi4-mate 4.19.71-rt24-v7lrt+ #1 SMP PREEMPT RT Mon May 18 16:17:58 AEST 2020 armv7l GNU/Linux
pi@pi4-mate:~ $
Please Log in to join the conversation.
Buttons etc are working in Show Hal Configuration (no MDI yet!)
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Any help would be appreciated
Please Log in to join the conversation.
Buttons etc are working in Show Hal Configuration (no MDI yet!)
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Any help would be appreciated
Please Log in to join the conversation.
Please Log in to join the conversation.
phillc54 wrote: You will probably need to rearrange some hal logic to suit the pendant.
I use a XHC-HB04 so I don't know if this will be any help but my hal file is attached.
Any chance of having a look at your mdi_commands in you .ini? I finally got my xhc-hb04 working kinda.. Need to do the mdi-commands.
One problem I had was an loadrt or2 in plasmanew.ini conflicting with the loadrt or2 names= line in your pendant.hal. After some headscratching and cursing, I ended up putting a or2.0 in the names= line and removing the one loadrt line. Everything seems to be working at that point.
Please Log in to join the conversation.
The ini file stuff:crowloy wrote: Any chance of having a look at your mdi_commands in you .ini? I finally got my xhc-hb04 working kinda.. Need to do the mdi-commands.
The M codes:
M110
M111
M112
The subroutines:
load_sheet
next_corner
EDIT:
If you have TWOPASS = ON in the [HAL] section it allows multiple load linescrowloy wrote: One problem I had was an loadrt or2 in plasmanew.ini conflicting with the loadrt or2 names= line in your pendant.hal. After some headscratching and cursing, I ended up putting a or2.0 in the names= line and removing the one loadrt line. Everything seems to be working at that point.
linuxcnc.org/docs/2.8/html/config/ini-config.html#_hal_section
Please Log in to join the conversation.
andypugh wrote: You seem to be missing joint.2.jog-scale:
Code:net pendant:jog-scale-out pendant:jog_enable_mux.out => pendant:jog_mult2.in0 net pendant:scale_div_1000 pendant:jog_mult2.out => axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale net pendant:scale_div_1000 => joint.0.jog-scale joint.1.jog-scale
Ahh, missed that one. But still no go.
Selecting StepMode this happens
Attachment not found
Please Log in to join the conversation.
I think you try to use the new version xhc-whb04b-6 but your config is really different than the near ready to use config file
raw.githubusercontent.com/LinuxCNC/linux...ple-configuration.md
the man page related to this one is :
linuxcnc.org/docs/2.8/html/man/man1/xhc-whb04b-6.1.html
In theory you only need to link this file in your ini thats all !
(and if you have some duplicated pin used in you ini and in the pendant file you need to adapt using the same net name for both signal)
Are you sure the vid and pid number are the same for your wired device ? (but if button work like you says imo this is ok)
If you have only some difficulty with the MPG wheel, you only need to press button Step or Continuous before turning the wheel or by default the wheel change the feedrate override.
Br
Please Log in to join the conversation.
alkabal wrote: Hi
I think you try to use the new version xhc-whb04b-6 but your config is really different than the near ready to use config file
raw.githubusercontent.com/LinuxCNC/linux...ple-configuration.md
the man page related to this one is :
linuxcnc.org/docs/2.8/html/man/man1/xhc-whb04b-6.1.html
In theory you only need to link this file in your ini thats all !
(and if you have some duplicated pin used in you ini and in the pendant file you need to adapt using the same net name for both signal)
Are you sure the vid and pid number are the same for your wired device ? (but if button work like you says imo this is ok)
If you have only some difficulty with the MPG wheel, you only need to press button Step or Continuous before turning the wheel or by default the wheel change the feedrate override.
Br
In theory you only need to link this file in your ini thats all ! Theory and practice is different beasts.
Have been pounding my head around example-configuration.md and it is not working either.
Attachment not found
No COUNTS
So how is the counts to be connected to count and get axis moving?
Cheers
Bengt
Please Log in to join the conversation.
