Change default path following to G61?
06 Nov 2017 17:58 #101446
by rogerxue
Change default path following to G61? was created by rogerxue
Is there a way to change the default path following mode to exact? i.e. G61 instead of the blend mode?
thanks
thanks
Please Log in or Create an account to join the conversation.
06 Nov 2017 23:27 #101470
by BigJohnT
Replied by BigJohnT on topic Change default path following to G61?
Yes, have each G code program have a good preamble to set up the environment as you need it.
gnipsel.com/linuxcnc/g-code/gen01.html
JT
gnipsel.com/linuxcnc/g-code/gen01.html
JT
Please Log in or Create an account to join the conversation.
06 Nov 2017 23:38 #101471
by rogerxue
Replied by rogerxue on topic Change default path following to G61?
thanks for the reply, is there a place I can put the preamble in so each file don't need to have it?
Please Log in or Create an account to join the conversation.
06 Nov 2017 23:39 #101472
by BigJohnT
Replied by BigJohnT on topic Change default path following to G61?
Well you could have a subroutine with the preamble and call it at the start of each G code file.
JT
JT
Please Log in or Create an account to join the conversation.
06 Nov 2017 23:47 #101474
by rogerxue
Replied by rogerxue on topic Change default path following to G61?
I found this: linuxcnc.org/docs/2.6/html/config/ini_co...sub:RS274NGC-section
seems it is the right place to put the preamble ?
It says: "This is not a substitute for specifying modal g-codes at the top of each ngc file" does that mean each file can override the preamble?
seems it is the right place to put the preamble ?
It says: "This is not a substitute for specifying modal g-codes at the top of each ngc file" does that mean each file can override the preamble?
Please Log in or Create an account to join the conversation.
06 Nov 2017 23:51 #101475
by BigJohnT
Replied by BigJohnT on topic Change default path following to G61?
Exactly, never rely on the settings to be as you want after you run a G code file. Always put the preamble in each G code file.
JT
JT
Please Log in or Create an account to join the conversation.
06 Nov 2017 23:55 #101476
by rogerxue
Replied by rogerxue on topic Change default path following to G61?
makes sense, but it would be nice to have a fall back default value, in case I forgot to include anything in the G file. In my case, I want to use G61 instead of the default blend mode. Is the RS274NGC the right place to put the default value?
Please Log in or Create an account to join the conversation.
08 Nov 2017 15:03 #101521
by bevins
Replied by bevins on topic Change default path following to G61?
Put it in your preample in your post processor of your CAM....no?
Please Log in or Create an account to join the conversation.
09 Nov 2017 13:13 #101549
by andypugh
If you forget to put it in the first G-code file of the day then the INI file section will work.
But after you have run G-code, all bets are off about machine state.
Replied by andypugh on topic Change default path following to G61?
makes sense, but it would be nice to have a fall back default value, in case I forgot to include anything in the G file. In my case, I want to use G61 instead of the default blend mode. Is the RS274NGC the right place to put the default value?
If you forget to put it in the first G-code file of the day then the INI file section will work.
But after you have run G-code, all bets are off about machine state.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
09 Nov 2017 15:27 #101560
by Todd Zuercher
Replied by Todd Zuercher on topic Change default path following to G61?
One thing that could be done, that would always work. You could create a script that inserts the line or lines of G-code you want at the start of every file when it is loaded. If you needed different settings in a file, having those codes already in the file, would override the inserted codes for that file, as they would be executed after the inserted codes.
Please Log in or Create an account to join the conversation.
Time to create page: 0.104 seconds