- Posts: 60
- Thank you received: 1
Run-from-line and v.2.7.3
- Paul
- Topic Author
- Offline
- Senior Member
-
I normally don't like to use run-from-line, but there are times where I need to use it. I used to get interesting results, I assume, while using G64 as I think LinuxCNC used G64 P0 settings if using the run-from-line feature. I had not noticed any widely used path deviations for some time, though.
I just got around to upgrading to v.2.7.3 and almost right away I needed to use the run-from-line feature and noticed something else unusual: The first un-programmed move I get is a negative Z axis dive into the material and then a coordinated axis move to the first programmed location in my gcode file (which drags the torch along the material for a bit). All is well after that as far as I can tell.
Can I eliminate or disable this initial action without downgrading versions?
Thank you...
Paul
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19311
- Thank you received: 4655
Paul wrote: The first un-programmed move I get is a negative Z axis dive into the material and then a coordinated axis move to the first programmed location in my gcode file (which drags the torch along the material for a bit).
Do you also see this in a simulated configuration?
I am wondering if this unprogrammed move is actually something to do with a THC control and the entry-conditions not being correct.
Please Log in or Create an account to join the conversation.
- Paul
- Topic Author
- Offline
- Senior Member
-
- Posts: 60
- Thank you received: 1
THC is available, but disabled.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19311
- Thank you received: 4655
Is there anything clever active in the HAL file? Some offset component linked to the (disabled) THC?
Please Log in or Create an account to join the conversation.
- Paul
- Topic Author
- Offline
- Senior Member
-
- Posts: 60
- Thank you received: 1
It appears to be probing tonight, but not sure what pin it is expecting as it trips through my touch-off probe pin, so now it stops motion on it's way down and then errors:
"Probe is already tripped when starting G38.2 or G38.3 move"
My probe switch is tripped at this time. The line I started on was a G00 X/Y move to the next pierce.
Paul
Please Log in or Create an account to join the conversation.
- Rick G
- Offline
- Platinum Member
-
- Posts: 611
- Thank you received: 114
Rick G
Please Log in or Create an account to join the conversation.
- Paul
- Topic Author
- Offline
- Senior Member
-
- Posts: 60
- Thank you received: 1
Sample test GCode fle:
Touch-off routine:
If I run-from-line at "G01 X250.000 F2000.000", it will -Z until the probe switch is engaged and hold that Z position while moving X to 250.000.
I did remove preample and other info wanting to remove anything that may interfere with this test. Again - I haven't changed my setup, so I still wonder what has changed in v.2.7.3, but I can imagine that I can't understand the answer, too.
Thanks for any insight...
Please Log in or Create an account to join the conversation.
- mozmck
- Offline
- Administrator
-
- Posts: 47
- Thank you received: 59
What version of linuxcnc did this work on? Were you using subroutines there as well?
Please Log in or Create an account to join the conversation.
- Paul
- Topic Author
- Offline
- Senior Member
-
- Posts: 60
- Thank you received: 1
There may be more to it. After I placed the contents of my subroutine directly in the main file, I had another unusual reaction that I need to look at closer, but after I removed just the G38.2 from the main file, the run from line seem to raise the Z axis up suspiciously close to the touch-off switch offset of 9.9mm from the Z's current location even if Z was not at 0 or less than 0. The run-from-line did not raise the Z while the call the the sub was in place and the G38.2 probe only was removed from the sub routine.
Like I mentioned, I need to test that out more, too.
Please Log in or Create an account to join the conversation.
- Paul
- Topic Author
- Offline
- Senior Member
-
- Posts: 60
- Thank you received: 1
Please Log in or Create an account to join the conversation.