Advanced Search

Search Results (Searched for: XHC)

23 Feb 2024 14:45

WHB04B Beschleunigung im Jogbetrieb

Category: Deutsch

Moin Moin,
Ich möchte, dass die Beschleunigung der Y Achse im Jog Betrieb mit dem Handrad WHB04B etwas geringer ist damit die Achse in der Bewegung softer ist. Wie ich im Forum gelesen habe ist dieser Parameter dafür verantwortlich  axis.L.jog-accel-fraction IN FLOAT, ich weiß aber nicht wie ich in in meine Hal einbinden soll? In die Maschinenhal oder in die Hal vom Handrad?




#
### Hal File xhc_whb04b_6.hal Example
#
# ######################################################################
# load pendant components
# ######################################################################

loadusr -W xhc-whb04b-6 -HsfB

# ######################################################################
# pendant signal configuration
# ######################################################################

# On/Off signals
net machine.is-on halui.machine.is-on whb.halui.machine.is-on
net pdnt.machine.on whb.halui.machine.on halui.machine.on
net pdnt.machine.off whb.halui.machine.off halui.machine.off

# program related signals
net pdnt.program.is-idle whb.halui.program.is-idle halui.program.is-idle
net pdnt.program.is-paused whb.halui.program.is-paused halui.program.is-paused
net pdnt.program-is-running whb.halui.program.is-running halui.program.is-running
net pdnt.program.resume whb.halui.program.resume halui.program.resume
net pdnt.program.pause whb.halui.program.pause halui.program.pause
net pdnt.program.run whb.halui.program.run halui.program.run
net pdnt.program.stop whb.halui.program.stop halui.program.stop

# machine mode related signals
net pdnt.mode.auto whb.halui.mode.auto halui.mode.auto
net pdnt.mode.manual whb.halui.mode.manual halui.mode.manual
net pdnt.mode.mdi whb.halui.mode.mdi halui.mode.mdi
net pdnt.mode.joint whb.halui.mode.joint halui.mode.joint
net pdnt.mode.teleop whb.halui.mode.teleop halui.mode.teleop
net pdnt.mode.is-auto halui.mode.is-auto whb.halui.mode.is-auto
net pdnt.mode.is-manual halui.mode.is-manual whb.halui.mode.is-manual
###net pdnt.mode.is-mdi halui.mode.is-mdi whb.halui.mode.is-mdi
net pdnt.mode.is-joint halui.mode.is-joint whb.halui.mode.is-joint
net pdnt.mode.is-teleop halui.mode.is-teleop whb.halui.mode.is-teleop

# "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

# "selected axis" signals
###net pdnt.axis.X.select whb.halui.axis.x.select halui.axis.x.select
###net pdnt.axis.y.select whb.halui.axis.y.select halui.axis.y.select
###net pdnt.axis.Z.select whb.halui.axis.z.select halui.axis.z.select


net pdnt.axis.x.jog-scale whb.axis.x.jog-scale axis.x.jog-scale
net pdnt.axis.y.jog-scale whb.axis.y.jog-scale axis.y.jog-scale
net pdnt.axis.z.jog-scale whb.axis.z.jog-scale axis.z.jog-scale

net pdnt.axis.x.jog-counts whb.axis.x.jog-counts axis.x.jog-counts
net pdnt.axis.y.jog-counts whb.axis.y.jog-counts axis.y.jog-counts
net pdnt.axis.z.jog-counts whb.axis.z.jog-counts axis.z.jog-counts

net pdnt.axis.x.jog-enable whb.axis.x.jog-enable axis.x.jog-enable
net pdnt.axis.y.jog-enable whb.axis.y.jog-enable axis.y.jog-enable
net pdnt.axis.z.jog-enable whb.axis.z.jog-enable axis.z.jog-enable

net pdnt.axis.x.jog-vel-mode whb.axis.x.jog-vel-mode axis.x.jog-vel-mode
net pdnt.axis.y.jog-vel-mode whb.axis.y.jog-vel-mode axis.y.jog-vel-mode
net pdnt.axis.z.jog-vel-mode whb.axis.z.jog-vel-mode axis.z.jog-vel-mode

