Advanced Search

Search Results (Searched for: )

  • sajurcaju
  • sajurcaju
17 Apr 2025 18:48
Odd estop problem was created by sajurcaju

Odd estop problem

Category: General LinuxCNC Questions

My machine is self designed/built, 3 axis wood router. 2.2kW spindle, conventional steppers, LinuxCNC 2.9something, LMDE6.
G540 motor driver at 48V, software stepping with parallel port(s).

My estop circuit is really simple, there is a NC emergency stop switch with a 5k pullup. For the past couple of months, estop has been randomly triggered with no cause I've been able to find. It could happen in 10 seconds after motion enable, it could run for an hour before being triggered. I can enable LinuxCNC and watch it, 10 seconds to 10 minutes (i.e. random) and it will go into estop, with the motors powered (locked) but not moving.

Estop randomly triggering will only happen when either at least one motor is connected to the g540, or a heavy resistive load (15 Ohms, 2x across where the stepper coils would be). With no load on the g540 estop will stay off. I have looked at the power supply voltages, they are fine during an estop event (using a DVM, not looking for a transient with a scope).

The machine has been working fine before this. The only things I can think of that I've done to the setup:
1. Fried one of the outputs on the motherboard parallel port. Now I have 3 parallel ports, two PCI cards and the motherboard. I'm only using the two PCI cards, but the motherboard parallel is still visible to the system.
2. Replaced the estop cable (!) with nicer wire.

What I've tried:
1. Replaced the estop cable again. I realized that the first replacement was no longer twisted pair. I replaced it again with shielded cable, shield connected at the box containing the g540 and power supplies. Interference seems unlikely since the switch is a short.
2. Cleaned the switch contacts, which didn't help. Jumpered the switch, which didn't help.
3. Removed the C10 breakout board. One parallel port goes directly to the g540, the other went to the C10. There were only two switches connected to the C10, the estop (!) and the electrical touch probe, I just hardwired them to the parallel port. Appeared to greatly improve the problem (a lot longer between estops), but now it's back to 10 sec - 10 min.
4. Greatly improved cooling on the g540.

I don't really see how the g540 can be causing this estop problem. The only estop connection to the g540 is estop OUT from the computer. Symptoms, however, seem like the g540 has something to do with it. I did check the 48V is rock steady through an estop. Note that the g540 stays powered up (motors still powered) when an estop happens. I can reset the estop and it will be fine again for 10 sec 10 min. This doesn't sound like a thermal problem.

Any advice?
Thanks, Steve

 
  • Aciera
  • Aciera's Avatar
17 Apr 2025 18:36 - 17 Apr 2025 18:50

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

Looking at a mazak integrex 200y:
 
I just realized that your machine is actually more setup as a lathe so the above will not be much help.
The best way forward would likely be to build a new custom kinematic for your type of machine. I have a series of documentations (including the jupyter notebooks for sagemath) if you want to have a go at it:
github.com/Sigma1912/LinuxCNC_Demo_Confi...tating/Documentation

[edit]
If you attach your vismach model I'll see if I can find some time to help you.
  • Aciera
  • Aciera's Avatar
17 Apr 2025 18:26

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

I have a sim config for a b-axis head / c axis table in my suite of twp-configs on my github site:
github.com/Sigma1912/LinuxCNC_Demo_Configs/tree/main

 

to test this you need to:

1. download and unpack the folder 'LinuxCNC_Demo_Configs-main'
2. from the unpacked folder copy the folder '5axis-twp' and paste it into your 'configs/sim' folder
3. right click->Properties->mark as executable the following files (otherwise you get the permission error you got):
- '5axis-twp/twp-helper-comp.py'
- '5axis-twp/vismach/xyzbc-trsr-gui.py'
 
  • DarkPhoinix
  • DarkPhoinix
17 Apr 2025 18:16 - 18 Apr 2025 09:48
Replied by DarkPhoinix on topic NVEM V5 LINUXCNC REMORA FIRMWARE[SOLVED]

