Advanced Search

Search Results (Searched for: )

  • timo
  • timo
24 Feb 2025 05:09
Replied by timo on topic Lathe project

Lathe project

Category: Turning

How big is that Electric box? I need to make one soonish (maybe never)
  • PCW
  • PCW's Avatar
24 Feb 2025 04:57
Replied by PCW on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

Yes, by all means means, measure the voltage with no external connections to the analog outputs
its actually difficult to get a near 0 output voltage on a 7I97/7I97T if it has a fault.
  • Lcvette
  • Lcvette's Avatar
24 Feb 2025 04:53

Move Machine to inside soft limits when Probe Basic on

Category: QtPyVCP

Setting middle of table as home isn't advised in my opinion. This tends to be the desire of new cnc users for some reason but will present some complications down the road once you've started actually machining. It's always best to use 0 home at full movement of an axis, especially if you plan on taking advantage of mdi use. When you use g90 for motion in mdi with a transition it's will require an extra bit of head math. Just a suggestion, but no industrial machines use that centered method.
  • tommylight
  • tommylight's Avatar
24 Feb 2025 04:46
Replied by tommylight on topic Parallel Port XYYZ Gantry Homing Linuxcnc 2.9.4

Parallel Port XYYZ Gantry Homing Linuxcnc 2.9.4

Category: Configuration Tools

It is not possible to use the same pin for tandem axis homing, but you can use one pin for home_all and the second for home Y2 as in the attached example from a working machine.
  • tommylight
  • tommylight's Avatar
24 Feb 2025 04:41
Replied by tommylight on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

Remove the analog out connectors before doing this:
Use the "show hal configuration" from "machine" menu to set values for analog outputs and measure the voltage.
If that turns out OK and there is variable voltage on analog outputs, make sure the analog wiring from Mesa to drives is correct, analog out from Mesa should not be wired to drive analog GND. Some drives have strange markings for those, like A+ and A- or A10 or ana or.... setpoint or sollwert or...
  • tommylight
  • tommylight's Avatar
24 Feb 2025 04:29

Move Machine to inside soft limits when Probe Basic on

Category: QtPyVCP

Not sure what is going on in this topic, but those ini values for limits are not correct for any usable machine.
X and Y should be positive values, always, Z axis should be negative.
Use HOME_OFFSET to set where the machine should park after homing, in the middle of the table if you like.
  • tommylight
  • tommylight's Avatar
24 Feb 2025 04:24
Replied by tommylight on topic Float precision for Ultra-Precision applications

Float precision for Ultra-Precision applications

Category: General LinuxCNC Questions

The numbers quoted for various generations, such as TSMC's 4 nm are pure fiction; merely a label. Real dimensions have not been used as generation names for more than 20 years.

The first part of that statement is absolutely correct, but the second part i am not sure it's been 20 years.
4nm is feature size now, before it was transistor size. Last i checked when 7nm was in use, the transistor size was 14nm in total, or similar.
And personally, i am still not clear on how they get usable 4nm features with 13.5nm light source (molten tin hit by two lasers, all at 50000 times per second) etc, etc, but it sure as hell is astonishing!
  • unknown
  • unknown
24 Feb 2025 04:08

Float precision for Ultra-Precision applications

Category: General LinuxCNC Questions

.5nm, isn't that just a bit smaller than 4 gold atoms ?

With the radius of a gold atom being about 0.135nm ?
  • aikiaviator
  • aikiaviator
24 Feb 2025 03:37

Move Machine to inside soft limits when Probe Basic on

Category: QtPyVCP

Firstly, I have a PM728vt, using a MESA 7i96S.

Ok, so through some trial and error I have come up with the following for homing, and it is working correctly (i.e. zero out home etc..), however, I have two questions. The one relating to the bottom set of config elements:

These are the current config and are working and displaying on the correct orientation on Main on Probe-Basic. (i.e. tool path direction).

[JOINT_0]
MIN_LIMIT = -480
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = 320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 0

[JOINT_1]
MIN_LIMIT = -180
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = -320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 1

[JOINT_2]
MIN_LIMIT = -172
MAX_LIMIT = 0
MAX_VELOCITY = 10
MAX_ACCELERATION = 4
TYPE = LINEAR
SCALE = 320
HOME = 0
HOME_OFFSET = 1
HOME_SEARCH_VEL = 4
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 1
HOME_SEQUENCE = 2

At present it homes and just offsets by 1mm to create 0 home. So machine is sitting in the Right (x), Front (y), Up (z) sections of the machine. What I would like to do is home to the centre of the machine and wanted to know if there was a convention for the limits setup. In other words, should it go from say an example of -150 through 0 to +150, or is convention, 0 to 300.

