Advanced Search

Search Results (Searched for: )

  • Mars
  • Mars
01 Aug 2025 15:33

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I have poured over the Remora documentation but can't find the syntax (if it exists?) for the config.txt to set up an input on a Remora supported controller board as an analog input. Is there a way? I have gone over all the config.txt files that I can find and they all seem to be variants of 3d printers and they have thermistor specific inputs (which are analog I realize but the only general signal inputs seem to be digital. Any help/hints/links other appreciated. TIA
  • Mars
  • Mars
01 Aug 2025 14:55

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Scott. Please forgive me if I am using the forum improperly. I have a project that I would like to base on RPI5 and Remora on a Bigtreetech board. I have read all the Remora documentation and studied all the config.txt files in your github. The question: can Remora support a general analog input (say to an ADC pin on the supporting processor)? In the limit, can I repurpose one of the thermistor inputs or are they dedicated to thermistor processing? TIA.
  • Aciera
  • Aciera's Avatar
01 Aug 2025 14:47

Advice sought...getting started with Remora/Linuxcnc

Category: Computers and Hardware

This is not a chat forum so Please stop creating posts about the same topic.
  • Jonathan_H
  • Jonathan_H
01 Aug 2025 12:06

System hangs repeatedly with certain combinations of operations

Category: General LinuxCNC Questions

Good spot,

I need to refresh my g-code understanding, but I am scratching my head as to what I was trying to achieve when I made that mistake. And also why much of the time it actually works fine (more so with an earlier version of linuxcnc).

I will do as PCW suggested first, then see if cleaning up that bit of code makes a difference.
  • Jonathan_H
  • Jonathan_H
  • atrex77
  • atrex77's Avatar
01 Aug 2025 11:34

W5100S-EVB-PICO stepgenerator and encoder driver

Category: Driver Boards

i have some questions, please explain to me "low resolution encoder can produce velocity as 0,0,3 not 1,1,1", "digital signal sampling too quickly.", how do you mange the digital signal sampling too quickly problem if you using hardware encoder counter without external hardware? how do you manage data integrity problem of UDP communication, i dont see any code to check the sent and received data is valid. Do you tested my code in real hardware? If so, open an issue in the github page. My project is in development and i want to fix all bugs that come in the future, but i don't react to theories. If you want to participate, fork the project (test branch), make changes you like, test it  and make a pull request.
  • dredivan
  • dredivan
01 Aug 2025 11:25 - 01 Aug 2025 11:39
Replied by dredivan on topic Touch off don`t work "file not open"

Touch off don`t work "file not open"

Category: AXIS

[RS274NGC]
PARAMETER_FILE = linuxcnc.var
 
I use clean configuration created by PNCCONF.
My linuxcnc version is 2.10

If I don't enter anything from the keyboard and just press the OK button in the window, the coordinates are reset.
but if I enter any number, the option to confirm with the OK button disappears.

After I click the OK button, I open the linuxcnc.var file and see that the values have been written
5221    37.000000
5222    0.000000
5223    -10.443750
 
But if I enter any number from the keyboard, the option to confirm disappears, and I see the inscription "File not open"

linuxcnc.var


Log of run configuration
  • Cysign
  • Cysign
01 Aug 2025 11:19

Interfaces & linear scale for LinuxCNC

Category: General LinuxCNC Questions

Hi,
I originally wanted to run a cheap DIY cnc machine using an old Intel Atom dualcore computer which has an LPT connector. But meanwhile I start thinking about higher quality components.

Same specs:
-stepper motors (already exist)
-linear rails for a work area of 1000/600/200mm (already exist)
-spindle Kress FME800 (already exists)
-stepper driver board with 5x Toshiba TB6560 (already exists)
-USB connected hand controller/job wheel LHB04 (already exists)

Now I wonder if I'd better go for an network/USB controlled Mesa card to get rid of that old Intel Atom computer and be able to use any machine (probably a modern notebook).