# macro buttons to MDI commands
###net pdnt.macro-1 whb.button.macro-1 halui.mdi-command-01 # use MDI command from main.ini
###net pdnt.macro-2 whb.button.macro-2 halui.mdi-command-02 # use MDI command from main.ini or used for Hardcoded lube on/off
net pdnt.reserved.for.spindle+ whb.button.macro-3 # Hardcoded for spindle+ whb.halui.spindle.increase
net pdnt.reserved.for.spindle- whb.button.macro-4 # Hardcoded for spindle- whb.halui.spindle.decrease
###net pdnt.macro-5 whb.button.macro-5 halui.mdi-command-05 # use MDI command from main.ini
###net pdnt.macro-6 whb.button.macro-6 halui.mdi-command-06 # use MDI command from main.ini
###net pdnt.macro-7 whb.button.macro-7 halui.mdi-command-07 # use MDI command from main.ini
net pdnt.reserved.for.spindle.dir whb.button.macro-8 # Hardcoded for spindle direction inside pendant
###net pdnt.macro-9 whb.button.macro-9 halui.mdi-command-09 # use MDI command from main.ini
net pdnt.reserved.for.ABS-REL whb.button.macro-10 # Hardcoded for swap Dro Relative/Absolue
###net pdnt.macro-14 whb.button.macro-14 halui.mdi-command-14 # use MDI command from main.ini
net pdnt.reserved.for.flood whb.button.macro-15 # Hardcoded for halui.flood on/off
net pdnt.reserved.for.mist whb.button.macro-16 # Hardcoded for halui.mist on/off

###net pdnt.macro.11 whb.button.macro-11 halui.mdi-command-11 # use MDI command from main.ini
###net pdnt.macro.12 whb.button.macro-12 halui.mdi-command-12 # use MDI command from main.ini
###net pdnt.macro.13 whb.button.macro-13 halui.mdi-command-13 # use MDI command from main.ini

# flood and mist toggle signals
net pdnt.flood.is-on whb.halui.flood.is-on halui.flood.is-on #return signal is on or off
net pdnt.flood.off whb.halui.flood.off halui.flood.off #reserved whb.button.macro-15
net pdnt.flood.on whb.halui.flood.on halui.flood.on #reserved whb.button.macro-15

net pdnt.mist.is-on whb.halui.mist.is-on halui.mist.is-on #return signal is on or off
net pdnt.mist.off whb.halui.mist.off halui.mist.off #reserved whb.button.macro-16
net pdnt.mist.on whb.halui.mist.on halui.mist.on #reserved whb.button.macro-16

#net pdnt.lube.is-on whb.halui.lube.is-on halui.lube.is-on #return signal is on or off
#net pdnt.lube.off whb.halui.lube.off halui.lube.off #reserved whb.button.macro-2
#net pdnt.lube.on whb.halui.lube.on halui.lube.on #reserved whb.button.macro-2

# default function button signals
net pdnt.button.m-home whb.button.m-home halui.home-all # Homeing use built-in halui home all
###net pdnt.button.safe-z whb.button.safe-z halui.mdi-command-03 # Safe-z use MDI command from main.ini
###net pdnt.button.w-home whb.button.w-home halui.mdi-command-04 # Unpark use MDI command from main.ini
###net pdnt.button.probe-z whb.button.probe-z halui.mdi-command-08 # Probe-Z use MDI command from main.ini

# unused, just exposes pendant internal status or as basic button
#net pdnt.mode-lead whb.halui.feed.selected-lead
#net pdnt.mode-mpg-feed whb.halui.feed.selected-mpg-feed
#net pdnt.mode-continuous whb.halui.feed.selected-continuous
#net pdnt.mode-step whb.halui.feed.selected-step

