Search Results (Searched for: )

  • tommylight
  • T_D
03 Mar 2026 16:37
Replied by T_D on topic Probleme mit NativeCam
i have found the problem , the problem was the sentence in the RS274NGC part :
[RS274NGC]
RS274NGC_STARTUP_CODE = G17 G21 G40 G43H0 G54 G64P0.005 G80 G90 G94 G97 M5 M9
# required NativeCAM item : PARAMETER_FILE = linuxcnc.var   <=HERE WAS THE FAULT I HAD WRITTEN THIS BUT THERE SHULD BE THE PLACE WHERE THE DATA SHULD BE => /Usr/linuxcnc/MY_CONFIG/........
SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
  • billykid
03 Mar 2026 16:18
5I20 replacement was created by billykid
Ten years ago I mounted a 5i20 on a friend's lathe. I remember we used all four ports because he wanted to use the original switches for feedrate and other things. Now he'd like a spare board in case of failure. What can I use with four ports?
  • Finngineering
03 Mar 2026 15:27
Replied by Finngineering on topic XHC WHB04B development?
I flashed back the original firmware to my dongle for testing. When commenting out the assert and adding a debug print there instead if r != 0, I get the following output during jogging in auto:
Code:
in    0x04 10 00 00 10 11 00 10 delta 16 => | 04 | 10 |                 |                 |     1( 30%) |     X(    ) |   0 | 10 pndnt wheel  event 604 pndnt wheel total counts {counts=604 activeCounter=0 isLeadActive=0} in    0x04 10 00 00 10 11 06 10 delta 16 => | 04 | 10 |                 |                 |     1( 30%) |     X(    ) |   6 | 10 pndnt wheel  event 610 Can't switch mode while mode is AUTO and interpreter is not IDLE hal   failed to wait for requested mode. waited 300ms pndnt wheel total counts {counts=610 activeCounter=0 isLeadActive=0} Usb::setupAsyncTransfer() libusb_submit_transfer failed with code -4 transmission failed, try to reconnect ... transmission failed, try to reconnect ... connection lost, cleaning up init  pausing 3s, waiting for device to be gone ....... done init  usb context ... ok init  not waiting for device XHC-WHB04B-6 vendorId=0x10ce productId=0xeb93, will continue in 0s .... ok init  XHC-WHB04B-6 device found init  detaching active kernel driver ... ok init  claiming interface ... ok init  enabling reception ... ok in    0x04 10 00 00 10 11 00 10 delta 16 => | 04 | 10 |                 |                 |     1( 30%) |     X(    ) |   0 | 10 pndnt wheel  event 610 pndnt wheel total counts {counts=610 activeCounter=0 isLeadActive=0} task: main loop took 0.036080 seconds in    0x04 10 00 00 10 11 00 10 delta 16 => | 04 | 10 |                 |                 |     1( 30%) |     X(    ) |   0 | 10 pndnt wheel  event 610 pndnt wheel total counts {counts=610 activeCounter=0 isLeadActive=0}
I tried more than 10 times in a row, and every time the pendant successfully reconnected. In other words, I cannot reproduce your issue. And unfortunately that also means I cannot be of much help to you.

It is a bit surprising that you get the same issue on two different machines, and I don't. Or are the two machines you tested on fairly similar? Could still be e.g. kernel version difference, I suppose. In case they have fixed some usb bugs related to this. It's a bit of a long shot, but I don't have anything better at the moment.
  • T_D
03 Mar 2026 14:24
Replied by T_D on topic Probleme mit NativeCam
i have opened the file as an . ngc file but the same error accurs with seeking o word in line 92 what i am making wrong? please help  is there something i could try to find out what the problem is ?
 
  • Finngineering
03 Mar 2026 12:20
Replied by Finngineering on topic XHC WHB04B development?
Okay, so probably not hardware related then, after all. I'll try to adjust my test setup a little bit and see if I can reproduce the issue.
  • jblanscett
03 Mar 2026 11:51
Replied by jblanscett on topic Trying to set up position control mode
Hi PCW,

I have wired this up like you said. When I set the P value to 1000 we have continuous motion that doesnt stop and when I set it to 0 it moves a short while and then stops.

Thanks,

jblanscett
  • ClarkSavage
03 Mar 2026 11:40
Replied by ClarkSavage on topic 7i92T and mx3660 request for help
the image file that I could not get in the previous message

  • ClarkSavage
