Advanced Search

Search Results (Searched for: )

  • ffffrf
  • ffffrf
Today 03:15

How complex would this DIY Swiss style lathe conversion be to set up hal/ini?

Category: Advanced Configuration

Going to try and explain the project in a way that y'all can imagine as I feel like it should not be too difficult to program in linuxcnc but I wanted to hear the community's inputs

project: Regular Taig CNC lathe with the 5c headstock. I have already converted the 5c headstock to a guide-bushing-esque headstock. My plan is simple: add a second linear "Z axis" that holds a servo that spins the stock and can also move forward and back to feed the stock through the guide bushing headstock. This guide bushing 5c headstock is thus unpowered.

My thought: Could I just have this new axis be the official Z axis, and have the native tag Z axis be another regular linear axis where it simply acts as one of the offset parameters when setting tool offsets? So the only movement the regular taig Z axis would do is move when switching to a different tool such as drills or boring bars of various lengths, while the newly added Z axis behind the headstock acts as the primary Z axis.

I have all of the build details down so I don't think that will be a problem, but I want to know if you guys suspect it will be hard to code in linuxcnc. I do have experience setting up regular lathes & 3/4 axis cnc machines.
  • tommylight
  • tommylight's Avatar
Today 02:59
Replied by tommylight on topic (Solved) G43 not being applied in g-code

(Solved) G43 not being applied in g-code

Category: General LinuxCNC Questions


Mods - please marked SOLVED

Done, thank you.
  • spumco
  • spumco
Today 00:43
Replied by spumco on topic (Solved) G43 not being applied in g-code

(Solved) G43 not being applied in g-code

Category: General LinuxCNC Questions

Holy #@)(*-balls!!!

Who would have thought RETAIN_G43 = IGNORE_G43?

G43 works on the same line as Tn M6, as well as on the next line.

More work left to do, of course... but after about 3 years I'm finally making chips on this stupid lathe.

Thank you all!

Mods - please marked SOLVED
  • grandixximo
  • grandixximo's Avatar
Today 00:17 - Today 03:22
Replied by grandixximo on topic How to fix "Queue is not empty after probing"

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

what are you using the base-thread for?
10000 seems incredibly small.

if you are using custom kinematics, you might have to build again from source, you may not be able to use my debian packages.

It requires you to be logged into github to get the debs I think.
  • COFHAL
  • COFHAL
Today 00:10
Replied by COFHAL on topic Qtvcp GUI and hal pins

Qtvcp GUI and hal pins

Category: Qtvcp

I'm using the latest available version of LNC 2.9. I regularly update my system, and the LNC version updates automatically. I initially installed it from the official ISO and also the DE.
  • rodw
  • rodw's Avatar
Today 21:09
Replied by rodw on topic Developer Forum

Developer Forum

Category: General LinuxCNC Questions

Sadly, they are not alone. Google, Apple, Facebook, X, Youtube to name just a few who also do the same. Facebook is probably the worst. If you look at their business backend features its whole new world of data exploitation user never see.
  • tommylight
  • tommylight's Avatar
Today 20:57
Replied by tommylight on topic Developer Forum

Developer Forum

Category: General LinuxCNC Questions

Discord's sole reason for existence is selling user data, and apparently getting hacked often.
  • rodw
  • rodw's Avatar
Today 20:52
Replied by rodw on topic Developer Forum

Developer Forum

Category: General LinuxCNC Questions

Discord seems to be aimed at gamers that like flashy colors.

And LinuxCNC users apparently by the link I shared, also PrintNC have an active forum and its often used for software support. I even run a server for that reason and I have never played a computer game in my life. 
  • denhen89
  • denhen89's Avatar
Today 20:00

Problems with 4th/rotary axis (B-Axis) that is along the Y-axis (CNC ROUTER)

Category: General LinuxCNC Questions

* the post processor file is saved as .txt , not as .cps because .cps cant be uploaded *
** i attached a picture which i used to explain claude ai where where the 4th axis assembly is - it was for the python script and simulation screen that claude should add, but this helps to understand where everything is**
*** another picture shows how it looks when the end mill is  is offset to the workpiece on my machine when starting the g-code


Hi, last week i build my rotary axis assembly and tested it with simple g-codes that are created from a python script that i build with the help of claude.ai . Its for surfacing square/rectangular timber, because i am planning to build some wood tables, etc. and i have a lot of stock material. The python script works perfectly and does what i needed. Its surfacing one side, then turning 90°, again surfacing and next side, until all sides are surfaced. I was really happy and thought that i can create my first solid wood coffee table and machine the first leg on Monday.
Unfortunately this didnt work out well. 

