Advanced Search

Search Results (Searched for: )

  • spumco
  • spumco
11 Aug 2024 23:53
Replied by spumco on topic Cylindrical mapping

Cylindrical mapping

Category: Show Your Stuff

A "virtual Y" like most Y-axis lathes I've seen - cool.  Thanks for the explanation on the kinematics.

Your panel is spectacular, as is the GUI/HMI.
  • Mecanix
  • Mecanix
11 Aug 2024 22:22 - 11 Aug 2024 22:26

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

Category: Computers and Hardware

Sure, as I've suspected there's countless ways to do it better in Rio. Brilliant kit!!

That mpg.hal integration would sure be nice. Not saying this for convenience for myself, but more about the fact that those analog MPGs are extremely common, inexpensive and functioning reliably well. Wired-Rulez!!

I'll have a look at that epic conditional net's (bracket or !bracket) [FEAT]. Haha awesome, just noticed the potential power of that thing; from useless zero-conditional HAL design -to- RIO conditional programming-like HAL. Who would have tought. O M G!! 
  • meister
  • meister
11 Aug 2024 22:11

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

Category: Computers and Hardware

I'll have a look at your HAL, thanks, maybe I can integrate it, but you can also write your hal-file here:

Output/Mecanix/LinuxCNC/postgui_call_list.hal

rio does not overwrite anything in this file when generating


yes, it should be something like that, only with the wled plugin,
but that's not what I wanted to show

it's about the new killer feature :)

you can now write logical links including round brackets in the 'net' field
  • PCW
  • PCW's Avatar
11 Aug 2024 21:55
Replied by PCW on topic step/dir spindle control

step/dir spindle control

Category: PathPilot

You would normally use a stepgen in mode 2 for a frequency source
not a PWMgen. If you only have 1 PWMgen, and its not needed for other
duties that should work. It will generate the requested frequency.

The reason I say this is that the PWM frequency is a global for all
PWMgens so all PWMgens  in a system would need to be ok with
a 12.5 KHz frequency if one was used for a 12.5 KHz chargepump.

If the chargepump circuit works down to 3.5 KHz, that's because
of its design.

If you set the scale to 100, you should set the value to 50 for a 50%
duty cycle (Square wave). A value of 5 with a scale of 100 is 5% duty
cycle (4 usec on 76 usec off at 12.5 KHz)
  • dreynolds
  • dreynolds
11 Aug 2024 21:28
Replied by dreynolds on topic step/dir spindle control

step/dir spindle control

Category: PathPilot

I got it working - I'm not sure why and I think I'm even more confused - but it works! I found an older post on CNCZone. You recommended setting for a C11 REV8 board. I can confirm they also work for a C6 REV6.2 spindle control board. www.cnczone.com/forums/novakon/343810-pa...814.html#post2091814

I had to bypass the spindle comp in PathPilot and add the missing items from the above post that were missing in my original hal file.

Is the below appropriate for my charge pump that requires 12.5khz signal? It works but I can drop the frequency all the way down to 3500 and it still works. Below that it does not.

setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.output-type 1
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.pwm_frequency 12500
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale 100
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.value 5

What frequency is it actually putting out? Is there a frequency, scale and value more appropriate for a 12.5khz signal?
  • Mecanix
  • Mecanix
11 Aug 2024 21:27 - 11 Aug 2024 21:28

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

Category: Computers and Hardware

You'll have to find out for yourself what's so special about it,
I only say HAL of hell :P


 
  • Mecanix
  • Mecanix
11 Aug 2024 21:21

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

Category: Computers and Hardware

Only source code I've had to change was for the board family to be recognized as a its high-speed C7/i6 type.

/riocore/riocore/boards/MecanixDev/board.json
[-] "family": "GW1N-9C",
[+] ​​​​​​​"family": "GW1N-9C7",

/riocore/riocore/generator/toolchains/gowin/toolchain.py
Line 103:
[+]  if family == "GW1N-9C7":
[+]  prj_data.append(f' <Device name="{family_gowin}" pn="{ftype}">gw1nr9c-017</Device>')