03 Mar 2026 11:39
Replied by ClarkSavage on topic 7i92T and mx3660 request for help
  • Ok, setup the HOME_OFFSET to -0.118 [equivalent inch to the 0.3mm) no luck.
  • Tried inverting /- latch and others.Axis has errors so attaching the image
  • When attempting MACHINE / HOMING / "any single axis" I get an error message
  • Home setup / limits of one [x] axis as exampleExample - output of ini for X-axis[JOINT_0]TYPE = LINEARHOME = 0.0FERROR = 10.0MIN_FERROR = 0.05MAX_VELOCITY = 3.0MAX_ACCELERATION = 2.0
current x-axis example fro ini:


[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 0.05
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 2.0
# works - can use after home limits estop fixed - MAX_VELOCITY = 5.0
# works - can use after home limits estop fixed - MAX_ACCELERATION = 7.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 6.25
STEPGEN_MAXACCEL = 8.75
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = -1016.0030642800001
MIN_LIMIT = 0.0
MAX_LIMIT = 32.0
HOME_OFFSET = -0.118
HOME_SEARCH_VEL = 1.166667
HOME_LATCH_VEL = 1.066667
HOME_FINAL_VEL = 1.100000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
#******************************************

what worked in stepconf and parallel port

[AXIS_X]
MAX_VELOCITY = 3.25
MAX_ACCELERATION = 3.8
MIN_LIMIT = -0.25
MAX_LIMIT = 36.5
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.25
MAX_LIMIT = 36.5
MAX_VELOCITY = 3.25
MAX_ACCELERATION = 3.8
STEPGEN_MAXACCEL = 6.0
SCALE = 1016.00000104
FERROR = 0.05
MIN_FERROR = 0.01
HOME_OFFSET = -0.750000
HOME_SEARCH_VEL = -1.100000
HOME_LATCH_VEL = -0.40000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
#******************************************

should I purchase an addon card to the 7i92TM to get the home /limits /estop working and wire direct to it?
  • T_D
03 Mar 2026 11:19
Replied by T_D on topic Probleme mit NativeCam
Have you checked my ini file is this all correct or have i done a mistake 
  • T_D
03 Mar 2026 10:21
Replied by T_D on topic Probleme mit NativeCam
Thank you, i will check this when i am at home
  • Hakan
03 Mar 2026 10:13 - 03 Mar 2026 10:15
Replied by Hakan on topic XHC WHB04B development?
With loops 100 I easily got a crash.
Unfortunately it dídn't recover. Same old libusb debug message.
Code:
hal   failed to wait for requested mode. waited 500ms task: main loop took 0.018703 seconds r = -4 when fail Failed at 1 transmission failed, try to reconnect ...-4 transmission failed, try to reconnect ...-4 connection lost, cleaning up libusb_handle_events_timeout_completed done 0 libusb_release_interface done -4 libusb_close done process done Done with process() About to tear down usb Trying again for 100th time Started while looooop After initWhb() init  pausing 3s, waiting for device to be gone ....... done init  usb context ... ok init  not waiting for device XHC-WHB04B-6 vendorId=0x10ce productId=0xeb93, will continue in 0s .... ok init  XHC-WHB04B-6 device found init  detaching active kernel driver ... ok init  claiming interface ... ok Before mUsb.isDeviceOpen() is Open libusb: debug [libusb_unref_device] destroy device 3.8 Shutting down and cleaning up LinuxCNC... Running HAL shutdown script
This is on the "new" N100 mini pc.
  • Marcos DC
03 Mar 2026 10:06
I understand your point about motion being the proper authority for movements.

My current focus is strictly on validating a clean and deterministic CiA402 semantic layer in isolation, before going into deeper motion integration discussions.

As suggested earlier, I think a dedicated thread about motion/motmod integration would be better for that architectural direction.

For now, I will proceed with the next step: extending this modular CiA402 stack toward dual-axis gantry/squaring validation in SIM.

Once the semantic layer is stable and multi-axis behavior is validated, it should be easier to explore tighter motion integration if needed.
  • Giovanni
03 Mar 2026 09:52 - 03 Mar 2026 09:53
Replied by Giovanni on topic Probleme mit NativeCam
It seems that's a missing piece at the end of the file.

Let's try the attached ngc file.
Load in LinuxCNC and see if it works.
It has been generated using your ncam xml project.

Maybe you could compare it with the file which gives you the error.

Regards
Giovanni
 
  • Will_cnc
03 Mar 2026 09:34 - 03 Mar 2026 09:36
 
Displaying 6406 - 6420 out of 11906 results.
Time to create page: 0.166 seconds
Powered by Kunena Forum