#net pdnt.button.mode-mpg whb.button.mode-continuous
#net pdnt.button.mode-step whb.button.mode-step
#net pdnt.button.fn whb.button.fn
#net pdnt.button.reset whb.button.reset
#net pdnt.button.stop whb.button.stop
#net pdnt.button.start-pause whb.button.start-pause
#net pdnt.button.s-on-off whb.button.s-on-off
#net pdnt.button.spindle-plus whb.button.spindle-plus
#net pdnt.button.spindle-minus whb.button.spindle-minus
#net pdnt.button.feed-plus whb.button.feed-plus
#net pdnt.button.feed-minus whb.button.feed-minus

# spindle related signals
### net pdnt.spindle.is-on whb.halui.spindle.is-on spindle.0.on
net pdnt.spindle.start whb.halui.spindle.start halui.spindle.0.start
###net pdnt.spindle.stop whb.halui.spindle.stop halui.spindle.0.stop
###net pdnt.spindle.forward whb.halui.spindle.forward halui.spindle.0.forward
###net pdnt.spindle.reverse whb.halui.spindle.reverse halui.spindle.0.reverse
net pdnt.spindle.increase whb.halui.spindle.increase halui.spindle.0.increase # reserved whb.button.macro-3
net pdnt.spindle.decrease whb.halui.spindle.decrease halui.spindle.0.decrease # reserved whb.button.macro-4
###net pdnt.spindle-speed-abs whb.halui.spindle-speed-cmd spindle.0.speed-out-abs # speed cmd from motion in rpm absolue

# spindle speed override signals
net pdnt.spindle-override.scale whb.halui.spindle-override.scale halui.spindle.0.override.scale # needed for both spindle+/- and spindleoverride+/- button
net pdnt.spindle.override.value halui.spindle.0.override.value whb.halui.spindle-override.value # GUI feed rate related signals
net pdnt.spindle.override.increase whb.halui.spindle-override.increase halui.spindle.0.override.increase
net pdnt.spindle.override.decrease whb.halui.spindle-override.decrease halui.spindle.0.override.decrease

# GUI feed rate related signals can be used when program is running moving GUI slider
net pdnt.feed-override.scale whb.halui.feed-override.scale halui.feed-override.scale # needed for both FeedOverride+/- and rotary knob button
net pdnt.max-velocity.value whb.halui.max-velocity.value halui.max-velocity.value # needed for Mpg mode : button feed position% * max-velocity = Mpg feedrate

# take feed override min/max values from/to the GUI
net pdnt.feed-override.value halui.feed-override.value whb.halui.feed-override.value # GUI feed rate related signals
net pdnt.feed-override.increase whb.halui.feed-override.increase halui.feed-override.increase
net pdnt.feed-override.decrease whb.halui.feed-override.decrease halui.feed-override.decrease

# axis position related signals feedback
net pdnt.axis.x.pos-feedback halui.axis.x.pos-feedback whb.halui.axis.x.pos-feedback
net pdnt.axis.y.pos-feedback halui.axis.y.pos-feedback whb.halui.axis.y.pos-feedback
net pdnt.axis.z.pos-feedback halui.axis.z.pos-feedback whb.halui.axis.z.pos-feedback

# axis position related signals relative
net pdnt.axis.x.pos-relative halui.axis.x.pos-relative whb.halui.axis.x.pos-relative
net pdnt.axis.y.pos-relative halui.axis.y.pos-relative whb.halui.axis.y.pos-relative
net pdnt.axis.z.pos-relative halui.axis.z.pos-relative whb.halui.axis.z.pos-relative



 
23 Feb 2024 14:16

Probe Basic mx velocity for XHC- WHB04

Category: QtPyVCP

Hello,
can you please show me where you used this command axis.L.jog-accel-fraction in the reverb? Which parameter did you use?
Greetings from Germany Lübeck
23 Feb 2024 05:48 - 23 Feb 2024 05:49

Working config for xhc-whb04b-4 pendant

Category: HAL

Awesome thanks for finding that! I was literally just doing the same thing, deleting halui entries and just checked to see if those entries still worked and they did!

