Advanced Search

Search Results (Searched for: XHC)

  • RV3Dtech
  • RV3Dtech
04 Jan 2025 10:37
Replied by RV3Dtech on topic Handrad xhc-whb04b-6

Handrad xhc-whb04b-6

Category: Deutsch

Ok, heißt im Klartext alles doppelte in der hanrad.hal rausschmeißen ?
  • TooTall18T
  • TooTall18T's Avatar
03 Jan 2025 22:20
Replied by TooTall18T on topic Handrad xhc-whb04b-6

Handrad xhc-whb04b-6

Category: Deutsch

Du bekommst einen Fehler für " halui.machine.is-on" das es doppelt belegt ist?
Du hast es ja auch 2x.
Einmal hier:
net maschine.ist-an halui.machine.is-on whb.halui.machine.is-on
Und einmal hier:
net machine-is-on halui.machine.is-on

Ist "machine-is-on" mit noch etwas verknüpft? Wenn nicht, schmeiß es raus.
  • RV3Dtech
  • RV3Dtech
03 Jan 2025 20:09
Replied by RV3Dtech on topic Handrad xhc-whb04b-6

Handrad xhc-whb04b-6

Category: Deutsch

Hallo,
vielen Dank für die ausfühliche Erklärung. Sorrý wenn ich das nochmal hier auf mache, aber ich hänge da genauso. 
Die abkürzung mit "net machine- is-on whb.halui.machine- is-on" funktioniert bei mir nicht. 

Hab es bei mir soweit in der Handrad.hal angepasst: (Netzname, Eingang, Ausgang)
net maschine.ist-an 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

Dennoch die Fehlermeldung mit der doppelten Verknüpfung. Hab auch schon verschiedene Varianten durch, bleibt unverändert.

Machine.hal sieht wie folgt aus:
# ---HALUI Signale---
net axis-select-x halui.axis.x.select ## ist in der Handrad HAL
net jog-y-neg halui.axis.y.minus
net jog-x-pos halui.axis.x.plus
net jog-x-neg halui.axis.x.minus
net jog-x-analog halui.axis.x.analog
net x-is-homed halui.joint.0.is-homed ## ist in der Handrad HAL
net axis-select-y halui.axis.y.select ## ist in der Handrad HAL
net jog-y-neg halui.axis.y.minus
net jog-y-analog halui.axis.y.analog
net y-is-homed halui.joint.1.is-homed
net axis-select-z halui.axis.z.select ## ist in der Handrad HAL
net jog-y-neg halui.axis.y.minus
net jog-z-pos halui.axis.z.plus
net jog-z-neg halui.axis.z.minus
net jog-z-analog halui.axis.z.analog
net z-is-homed halui.joint.2.is-homed
net jog-selected-pos halui.axis.selected.plus
net jog-selected-neg halui.axis.selected.minus
net spindle-manual-cw halui.spindle.0.forward
net spindle-manual-ccw halui.spindle.0.reverse
net spindle-manual-stop halui.spindle.0.stop
net machine-is-on halui.machine.is-on ## ist in der China Hanrad HAL
net jog-speed halui.axis.jog-speed
net MDI-mode halui.mode.is-mdi ## ist in der China Hanrad HAL

Da kommt dann noch die ganzen select und homed Netzweke hinzu, die zicken machen. 
Wenn man die Handrad Pins in der Machine.hal ergänzt und in der Handrad.hal raus nimmt werden diese nicht gefunden. 
Viellecht hast du mir ein Ansatz was ich da falsch mache. 
 
  • Peto
  • Peto's Avatar
03 Jan 2025 12:46

Limiting keyboard jog accelerations after 2.7.15->2.9.3 Upgrade

Category: Basic Configuration

Hello,
I upgraded my router from 2.7.15 to 2.9.3 and found out that jogging acceleration limits from XHC-HB04 config are no longer applied to keyboard jogs. MPG jogs are limited by new pins jog-accel-fraction for joints and for axes, tho. I have read a comment to a commit that introduces this change and it confirms, that keyboard jog accelerations are no longer limited. The thing is, that my machine's max accelerations are too scary to be used in manual jogging moves, and I would like to limit them as it was in 2.7.15. 
I did not found any other way to limit the keyboard jogging accelerations other than bringing back the old deprecated mpg-accel script functionality, that muxed the accel values to ini component during jog.
Any thoughts if this could be achieved in other way?
Thank for all feedback.

