Advanced Search

Search Results (Searched for: )

  • Mecanix
  • Mecanix
15 Aug 2024 11:34 - 15 Aug 2024 11:38

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

Category: Computers and Hardware

where is the github repository for baord
 

The RIO 5ax board is by no means ready and yet to be tested. I believe the PCB fab are currently laying out the silkscreen on it today, and so quite far from being a for-public release. Check back in a week or two, we should have significant progress made then. 

In a meantime (if in a rush) the Tang Nano 9k from Sipeed is as close as it gets to the Rio 5ax. Will require a W5500 module to go with it and some sort of 3V3-5V/5V~3V3 translation. 
  • rodw
  • rodw's Avatar
15 Aug 2024 11:13
  • meister
  • meister
15 Aug 2024 11:09

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

Category: Computers and Hardware

oh well, one more thing 

if someone is from germany and has a Mesa 7C81 or 7I90HD lying around that he can lend for 1-2 weeks,
then I would try to port RIO to it

  • meister
  • meister
15 Aug 2024 10:50 - 15 Aug 2024 11:03

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

Category: Computers and Hardware

there is none
EDIT:
Just my general opinion on this:
I think it's fine if someone doesn't want to give out all the sources, he has already posted the schematics of many relevant parts.
I'm glad that someone with knowledge is constructing a board for RIO. 

If you want, you can also build your own board and just show the pictures here, I am also happy to help with such projects. The main thing is that everyone has fun and it helps the project to grow (community/bug-fixes/...)
  • DPFlex
  • DPFlex
15 Aug 2024 10:45
How to setup gearbox/reducer was created by DPFlex

How to setup gearbox/reducer

Category: Basic Configuration

Hello,
I have AC servo motor which has harmonic gearbox with ratio is 80:1
How can I setup LCNC to work correctly with the gearbox ratio ?.
Thank you.
  • Ahmo
  • Ahmo
15 Aug 2024 10:28

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Are they making some updates on ethercat right now? Because when I try to install it it says that it cant fetch some files, I checked and the files that he is searching are version 1.5.2. but the files on repository are version 1.6.1. these files are changed 15 days ago so I was wondering do you now how long will it take for them to fix that?
  • Grotius
  • Grotius's Avatar
15 Aug 2024 10:16
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

i Lcvette,

Yes, will check the mm to inches.

To test the scurve motion planner in linuxcnc i added a new repository , based on lcnc stable version 2.9.3.
Inside the repository we have the cmake framework to build one the current motion planner  "tpmod" and 
two a motion planner called "tpmod_scurve".
Conclusion: very compact code enviroment to test scurve motion planner.

Now to make the new motion planner work in linuxcnc, we have to add some logic because the new planner works a little
different then the current motion planner.

Main differences :
1. New motion planner loads gcode itself. Old motion planner, recieves gcode in chunks over the servo cycle.
2. New motion planner calculates "look ahead" before gcode execution, Old motion planner does this at runtime.

Possible difficulties:
1. New motion planner loads gcode itself, this can take a few seconds for big files. This could result in creating a multi-threading process.
2. The clothoid & spline fillets are not shown by lcnc gremlin on forehand. Validation and debugging is more difficult.

Next week i will add the code to make this work.
  • kzali
  • kzali
  • hans48
  • hans48
15 Aug 2024 09:03
Replied by hans48 on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Hallo Danke für die Antworten.
Habe die HAL und INI Datei Kopiert hoffe es sind die Richtigen. Habe auch das Video angeschaut ist leider auf Englisch konnte daher nur wenig versehen. Gibt es einen Chresh Kurs damit man die Befehle verstehen kann? So mal schauen ob ich die File auch mitschicken kann.
Die Mesa Karte ist die 7i96s. Die x-Achse hat 2 Motoren.
  • meister
  • meister
15 Aug 2024 07:50

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

Category: Computers and Hardware

too late

but W5500 pins are missing , so you can do this part :)
  • Mecanix
  • Mecanix
15 Aug 2024 07:49 - 15 Aug 2024 07:50

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

Category: Computers and Hardware