Also I would like to bux linear scales for my build, but couldn't figure out how they would be connected to LinuxCNC.
Is there a lis with reliable (but not too expensive) supportet linear scales?

And would you rather ust the Toshiba stepper driver board listet above or get some modern alternative?

Since I didn't really start building it, I'm free to change components for the good :)

I'm going to weld the frame for my machine. So I wonder what's the best way to start? At the moment I think I'm going to build z-axis first and depending on it's dimensions I can design the x-axis, then Y-axis.
But for designing the z-axis I need to know which linear scale system I need to mount and what size it is.

Since this CNC machine is intended to build electrical guitars, I don't require the highest precision, but I'd like to have as small tollerances as possilbe for a reliable pricetag.
  • ihavenofish
  • ihavenofish
01 Aug 2025 05:27
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Mo pichurs... for your enjoyment (or hate, you do you...)

 
 
 

The atc mounting arms are just pure brute force right now. I need to refine them be a little lighter and a lot less expensive.
  • Hakan
  • Hakan
01 Aug 2025 05:09

System hangs repeatedly with certain combinations of operations

Category: General LinuxCNC Questions

I noticed the ENDSUB doesn't match the SUB in tool-length-reset.
  • ihavenofish
  • ihavenofish
01 Aug 2025 03:02
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Alllllmost there. :)

 
  • DauntlessA
  • DauntlessA
01 Aug 2025 02:56
Replied by DauntlessA on topic Probe tripped during non-probe move deadlock

Probe tripped during non-probe move deadlock

Category: General LinuxCNC Questions

Hi Andy,
I believe that the issue I'm describing is exactly the one here:
github.com/LinuxCNC/linuxcnc/issues/2926

The last comment from that issue was you asking about the motion.motion-type following motion.probe-input going high.
I've looked in the halscope and it does seem that motion.motion-type remains at a value of 5 (Probing) until deceleration is completed, at which point the motion-type goes directly to 0 (Idle). So the issue isn't that the motion type resets immediately when the probe input triggers.
I was probing using just the X axis/joint 0 when I tested this.


I'll try and find out a bit more if I can.
  • DauntlessA
  • DauntlessA
01 Aug 2025 01:05

Possible to access a HAL OUT pin for jog count backlog

Category: HAL

Andy,
Thanks so much!
I had a dig through some of the motion planner, and it seems when an incremental jog is commanded by the GUI using NML, then this is the associated case in
motion/command.c
:
github.com/LinuxCNC/linuxcnc/blob/master...otion/command.c#L841

If the incremental jog is accepted, if it is a joint jog (free mode), it seems to handle all of the logic there, with the target position assigned as follows:
            /* set target position for jog */
            if (emcmotCommand->vel > 0.0) {
            tmp1 = joint->free_tp.pos_cmd + emcmotCommand->offset;
            } else {
            tmp1 = joint->free_tp.pos_cmd - emcmotCommand->offset;
            }

Whereas, if it is an axis jog (teleop mode), it will call the function
void axis_jog_incr(int axis_num, double offset, double vel, long servo_period) {}
in
axis.c
:
github.com/LinuxCNC/linuxcnc/blob/master...c/motion/axis.c#L279
    if (vel > 0.0) {
        tmp1 = axis->teleop_tp.pos_cmd + offset;
    } else {
        tmp1 = axis->teleop_tp.pos_cmd - offset;
    }

So, for both joint and axis, the way the position is assigned is essentially the same, it modifies either the value of 
free_tp.pos_cmd
 or 
teleop_tp.pos_cmd
 by the value of the jog incremental offset.
These would be the hal pins... which actually already exist as 
joint.N.free-pos-cmd
 and 
axis.L.teleop-pos-cmd
!

I thought I'd tried the axis ones already but I must've forgotten to home the sim and since I had the joint jogging pins connected as well I didn't realise I wasn't using teleop 

