Advanced Search

Search Results (Searched for: )

  • slowpoke
  • slowpoke
19 Jun 2025 12:27 - 19 Jun 2025 12:52

Emulating lathe compound angle via manipulation of X & Z drives

Category: HAL Examples

For jogging there is the 'anglejog' component:
linuxcnc.org/docs/stable/html/man/man9/anglejog.9.html
 

Thank you, and this is what I love about LinuxCNC, it seems that whatever somewhat custom idea you dream up LinuxCNC has the handle to make it happen. It's a tinkerer's  candy store.
  • Doc_emmet
  • Doc_emmet
19 Jun 2025 12:10

ERROR: Linear movement in line xx would exceed the positive stop of the Z axis

Category: General LinuxCNC Questions

Hello,
can someone explain to me why I'm getting this error message:

Linear movement in line xx would exceed the positive stop of the Z axis.

Line xx contains "N330 G53 G0 Z0." This error message isn't always possible?
As far as I understand, the Z0 position can always be reached, since it's at the very top.

Thanks for your help.
  • DMNZ
  • DMNZ
19 Jun 2025 11:34

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

wow, great answer thank you. i was close in my thoughts, since there is no cpu and in rio.c you compile riocomp i thought that there must be something like fixed data frame structure adjusted for each config, but you made it very clear.
do you do anything about noise? like CRC (checksum) maybe for each frame in case it gets corrupted?
  • Cooped-Up
  • Cooped-Up
19 Jun 2025 10:38
Replied by Cooped-Up on topic Mesa card issues Maho MH800E Retrofit Project

Mesa card issues Maho MH800E Retrofit Project

Category: Computers and Hardware

So I tried to upload the firmware and I have somehow broken the 5i25t as it no longer is recognized by the computer. is this something I can flash an eprom with a programmer?
  • meister
  • meister
19 Jun 2025 09:44

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

there is no real protocol,
it is a frame with a fixed length (depending on the config) in which all necessary data is sent and received in byte blocks.

Here is an example of the default Tangbob config:
cat Output/Tangbob/DOC/INTERFACE.md
# Interface
## Host to FPGA
| POS | SIZE | NAME |
| --- | --- | --- |
| 0 | 32bits | RX_HEADER |
| 32 | 128bits | VAROUT128_MODBUS0_TXDATA |
| 160 | 32bits | VAROUT32_PWMOUT0_DTY |
| 192 | 32bits | VAROUT32_STEPDIR0_VELOCITY |
| 224 | 32bits | VAROUT32_STEPDIR1_VELOCITY |
| 256 | 32bits | VAROUT32_STEPDIR2_VELOCITY |
| 288 | 32bits | VAROUT32_STEPDIR3_VELOCITY |
| 320 | 1bit | VAROUT1_WLED0_0_GREEN |
| 321 | 1bit | VAROUT1_WLED0_0_BLUE |
| 322 | 1bit | VAROUT1_WLED0_0_RED |
| 323 | 1bit | VAROUT1_BITOUT0_BIT |
| 324 | 1bit | VAROUT1_BITOUT1_BIT |
| 325 | 1bit | VAROUT1_PWMOUT0_ENABLE |
| 326 | 1bit | VAROUT1_STEPDIR0_ENABLE |
| 327 | 1bit | VAROUT1_STEPDIR1_ENABLE |
| 328 | 1bit | VAROUT1_STEPDIR2_ENABLE |
| 329 | 1bit | VAROUT1_STEPDIR3_ENABLE |

## FPGA to Host
| POS | SIZE | NAME |
| --- | --- | --- |
| 0 | 32bits | TX_HEADER |
| 32 | 32bits | TIMESTAMP |
| 64 | 16bits | MULTIPLEXED_INPUT_VALUE |
| 80 | 8bits | MULTIPLEXED_INPUT_ID |
| 88 | 128bits | VARIN128_MODBUS0_RXDATA |
| 216 | 32bits | VARIN32_STEPDIR0_POSITION |
| 248 | 32bits | VARIN32_STEPDIR1_POSITION |
| 280 | 32bits | VARIN32_STEPDIR2_POSITION |
| 312 | 32bits | VARIN32_STEPDIR3_POSITION |
| 344 | 1bit | VARIN1_BITIN0_BIT |
| 345 | 1bit | VARIN1_BITIN1_BIT |
| 346 | 1bit | VARIN1_BITIN2_BIT |
| 347 | 1bit | VARIN1_BITIN3_BIT |
| 348 | 1bit | VARIN1_BITIN4_BIT |

the frames are then filled with zeros so that they are always divisible by 8 bits and RX and TX frames have the same length so that they can be transmitted via SPI full duplex

a hal component (riocomp.c) is also generated for each config, which can read and write the frames and, if necessary, does a few floating point calculations that I wanted to keep away from the FPGA

This makes it possible to manage without SoftCore in the FPGA, i.e. only pure logic


 
  • pippin88
  • pippin88
19 Jun 2025 08:47
Replied by pippin88 on topic How to jog when beyond soft limits

How to jog when beyond soft limits