That was the reason my PIN03, PIN13, PIN 15 (high speed bank) was not working. The Gowin was always compiling for a C6/I5 fpga type :(
But allpins works now!!
  • blazedforever
  • blazedforever
11 Aug 2024 21:21
Configuring a dual stage axis was created by blazedforever

Configuring a dual stage axis

Category: Advanced Configuration

So I'm trying to extend my work envelope on my mills X-axis. I'd like to know if there is a way to have a second driven linear stage ontop of the main axis stage that would activate and continue x axis travel when the first axis has reached its limit.

In the positive direction, at max limit on stage-0 :  stage-1 activates until its max limit is hit.

In the negative direction from stage-1 max limit :  stage-1 activates stage-0 when it's min limit is hit, stage-0 then can travel to its min limit.

Is there a way to configure LinuxCNC to work with a setup like this?
  • Mecanix
  • Mecanix
11 Aug 2024 21:14

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

Category: Computers and Hardware


1. Created a folder ./gtc_custom/mpg/ (i.e. under /Output/LinuxCNC/)
2. Placed mpg.hal inside it (see attched source). 
3. Riogui -> Linucnc -> INI-Defaults -> HAL -> HALFILE (custom) == "./gtc_custom/mpg/mpg.hal"

For the moment this works wonder. Although I bet there are better ways to do it in Rio but I'm way too noob at it still. 
  • meister
  • meister
11 Aug 2024 21:09

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

Category: Computers and Hardware

did i already mention that i have a script to visualise the HAL ?

python3 riocore/files/hal2graphviz.py Output/OctoBot/LinuxCNC/rio.ini  && display /tmp/hal-graph.svg

 
  • meister
  • meister
11 Aug 2024 20:58

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

Category: Computers and Hardware

Happy Sunday, everyone! 

Got my MPG functional in RIO. Everything works; encoder counts, selection knobs, led, fairly happy about that. Not entirely sure what else I need on that motion control board, probably nothing.
...
 

cool, did you change anything in the hal for this, or did everything work via config ?
if you had to do something to the hal please let me know, then I'll see how I can integrate it


I wasn't completely idle today either :)

very experimental and only of limited use,
but this example works:
        {
            "type": "wled",
            "pins": {
                "data": {
                    "pin": "WLED:DATA"
                }
            },
            "signals": {
                "0_green": {
                    "net": "(halui.machine.is-on and !halui.mode.is-auto and !axisui.error) or halui.program.is-paused",
.....

You'll have to find out for yourself what's so special about it,
I only say HAL of hell :P
 
  • AndyDM01
  • AndyDM01
11 Aug 2024 20:17 - 11 Aug 2024 20:18

Ethercat installation from repositories - how to step by step

Category: EtherCAT

carpal-tunnel syndrome maybe ?
anyway in my language we don't write it that way 
  • AndyDM01
  • AndyDM01
11 Aug 2024 20:15

Ethercat installation from repositories - how to step by step

Category: EtherCAT

so far so good, got the first signs that the software is working ok on the first machine I have to retrofit, thank you to everyone for contributing... I think i really used something from everyone and I will ofcourse due time post my own track to the walhala of linuxcnc when i get to the point of managable cnc machine under total control (for all 3 machines !) ... if i don't die from carpal-syndrome , haven't typed this much since i left the plc/automation world   
  • AndyDM01
  • AndyDM01
11 Aug 2024 20:02

I have serious questions about some stuff I didn't find an answer for

Category: EtherCAT

A: I would really apreciate it  if someone could explain me how the ethercat / cia402 gets recognized by linuxcnx ... because of what is inside of the linuxcnc-ethercat?
B: I finally got the green light to retrofit 3 of our trade-in plasma machines (everyone with budget is switching to laser!) and one off the machines runs on mach3 ... inside the mach3 there was some extra M15 & M16 created to make the torch go up and down with the D6(?) postprocessor 
X axis was normal nema34stepper, Y axis was normal nema34 stepper driver BUT the Z axis was a pneumatic cilinder on/off function , hence the M15 and M16 needed for the Z axis to drop to start cutting... how do I i create this M15 and M16 in linuxcnc-ethercat ?
btw... the more I get into Linuxcnc... the more disappointed I feel that I didn't get a change 5-10 years ago.
THX to everyone for the time you put into this forum... it has been a lifesaver 
  • fsabbatini
  • fsabbatini
11 Aug 2024 19:44
Replied by fsabbatini on topic Cylindrical mapping

Cylindrical mapping

Category: Show Your Stuff

I took a picture of the first kinematics on the file, Y axis is interpolation of X an X’
When second kind is active (Y axis is mapped to C and physical Y is not moved)
Displaying 24106 - 24120 out of 24446 results.
Time to create page: 0.467 seconds
Powered by Kunena Forum