Advanced Search

Search Results (Searched for: )

  • sticky
  • sticky
Yesterday 00:27
Replied by sticky on topic Unlimited custom outputs?

Unlimited custom outputs?

Category: General LinuxCNC Questions

I would like to use M codes. I had not considered using variables to increase the number of outputs. Is there an example of that available on the forum?
  • sticky
  • sticky
Yesterday 00:19
Replied by sticky on topic Unlimited custom outputs?

Unlimited custom outputs?

Category: General LinuxCNC Questions

I would like to activate them from g-code.

Why 7i73? I used a Mesa Card Configurator and it showed multiple 7i73's but you are right, the 7i72's would be better.
  • TelegramSam
  • TelegramSam
Yesterday 21:59
Replied by TelegramSam on topic Probe Basic Cutaway

Probe Basic Cutaway

Category: QtPyVCP

I'm working on the same project.

The goal would be to show and hide portions of the machine visualization, based on what this thread describes:

forum.linuxcnc.org/qtpyvcp/56945-qtpyvcp...led-into-one?start=0

We have the machine showing, but would like to be able to have buttons show and hide portions of the machine - say one stl in the yaml config file.

Any help that can move us forward?

 
  • rodw
  • rodw's Avatar
Yesterday 21:47
Replied by rodw on topic Unlimited custom outputs?

Unlimited custom outputs?

Category: General LinuxCNC Questions

with a custom component you could also use an analog digital input. Say you had input numbers 10,20,30.... 
you could use ranges < 15, 15-24, 25-34 etc to decode you input number for a near infinite number of values on one pin and change with m67-m68
eg
M68 E0 Q30   (set relay #30 on)
M68 E0 Q31   (set relay #30 off)

With some creative hal programming, you could probably use arrays so the code would be very compact.
  • rodw
  • rodw's Avatar
Yesterday 21:16
Replied by rodw on topic THC doesent work when G code is running

THC doesent work when G code is running

Category: Plasmac

the only thing I could see was  36 bit IN FALSE plasmac.thc-auto <== plasmac:thc-auto
I would have thought you would have this true in the GUI. Does it change the pin if you do change the gui setting?
plasmac:thc-auto should be set in a system file though
  • GFC
  • GFC
Yesterday 19:55
Replied by GFC on topic THC doesent work when G code is running

THC doesent work when G code is running

Category: Plasmac

after checking I in fact had the mode set to zero when should have been set to one, must have messed with it when I was testing, changing it to the correct mode did not affect the problem


the torch is performing touch off and arc start correctly, just the thc after not activating


I did run the codes to create the txt files but dont know how to do the manual cut and run the halcm at the same time, so thc wasnt active then, cant see anything different in the files but i dont really know what im looking at
both files below
  • Oxbown
  • Oxbown
Yesterday 19:54 - Yesterday 19:56

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

Category: Computers and Hardware

Hi,
Thank you so much for the quick fix on the touchy prefix and for explaining the call_list mechanism! That makes managing external custom files much cleaner. Also, the virtual signals logic feature looks very neat and powerful—I'll definitely look into the demo.
Regarding signal assignment in Rio Flow: while having auto-detection via POSTGUI_COMPONENTS works great for standard prefixes, would it be possible to add an explicit target selector in the UI (for example, a dropdown or toggle in the HAL-Signals section to choose whether a connection belongs to Main/PreGUI or PostGUI)?
Having this option directly in the GUI would give maximum flexibility:
  • It prevents having to hardcode every possible GUI/component prefix inside POSTGUI_COMPONENTS.
  • It handles custom user interfaces, custom PyVCP/GladeVCP panels, or non-standard naming schemes seamlessly.
  • It allows users to decide explicitly where each net lives directly from the Rio Flow design environment.
Thanks again for the great support and active development!
  • meister
  • meister
Yesterday 16:51

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

Category: Computers and Hardware

Hi Oxbown,
thanks :)

you can add your own .hal files to the call_list's:

$ cat Output/Tangbob/LinuxCNC/pregui_call_list.hal
source my_own_pregui.hal

$ cat Output/Tangbob/LinuxCNC/postgui_call_list.hal
source custom_postgui.hal
source my_own_postgui.hal

these extra source entries are not removed during generation


i add the 'touchy' prefix to POSTGUI_COMPONENTS (riocore/generator/hal.py),
now, all generated HAL entries beginning with ‘touchy’ should end up in the PostGUI HAL (in main and dev branch / git pull)

Unfortunately, I haven’t used ClassicLadder yet, so I can’t be much help there,
but it’s a good opportunity to mention a specific feature in Rio again :)

When specifying a signal source, you can use various logic and functions.



I think it’s a killer feature that doesn’t get nearly enough attention :)