NVEM V5 LINUXCNC REMORA FIRMWARE[SOLVED]

Category: Computers and Hardware

 
 
 
 

I tried to figure out if I see something with pyOCD but I don't understand if I'm using jlink/stlink or links wrong....
  • atrex77
  • atrex77's Avatar
17 Apr 2025 18:13 - 17 Apr 2025 18:35

Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC

Category: General LinuxCNC Questions

Dear Community,

I’m excited to share io-samurai, an open-source, budget-friendly interface for LinuxCNC and remote I/O projects, built from the ground up for makers like you! I’ve been working hard on this project, and I’m thrilled to announce that once the first batch of final PCBs arrives and I’ve thoroughly tested them, I’ll be releasing the full project on GitHub under the MIT License. Here’s a sneak peek at what’s coming:
What is io-samurai?
io-samurai is a versatile platform for CNC control and remote I/O, powered by Raspberry Pi Pico/Pico 2 and W5100S/W5500-Lite Ethernet modules. Key features:

    16 inputs (20–50 V, MCP23017, I2C) with Zener protection.
    8 high-current outputs (50 V, 500 mA, TD62783-driven, MCP23008-controlled).
    Single analog inputs (10 kΩ potentiometer, 0–3.3 V, GP26).
    40 MHz SPI (~6000 Hz burst) for fast Ethernet communication.
    Optional SH1106 OLED for I/O status and IP display.
    LinuxCNC uspace HAL driver (compiled with halcompile, .so), with safety features like timeout and data checks.
    Python library for automation and remote I/O.

It’s perfect for LinuxCNC users, but also great for IoT, home automation, or any project where you want to experiment with hardware and software.
Current Status
I’ve invested $268 into prototyping, and the first five final PCBs are on their way (~$40–50 each). Once the PCBs arrive and pass testing, I’ll publish the project on GitHub, including:

    Firmware: Pico/Pico 2 code with Wiznet’s ioLibrary_Driver (MIT licensed).
    HAL Driver: Uspace .so for LinuxCNC, with full setup guide.
    Hardware: Gerber files for PCB manufacturing (e.g., JLCPCB, PCBWay).
    Documentation: Detailed pinout.md, setup-guide.md, and io-samurai-manual.pdf.
    Python Library: For remote I/O and automation.

The GitHub repo (github.com/atrex66/io-samurai) is ready to go live under the MIT License, ensuring everyone can use, modify, and contribute to the project.
Get Involved!
I’m passionate about making io-samurai accessible to the LinuxCNC and maker communities. Here’s how you can join the journey:

    GitHub: Follow the repo for the upcoming release (github.com/atrex66/io-samurai).
    X: Follow updates and share your thoughts: @aTrEx77.

What’s Next?

    PCB Testing: Validate the final boards with W5500-Lite, MCP23017, MCP23008, and 10 kΩ potentiometer.
    GitHub Release: Share all code, docs, and Gerber files under MIT License.
    Roadmap: Mach3 driver, FPGA-based step generator, (~$150 full CNC or HMI control with display and pi Zero 2W).

I’d love to hear your feedback or ideas for io-samurai in LinuxCNC setups! What features would you like to see? Let’s build something awesome together. Built with ❤️ in Hungary.

Cheers,
Zsolt Viola