*** the problem is described below the Blue text.
I am trying to make it as short as possible, but also i want to be as precise as possible:
First of all, the rotary axis is mounted in the Y-direction. My CNC router is a Moving-Gantry machine (XYYZ), 2500x1250mm table travel. My first plan was to mount the rotary table parallel to the X-axis so physically parallel to the Gantry, but this would give me only about 900mm of machining capacity and for the stock timber this was not optimal and if i want to build bigger table-tops by gluing together the surfaced/machined timber i thought it will be better to mount it along the Y axis, which is my long axis (2500mm), especially because i had a piece of 3meters of fake hiwin linear rail that i could cut in half and mount the tailstock on it (- which gives me about 1500mm of rotary axis lenght).
This 4th axis assembly is done and working, but generating a g-code that works same as on the Fusion 360 simulation seems to be a huge problem that i tried to fix since yesterday, for almost 20 hours without sucess.
I thought Claude.ai will manage to help me out, but since yesterday i think i have tried everything i could and everything what claude told me. I first had the rotary setup as A-axis, because i thought that it doesnt make a difference and claude told me that Fusion has the A-axis hard coded to be along the X-axis not Y-axis, but in machine configuration its possible to create a machine and add a A-Axis and choose that it will be along the Y-Axis. I did that and had still some problems, so claude told me that it can be tricked, so claude modified my Post processor, but the main problem was still there, so i setup a new Linuxcnc config with B-Axis isntead of A-axis.



Now to the problem/problems:
The End mill in Fusion 360 simulation is horizontally to the workpiece (sometimes tilted at specific operations and settings that i have tried), not from Z-axis direction, but from X-Axis and although i have set the origin correct.
I have choosed Multi-Axis Operation "Rotary Parallel" (Sprial mode or Line mode, but it is same for Rotary Pocket operation) and have set in the Multi-axis tab: "Rotary axis: Setup Y-Axis", but the End mill is physically not in the Center above the workpiece/rotary axis while air-testing the g-code on the maching.

