Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
19 Jun 2025 13:05

Mesa card issues Maho MH800E Retrofit Project

Category: Computers and Hardware

On a 5I25T, unless its completely corrupted, you should be able to recover
by moving jumper W5 up.

If you move W5 up and cycle the power, the red INIT light should blink
If it does, the card is recoverable with mesaflash. if not, a JTAG programmer
would be needed to recover.

Also for the 5I25T make sure that you use a current mesaflash.
  • rodw
  • rodw's Avatar
19 Jun 2025 13:03 - 19 Jun 2025 13:04
Replied by rodw on topic How to jog when beyond soft limits

How to jog when beyond soft limits

Category: EtherCAT

Limit switches should never be hit so need to be outside the working area. If you use use shared home/limit switches, a home_offset in the inI file should be used to move the axis away from the limit switch during homing, Your home_offsets are set to 0
  • PCW
  • PCW's Avatar
19 Jun 2025 12:58

MESA 7i76U inputs changing state without changes to config

Category: Basic Configuration

That does seem like a lot of ripple (nearly 2V)
that should not directly cause an issue but its
odd.

Probably the card should be returned for evaluation/repair/replacement

 One other clue might be to look at the analog input hal pins.
They should be very close to 0V with nothing connected.

The way the 7I76U digital inputs work is that they are read as
analog voltages and the threshold/hysteresis is set by the
field voltage. That's why I suspected a field voltage sensing issue.
 
  • scsmith1451
  • scsmith1451's Avatar
19 Jun 2025 12:38

MESA 7i76U inputs changing state without changes to config

Category: Basic Configuration

I'm using a dedicated 24v switching power supply which is holding a constant 24.1 output. Setting the sserial_port_0=20xxxxxx and reading the fieldvoltage I'm seeing a constantly fluctuating value from 22.01 - 23.9 v
  • 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!


 
Displaying 13171 - 13185 out of 17408 results.
Time to create page: 0.303 seconds
Powered by Kunena Forum