Advanced Search

Search Results (Searched for: )

  • ffffrf
  • ffffrf
29 Sep 2025 03:16 - 29 Sep 2025 03:36

Extremely confused - Nonworking limit switches

Category: General LinuxCNC Questions

This is my second linuxcnc machine I am in the process of building (First one was a C axis lathe). This is a very simple 3 axis mill and I am running into some sort of issue with the limit switches that I cannot for the life of my figure out.

Here are the facts

1. Wiring is all the same as my first machine, using a mesa 7i96s (same as prev machine as well)
2. I set my input 0 as my X min limit (although have tried home/min, max, home/max) have also tried inverted and non-inverted
3. When I get to my X motor test/tune page, I go to my halmeter and I PROBE GPIO-000 AND input-00 BOTH of them correctly change states when I press the limit switch, indicating it seems to be working correctly.
4. HOWEVER, when I open the actual machine program (am using gmocappy) the limit switch no longer works / does not change state - neither gpio-000 nor input-00 change state. If it is inverted in pncconf it will show the switch as always active and thus I cant turn on the machine, and if it is non-inverted, the limit switch simply does nothing.

I am utterly confused, it is the same code as the other machine, I must be doing something stupid but I am not seeing what that is. I will upload my hal/ini, can someone please help? Like I said I have tried setting it as all sorts of limits and homing and whatnot, and have tried inverted / non-inverted.

I am so so confused....


edit: just as an FYI - the actual axis motors move correctly, so I don't think its something like the mesa is not being communicated with in the real instance of the software
edit2: could it have something to do with the fact that i am using the same computer for both machines? (I unplug one mesa board and plug in the other when i want to run the 2nd machine)
 
  • ArcAiN6
  • ArcAiN6's Avatar
29 Sep 2025 01:20

Looking for a specific, detailed howto guide for XYYZ gantry setup

Category: Advanced Configuration

i left the pin asignments as they were, just changed the dropdown to change it from normal Y axes, and Tandem.

i.e.
Pin 4 and 5 set as Y-Step and Y-DIR
Pin 8 and 9 set as Tandem Y-Step and Tandem Y-DIR
This causes the left motor to move when testing, right motor does nothing

Pin 4 and 5 set as Tandem Y-Step and Tandem Y-DIR
Pin 8 and 9 set as Y-Step and Y-DIR
This causes right motor to move, left motor does nothing

I didn't swap any of the physical signals, just that one setting in the stepper config wizard.

If i set the machine to XYZA, and set both motors are normal, making pins 8/9 the A axis. i can jog both motors individually in the wizard's test feature.
  • PCW
  • PCW's Avatar
29 Sep 2025 01:05

Looking for a specific, detailed howto guide for XYYZ gantry setup

Category: Advanced Configuration

If i swap which is Y normal, and which is Y tandem, the other motor moves, and the original motor does not.

This is not really clear, dd you swap the hardware or the Y and Y2 functions in the hal file?

(that is, did you verify that the parallel output pins 8 and 9 work as expected)
  • langdons
  • langdons's Avatar
29 Sep 2025 00:06
Replied by langdons on topic Repair servodrive yaskawa CACR

Repair servodrive yaskawa CACR

Category: Off Topic and Test Posts

The bad board also has corrosion around CN7.

Perhaps the pasty-looking stuff on the transistors on the good drive is solder paste?

Maybe the working drive was already repaired (indicating a weak point at that location).
  • ArcAiN6
  • ArcAiN6's Avatar
28 Sep 2025 23:53

Looking for a specific, detailed howto guide for XYYZ gantry setup

Category: Advanced Configuration

 

File Attachment:

File Name: my-mill.hal
File Size:5 KB

 

File Attachment:

File Name: my-mill.ini
File Size:3 KB
  • tommylight
  • tommylight's Avatar
28 Sep 2025 23:43
  • ArcAiN6
  • ArcAiN6's Avatar
28 Sep 2025 23:36

Looking for a specific, detailed howto guide for XYYZ gantry setup

Category: Advanced Configuration

Yes. It is a parallel BOB.
In stepper configuration wizard, i set Y as normal axis, and the secondary motor as Y tandem. (read that somewhere here in the forums)
Both sides have their own limit switches.

Testing in the configuration wizard:
Setting Y axis as normal, and the additional motor as Y tandem.
Then going forward to "test" only 1 motor moves.
If i swap which is Y normal, and which is Y tandem, the other motor moves, and the original motor does not.

Deciding to go ahead and finish the configuration wizard, and test it in linuxcnc, the same issue occurs. It attempts to home only one motor
This is the issue i've been trying to find a solution to.
  • Silverback
  • Silverback
28 Sep 2025 22:57
Replied by Silverback on topic Rerunning a tool in qt_dragon_hd

Rerunning a tool in qt_dragon_hd

Category: Qtvcp

Hmm. That's unfortunate.

They talk about getting the machine in the proper state to rerun the tool, I assume with all the proper G codes in operation (G17 etc.)

Most of the machines I ran back when I was a machinist by trade remembered those unless a M30 was called. Unless you started from a different tool, the same state was still in effect and the machine just started from the line called.

If you called a different tool, you might need to do some wizardry to get the machine back in the proper state.

Anyway. Looks like I am not the only one with this issue.

