-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
86 additions
and
91 deletions.
There are no files selected for viewing
This file contains 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 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,8 @@ | ||
loadrt [HM2](DRIVER) board_ip=[HM2](IPADDRESS) config="sserial_port_0=20000000" | ||
loadrt hostmot2 | ||
|
||
setp hm2_7i97.0.dpll.01.timer-us -50 | ||
setp hm2_7i97.0.watchdog.timeout_ns 5000000 | ||
|
||
addf hm2_7i97.0.read servo-thread | ||
addf hm2_7i97.0.write servo-thread |
This file contains 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 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
File renamed without changes.
This file contains 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 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 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 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
File renamed without changes.
This file contains 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,27 @@ | ||
addf tool-change.not servo-thread | ||
addf tool-change.and servo-thread | ||
|
||
net buttons.tool-change-completed => hal_manualtoolchange.change_button | ||
|
||
net tool-change.tool-change <= iocontrol.0.tool-change => hal_manualtoolchange.change | ||
|
||
net tool-change.tool-changed <= hal_manualtoolchange.changed => iocontrol.0.tool-changed | ||
net tool-change.tool-number <= iocontrol.0.tool-prep-number => hal_manualtoolchange.number | ||
net tool-change.tool-prepare-loop <= iocontrol.0.tool-prepare => iocontrol.0.tool-prepared | ||
|
||
# This should prevent a tool change while the spindle is running | ||
# Maybe I should prevent a tool change while the program is running | ||
# (In need to monitor the status of the hal variables, is-running, is-paused etc) | ||
|
||
net spindle.is-on <= spindle.0.on | ||
net spindle.is-on => tool-change.not.in | ||
net spindle.is-on => whb.halui.spindle.is-on | ||
|
||
net spindle.is-off <= tool-change.not.out | ||
net spindle.is-off => tool-change.and.in0 | ||
|
||
net buttons.tool-change => tool-change.and.in1 | ||
|
||
net maho-inputs.tool-release <= tool-change.and.out | ||
net maho-inputs.tool-release => spindle.0.inhibit | ||
net maho-inputs.tool-release => motion.feed-inhibit |
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains 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