- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Trying to move from UCCNC to Linuxcnc and using 7i96s but having trouble
Trying to move from UCCNC to Linuxcnc and using 7i96s but having trouble
- Mark Kraus
- Offline
- New Member
-
- Posts: 5
- Thank you received: 1
- XYZ mill
- X & Y steppers
- Z servo (knee)
- No exotic kinematics, just a basic mill configuration
- I do have solid communication between the PC and the Mesa card
- Network issues are resolved (static IP for Mesa, internet via USB dongle)
- Latency issues were addressed by disabling several BIOS features
- Debian installation and networking are now things I actually understand, which is a win
For context, I’m not new to CNC:Is it realistic to expect a simple XYZ mill (2 steppers + 1 servo) to at least jog without days of trial-and-error, or is this learning curve typical?
- I previously had this machine running under UCCNC
- I had:
- A 4th axis
- VFD spindle control
- Spindle brake
- Mist, air to the knee, and lube pump
- All of that worked reliably
- I want true rigid tapping
- I’m interested in the QtDragon / QtPlasma ecosystem
- I also have a router and another plasma table I’d like to potentially convert
- Installing Debian cleanly
- BIOS tuning for real-time performance
- Static networking for Mesa Ethernet cards
- Separating “GUI motion” from real hardware motion
…but I’m still not confident I understand the correct minimal path to first motion.
- This transition is doable
- There is a clean, recommended workflow for initial bring-up
- I’m not fundamentally missing something obvious
Mark
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
- Posts: 11624
- Thank you received: 3913
ChatGPT is not particularly useful with Linuxcnc. I worry when I ask AI a question and it quotes into I wrote on this forum back to me.
now you have communication to the Mesa card, I would create a new config with pncconf and see how it goes. If it fails, share your hal and ini file and somebody will help. Also some rules.
1. Stick to the default axis user interface until you get a working machine
2. Always start linuxcnc from the command line. That way you will see any error messages. Usually messages are fairly clear and refer to the file and line number
I think the main difference with Linuxcnc is linuxcnc is a blank canvas where other systems have specific wiring terminals for specific purposes. That means you have a bit more work to do as you have to define a bit more of your machine here. eg for coolant, you need to select a random pin on the 7i96s and then connect it to the appropriate internal signal. Also note if you have not defined your spindle, you won't see coolant/mist controls in axis.
Proceed something like:
Get x,y,x morion working
Set up home/limit switches. If you did not have these, take the time to wire in a shared home/limit switch an all axes. It is much easier
Get estop working.
Work on your spindle. pin spindle.0.on needs to connect to the 7i96s pin you chose for the spindle on signal (spindle relay)
Set up your 0-10 volt speed control and scale it correctly
Get your encoder working (or do it later so you have something you can use)
Then set up coolant and mist. Test these with MDI commands M7,M8,M9
OIler then follows. I have not done anything with it but the pins are here
linuxcnc.org/docs/html/man/man1/halui.1.html#Lube
Main thing is to share console output and hal and in files here as you work through this so we can help
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 17590
- Thank you received: 5145
Create a simple configuration with pncconf or MesaCT
Test this configuration by launching it from the command line
if there are issues you cannot resolve, post your error messages, hal/ini files here
Please Log in or Create an account to join the conversation.
- Mark Kraus
- Offline
- New Member
-
- Posts: 5
- Thank you received: 1
Last question. Is there another AI that is better for linuxcnc than Chat? My machine is a Bridgeport Series 2 I have had for 15 years and I started off retrofitting it with Mach 3 then moved to UCCNC. I recently replaced the 4 hp original motor and made some custom mounts for a 7.5 HP motor hoping to be able to face mill more aggressively and hoping that will help with ridgid tapping. Thank you in advance for your help.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
- Posts: 11624
- Thank you received: 3913
great! pncconf will calculate out the step calibration but there is a shortcut if you dare!So I stopped trusting Chat gtp and started to think more for myself
You can review you mach3/uccnc and look for what Mach3 calls steps-per (steps per inch or steps per mm)
This directly equates to what linuxcnc calls STEP_SCALE in the ini file. so just edit your ini file to use your known values. But at this point you will be doing stuff manually in a text editor from here on. Which is not a bad thing in my book! Also try using geany for text editing. Our ISO's install it but otherwise type sudo apt install geany. Its very similar to notepad++ in Windows.
I often use pncconf to create a basic config and edit it by hand to correctly scale the axes and set velocities and acceleration.
slowing down in a cut is done by the motion controller. It knows from your ini file what the velocities and accelerations are and will adjust them accordingly. G64 is probably new to you but it sets the closest distance away from a corner you want to allow and should be in every gcode file (and set in the ini file). Without it, the motion will stay at your maximum velocity which cause you to cut corners significantly. Read up on it.
Yes, buttons to allow you to override limits should appear if you violate them.
This forum is far better than any AI as its where the AI's come to get their info. I prefer Elon Musk's Grok as it lies less even though it has quoted info I wrote here back to me a week later
Please Log in or Create an account to join the conversation.
- timo
- Offline
- Elite Member
-
- Posts: 171
- Thank you received: 50
And then knowing the ratio between "dangerous half knowledge" and "expertise" for a fact makes it even scarier.
ChatGPT is not particularly useful with Linuxcnc. I worry when I ask AI a question and it quotes into I wrote on this forum back to me.
Suddenly your own work hypothesis becomes a fact and "best expert advise" one can find on the internet.
Please Log in or Create an account to join the conversation.
- Mark Kraus
- Offline
- New Member
-
- Posts: 5
- Thank you received: 1
I have a huanyang gt 7.5 kw vfd it is different from the non gt and its pins i had been using with uccnc are
s1 s2 grnd(may have been +10 the wire pulled off as I was looking at it) Ai1 and comm I am going to the shop soon and will post my files I will see if i get any led light on the board when I m3 if there are any. Is there someone else who has wired a gt vfd that could tell me what worked for them. Also ready to do encoder wiring. what pins would those be? Thanks in advance and i will be posting soon. In uccnc I had a custom button to put the spindle brake on when changing tool because i have a quick change nut on my Bridgeport series 2.
Please Log in or Create an account to join the conversation.
- Mark Kraus
- Offline
- New Member
-
- Posts: 5
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 21164
- Thank you received: 7228
Yes, many of my clients and friends, that is the first thing they notice when the machine starts moving after switching from Mach.Has anyon e noticed smoother operation with linuxcnc vs other s when they switched?
Yes.My liimit switches are only two wire. Is this going to work?
Might be to late but, LinuxCNC can use a single switch for Homing and min/max limits, per joint/axis, so you do not need separate switches for limits and home.I have a threee wire home swithc set up hall sensor
3 axis machine = 3 switches total <<<< example
You can also use any combination of switches as you need/want.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
- Posts: 11624
- Thank you received: 3913
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Trying to move from UCCNC to Linuxcnc and using 7i96s but having trouble