My setup: (Axis screen, simple servo with stepper outputs to servo drivers from 5i25/7i76 combo)










 
  • gardenweazel
  • gardenweazel's Avatar
02 Jan 2025 22:01
Replied by gardenweazel on topic LinuxCNC 2.9.x hand wheel xhc-whb04b OFF/ON problem

LinuxCNC 2.9.x hand wheel xhc-whb04b OFF/ON problem

Category: Installing LinuxCNC

I had this happen recently and what I discovered is that I had previously removed some packages at the OS level. APT indicated they were no longer used, so I removed them against good judgement.

Once I re-installed them my pendant started working properly.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
29 Dec 2024 20:49
Replied by Cant do this anymore bye all on topic LinuxCNC 2.9.x hand wheel xhc-whb04b OFF/ON problem

LinuxCNC 2.9.x hand wheel xhc-whb04b OFF/ON problem

Category: Installing LinuxCNC

I stay away from USB pendants and the like.
  • TooTall18T
  • TooTall18T's Avatar
29 Dec 2024 09:00

LinuxCNC 2.9.x hand wheel xhc-whb04b OFF/ON problem

Category: Installing LinuxCNC

A wireless one is no option for me.
The only way to use it now, is not to use the ON/OFF switch. But I know that I will use it instinctively.

I hope there will be a fix for this.
  • MaHa
  • MaHa
28 Dec 2024 15:17

LinuxCNC 2.9.x hand wheel xhc-whb04b OFF/ON problem

Category: Installing LinuxCNC

I had the same problem. It was working after start, when turn on again, in terminal it was cycling endless through connecting - disconnecting.
I have a wireless one, maybe 10 years old, and this worked until 2.7.14  After upgrading to 2.8  ,the wireless device showed this behaviour, but the wired device worked then.
And now, version 2.9 wants the wireless device. This was on 3 Pc, HP800 G2 and G3, always the same. As the old wireless device is working, no further action was required
 
  • TooTall18T
  • TooTall18T's Avatar
28 Dec 2024 13:46

LinuxCNC 2.9.x hand wheel xhc-whb04b OFF/ON problem

Category: Installing LinuxCNC

I have a problem with my hand wheel xhc-whb04b (wired version) on my machine.
A few weeks ago I have installed LinuxCNC 2.9.3(iso) on my mill pc, but I missed to configure my hand wheel. Yesterday I wanted to do so.
So I made a new HAL-file from the 2.8 documentation , insert the lines for halui inside the ini-file, added the .rules-file and reload it with udevadm.

When I start LinuxCNC and the hand wheel is ON, it works.
When LinuxCNC is running and I switch the hand wheel ON for the first, it works too.
But If I switch it OFF and ON again, when Lcnc is running, I can see totally wrong position values and after a few seconds it switches to Lost RF. I need to restart LinuxCNC to get the hand wheel back to work.

I try this on a virtual machine with Lcnc 2.9.1, 2.9.2 and 2.9.3 with the same problem.
On my milling pc is also my old 2.8.4(deb10) installation and there is no problem with it.

When I start "/usr/bin/xhc-whb04b-6 -p" on 2.8.4 I can switch it OFF and ON and the program is still running. If I do it on 2.9.x it stops working after the first turn off.
I also copied the file from 2.8.4 to 2.9.x with the same result.

Does anyone else have this problem?
  • DeckelCNC
  • DeckelCNC
30 Nov 2024 21:42
Replied by DeckelCNC on topic Leadshine EL8 Servo Drives - EtherCAT

Leadshine EL8 Servo Drives - EtherCAT

Category: Advanced Configuration

Thank you for the reply's

Kworm : i think i have the pdo's right in the drive Vs the terminal output Vs the .xml ? please let me know if i am not understanding correctly. Thank you for your time. 

Warning: Spoiler!


Aciera (sorry i thought it was better to upload files that made no errors, but not actually working)
i have been reading and come across a post about a Youtuber called Marco Reps ? i thought it would be a idea to apply some of the methods i found in these files. so i have changed things from my first post, and i am now getting errors again / LinuxCNC is not opening.  this looks to be the main issue ?  EL8_machine.hal:41: Pin 'lcec.0.0.cia-statusword' does not exist