you can start a demo configuration:
```
rio-generator -S riocore/configs/haldemo/virtual-signals-axis-pyvcp.json
```

  • Oxbown
  • Oxbown
Yesterday 14:53

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

Category: Computers and Hardware

Hi everyone,
First off, huge thanks to the @meister for the amazing work on RioCore and Rio Flow. It makes FPGA-based configurations for LinuxCNC much more accessible and structured!
I’m currently setting up a machine using RioCore with a Touchy interface and a physical control panel (hardware buttons, safety relays, etc.), and I have a couple of architectural questions regarding custom HAL management:
1. Loading Custom Real-Time Components in Main HAL (e.g., ClassicLadder)
Is there an intended workflow or plans to allow custom HAL code injection inside Rio Flow?
  • Use Case: I need to load and thread ClassicLadder (
    loadrt classicladder_rt ...
    loadusr -w classicladder my_logic.clp
    ) to handle auxiliary machine logic and map FPGA inputs/outputs directly to 
    %I
     and 
    %Q
     points before the motion thread starts.
  • Currently, modifying generated main HAL files requires re-editing them after each export. Would it be possible to have a persistent "User HAL Block" or a dedicated non-destructive include file in Rio Flow?
2. Managing Custom PostGUI Nets Without Being Overwritten
How should we best handle GUI-dependent nets across exports?
  • Use Case: Connecting physical hardware inputs mapped in RioCore to GUI-specific pins like 
    touchy.cycle-start
    touchy.single-block
    , or 
    halui.machine.on
    .
  • Since these pins only instantiate after the display loads, they must live in the PostGUI phase. However, each time Rio Flow regenerates/exports the setup, the auto-generated PostGUI call chain (
    postgui_call_list.hal
     / 
    custom_postgui.hal
    ) gets wiped/reset.
Is there a recommended way to structure user-defined pre-GUI and post-GUI files so Rio Flow leaves them untouched, or is native support for custom code injection / user PostGUI nets planned for future releases?
Thanks in advance for any insights or tips on how you guys are handling this!
  • NWE
  • NWE's Avatar
Yesterday 14:20
Replied by NWE on topic THC doesent work when G code is running

THC doesent work when G code is running

Category: Plasmac

Is it performing the touch-off and arc lighting when you start the program? Torch goes down, contacts the plate (depending on your touch-off sensor), goes back up to striking height, lights the arc, at which point the THC can start reading arc voltage. Is it doing any of that?
  • PCW
  • PCW's Avatar
Yesterday 14:17
Replied by PCW on topic THC doesent work when G code is running

THC doesent work when G code is running

Category: Plasmac

Sorry I missed the analog stuff in the hal file.

One thing you might do is (with LinuxCNC running)

1. Without gcode running:

halcmd show pin plasmac  > nogcode.txt

2. With gcode running:

halcmd show pin plasmac  > gcode.txt

and then compare the two files.


 
  • NWE
  • NWE's Avatar
Yesterday 14:06
Replied by NWE on topic Unlimited custom outputs?

Unlimited custom outputs?

Category: General LinuxCNC Questions

If a lot of your outputs are related to some sort of logic that "just needs to run in a background program" you can control any or all of them using a custom hal component. There is also classicladder plc logic in LinuxCNC.
  • rodw
  • rodw's Avatar
Yesterday 12:24
Replied by rodw on topic THC doesent work when G code is running

THC doesent work when G code is running

Category: Plasmac

have you chosen the correct mode in plasmac? refer docs
  • Todd Zuercher
  • Todd Zuercher's Avatar
Yesterday 10:19 - Yesterday 10:23
Replied by Todd Zuercher on topic Unlimited custom outputs?

Unlimited custom outputs?

Category: General LinuxCNC Questions

How do you want to command your outputs? There are a myriad of ways to control them with in Linuxcnc, custom M-codes being just one. In fact you could command up to 32 outputs with just a single custom M-code with the addition of a binary variable (M100 Pn) where n= an integer number that is written to a hal pin (Bitslice Hal component) who's binary value sets the value of each output pin. You could add another 32 by adding a Q variable to the M-code for a total of 64 outputs with a single M-code command. Now remembering all of your possible binary integer commands to turn on/off the correct outputs might be a bit of a trick, but that shouldn't be hard for a computer to do. I've done this before myself, but for only about 16 outputs.
  • GFC
  • GFC
Yesterday 09:53
Replied by GFC on topic THC doesent work when G code is running

THC doesent work when G code is running

Category: Plasmac

I looked at the code I was using and the thc enable gcode is there, the thc enabled light is on, but not the thc active light thats what confuses me, what are the requirements for it to activate?
Displaying 1 - 15 out of 288260 results.
Time to create page: 2.065 seconds
Powered by Kunena Forum