Patreon: Support development for early firmware access, technical posts, or consultations ($5–$30/month)
Patreon link ( #)
 
  • electrosteam
  • electrosteam
17 Apr 2025 17:48
Replied by electrosteam on topic Gmoccapy Touch-Off Offsets

Gmoccapy Touch-Off Offsets

Category: Gmoccapy

Thanks for taking the interest.

Just realized that T1 at 0.000 is sensible.
It is the datum point against which the other tool offset heights are measured.
My previous post used the wrong terminology, not 'cutting length' but 'tip offset'.

I have an edge finder permanently mounted in a NT30 chuck.
I could set all my tool height offsets reference that.
Could be an ideal time to start using my table mounted tool height setter.

I never tripped over this in years of Axis use.
Always just touched-off the actual tool when it was mounted, never used the tool table.
When the mill is next in use, I will check how Axis handles this.
  • jochen91
  • jochen91
17 Apr 2025 17:44

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

Hi Aciera,

thank for the input. Today I started to configure vismach, when i realized that my TCP moves seem off by quite a bit. Which leads me to the following questions:

With the Mazak Z axis is lying horizontal and X standing vertically. -> So i switched X and Z in my vismach model and everything's fine. But in TCP i realized that if i switch between normal and TCP my Z axis was moving left and right. Which had to do with the X/Y offsets for TCP. Witch made me lead to the conclusion, that in the TCP calculation the tool-offset need to be applied to X and not Z. Which than begs the question if the formulas for X and Z need to be switched completely.

So i started doubting everything and searched the forum. I found your XYZBC-TNR example which sadly i can't run right now because of some permission problems:
:0: execv(./vismach/xyzbc-tnr-gui.py): Permission denied

But I'm still not quite sold if i can copy the the TCP math from this example. With the Mazak the head is swiveling around Y (B-axis) in your example it's a dual table config.

I would be real glad if you could give me some input on:

- 5 - axis Kinematic with swiveling B axis head
- The X and Z axis switch debacle
 
  • Grotius
  • Grotius's Avatar
17 Apr 2025 17:20
Replied by Grotius on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Hi,

Using the linuxcnc iso & ethercat my jog speed is max 5000 mm/min. and apptime 50000.
This is tested on a laptop. Very bad performance.

I used to have apptime 15000 and jog speed around 19000 mm/min using a desktop pc.
 
  • cmorley
  • cmorley
17 Apr 2025 17:13

GtDragon sometimes called SilverDragon?

Category: Qtvcp

It's the same screen. Jim's original name was silverdragon. When I incorporated it into linuxcnc, I renamed it in the code. We just got used to calling it qtdragon so in 2.9 I went with it.

Jim also has a newer version in github.
  • spumco
  • spumco
17 Apr 2025 16:33

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Friends,

from what I can only assume is inconsistencies in diameter or something but 533.33 is the number.

with 533 after 20+ revolutions you can see the starting point creep earlier -- indicating its just short of the number of steps to complete a full circle.

with 534 after 20+ it goes the opposite way.

I have a few follow up questions:

- what should i have the dip switches set to? Now that we've figured out they don't do anything to effect the steps per revolution is there an optimal value for this? I dont need insane amounts of torque or rpms

- is this something i can easily fix with the encoder once i do move to LCNC and tune in the encoder error?

thanks all for sanity checking me thus far, nice to know im not 100% crazy.


Sounds like you're still struggling with the driver, yes?

Maybe I missed it, but what brand/model driver do you have?  Asking because some drivers can be tuned via software (in addition to dip switches), and there may be a setting (or another dip) that disables the external dip switches.
  • my1987toyota
  • my1987toyota's Avatar
17 Apr 2025 16:32
Replied by my1987toyota on topic What are the chances of getting this setup working?

What are the chances of getting this setup working?

Category: Pick and Place

No need to apologize, war is hell.
  • royka
  • royka
17 Apr 2025 15:45 - 17 Apr 2025 16:09
Replied by royka on topic PC GPIO pins

PC GPIO pins

Category: Computers and Hardware

If I see it correctly it has a LPT port?
There are different version I see now. So it has 7 input pins (GPI) and 7 output pins (GPO).
With a XYZ machine you'll have just enough output pins to control the steppers, but like PCW said you'll need to create a driver for it.
If you could still return it, the one with a LPT port might be a better choice. If you want to be more sure that it will work reliable with a fast rate a hardware controller will be a better choice.
Displaying 17146 - 17157 out of 17157 results.
Time to create page: 5.213 seconds
Powered by Kunena Forum