i have included the Error report + the .xml + .hal + .ini
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.3
Machine configuration directory is '/home/edmuser/linuxcnc/configs/sim.axis-3'
Machine configuration file is 'EL8_machine.ini'
INIFILE=/home/edmuser/linuxcnc/configs/sim.axis-3/EL8_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
emc/iotask/ioControl.cc 786: can't load tool table.
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./EL8_machine.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./EL8_machine.hal:41: Pin 'lcec.0.0.cia-statusword' does not exist
55850
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

.XML File

Warning: Spoiler!


.HAL

Warning: Spoiler!


.ini

Warning: Spoiler!

 
  • csurimilan
  • csurimilan
25 Nov 2024 08:45
Replied by csurimilan on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hello everyone, I had a lot of trouble to find a stable motion controller. First I bought an EC500 and i was trying to run with mach3. It was horrible. So i bought a 2nd card XHC (if i remember well) also wanted to run with mach3 but was still not good. Was better already. After a lot of people suggested me to try linuxcnc. So i sent the XHC motion controller back and currently im struggling with my old motion controller (ec500).The prozessor is an rt1052 and i found a firmware from github (remora from scottalford75).I changed the firmware. Im trying to adjusting the settings with the .ini and .hal files. I was able to move the motors and use home switches. My problem is now that if I jog with my keyboard and after i dont press anything sometimes the motors still do 1 or 2 steps. And i cant figure out why. Maybe someone has the same motion controller with linuxcnc or could help me?Thank you
  • mBender
  • mBender
17 Nov 2024 03:21

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I changed the Y Axis motors back to the Nema 23 with the DM332T driver. 3200 Microsteps/rpm and I can go up to 6000mm/min without an issue.
Handwheel xhc-whb04b-6 is working as well.

Now I am focusing on getting Modbus and the spindle to work. This is the last thing I need to run the mill with the Tang. Can someone confirm that this wiring is correct for the Max485?
 
  • digiex_chris
  • digiex_chris
07 Nov 2024 21:17

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Below is the current set up as of last night. Bench testing worked as expected. It goes from there to a Parallel port break out board. This allwos me to use my machine with LinuxCNC and laserGRBL with just changing a plug. I tried to find out the current rating of the 3.3V and 5V power supply of the Tang Nano 9k. According to the schematics, it seems like that there is a TMI7003C DC/DC Step down, which gets it's 5V directly from the USB C port. If I read it correct, it can supply a max current of 1.5A total. That'a including the power for the FPGA,...It seems like the each Output of the Tang can drive up to 24mA. Which obviusley need to be deducted from the 1.5A plus the other current demands of the FPGA board. Still I believe there is plenty of current to drive secondary operations.The 1.8V needed for Bank 3 is not availbale at FPGA board. I was wondering if I could just use 1 or 2 1.8V outputs, set them pernantley to high and use them as supply voltage for any leverl shifter at Bank3. Opinions? 

 

My personal plan if I needed more gpio was to ignore the 1.8v pins and using the 3.3v pins either use a shift register, see if I could add i2c GPIO expansion support such as the mcp23017, or reserve the FPGA purely for estop, home pins, and steppers and use something else for things like MPG controls and such. github.com/wezhunter/ESP32_LinuxCNC_MotionController_RealTime perhaps, since I have a pile of esp32S2's around. 
I also ended up with a XHC WHB04B-6 wireless MPG that currently satisfies 90% of my control needs, so I don't have a lot of willpower to make a UI that needs a lot of GPIO.

I know that doesn't solve your problem, but just thought I'd mention it for ideas. 

Also, a common LM317 is easy to make it output 1.8v from from the 5v input, as another option. 2 capacitors and 2 resistors. It's hard to even burn them out, they shut themselves down with overcurrent.


 
  • zmrdko
  • zmrdko's Avatar
06 Nov 2024 10:56
Replied by zmrdko on topic XHC WHB04b-6 - Disconnects / freezes?

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

you need to buy something like this.
 

then you take it apart and find out how its wired.
Usually the side button enables the MPG encoder - for safety.

and then you have to connect all wires to your mesa card or whatever interface are you using.
and make hal file for it:
linuxcnc.org/docs/html/examples/mpg.html
 
  • CNC_Tux
  • CNC_Tux
05 Nov 2024 11:48
Replied by CNC_Tux on topic XHC WHB04b-6 - Disconnects / freezes?

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

Hello zmrdko,
have you an example for me, how is to do?
Thank you so much in advance
Best regards
Reinhard
Displaying 46 - 60 out of 76 results.
Time to create page: 0.853 seconds
Powered by Kunena Forum