#linuxcnc Logs
Feb 20 2025
#linuxcnc Calendar
03:52 PM JT-Shop: what is the exact error?
04:05 PM Tom_L: i get unknown operation
04:05 PM Tom_L: and nearly everything is commented out
04:05 PM Tom_L: replaced all the white space with known space
04:05 PM JT-Shop: I get named paramater tool not defined
04:08 PM lcnc-relay: <oddname_skane@> cool will try, allmost broke my linuxcnc just now .D
04:08 PM Tom_L: i changed all your X Y numbers to fit me
04:09 PM Tom_L: and defined #<_tool> at the top
04:10 PM JT-Shop: #<_selected_tool> - Return number of the selected tool post a T code. Default -1.
04:10 PM lcnc-relay: <oddname_skane@> REMAP = M6 modalgroup=6 prolog=change_prolog ngc=tool_change epilog=change_epilog and this is all i need in the ini right?
04:10 PM lcnc-relay: <oddname_skane@> tool_change be the name I use
04:11 PM JT-Shop: oh this is remap
04:11 PM lcnc-relay: <oddname_skane@> or User M6?
04:11 PM JT-Shop: interesting if you you issue T1
04:12 PM JT-Shop: #<_selected_tool> returns 1.000000
04:13 PM lcnc-relay: <oddname_skane@> USER_M6 = tool_change.ngc ; Use your custom tool change script would this be more suitable?
04:13 PM JT-Shop: I've never messed with remap
04:14 PM Tom_L: i did but it's been too long ago
04:14 PM Tom_L: you need a couple .py files i know
04:14 PM Tom_L: not sure where you put them now but they're in lcnc already
04:15 PM Tom_L: remap.py and toplevel.py
04:16 PM Tom_L: i think they just call remap but you could add to them if you needed to
04:17 PM * JT-Shop thinks it's a wise idea to prep for starting fires in the am
04:17 PM -!- #linuxcnc mode set to +v by ChanServ
04:28 PM Tom_dev: [RS274NGC]
04:28 PM Tom_dev: REMAP=M6
04:28 PM Tom_dev: REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog
04:28 PM Tom_dev: the whole line
04:28 PM Tom_dev: then you have a remap sub
04:28 PM lcnc-relay: <oddname_skane@> REMAP=M6
04:28 PM lcnc-relay: REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog
04:28 PM lcnc-relay: all these?
04:28 PM Tom_dev: i'm going off a faded memory but yes
04:28 PM Tom_dev: that's what i had in my file commented out
04:28 PM Tom_dev: change the ngc= to your sub file
04:29 PM Tom_dev: it does work though
04:29 PM lcnc-relay: <oddname_skane@> in theory this should be dead simple to make happen 🙂
04:29 PM Tom_dev: most things are, it's just that missing element
04:29 PM lcnc-relay: <oddname_skane@> ill try and do some heavy work tomorrow, too tired now
04:30 PM lcnc-relay: <oddname_skane@> thanks for the help, tomorrow is a day of digging deeper about remapping!
04:30 PM Tom_dev: usually a m6 remap has prep code then the change then moves away from the changer
04:31 PM Tom_dev: depending on the type of changer
04:31 PM Tom_dev: your's should be pretty straightforward
04:32 PM Tom_dev: i called M6 at the end of my change sub
04:33 PM Tom_dev: https://paste.debian.net/1352933/
04:33 PM Tom_dev: that may have been it, i'm not positive
04:34 PM Tom_dev: i was playing with spindle orient back then
07:24 PM sparafucile: cd /home/gemc/
07:24 PM sparafucile: gitb
07:25 PM sparafucile: gitld
07:25 PM sparafucile: cd /home/gemc
07:40 PM lcnc-relay: <skunkworks8841@> lol - been there...
09:17 PM Unterhaus_ is now known as Unterhausen