Advanced Search

Search Results (Searched for: )

  • mBender
  • mBender
02 Sep 2025 19:28

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

Category: Computers and Hardware

I tried to reduce the mircsteps from 16 to 4 and played around with speeds for homeing. I am able to home. This is now discovering the real issue.

When I manually move an axis of the machine sometime it stops. And sometimes it continues to move slowly. For example in X I see in the display that X is 0.00000 and jumps around to 0.006252 or so. I believe this has happened already and has something to do with the F error or F min or so.
  • Benb
  • Benb's Avatar
02 Sep 2025 19:08

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

7I73 is an lcd/matrix and io expender so you may need voltage shifters  for some of the pins. If your are not planing to use lcd/matrix keypad  Then I would suggest you get  7I84U, the i/o's are 5 to 28v tolerant. four input pin voltages are readable with 8 bit resolution.  Two MPG encoder inputs are provided as an option on four  field inputs
  • mBender
  • mBender
02 Sep 2025 19:07

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

Category: Computers and Hardware

I am chasing a weird issue. I reduced the microsteps on my machine from 16 to 2. That changed the scale from 540 to 80 on x and y and 800 to 100 on z.

Now my machine is not homing anymore. I get this error: home switch inactive before backoff.

Here is what I have done so far. 
1. Changed the Microsteps from 16 to 2. And just changed the rio.ini file. 
2. Machine started homing in the right speed settings, but threw the above error.
3. I changed back to 16 microsteps and the machine is homing fine. Changed back to 2 microsteps. 
4. I tried to reducde the home search velocity, but no change. 
5. I increased the home search speed and the machine is not showing an error, but is not homing. It does it homing cycle, but then continued to go in slow speed. I believe towards home, but not sure.  
  • Lcvette
  • Lcvette's Avatar
02 Sep 2025 19:07

Probe Basic tool touch off gives "Probe tripped during non-probe move"

Category: QtPyVCP

yeah the most commonly recognized home position is where the head is at the top of it Z+ travel.
  • scsmith1451
  • scsmith1451's Avatar
02 Sep 2025 19:05
Replied by scsmith1451 on topic Set program zero using XY positioning laser

Set program zero using XY positioning laser

Category: Advanced Configuration

Pippin88,

Unless you can figure out why activating an output via gladevcp would prevent jogging, I'm going to close this thread.

As a work around, I've configured a front panel switch in parallel with the relay controlled by gladevcp so I can toggle the crosshair laser from the front panel or the VCP. I've also added a 5v relay that triggers when the laser is activated via either the switch or the relay. When triggered the relay activates an input that is attached to the crosshair LED in the gladevcp. This configuration activates the LED regardless of which method is used to provide additional visual feedback to the operator that the LED is on.

Thanks for your interest and support for this issue.
  • JT
  • JT's Avatar
02 Sep 2025 18:58
Replied by JT on topic Flex Gui I/O Widgets

Flex Gui I/O Widgets

Category: Flex GUI

My machine has mpg wheels to control feed and spindle, halui.feed-override.counts and halui.spindle.0.override.counts
Is there a way, to make the sliders follow the adjustement with mpg wheel?
 

You can use a HAL_IO slider and the slider position is updated when the count changes. Note a QSlider is an integer only widget.
You will need a fresh copy of Flex GUI as I just fixed that a HAL_IO QSlider didn't get updated when the value changed.
gnipsel.com/linuxcnc/flexgui/hal.html#hal-i-o

JT
  • Benb
  • Benb's Avatar
02 Sep 2025 18:37

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Try this
#
# Load realtime Components and their counts

loadrt not  count= 1
loadrt or2  count= 1

#
# Add functions to threads

addf not.0    servo-thread 
addf or2.0    servo-thread 

#
# Connect Pins

net toolset         remora.input.11   not.0.in  
net inv.toolset    not.0.out             or2.0.in0
net toolprobe    remora.input.12   or2.0.in1  
net probe          or2.0.out              motion.0.probe-input 
  • Aciera
  • Aciera's Avatar
02 Sep 2025 18:05
Replied by Aciera on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

We could set the first configured axis as selected:



github.com/LinuxCNC/linuxcnc/blob/master...r_intf/halui.cc#L694

could be changed to:
    bool first_axis = true;
    for (axis_num=0; axis_num < EMCMOT_MAX_AXIS ; axis_num++) {
        if ( !(axis_mask & (1 << axis_num)) ) { continue; }
        char c = "xyzabcuvw"[axis_num];
        retval =  hal_pin_bit_newf(HAL_OUT, &(halui_data->axis_is_selected[axis_num]), comp_id, "halui.axis.%c.is-selected", c);
        if (retval < 0) return retval;
	retval =  hal_pin_float_newf(HAL_OUT, &(halui_data->axis_pos_commanded[axis_num]), comp_id, "halui.axis.%c.pos-commanded", c);
        if (retval < 0) return retval;
	retval =  hal_pin_float_newf(HAL_OUT, &(halui_data->axis_pos_feedback[axis_num]), comp_id, "halui.axis.%c.pos-feedback", c);
        if (retval < 0) return retval;
	retval =  hal_pin_float_newf(HAL_OUT, &(halui_data->axis_pos_relative[axis_num]), comp_id, "halui.axis.%c.pos-relative", c);
        if (retval < 0) return retval;
        if (first_axis) {
            // at startup, indicate [0] item is selected:
            *halui_data->joint_is_selected[0] = 1;
            *halui_data->axis_is_selected[axis_num] = 1;
        }
        first_axis = false;
    }

