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
 
Displaying 14746 - 14748 out of 14748 results.
Time to create page: 0.802 seconds
Powered by Kunena Forum