Advanced Search

Search Results (Searched for: )

  • 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


 
Displaying 15016 - 15021 out of 15021 results.
Time to create page: 1.150 seconds
Powered by Kunena Forum