The biggest holdup though - the line 13/14 hal_input error seemed to be caused by manually entering "source xhc-whb04b-6" into the custom.hal file. Once I got rid of that, Axis was starting up. Still no handwheel control but maybe the post you linked will clear that up

Thanks again! I'd buy you a beer if you were nearby
22 Feb 2024 21:49

Working config for xhc-whb04b-4 pendant

Category: HAL

Do you happen to remember what it was under? I've read through a bunch of the pendant stuff but a lot of it I can't do (eg watching input) because I can't even start up Axis if the xhc-whb04b-6-related mods are in the files. It just seems to get stuck at the loadusr hal_input line

Thanks,

Hal
22 Feb 2024 21:18

Working config for xhc-whb04b-4 pendant

Category: HAL

a few weeks ago someone posted a much corrected version of this configuration, Erik left out  information
22 Feb 2024 20:37

Working config for xhc-whb04b-4 pendant

Category: HAL

Hi Erik,

Sorry to bump an old thread but I can't seem to make this work. After commenting out pin erroring lines I come back to the most common error which is like 13 or 14 containing "loadusr."

Any idea what this could indicate? The permissions file is correct, and I've been trying your steps in addition to adding the "source xhc-whb04b-6: line in custom.hal.

Running the latest 2.9 on Deb 12 with a 7i96s btw
22 Feb 2024 17:42

Hal format changes from 2.8 to 2,9? (xhc-whb04b-6 related)

Category: HAL

Correction: the above stuff was generated by pnCconf but is identical to what Erik had posted. I had generated a few new profiles trying to get this to work and posted one of those (an Axis one).

There was also an uppercase/lowercase discrepancy in the Custom.hal entry as well as the but I get the same line-13 error when it all matches.
22 Feb 2024 09:19

Hal format changes from 2.8 to 2,9? (xhc-whb04b-6 related)

Category: HAL

Hi All,
Have spent the past day battling through various attempts to get the 16-button variety of XHC-WHB04B-6 working without success.
I can see every event via the xhc-whb04b-6 -ue command the pendant puts out, everything works when using the -p suffix except for the handwheel, but no matter what I try I cant open lcnc without incurring an error, trying both Axis and QT_Dragon.

A log file ("print file information..) is attached below with the latest error at the bottom
(No input devices could be opened.  This usually indicates a misconfigured system.  Please read the section 'PERMISSIONS AND UDEV' in the hal_input manpage
./my_LinuxCNC_machine.hal:13: waitpid failed hal_input hal_input
./my_LinuxCNC_machine.hal:13: hal_input exited without becoming ready
3799).

The HAL entries and mods were from what Erik Salo (sp) had suggested in his posts and video, the .rules entry looks correct for that model of pendant, the custom.hal entry is correct and the spelling and case were triple-checked to make sure it wasn't some careless error.

I'm at a loss and wondering if it was some syntax or format change from 2.8 to 2.9 (I'm running the latest stable version on Debian 12) that's just causing issue with however 2.9 works. I tried to follow talla83's video as well but couldn't follow along due to differences with the current docs.

Any help appreciated, I'm open to ideas. Thanks!

 
17 Feb 2024 13:03
Replied by andypugh on topic XHC-WHB04B-6 gantry config

XHC-WHB04B-6 gantry config

Category: HAL Examples

That looks reasonable to me.
16 Feb 2024 12:42 - 16 Feb 2024 12:46

XHC-WHB04B-6 gantry config

Category: HAL Examples

Hi,

I set up a XHC-WHB04B-6 with a gantry under LinuxCNC 2.8.4. The example config does not include 2 y axis so I conected them with an & gate.

# "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
# ---- gantry -----
loadrt and2
net gant-y1-is-homed              and2.0.in0                halui.joint.1.is-homed
net gant-y2-is-homed              and2.0.in1                halui.joint.2.is-homed
net pdnt.axis.Y.is-homed          and2.0.out                whb.halui.joint.y.is-homed
net pdnt.axis.Z.is-homed          halui.joint.3.is-homed    whb.halui.joint.z.is-homed


Is that the proper way to do it?

Cheers 
Isaak
 
