Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
12 Apr 2025 18:11 - 12 Apr 2025 18:12

executing subroutines even during import of GCODE file

Category: O Codes (subroutines) and NGCGUI

You can use the 'task' parameter like this:
o100 if [#<_task> EQ 1]
;everything in here is only executed during actual gcode execution
o100 endif
  • Aciera
  • Aciera's Avatar
12 Apr 2025 18:05
Replied by Aciera on topic How to homing the A-axis again with gcode?

How to homing the A-axis again with gcode?

Category: AXIS

There is no way to 'unhome/rehome' a joint in gcode.
There is a modified 'orient' component that allows optional rehoming to an encoder index signal before doing the spindle orientation.
This post contains a config for spindle/rotary switching in gcode using the modified 'orient' component to rehome the spindle before switching to rotary mode. (This requires an encoder with index on the spindle)
forum.linuxcnc.org/38-general-linuxcnc-q...blem?start=20#324276
  • filipkochan
  • filipkochan
12 Apr 2025 17:56

executing subroutines even during import of GCODE file

Category: O Codes (subroutines) and NGCGUI

Hello.
In my program, I use a custom subroutine where I wait for some input value to turn 1 and then continue. When I import the g code (with this function), LinuxCNC hangs and I have to kill it from terminal. Even with a simple function

o<myfunc> sub
#1 = 0
o150 while [#1 le 0]
o150 endwhile
o<myfunc> endsub
M2


and a minimal program

o<myfunc> call
M2


the import of the program hangs. As soon as I change "[#1 le 0]" to "[#1 lt 0]", it imports correctly. So my question is: does LinuxCNC execute all the subroutines even during importing of program? And since the change of value I am waiting for will never occur during import of program, what could I do? How to prevent linuxcnc from infinitely waiting in the while cycle?
  • israfilcaglar
  • israfilcaglar
12 Apr 2025 17:49
How to homing the A-axis again with gcode? was created by israfilcaglar

How to homing the A-axis again with gcode?

Category: AXIS

Hello, I'm new here. I'm a bit of a novice. Sorry if I put the question in the wrong place.

I'm making a 4-axis swiss lathe. I've never had any mechanical problems. But I'm having some trouble with linuxcnc, I want you to help me.

I have a mesa 7i96s card. I control the spindle with step/dir and I want to use it both for turning and as an a-axis. I'm homing the a-axis, no problem.
I want to do this; I want the a-axis to find the ahome switch again using g28 in the program. The a-axis should rotate until it finds the switch. How do I reset the joint.3.homing pin with g-code? How can it homing again with g-code?


 
 

File Attachment:

File Name: 7i96s.hal
File Size:16 KB

 

File Attachment:

File Name: 7i96s.ini
File Size:6 KB
  • tommylight
  • tommylight's Avatar
12 Apr 2025 17:31
  • PCW
  • PCW's Avatar
12 Apr 2025 17:24
Replied by PCW on topic MPG error

MPG error

Category: General LinuxCNC Questions

You would probably need to post your hal/ini files for anyone to determine the cause.
 
  • MiRu
  • MiRu
12 Apr 2025 17:21
MPG error was created by MiRu

MPG error

Category: General LinuxCNC Questions

Sometimes two axes with MPG are switched on. Where should I look for the error?
  • PCW
  • PCW's Avatar
12 Apr 2025 17:06 - 12 Apr 2025 17:26
Replied by PCW on topic 7i96s Watchdog Ethernet

7i96s Watchdog Ethernet

Category: Deutsch

AMT is still enabled

I think you need to enter MEBx to disable AMT

I would do a web search in the steps needed for this
on your particular CPU.

Also, posting your hal/ini files might help, getting a watchdog bite without a
"error finishing read"  is a bit odd

 
  • tcbmetalworks
  • tcbmetalworks
12 Apr 2025 17:01
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

looks hot with a fresh coat of paint. Need to put some sort of solution in the water to keep it from rusting. i blew the old hypertherm out yesterday and just about got it all rigged up today may try to put power to it and see what happens. The cable chain adds ALOT of resistance to the machine should I be concerned with this? 


 
  • PCW
  • PCW's Avatar
12 Apr 2025 16:50

Mill setup troubles and questions (Speed display, at speed signal, coolant pump)

Category: General LinuxCNC Questions

Getting the 0-10 output from the VFD into the 7i67 and LinuxCNC for the feedback would be a win. But would that go to one of the ports labeled as mpg1a/b 2a/b? (that's where i currently have my homing switches)

The 7I76 has 4 analog inputs (on field inputs 1,2,3,4), but typically its better to use encoder feedback
 
  • ErwinCNC
  • ErwinCNC
12 Apr 2025 16:27
Replied by ErwinCNC on topic 7i96s Watchdog Ethernet

7i96s Watchdog Ethernet

Category: Deutsch

Did you mean this?
 
 
  • pgf
  • pgf
12 Apr 2025 16:19

Converting a working mill configuration to an equivalent sim

Category: General LinuxCNC Questions

Now that I've tightened up my estop game, I can no longer simply turn off my stepper drivers in order to run simulations on my mill software, since doing so makes everything else think there's a fault.  I knew this would happen, but I promised myself I'd figure out how to use a sim instead.

What's the easiest way to copy a mill configuration, and turn the hardware-aware parts into a simulation?  I'd like to preserve as much of my UI (including pyvcp panel) as possible, even if much is non-functional.

(If that's hard, I'll settle for a recommendation on the most functional x/y/z sim to use, instead.)
  • PCW
  • PCW's Avatar
12 Apr 2025 16:15
Replied by PCW on topic 7i96s Watchdog Ethernet

7i96s Watchdog Ethernet

Category: Deutsch

in the BIOS, at a minimum, Disable AMT

 
  • Lampje
  • Lampje
12 Apr 2025 16:04

Mill setup troubles and questions (Speed display, at speed signal, coolant pump)

Category: General LinuxCNC Questions

So stuff seems to work.
Next up is probing.
I have a tool setter on the bed..and an edge finder for in the spindle.
The 2 macro's work (should have copied them so I could include them here).
I mount the probe and touch it off on the tool setter. Then I manually direct the spindle to the workpiece corner and do the probe.
The workpiece corner is about x450 y400 z-23
When I then do a
G54
G1 x20 y20 f150
The spindle moves towards the machine home zero. Instead of 20x20 relative to the workpiece corner.
In the tool table G54 has coords like X25.645 Y62.956 and Z at 3.457
How?
  • ErwinCNC
  • ErwinCNC
12 Apr 2025 15:54
Replied by ErwinCNC on topic 7i96s Watchdog Ethernet

7i96s Watchdog Ethernet

Category: Deutsch

Hello Tommylight, 

here my BIOS Settings.
Any Idea what I should change?
 
 

I will download the iso and try
What is the difference to the standard iso?

Thanks 
Erwin 

Also my Results for a longer measure period 
 


 
Displaying 2791 - 2805 out of 26381 results.
Time to create page: 0.404 seconds
Powered by Kunena Forum