I feel that I would like to "centre" the machine after homing and wanted to check if the following changes would provide for this. And is this best practice?

[JOINT_0]
MIN_LIMIT = -240
MAX_LIMIT = 240
HOME_OFFSET = 240

[JOINT_1]
MIN_LIMIT = -90
MAX_LIMIT = 90
HOME_OFFSET = 90

[JOINT_2]
MIN_LIMIT = -86
MAX_LIMIT = 86
HOME_OFFSET = 86

The second question is that I have limit switch for the other end of travel, and wanted to know how I can configure the home switch to be both Home and limit without causing errors. I have not been able to get it working as a combination switch, but would like it to function that way.

Once this is done, will be configuring up the Probe and a tool touch off.

Any help welcome. Thanks.
  • RushA
  • RushA
24 Feb 2025 03:25

How to access rt pins in user space

Category: General LinuxCNC Questions

Hi,
    I create some pins in the RT module, now I want to read and write pins' value in user space.I use the following code,but it failed.Is there any way to access RT module pins in the user space? The environment is Ubuntu20.04+xenomai3.1+linuxcnc2.9.Thanks!
    int compId;
    int ret;
    hal_float_t *pin_value;
    // init HAL
    compId = hal_init("user_program");
    if (compId < 0) {
        rtapi_print("HAL init failed\n");
        return -1;
    }
    pin_value = (hal_float_t*)hal_malloc(sizeof(hal_float_t));
    ret = hal_pin_float_new("kernel_pin", HAL_IN, &pin_value, compId);
    if (ret < 0) {
        rtapi_print("getting or creating pin failed!\n");
        hal_exit(compId);
        return -1;
    }

    ret = hal_link("user_program.kernel_pin", "ALT.I2600");
    if (ret < 0) {
        fprintf(stderr, "cann't bind signal!\n");
        hal_exit(compId);
        return -1;
    }
    hal_ready(compId);
    
    //*pin_value = 123.45;
    //rtapi_print("value is: %f\n", *pin_value);
    hal_exit(compId);

It prints some messages:
HAL: initializing hal_lib
HAL: initializing component 'user_program'
HAL: component 'user_program' initialized, ID = 28
smalloc_up: shmem available 1386552
HAL: ERROR: pin_new(kernel_pin) called with already-initialized memory
HAL: creating pin 'kernel_pin'
HAL: ERROR: data_ptr_addr not in shared memory
  • Tinker
  • Tinker
24 Feb 2025 03:19
Replied by Tinker on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

This card is not putting out any voltage to correct the position commanded vs position actual.. i think i might have a bad one
  • captain chaos
  • captain chaos
24 Feb 2025 02:35

Parallel Port XYYZ Gantry Homing Linuxcnc 2.9.4

Category: Configuration Tools

Homing my greatest bugbear. I simply can't get my head around this one.
I wish to have my new machine home X axis and Z axis using one pin IE pin 11
and the two Y axes  on pin 12.
I would prefer to have the Z axis home before the X.
The 2 Y axes should home together in whichever drive arrives first.
I have tried a number of things but have reverted to this setup.
Any help would be greatly appreciated.
Cheers Paul
  • GeneRF
  • GeneRF
24 Feb 2025 01:48

Float precision for Ultra-Precision applications

Category: General LinuxCNC Questions

The feature size is still well above a nanometer, but the edge precision and positioning precision have been well below a nanometer for many years.

The numbers quoted for various generations, such as TSMC's 4 nm are pure fiction; merely a label. Real dimensions have not been used as generation names for more than 20 years.

(I spent my career in state-of-the-art lithography. Now I use LinuxCNC to build model steam engines.)

Gene
  • unknown
  • unknown
24 Feb 2025 00:47
Replied by unknown on topic Byte 2 bot setup will not work.

Byte 2 bot setup will not work.

Category: General LinuxCNC Questions

Every reference to PINxx should be GPIOxx, which you see by reading the docs for hal_gpio.
If you need to use GPIO7 and GPIO8 you will need to disable SPI in /boot/broadcom/config.txt.
Also you may have to play around with the base thread to prevent rt errors.

linuxcnc.org/docs/devel/html/drivers/hal_gpio.html

Also loudly complain to byte2bot.

In the RPi sticky there is some info regarding hal_gpio and one or 2 other threads with working examples, not directly related to byte2bot but enough to see how it should work.

The Devs and other community members put hard work into the docs.
  • Tinker
  • Tinker
24 Feb 2025 00:27
Replied by Tinker on topic 7I97T joint following error

7I97T joint following error

Category: General LinuxCNC Questions

That correct, when LCNC faults the enable is removed and the drives are disabled. The servo drift stops.
Displaying 15946 - 15960 out of 20838 results.
Time to create page: 0.667 seconds
Powered by Kunena Forum