But yeah, the 'backlog' of incremental jog-counts is just converted into a teleop or free mode motion planner position (which explains why a backlog acts just like a continuous jog).


And, yes, I did sort of avoid saying why I was looking into this (sorry!), wanted to see if this way would work first!
I was looking at meister 's camjog widget
github.com/multigcs/riocore/blob/main/ri...ons/camjog/camjog.py
It jogs via jog-counts (which is definitely the best way to do this), but the only drawback is that it can move in a dogleg if one joint or axis takes longer than the other to reach the destination.

But, if you compare the 'jog DTG' (my test assumes both have the same max velocity) for x/y (or the joint equivalent), you can scale down the velocity of the joint/axis which has the smaller DTG according to its proportion against the joint/axis which has the larger DTG, and then use that to scale the milltask joints/axis max_vel pins.
And the other required logic is that if at least one of the joints/axes is within positional tolerance of the target position, the velocities of both the joints/axes need to be set back to 100%.

Anyway, this is sort of trying to force free or teleop mode to act like coordinated mode. It's quite similar to anglejog, actually, 
but it acts later by calculating the 'Jogging DTG' from existing counts with the same scale (from camjog) and modifying the velocities to follow the resultant instead of calculating the counts itself.
I'll try and flesh out the component a bit more now I know it works.
Also, I still can't figure out why joint jogging is still doglegging   It's not a big deal for me as long as axis jogging works but I want to know why it's not working 

 
  • PCW
  • PCW's Avatar
01 Aug 2025 00:20

System hangs repeatedly with certain combinations of operations

Category: General LinuxCNC Questions

Running (in a terminal window when LinuxCNC is running)

halcmd show all > good.txt

(when running OK) and:

halcmd show all > bad.txt

when hung

( and posting good.txt and bad.txt here )

_May_  help find the reason it's hung.
  • Jonathan_H
  • Jonathan_H
31 Jul 2025 23:48

System hangs repeatedly with certain combinations of operations

Category: General LinuxCNC Questions

I raised this issue a couple of years ago, but then the hackspace closed for a while to move location, so looking into it had to be put on hold. I was hoping that updating linuxcnc would fix it, but if anything it got worse.

Denford 2600 Pro, linuxcnc conversion using Mesa board

So, I have two scripts which are linked to UI buttons.
The first does a spindle warmup. This consists of moving the spindle to the middle of the bed (location is arbitrary) and then running the spindle for a few minutes at an increasing speed.
The second is a tool change script, it moves the spindle front and centre, prompts the operator to change the tool and then click "continue", then moves to the front left and probes the length of the tool with a switch fixed to the bed, then moves carriage back to front centre.

So on a freshly started linuxcnc, I can run the tool change repeatedly, does exactly what is expected.

Now I run the spindle warmup, does what is expected.

But now I run a tool change again... it hangs

Toggle power off and on again from the UI, and try tool change again. It moves front and centre, prompts and waits for tool change, then moves to the front left to probe the tool length... and hangs

Also if I run a job with tool changes when it gets to the tool change the carriage moves front and centre, tool change prompt, moves front left... and hangs. Now this is actually worse than pre update, I used to be able to get through a full multi tool job without it hanging.

Configuration and script files are in this repository

github.com/londonhackspace/Denford-2600-Pro

I'm really rather stuck as to what to do next. I'm a software engineer so debugging software and systems is something I am used to, but linuxcnc is currently a bit of a black box to me. It seems that running the spindle warmup script must leave linuxcnc in a different state to when it is started, one that is somehow incompatible with the tool change script (whether this is correct functionality and the issue is my script or it is a bug in linuxcnc I don't know), but I don't know how to ascertain what is changing. How can I get useful diagnostic information?

Any pointers to how to proceed would be greatly appreciated
Displaying 781 - 795 out of 24205 results.
Time to create page: 0.414 seconds
Powered by Kunena Forum