In fact don't change anything right now. Once I have the board and set PINs for permanent set-ups I'll upload my json(s) over and hopefully you can help me to have this included in Riocore. Let's wait!

ps. I'm really leaning toward binning those colorlight cards and going RIO/Gowin for all 3 (2ax lathe, 4ax mill, 3ax laser). No joke!
  • elovalvo
  • elovalvo
15 Aug 2024 07:35
  • Mecanix
  • Mecanix
15 Aug 2024 07:34 - 15 Aug 2024 07:35

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

Category: Computers and Hardware

That's too kind strikes again! Thanks, Oliver. Can I further abuse your generosity and ask for the amendments below? (C7 part, 50meg XO, UDP). Otherwise final, I think. Convenience at its finest, too cool this GUI 
{  "name": "Mecanix5ax",
  "description": "Mecanix5ax",
  "type": "GW1NR-LV9QN88PC7/I6",
  "pinimage": "board.png",
  "family": "GW1N-9C7",
  "toolchain": "gowin",
  "_toolchain": "icestorm",
  "package": "",
  "protocol": "UDP",
  "clock": {
    "speed": "50000000",
    "pin": "52"
  },
  • Aciera
  • Aciera's Avatar
15 Aug 2024 07:32 - 15 Aug 2024 07:43
Replied by Aciera on topic Change the axis limit

Change the axis limit

Category: AXIS

The short answer is, yes, you can change axis limits through HAL connections as well as through GCODE but there are a few things you need to be aware of.

- Axis limits are exposed as hal pins only after the GUI has started up. So any hal connections would need to be made in the POSTGUI_HALFILE
linuxcnc.org/docs/html/gcode/overview.html#gcode:ini-hal-params
As stated in the documentation #<_ini[section]key> parameters are read_only so if you want to change the value from Gcode you have to use a custom Mcode that uses a script language (eg tcl or bash) to execute a 'halcmd'

- Changes to ini parameters during GCODE execution will only become effective AFTER a quebuster command (eg M66 E0 L0)

My usual solution to change ini parameters from GCode is this:

1. save this bash script as 'M123' to a folder named 'mcodes' in your machine config folder and mark as executable:
#!/bin/bash
P=${1%.*}
Q=${2%.*} # in case you want to use the second parameter to0
echo " P: ${P} Q: ${Q}";

case $P in
11) echo „X min limit“
halcmd setp ini.x.min_limit $Q;;
12) echo „X max_limit“
halcmd setp ini.x.max_limit $Q;;
21) echo „Y min_limit“
halcmd setp ini.y.min_limit $Q;;
22) echo „Y max_limit“
halcmd setp ini.y.max_limit $Q;;
esac
exit 0

To make sure that the changes are actually used we call the above script from a GCODE subroutine.

2. Save the following code as 'm123_wrapper.ngc' and save to a folder in your [RS274NGC]
SUBROUTINE_PATH
; this is the wrapper for the bash script
o<m123_wrapper>sub
M66 L0 E0                 ;force sync, stop read ahead    
o100 if [EXISTS [#<P>]]
o100 else
    #<P> = 0              ;if no P word has been passed we use the default (0)      
o100 endif
o101 if [EXISTS [#<Q>]]
o101 else
    #<Q> = 0              ;if no Q word has been passed we use the default (0)      
o101 endif
M123 P#<P> Q#<Q>          ;call the bash script
M66 L0 E0                 ;force sync, stop read ahead
o<m123_wrapper>endsub
m2

To make linuxcnc aware of these mcodes add these lines to the [RS274NGC] section of your ini file
USER_M_PATH = ./mcodes
      REMAP = M423  modalgroup=10 argspec=PQ  ngc=m123_wrapper

Note 'argspec=PQ' will enforce that the 'M423' command is followed by a 'P' word containing the code for which axis [X(1),Y(2)] and which limit [min (1), max(2)] should be changed and a 'Q' word containing the limit value.
example usage:
M423 P12 Q401
will set 'ini.x.max_limit' to '401'


The parameter handling can be changed to your specific requirements in the 'case' part of the bash script above.
Displaying 22756 - 22770 out of 25346 results.
Time to create page: 0.484 seconds
Powered by Kunena Forum