I zero Z in the center of the rotary axis, same for the X axis, and Y-axis zero is on the Chuck side where the 4th axis is mounted. (as the origin in Fusion 360 setup.
So, the X-axis is somehow offset to X30 instead of X0 or close to X0.. I have checked everything  i could, tried different settings to see what happens, e.g.: when using stock to leave axial 10mm it moves the X offest by that 10mm, so e.g. instead of X30 its X40 at the beginning and of course it is always offset. So for example the G-code starts, the rotary axis positions the timber to 133 degree, so almost 45° - which makes one corner of  the rectangular timber to point almost exactly up towards Z axis, but the X-axis does not move in into that corner, like in the Fusion operation sumulation, but is offset by that e.g. 30mm, so the highest point of the timber is the corner, but the end mill wants to cut the tilted flat surface left or right of it. See picture below
Not only is that not like in the simulation, but also its a problem because i dont have much space in Z-axis and that corner touches my Z-axis plate. (i have even cut out a piece, but still had to stop the g-code at some point because it got too cloose while rotating).
Due to the fact that my designed table leg is a pretty complicated form compared to lets say a tapered wood leg, i designed a simple tapered model to test if the problem is my model (which i could not really believe). The problem is same - its not cutting in the center.
BUT i moved the X axis away from the rotary axis and carefully watched what is actually going on when using Rotary Parallel "Spiral mode". 
I explain: Z Axis moves up, Rotary axis starts rotating and simultanously the Z-axis and X-axis are moving in a circle. So, there are like creating a Circle around the work-piece, but the Rotary axis stops at some point after i think full turn, then rotates back to position to start angle and when it rotates back the Z and X-axis circular movement stops, but starts again when the rotary axis rotates for maching.
But, why does the X axis moves and why is it offset by e.g. 30mm?
Shouldnt the X axis be on the center of the rotary axis and just the Y-axis moves parallel/along to Rotary axis while the rotary axis rotates and the Z-axis just moves up and down, depending on the form of the model? I mean, its a spiral operation where the main axis are the Rotary axis, Z-axis for depth and Y-axis for the lenght of the workpiece (timber, 350mm)

I could write and write - but i am already so confused that i am currently trying it again on my pc, without success. I am uploading pictures of the Machine configuration, Operation settings, How my Rotary axis is mounted on the machine, Post-processor and g-codes. 

I really hope someone can help me out or at least point me to the right direction and sorry for the long text.

PS: The last thing claude told me is that i cannot get it to work with the B-axis, even he told me so on today morning. Claude said "lets go back to A axis" and tricking the machine by modifying the post processor and so on.
I cant imagine that its not possible with the B-axis along the Y-axis, but maybe thats true.
  • PCW
  • PCW's Avatar
Today 19:18

7i96S card arrived what setup is recomended

Category: Driver Boards

You think, maybe it can be the inputs to the main microchip if the 26LS32 works correctly?

It's quite unlikely that the FPGA has been damaged, much more likely that the 26LS32 has been.

Also the 26LS32 does not connect to the FPGA directly but rather through U13 (74CBT16211
level shifter) If U13 was damaged (by say a mistake in P1  connections) this could cause an
encoder issue as U13 is shared by the encoder interface and the P1 parallel expansion port.

You can do a quick check of U13 with mesaflash (assuming P1 is unconnected):

mesaflash --device ethernet --address [card-address] --rpo 0x1008

This should respond with: 0001FFFF (the all high open circuit port data for the parallel
expansion port = P1). Damaged U13 I/O pins that connect to P1 will typically be stuck low.


 
  • xenon-alien
  • xenon-alien's Avatar
Today 19:03
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended

7i96S card arrived what setup is recomended

Category: Driver Boards

In one picture you have the encoder inputs connected, this may affect test results.

Here is the encoder input circuit, you can check if the 26LS32 is faulty by seeing of the
outputs follow the input state. (the outputs are inverted from the TTL input levels)

 

Not really understand, but the result is the same, as it was with the TTL encoder.

Thanks for the hint how to check the 26LS32. Tomorrow I will try.
You think, maybe it can be the inputs to the main microchip if the 26LS32 works correctly?
  • Lcvette
  • Lcvette's Avatar
Today 17:33 - Today 17:35

Probe Basic — 4-axis XYZB wrapped rotary backplot support

Category: QtPyVCP

@ davids
hmm i not even sure where i would start with that, seems pretty unique. I would maybe wait until the latest pyside6 version is released with docs on setting up the machine simulation and try there and report back. I am working on the docs now and then will be uploading the installation requirements for pyside6 for testers, will be a couple days while i try and find time to finish up the doc reconfiguration for bookworm/trixie separation.
  • Lcvette
  • Lcvette's Avatar
Today 17:29 - Today 17:34

Probe Basic — 4-axis XYZB wrapped rotary backplot support

Category: QtPyVCP

@ dredivan

I just pushed an update on the develop branch for bookworm version that specifies the jog buttons to display based on the display>geometry= setting in the ini file, if you update and specify your desired axis buttons there for jogging it will be correct now.
  • davids
  • davids
Today 16:09

Probe Basic — 4-axis XYZB wrapped rotary backplot support

Category: QtPyVCP

Hi Lcvette,
Following up on your offer in this thread to test the multi-axis plotting / simulation branch — I'd like to put my machine forward as a test case. It's a different geometry from dredivan's MPCNC, so flagging that up front in case it's useful (or not) for what you're prototyping.
Machine: — 4-axis cylindrical/polar additive system tower-crane style. Not a wrapped-rotary gantry; the entire arm rotates around a stationary work area.

Configuration:

LinuxCNC 2.9.8 on Raspberry Pi 5 (Bookworm + PREEMPT_RT)
Mesa 7i96S
KINEMATICS = trivkins coordinates=XBZA kinstype=1 (joints 0–3 = X, B, Z, A)

Axes:

A — base rotation, 0–360° continuous, carries the entire Z tower + X arm + B head
Z — vertical linear, 0–2470 mm, rides up the rotating tower
X — radial linear, 952–2760 mm (radial distance from tower center to B housing — not Cartesian X)
B — end-of-arm rotation, ±90°, rotates about a vertical axis at the end of the X arm; B=0 means the 652 mm tool arm is aligned with the X arm (radially outward)

G-code is pre-computed in polar/cylindrical space by the CAM post-processor and emitted as dense waypoints in G93 inverse-time.

Sample line:
G93 G1 X2054.287 Z6 A118.183 B11.055 F423.731

→ B housing at radius 2054.287 mm, height 6 mm, base 118.183° CW, tool arm tilted +11.055° from radial; move duration ≈ 1/423.731 min ≈ 0.14 s.
Stock backplots render this as joint space and produce nonsense, which is why a wrapped/transformed preview would be a big deal for us. If the test branch can accept a custom transform (or already exposes a forward-kinematics hook for the canon), I can supply realistic .ngc files and run them on the actual machine.

let me know how I can be useful. Hope we can find a way for me to be a tester for your multi axis plotter!
— David
  • endian
  • endian's Avatar
Today 16:06 - Today 16:23
Replied by endian on topic LinuxCNC and Beckhoff AX5000 servo drives

LinuxCNC and Beckhoff AX5000 servo drives

Category: EtherCAT

put all AX5xxx first and any other devices behind it ... if translator created the config it is pure master swap to linuxcnc master which is probably OK... but I am just a man and its just a software ...

check sizes of ethercat IDN in the SM and maybe subindexes ...

check if all you have 0x01 ... if they are not change them

share .xml config its tricky to tell you more if there is just small part of the dmesg outcome...

EtherCAT ERROR 0-7: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
EtherCAT ERROR 0-7: AL status message 0x0045: "MBX_SOE".

move(means cut off where it is and put it at the bottom of the file) in init commands from anywhere to the bottom like below -

<InitCmd>
<Transition>IP</Transition>
<Comment><![CDATA[Report diagnostics information]]></Comment>
<Timeout>0</Timeout>
<OpCode>3</OpCode>
<DriveNo>0</DriveNo>
<IDN>33072</IDN>
<Elements>64</Elements>
<Attribute>0</Attribute>
<Data>0100</Data>
</InitCmd>
</InitCmds>
</SoE>
</EtherCATMailbox>
EtherCAT ERROR 0-0: Failed to set OP state, slave refused state change (SAFEOP + ERROR).
EtherCAT ERROR 0-0: AL status message 0x001A: "Synchronization error".

which ethercat driver you are using for control the AX ? generic or native 
Displaying 1 - 15 out of 16872 results.
Time to create page: 0.270 seconds
Powered by Kunena Forum