Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
02 Jul 2025 19:34

7i92M very weird communication problem!!!

Category: Installing LinuxCNC

If there was no communication, LinuxCNC should exit.

Are you saying LinuxCNC is running but you have no activity light
(green LED on 7I92 RJ45)?

What does:

ip a

report when in this state?
  • mariomatix@yahoo.de
  • mariomatix@yahoo.de
02 Jul 2025 19:33

Entwickler für eine Programmierung einer angepassten CNC Software auf LinuxCNC

Category: Deutsch

Hallo Herr Jansen,

ich habe Ihnen unter This email address is being protected from spambots. You need JavaScript enabled to view it. eine E-Mail gesendet.

Mfg Mario Gnad
  • Doc_emmet
  • Doc_emmet
02 Jul 2025 18:58 - 02 Jul 2025 19:01
Read value or file in G-code was created by Doc_emmet

Read value or file in G-code

Category: G&M Codes

Hello, I want to use QtDragon to determine the tool height using Utils - Workpiece and then save the result so that I can access the value in the G-code. My idea was to save the result to a file, which also works by slightly modifying the auto_height.py file. I added the following line:

def show_result(self, data):
        diff = float(data) - float(data)
        self.lineEdit_height.setText(format(diff, '.3f'))
        # New line by me:
        with open('/home/dg/linuxcnc/nc_files/probe_height.txt', 'w') as f: f.write(str(diff))

But how can I access the value stored in the probe_height file in a measurement routine.ngc, or can I save the measured value directly in
the G-coder as a variable, e.g., #5000
 
  • meister
  • meister
02 Jul 2025 18:24

LinuxCNC with RIO (FPGA) SPI Issue: Unexpected 'HXHP' Response

Category: General LinuxCNC Questions

you need a clock of min. 10Mhz for the ICE40
Error: PLL input frequency 5.000 MHz is outside range 10 MHz - 133 MHz!
the cmd: '
gpio mode 7 clock;
gpio clock 7 5000000'
will generate an
18Mhz clock, not 5Mhz, don't know why


than you need to set the osc value to your new clock speed in
riocore/boards/IceShield/board.json
"clock": {
"osc": "18000000",
"speed": "29812000",
"pin": "35"
},

you can test the spi connection with the rio-test tool:
bin/rio-test riocore/configs/IceShield/config.json
i think to have the gpio commands you need to install WiringPi:
github.com/WiringPi/WiringPi/releases/tag/3.0

sorry, can not test it at the moment
Displaying 14746 - 14749 out of 14749 results.
Time to create page: 0.515 seconds
Powered by Kunena Forum