14 Feb 2024 05:50 - 14 Feb 2024 21:14

Ethercat PDO/SDO Configuration error

Category: EtherCAT

When did it last work, and what's changed since then? Did you upgrade the linuxcnc-ethercat software since it last worked? Have the XML files changed?

Can you exit LinuxCNC, run `sudo dmesg -C`, restart LinuxCNC, and then share what `sudo dmesg` says?
 
Hi thanks for the quick reply, i got the output of sudo dmesg -C this is the section with the Ethercat output, i put the complete .txt as attachment.

The last time it worked was in 2021 and yes since then a new computer/hardware was needed and a complete fresh Linuxcnc/ethercat install was done, but the machine configuration is nearly the same.

But as i got my scaling at that time not tuned to move the right distances i  discarded the EtherCAT COE Setup and Configured the Drives with EtherCAT SOE, but this was never reliable enough. and had  often bus failures.

I´ve updated the Drives Firmware today to FWA-INDRV_-MPB-21V16-D5_FD
and updated the EtherCAT Master to EtherCAT: Master driver 1.5.2 1.5.2.429.g3079ece-1+378.1

  - Sven

Warning: Spoiler!


 

File Attachment:

File Name: cstruct_14022024.txt
File Size:0 KB

File Attachment:

File Name: dmesg_2024-02-14.txt
File Size:90 KB

09 Feb 2024 12:06 - 09 Feb 2024 13:40
Replied by vre on topic XHC-WHB04B-6 Help needed

XHC-WHB04B-6 Help needed

Category: HAL

Hello.
I have debian 12 /  linuxcnc 2.10pre master and XHC-WHB04B-6 doesn't work
I had copied udev rules but seems that doesn't work because if i run this command as root
xhc-whb04b-6 -ue works fine but doesn't work if i run it as user.
My udev rules file
cat /etc/udev/rules.d/99-xhc-whb04b-6.rules
# xhc-whb04b-6 mpg pendant
SUBSYSTEM=="usb", ATTR{idProduct}=="eb93", ATTR{idVendor}=="10ce", MODE="600", TAG+="uaccess"
update ---
solved by adding to udev rules
ATTRS{idVendor}=="10ce", ATTRS{idProduct}=="eb93", MODE="666", OWNER="root", GROUP="users"
05 Feb 2024 10:02

7i92t and 5 axis bob no 0-10v on spindle

Category: General LinuxCNC Questions

Hello, I'm not sure what's going on with my spindle setting. I'm using the 7i92t with 7i92_5abobx2d.bit and a cheap 5 axis bob with spindle output set to i/o 000: for pin 1. The relay pin 17 is working as expected but I get 10v on pin 1 with the relay off and no voltage with it on. Giving S commands has no effect with relay off or on. My spindle setting from pncconf were[SPINDLE_0]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 24000.0

So I added
OUTPUT_SCALE = 24000.0
OUTPUT_MIN_LIMIT = 0
OUTPUT_MIN_LIMIT = 24000.0

but this had no noticeable change.
If anyone knows what might be wrong, please let me know
My ini and hal are attached along with the xhc mpg hal.
30 Jan 2024 03:49
Help! I'm an idiot was created by ericg

Help! I'm an idiot

Category: General LinuxCNC Questions

Yes, I am, I haven't upgraded LCNC for a while so I thought it was time, so I upgraded to the latest while doing others tasks and lost everything and couldn't find my backup from a couple of years ago, Doh!.Anyway it's mostly all back again just a few tweaks and the laser software to go.Finally my problem is with the xhc-hb04 pendant, it is working except for  the probe-z button which call a subroutine from a mdi-command and the subroutine is not being found. (seeking o-word<o100>;)I cannot find what I have missed, the PROGRAM-PREFIX is correct, the file is in the PATH and I added SUBROUTINE-PATH for good measure.
(please remove .txt from o100 file)
Can I get help please.
Eric
Displaying 106 - 120 out of 197 results.
Time to create page: 1.287 seconds
Powered by Kunena Forum