Seems to work in my testing.
  • Aciera
  • Aciera's Avatar
02 Sep 2025 17:38 - 02 Sep 2025 17:50
Replied by Aciera on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

It seems to fail here:
github.com/LinuxCNC/linuxcnc/blob/master...r_intf/halui.cc#L710

    *halui_data->axis_is_selected[0] = 1;


Not sure but it looks like this line fails if there is no 'X' axis configured as it wants to maybe select the first item in the list [x,y,z,a,b,c,u,v,w]?
  • John15
  • John15
02 Sep 2025 17:30

Install works but the password entered will not work to log on. Please Help

Category: Installing LinuxCNC

Hi all. I have installed the software four times now to no avail.
All seems to  bo well, but when i finish and try to log in to linux it keeps saying wrong password.
I know for certain I am using thr one entered at instalation. Even tried just a single letter, no good ????
This is driving me mad!
Please help
John
  • Aciera
  • Aciera's Avatar
02 Sep 2025 17:24 - 02 Sep 2025 17:43
Replied by Aciera on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

Another test:
AX works :
Warning: Spoiler!




While AZ does not:

Warning: Spoiler!


YZ also doesn't work:
Warning: Spoiler!

 
  • JT
  • JT's Avatar
02 Sep 2025 16:54

halui.mdi-command-NN pins not showing up

Category: HAL

Yes, XZ does create the mdi pin and AZ does not.

JT
  • Murphy
  • Murphy
02 Sep 2025 15:38 - 02 Sep 2025 17:32
  • Aciera
  • Aciera's Avatar
02 Sep 2025 15:28 - 02 Sep 2025 17:10
Replied by Aciera on topic halui.mdi-command-NN pins not showing up

halui.mdi-command-NN pins not showing up

Category: HAL

I gather that the 'XZ' config is the one that works, still seems odd that this would create the whole set of 'halui.axis.[x,y,z,a,b,c,u,v,w].*' pins instead of just the expected X and Z axes.

[edit]
Just checked the usual 'axis.ini' on master and it looks like halui creates 'axis' pins for all nine axes even if only 'X', 'Y' and 'Z' are configured. That does not look right to me. Not sure if that is related to the issue at hand though.
 

[edit2]
changing this section:
github.com/LinuxCNC/linuxcnc/blob/master...r_intf/halui.cc#L873

to this avoids the creation of pins for unconfigured axes:
    for (axis_num = 0; axis_num < EMCMOT_MAX_AXIS; axis_num++) {
        if ( !(axis_mask & (1 << axis_num)) ) { continue; }
        char c = "xyzabcuvw"[axis_num];
        retval =  hal_pin_bit_newf(HAL_IN, &(halui_data->axis_nr_select[axis_num]), comp_id, "halui.axis.%c.select", c);
        if (retval < 0) return retval;
        retval =  hal_pin_bit_newf(HAL_IN, &(halui_data->ajog_plus[axis_num]), comp_id, "halui.axis.%c.plus", c);
        if (retval < 0) return retval;
        retval =  hal_pin_bit_newf(HAL_IN, &(halui_data->ajog_minus[axis_num]), comp_id, "halui.axis.%c.minus", c);
        if (retval < 0) return retval;
        retval =  hal_pin_float_newf(HAL_IN, &(halui_data->ajog_analog[axis_num]), comp_id, "halui.axis.%c.analog", c);
        if (retval < 0) return retval;
        retval =  hal_pin_float_newf(HAL_IN, &(halui_data->ajog_increment[axis_num]), comp_id, "halui.axis.%c.increment", c);
        if (retval < 0) return retval;
        retval =  hal_pin_bit_newf(HAL_IN, &(halui_data->ajog_increment_plus[axis_num]), comp_id, "halui.axis.%c.increment-plus", c);
        if (retval < 0) return retval;
        retval =  hal_pin_bit_newf(HAL_IN, &(halui_data->ajog_increment_minus[axis_num]), comp_id, "halui.axis.%c.increment-minus", c);
        if (retval < 0) return retval;
    }

This seems not related to the issue discussed here though.
  • heaven
  • heaven
02 Sep 2025 15:08

Issue with Inverse Kinematics Failing During Homing – 3-Axis Robot with LinuxCNC

Category: HAL

i think you have to build a new kinematic module for 3 axis robot because Genserkins can't be used for less than 6-axis robot. Also keep attention to singularities (your 3 axis robot will have a singularity when link 2 and link 3 are straight line, this can cause kinematic fail)
Displaying 10906 - 10920 out of 16351 results.
Time to create page: 0.464 seconds
Powered by Kunena Forum