Category: EtherCAT

I can see you issue and agree that a better solution is needed for absolute encoder setups.

Maybe two sets of software limits are needed?
Working area
Absolute maximum travel
If machine is within "working area" travel/jogging outside is needed
If machine is outside "working area" but within "absolute maximum travel", then allow jogging. Once within "working area" don't allow jogging/movement back out

Work around:
Move machine off soft limits on shut-down
forum.linuxcnc.org/49-basic-configuratio...tion-shutdown#226443
  • slowpoke
  • slowpoke
19 Jun 2025 07:34 - 19 Jun 2025 07:34

Emulating lathe compound angle via manipulation of X & Z drives

Category: HAL Examples

Axis GUI for a lathe, using Mesa 
I have servos driving the X (cross slide), and Z (carriage) all working.
I also have MPG to manipulate X & Z.
I have removed my compound to make the lathe more rigid, with the rationale that I can emulate the compound via correct step pulse generation of the X & Z drives via the MPG.

Has someone done this?
HAL example?

Thank you

 
  • tivoi
  • tivoi's Avatar
19 Jun 2025 05:45
  • Kieran
  • Kieran
19 Jun 2025 05:18 - 19 Jun 2025 05:20
Replied by Kieran on topic How to jog when beyond soft limits

How to jog when beyond soft limits

Category: EtherCAT

On my AXIS gui setup, I can switch to "joint mode" by hitting $ (shift-4)
which lets the servos jog slowly back into the normal travel range. Hit $ again to go back to "world mode" to run as normal from there. Im guessing the other GUI have an easy way to get into joint mode as well. you could also manually turn the ballscrew a little :D
  • Kieran
  • Kieran
19 Jun 2025 04:58 - 19 Jun 2025 05:05

Getting Ebay 2.6kw ethercat kit going.

Category: EtherCAT

Im trying to get my 2.6kw spindle servo going. its got a P200SE drive. the instructions are written in Chinese. I used google translate and it worked pretty good. Right now im running it as a Z axis just to see if i can get it working. I got my XML setup enough that Linuxcnc reads the encoder no problem. the servo powers up and holds position along with my stepperonline X and y servos. my current roadblock is that its not listening to commands and doesnt move and it gets a following error shortly after. if i power off and turn the motor the DRO moves the distance expected so that's a good sign. the servo load meter on the PYvcp is workign for this servo too, when i "fight" the servo. i must just be missing something simple in my XML?


lcec_configgen gives me this
Warning: Spoiler!



my xml so far

Warning: Spoiler!


 
  • unknown
  • unknown
19 Jun 2025 04:45
Replied by unknown on topic HP T510

HP T510

Category: General LinuxCNC Questions

A little underpowered, if you have one give it a go, if not I wouldn't recommend buying one.

T630 isn't a bad choice for connecting to a mesa Ethernet card.

T610 Plus maybe ok for a Parallel Port system with an RTAI kernel, or Debian Wheezy might be the go. 2.7.x Linuxcnc
  • arijitdutta
  • arijitdutta
19 Jun 2025 03:45
Replied by arijitdutta on topic Weird problem happening during g71, g70 cycle

Weird problem happening during g71, g70 cycle

Category: General LinuxCNC Questions

More findings:

I am running g95 with a manual bldc controlled spindle. The jerk happens at around z -17.2 everytime no matter if the spindle was running at 1200 rpm or stopped or at 100 rpm. It never happens before that or after that no matter how much time was given for the axis to reach at that point. So i can safely rule out any problems with electrical noise and such issues (though my control panel isnt good enough).

Now if i change the backlash from 0.08 to 0.0- the problem vanishes.

Even on the graphical interface it looks like a straight like, g70, g71 trie to do a small move at z-17.2 for reasons unknown, for which the backlash motion is triggered. I am not sure yet. Let me increase the backlash to much higher numbers to see if the jerk increases or stays the same as before.
  • Sekai
  • Sekai
19 Jun 2025 03:07
Replied by Sekai on topic LinuxCNC MillTurn

LinuxCNC MillTurn

Category: General LinuxCNC Questions

Thx for the reply.
I know that linuxcnc has 9 axis in total and the name in different.
For now i have the linear guide rails and i'm working in Solidworks to build the 3d model of the entire build.
What i dont know is how to use linuxcnc for the spindle configuration.For example should i use a servomotor for the spindle head, main and subspindle or use a different style like a regular 3 phase motor with a VFD comanded by RS485 and then when i need position i can switch to servomotor or a stepper motor.
The advantage will be with 3 phase motor i can get higher rpm.
  • nunolopez
  • nunolopez
19 Jun 2025 02:45 - 19 Jun 2025 02:45
HP T510 was created by nunolopez

HP T510

Category: General LinuxCNC Questions

Hello I wanted to know if it was possible to install linux cnc on the HP T510?
Here's a link for the thin client specs www.parkytowers.me.uk/thin/hp/t510/
Displaying 12901 - 12915 out of 17634 results.
Time to create page: 0.467 seconds
Powered by Kunena Forum