Thanks for the help.
  • tommylight
  • tommylight's Avatar
28 Sep 2025 22:57

Looking for a specific, detailed howto guide for XYYZ gantry setup

Category: Advanced Configuration

Since you failed to mention, i am assuming this is a parallel port setup, so is it?
I think the 2.10 version of LinuxCNC will have tandem axis in wizard for parallel port, for Mesa there is already any combination possible in the wizard.
There is no howto as it is very simple, open wizard, choose axis and what axis is tandem, some math with motor/pulley/final drive/, and save, test.
Also, it seems you came form Mach3 side of things as there is no slave in LinuxCNC, there is tandem joints and can be more than two fro the same axis.
And using LLM for this is still just plain useless, and so is google, next time try duckduckgo.com it still seems to find stuff that is fully hidden to google.
Finally, a qustion before you wander again to the deep end of the pool:
Do both sides of Y have their own home switches?
That is a must to be able to square the gantry any time the machine is homed.
But, if you do not need gantry squaring, you can:
-wire both motors to the same drive, in series as the cable length is not an issue, or in parallel but both cable sets must be the same length
-wire both drive inputs to the same PC output, be it parallel or Mesa or Pico or Remora or Rio
-set in software/HAL to output of Y axis to both drives, simply by choosing Axis Y twice in the wizard.
All of these do not require any home switch, and can not do gantry squaring. But they do work with switches.
  • ihavenofish
  • ihavenofish
28 Sep 2025 22:54
Replied by ihavenofish on topic Recommendations for a dual NIC SBC or mini-pc

Recommendations for a dual NIC SBC or mini-pc

Category: EtherCAT

aaeon (asus) has a dual nic pico itx motherboard with a celeron n150 that I have been looking at for linuxcnc/ethercat. It is I think $248 (plus ram and m.2 ssd). it also takes 12v power via terminal blocks so it seems like a good option at least on paper.
  • Pryston
  • Pryston
28 Sep 2025 22:44
Replied by Pryston on topic Roland MDX-500 questions

Roland MDX-500 questions

Category: CNC Machines

Hi team, good day, I need some help, I have a Mdx-500 roland, but it's no runing, it's stock in a when turning on it, I dont konw why
  • ArcAiN6
  • ArcAiN6's Avatar
28 Sep 2025 22:35

Looking for a specific, detailed howto guide for XYYZ gantry setup

Category: Advanced Configuration

While i'm no stranger to linux, i have to admit, trying to get my machine up and running in LinuxCNC is the equivalent of throwing a toddler into the deep end of the pool, and expecting them to win a 500m butterfly race. I need help with this. because my experience with LinuxCNC thus far, just makes me want to wipe the hard drive, and find literally anything else. 

There's just NO documentation on how to do it. There are small hints here and there, and a plethora of forum posts that tackle small bits of this or that, but not a single unified, digestible "this is what you have to do" type of guide. I've spent the better part of a week, crawling google, bing, facebook ,the forums, the documentation, the github, and it's just EVERYWHERE. Most of it, is seriously old, and outdated information. 

At the end of the day, i just feel swamped with a mountain of unusable information, configuration files, and a plethora of "almost there" configuration wizards, and i've made absolutely zero progress. 

Yes, this may seem like a rant, and honestly, it kind of is. Something as simple as slaving one motor to another shouldn't be this convoluted. A simple drop down and checkbox in the wizard should have been all that was needed to slave A to Y. 

// END RANT //

All i need, is a step by step proceedure for slaving my A drive to my Y drive. 

 
  • MacKaye
  • MacKaye
28 Sep 2025 20:36
Replied by MacKaye on topic Weiler DZ26 Millturn Conversion

Weiler DZ26 Millturn Conversion

Category: Turning

Thanks for the github link. I will look into it in detail.

Currently everything is doing what it´s supposed to do, signal wise.
When i disable the estop relais (hardware wise) i can see a reset pulse as described in the hal excerpt above, using halscope.
halui.estop.is-activated just stays in estop.
If i set F1 in gmoccapy, the GUI puts out a warning about external estops being set. I have literally no idea what net could be the reason for that behaviour.
  • juergen-home
  • juergen-home
28 Sep 2025 18:18

toggle2nist hangs when pressing an other button at the same time

Category: HAL

The Problem is the same as before.

@Aciera
So I did halcompile --install toggle2nist.comp.
I see a new pin toggle2nist_1.debounce so the update should be OK.
I also put the pause/resume signal direct to the toggle2nist without the toggle in front.

@andypugh
I dont understand "output pin from hal_input" my input pins from the gamepad are input.0.btn-base6 ...
  • andypugh
  • andypugh's Avatar
28 Sep 2025 18:10
Replied by andypugh on topic Update LinuxCNC 2.9.5 on debian 13

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

You can try downloading the .deb file directly and manually installing.
(sudo apt-get install ./deb-filename )
The ./ is a clue to apt-get to look at a local file rather than on the repository.

It looks like Trixie has a more restrictive archive key policy than Bookworm, and it's going to take me some time to work that out as it's a subject I know next-to-nothing about.

www.linuxcnc.org/dists/trixie/
Displaying 4126 - 4140 out of 21879 results.
Time to create page: 1.033 seconds
Powered by Kunena Forum