This repository was archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Updated LinuxCNC 2.8 Support #13
Open
kiall
wants to merge
11
commits into
verser-git:master
Choose a base branch
from
kiall:linuxcnc-2.8
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d9ad56e
Update stdglue to LinuxCNC's 2.8.0 version
kiall 04c54d9
Replace Axis numbers with letters
kiall 7ee4285
Ensure methods which change the command mode restore it once done
kiall 27c9d6e
Cosmtic - Fix net directions
kiall 81ee5f3
Add *.pyc to .gitignore
kiall 2c6c5a1
Update Jog commands for 2.8
kiall 20aa9b6
Fix tool changing
kiall bf60973
Add missing gtkbutton arguments
kiall b422bff
No need to return to change position after tool change measuement
kiall 67ce46f
Swap FEATURES=30 for the 2.8 equivalent
kiall 621a67c
Cosmtic - Fix net directions in duplicated 1024x768 probe_screen.hal
kiall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| *.pyc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ O100 return [999] | |
| O100 endif | ||
|
|
||
| ;first go up | ||
| G53 G0 Z[#<_ini[AXIS_2]MAX_LIMIT>-0.1] | ||
| G53 G0 Z[#<_ini[AXIS_Z]MAX_LIMIT>-0.1] | ||
| ; then move to change position | ||
| G53 G0 X[#<_ini[CHANGE_POSITION]X>] Y[#<_ini[CHANGE_POSITION]Y>] | ||
| G53 G0 Z[#<_ini[CHANGE_POSITION]Z>] | ||
|
|
@@ -46,10 +46,11 @@ O400 endif | |
| F #<_hal[probe.ps_searchvel]> | ||
| G91 | ||
| G38.2 Z #<_ini[TOOLSENSOR]MAXPROBE> | ||
| G0 Z0.26 | ||
| G38.4 Z2 | ||
| G0 Z0.5 | ||
| ; This is commented out only for sim. | ||
| F #<_hal[probe.ps_probevel]> | ||
| G38.2 Z-0.5 | ||
| G38.2 Z-3 | ||
|
|
||
| O500 if [#5070 EQ 0] | ||
| G90 | ||
|
|
@@ -58,7 +59,6 @@ O500 endif | |
|
|
||
| G90 | ||
| G53 G0 Z[#<_ini[CHANGE_POSITION]Z>] | ||
| G53 G0 X[#<_ini[CHANGE_POSITION]X>] Y[#<_ini[CHANGE_POSITION]Y>] | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, this wasn't strictly a 2.8 change - however there was no reason to return to the X/Y change position after a tool change that I could see. |
||
|
|
||
| #<touch_result> = #5063 | ||
| #<probeheight> = #<_hal[probe.probeheight]> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,14 +8,14 @@ | |
|
|
||
|
|
||
| # The next two lines are only needed if the pins had been connected before | ||
| unlinkp iocontrol.0.tool-change | ||
| unlinkp iocontrol.0.tool-changed | ||
| #unlinkp iocontrol.0.tool-change | ||
| #unlinkp iocontrol.0.tool-changed | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If users copy this file as is / as per the readme, we end up unlinking the connections made in |
||
|
|
||
| # link to auto tool measurement toolchange, so you get the advantage of tool description on change dialog | ||
|
|
||
| # this settings were moved to probe_screen.hal: | ||
| #net tool-change probe.toolchange-change <= iocontrol.0.tool-change | ||
| #net tool-changed probe.toolchange-changed <= iocontrol.0.tool-changed | ||
| #net tool-changed probe.toolchange-changed => iocontrol.0.tool-changed | ||
| #net tool-prep-number probe.toolchange-number <= iocontrol.0.tool-prep-number | ||
|
|
||
| net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| net tool-change probe.toolchange-change <= iocontrol.0.tool-change | ||
| net tool-changed probe.toolchange-changed <= iocontrol.0.tool-changed | ||
| net tool-changed probe.toolchange-changed => iocontrol.0.tool-changed | ||
| net tool-prep-number probe.toolchange-number <= iocontrol.0.tool-prep-number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| net tool-change probe.toolchange-change <= iocontrol.0.tool-change | ||
| net tool-changed probe.toolchange-changed <= iocontrol.0.tool-changed | ||
| net tool-changed probe.toolchange-changed => iocontrol.0.tool-changed | ||
| net tool-prep-number probe.toolchange-number <= iocontrol.0.tool-prep-number |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't strictly a 2.8 change - I found just lifting 0.26 up wasn't always enough, so instead I updated this to probe in the opposite direction, then go a little bit more again.