Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
17 Dec 2024 18:54
Replied by andypugh on topic Pressbrake CNC Control Setup Questions

Pressbrake CNC Control Setup Questions

Category: CNC Machines

The press-brake controller I showed here did not use G-code at all. (That was the fun part of the project, for me)

It uses standalone HAL logic to operate the backstop and ram, and the GUI reads the bend data direct from the table.

It has been years since I looked at it, though, so at this point I am fuzzy on the details.
  • resmond
  • resmond
17 Dec 2024 18:48
Replied by resmond on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

On the topic of 'daily driver'...

I switched to a pure linux environment for CAD, CAM and obviously LinuxCNC for g-Code execution. Being rusty on Linux I stumbled onto Unbuntu for my desktop and the ISO from LinuxCNC for my Pi 5 leaving Xcfe in place assuming its reputation for being light.

Plenty of upside on being Linux across the board but being new on top of very different environments depending on where my chair is pointed is a little bit disorienting. LOL

I can never remember where I installed what! LOL
  • WKS-3D
  • WKS-3D's Avatar
17 Dec 2024 17:44
Replied by WKS-3D on topic Poti nur wirksam bei mm/min (Drehmaschine)

Poti nur wirksam bei mm/min (Drehmaschine)

Category: Deutsch

So, ich wollte mal ne kurze Rückmeldung geben, also mit M50 funktioniert der Poti bei mm/U. Gewinde schneiden (G33.1) oder drehen (G33 / G76) habe ich noch nicht mit M50 ausprobiert, aber dabei sollte der M50 Befehl allerdings ignoriert werden.
Jetzt muss ich das ganze nur noch in den Postprozessor bekommen 

Danke für eure Hilfe 

Gruß
Olli
  • digiex_chris
  • digiex_chris
17 Dec 2024 17:38

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

Category: Computers and Hardware

* at the end, the flash select is set to 1 again for safety reasons, as the SPI line is to be used for communication with the FPGA (7 = 1)
 

Thank you, I appreciate your patience with my questions!

This helps a lot for my understanding, and I think it explains the error in my python script. I'll change it to configure chip select at runtime instead of at boot time. My pi5 must be holding the state of 7 at a value I don't want if I want to allow the fpga to be the master for the eeprom spi.
  • HansU
  • HansU's Avatar
17 Dec 2024 16:57
Replied by HansU on topic MDI and Keyboard

MDI and Keyboard

Category: Gmoccapy

The "use keyboard shortcuts" checkbox shouldn't have any impact on this.
Should work like this independent of this setting.
 

Have you tried a simulation config?
  • Lcvette
  • Lcvette's Avatar
17 Dec 2024 16:19
Replied by Lcvette on topic wiring MPGs to 7i96s

wiring MPGs to 7i96s

Category: Driver Boards

Thanks Peter!
  • meister
  • meister
17 Dec 2024 16:08

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

Category: Computers and Hardware

one more thing about the 'pin-modifier', i know it takes some getting used to and the implementation gave me a headache :)

but it makes the thing enormously flexible and customizable.

list of modifier's: debounce, toggle, invert, onerror, pwm

the modifier's can be set for each input and output pin and also as a pipeline one after the other.

* For example, you can 'dim' an output and either reduce the brightness of an LED or operate a 12V relay with 24V (pwm)

* or set the pwm frequency to 1Hz so that the LED flashes

* suppress interference on inputs with debounce

* or other things that would normally require external hardware components.


i have to admit, i'm a bit proud of the function ;P
  • Tchefter
  • Tchefter's Avatar
17 Dec 2024 15:50 - 17 Dec 2024 15:52
Replied by Tchefter on topic Linux CNC auf Virtualbox Simulation

Linux CNC auf Virtualbox Simulation

Category: Deutsch

Moin agima,

vermutlich hast du auf den "Report This" Button geklickt. (Fahre mal mit der Maus über den Button)
Bei diesem klick wird eine Nachricht an den Admin/Mod gesendet das etwas mit dem Beitrag nicht in Ordnung ist.
Zur Erklärung:
Mit Reply kannst Du deinen Beitrag / Antwort formatieren, also Fett, Kursiv usw.
Mit Quick Reply kannst Du nur puren Text schreiben ohne der Möglichkeit zu formatieren und Smilies einzufügen.

Hoffe das hilft,
Gruß Fritz
  • CNC_ANDI
  • CNC_ANDI
17 Dec 2024 15:49 - 17 Dec 2024 15:51
Replied by CNC_ANDI on topic Probe_Basic Bugs?

Probe_Basic Bugs?

Category: QtPyVCP

I currently have Joint 0 on the X axis Joint 1 and Joint 2 in the Y axis joint 3 on the Z Axis Joint 4 on the B axis in the ini

Joint 1 as Homing 1 and Joint 2 as Homing -1
  • Hendrixx
  • Hendrixx
17 Dec 2024 15:46 - 17 Dec 2024 23:16

Anyone use digital signals to connect 7i96 to a VFD?

Category: General LinuxCNC Questions

