Advanced Search

Search Results (Searched for: )

  • 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.
 
  • Lcvette
  • Lcvette's Avatar
17 Dec 2024 14:31 - 17 Dec 2024 14:34

Specified probe tool not in spindle error after upgrade

Category: QtPyVCP

that should fix it, if the parameters are not listed in the var they are volatile which is why it works if you enter in the current running instance but doesn't work on restart as the volatile parameters are dumped on exit.  adding in the parameter to the file converts it to persistent!  and will store through restarts.  be aware that if you create a new var file and they are zeroed out, you must renter or run the parameter update via the button in the ui for each section to update the parameter settings and resynchronize. this should never become an issue unless you corrupt your var file or copy a different var in for some reason.  just a heads up on it though!
  • Unlogic
  • Unlogic
17 Dec 2024 14:29

Specified probe tool not in spindle error after upgrade

Category: QtPyVCP

Thanks for a quick reply!

I updated the configuration, copied over the subroutines and python folders but I missed the var file. I'll update it and report back.
  • Lcvette
  • Lcvette's Avatar
17 Dec 2024 14:25

Specified probe tool not in spindle error after upgrade

Category: QtPyVCP

probe basic release you are now on requires the latest subroutine files be copied over as the method of which the parameters are stored has been changed, they are now stored in the var file and the var parameters must also be added in the var file. run a comparison of the updated sim config folder for the var file to show what lines must be added.

there should have been a white notes screen with this documented on requiring changes when you first started probe basic. change notes will always be posted there for releases requiring users to make changes to their configs.

all parameters required for the latest probe basic version are listed here:

kcjengr.github.io/probe_basic/probe_basic_parameters.html


and to see what files may require editing see the configurations docs here:

kcjengr.github.io/probe_basic/machine_config.html
  • EragonPower
  • EragonPower's Avatar
17 Dec 2024 14:22

IHSV60 integrated servo moves when removing power or disabling it

Category: CNC Machines

Update: I've tryied not disabling the servos on E-Stop, they jerk anyway. My guess is that the tuning is probably constantly applying some torque and it gets released as soon as the loop stops
  • Lcvette
  • Lcvette's Avatar
17 Dec 2024 14:08
Replied by Lcvette on topic wiring MPGs to 7i96s

wiring MPGs to 7i96s

Category: Driver Boards

MPG1-A 7I96S IN0
MPG1-B 7I96S IN1
MPG2-A 7I96S IN2
MPG2-B 7I96S IN3
GND 7I96 IN COMMON

This does mean the other 7I96S inputs are sinking inputs
(pull high to activate)

quick sanity check, first time looking at the 7i96s, if an MPG is connected to IN1,2 and is a 5v mpg, do the remaining inputs need to be 5v also or can they be 24v? ie is mixing voltages ok here?
  • mariusl
  • mariusl's Avatar
17 Dec 2024 13:56 - 17 Dec 2024 14:07
QTPlasmaC - QTVCP error was created by mariusl

QTPlasmaC - QTVCP error

Category: Plasmac

 

File Attachment:

File Name: linuxcnc_r...2-17.txt
File Size:13 KB
 

File Attachment:

File Name: linuxcnc_info.txt
File Size:4 KB
 

File Attachment:

File Name: linuxcnc_info.txt
File Size:4 KB
HiI am running on Bookworm and trying to setup QTPlasmaC. My repository is pointed at builsdbot2.highlab.com as the master on buildbot.linuxcnc.org seems to be broken with no release information.This is the error I get.
Traceback (most recent call last):File "/usr/bin/qtvcp", line 596, in <module>_qtvcp = QTVCP()^^^^^^^File "/usr/bin/qtvcp", line 327, in __init__window.handler_instance.initialized__()File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 377, in initialized__self.init_preferences()File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 1024, in init_preferencesTOOLTIPS.tool_tips_changed(self, self.w)File "/usr/lib/python3/dist-packages/qtvcp/lib/qtplasmac/tooltips.py", line 32, in tool_tips_changedset_tool_tips(P, W)File "/usr/lib/python3/dist-packages/qtvcp/lib/qtplasmac/tooltips.py", line 196, in set_tool_tipsW.pause.setToolTip(_translate('ToolTips', 'Pauses or resume the currently running G-Code program'))^^^^^^^AttributeError: 'VCPWindow' object has no attribute 'pause' 
  • JT
  • JT's Avatar
17 Dec 2024 13:25
Replied by JT on topic Large File Memory

Large File Memory

Category: Other User Interfaces

Change end = 60.00001 to end = 100.00001 and it generates a 198MB file that also loads in a second and runs fine. So the key slowdown is trying to load a file that size into a QPlainTextEdit. I assume but have not tested that the plotter will cause it to be very slow to load.



JT
Displaying 21586 - 21600 out of 21888 results.
Time to create page: 1.937 seconds
Powered by Kunena Forum