I just set up an optidrive e3 they are nice well made vfds for sure. I don’t think you’re supposed to use external power. I think you could connect your 7i96 output pins to the 4 digital in and be able to start/stop  increase and decrease speed and reverse rotation,, for each digital in there’s either on or off 0 or 1 connect terminal 1 to one side of the ssr and di1 to the other and the same for the others.then find the gui pins that match those functions if your lucky you’ll be able to just link your relays to signals if not you’ll need to implement some Hal logic and2 or2s or find some other pin you can use it remembers your last setting so the next time you enable DI1 it goes right back to the last speed setting. Shielded twisted pairs it’s pretty electrically noisey that close to a VFD if it’s not bonded really well in reference to  ground plane of the machine. 
  • PCW
  • PCW's Avatar
17 Dec 2024 15:43
Replied by PCW on topic wiring MPGs to 7i96s

wiring MPGs to 7i96s

Category: Driver Boards

As long as input-common is GND you can mix input voltages.
  • meister
  • meister
17 Dec 2024 15:42 - 17 Dec 2024 15:47

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

Category: Computers and Hardware

puhhh, too many questions :)
I don't know all that exactly anymore,
can only say that it works like this on the rpi4.

from memory:

* unexport Flash select from gpi, so the SPIdev can use it by it self

* reload SPIDev to get a defined state (i think without that there were errors if linuxcnc was running before)

* then the FPGA must be in RESET mode (25 = 0)

* running flashrom....

* to get a clean state again, the SPIdev is reloaded (I think this also blocks the select lines otherwise)

* Flash select and FPGA reset to input (7 = input / 25 = input), so the FPGA can boot and can operate the flash select itself

* wait a second (FPGA is booting)

* at the end, the flash select is set to 1 again for safety reasons, as the SPI line is to be used for communication with the FPGA (7 = 1)
 
  • jyeomans
  • jyeomans
17 Dec 2024 15:25
Replied by jyeomans on topic qtdragon additonal buttons

qtdragon additonal buttons

Category: Qtvcp

No i dont think i saw this page. i saw one simular but i don't rember seeing the Build A Simple Clean-sheet Custom Screen
thanks i will have a read through it.
  • digiex_chris
  • digiex_chris
17 Dec 2024 15:21

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

Category: Computers and Hardware

Could you give me an idea about how spiflash works on the pi4? I see gpio 7 and gpio 25 being used. It seems that gpio 7 is chip select 1 for spi0 (also defined as /dev/spidev0.1).

From what I see, it
- disables gpio7 if it's enabled as a gpio
- unloads and reloads spidev and spi_bcm2835
- enables gpio25, and sets it as an output pin, but does not set the value of it. It seems it needs to be low in order to set chip select 1 active.
- does obvious flashrom work
- unloads the same spi drivers.
- enables gpio7 again
- sets both 7 and 25 to inputs
- sets 7 to a value of 1, but since it's an input, does this also set it as an output again?

Using hardware spi on the pi5, I've found success by allowing the hardware spi to manage the chip select pin automatically.

I am having trouble resetting the iceshield fpga to a running state after flashrom uploads the firmware. Can you describe how the reset works on the iceshield? What pin values I should be seeing with an oscilloscope on gpio25 at each stage of spiflash.sh?

Could you also explain why it unloads and reloads the spi drivers at the start, and unload again at the end? Is the pi4 version of riocore using software spi (bit banging) instead of hardware spi?
  • digiex_chris
  • digiex_chris
17 Dec 2024 15:04

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

Category: Computers and Hardware

So I can run gw_sh from anywhere, I also edited my .bashrc to make the PATH permanent.
Here is the terminal text, it is still saying it cant see the gowin path, interesting the first line saying XDG_RUNTIME_DIR is not set, I have no idea what that is but it doesn't sound good...

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
loading config: riocore/configs/TangNano9K/config.json
loading board: /home/gus/riocore/./riocore/boards/TangNano9K/board.json
rm -rf rio.fs rio.json rio_pnr.json rio.tcl abc.history impl
gw_sh rio.tcl
make: gw_sh: No such file or directory
make: *** [Makefile:34: impl/pnr/project.fs] Error 127
loading: riocore/configs/TangNano9K/config.json
loading board setup: TangNano9K
loading toolchain gowin
writing gateware to: Output/TangNano9K/Gateware
!!! gateware changed: needs to be build and flash |||
WARNING: can not found toolchain installation in PATH: gowin (gw_sh)
  example: export PATH=$PATH:/opt/gowin/IDE/bin
writing linuxcnc files to: Output/TangNano9K/LinuxCNC
rm -rf rio.fs rio.json rio_pnr.json rio.tcl abc.history impl
gw_sh rio.tcl
make: gw_sh: No such file or directory
make: *** [Makefile:34: impl/pnr/project.fs] Error 127
 

Just checking, I don't mean to offend, but have you tried restarting the computer? Terminals often inherit environment (including path) from processes that spawned them, including login sessions.

You mentioned /home/user/gowin/IDE/bin, does gw_sh actually exist at that exact path? perhaps try 
ls -al  /home/user/gowin/IDE/bin
and make sure gw_sh is in there and has the correct permissions for your user to run it. Also, does the user you're running riocore with have access to all directories and files in that path including the parent directories?

I have had issues with gowin running on Ubuntu 24.04, gowin didn't ship the correct versions of one library they compiled against. which OS are you running on?

Ultimately, if you're using a TangNano9k, I recommend the oss-cad-suite instead of gowin. It has been much easier for me to get working reliably across different linux distributions.
 
Displaying 21496 - 21510 out of 22079 results.
Time to create page: 0.468 seconds
Powered by Kunena Forum