M6 remap on axis gui for a tool length sensor setup help needed
- handsomebeast
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 4
29 Aug 2023 19:24 #279308
by handsomebeast
M6 remap on axis gui for a tool length sensor setup help needed was created by handsomebeast
hi guys im using linuxcnc 2.8.4 with axis gui. only using axis because its the only way i could get my rs485 adapter to control my spindle with modbus and classicladder, now i want to setup a tool length sensor, which needs a remap of the m6 command, but all the tutorials and files i fint people are using the probe basic ui and i do not want to change user interface as moving to probe basic means moving to 2.9 and i only have a 720p monitor and probe basic curently only works with 1080p displays, i have a printnc cnc machine i built myself and tried to follow the guide on the printnc wiki,
wiki.printnc.info/en/controllers/linuxcnc/tool-setter-no-probe
but found it confusing as there are lines commented out ect of the ngc files and it is very overwhelming, i dont wanna sound stupid but there must be a way to do it a bit simpler with axis gui, i tried looking at the linuxcnc documents to remap m6 and that was just as confusing, has anybody else setup a tool length sensor using the axis gui like this guy in the video
im using the same sensor that has 2 switches and have wired it to my controller board and made the pin in my hal file, it shows up in the halshow configuration and works as intended but i need to setup the software side of it in axis, the guy in the video briefly explains how he got it working with his tool_ change.ngc file but they obviously werent the only steps he did to get it working and hes using the probe screen and i am not, so anybody who has a similar setup who has managed to configure and setup theirs could point me in the right direction and maybe help out a little i would really appreciate it
wiki.printnc.info/en/controllers/linuxcnc/tool-setter-no-probe
but found it confusing as there are lines commented out ect of the ngc files and it is very overwhelming, i dont wanna sound stupid but there must be a way to do it a bit simpler with axis gui, i tried looking at the linuxcnc documents to remap m6 and that was just as confusing, has anybody else setup a tool length sensor using the axis gui like this guy in the video
im using the same sensor that has 2 switches and have wired it to my controller board and made the pin in my hal file, it shows up in the halshow configuration and works as intended but i need to setup the software side of it in axis, the guy in the video briefly explains how he got it working with his tool_ change.ngc file but they obviously werent the only steps he did to get it working and hes using the probe screen and i am not, so anybody who has a similar setup who has managed to configure and setup theirs could point me in the right direction and maybe help out a little i would really appreciate it
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
30 Aug 2023 03:47 #279342
by Aciera
Replied by Aciera on topic M6 remap on axis gui for a tool length sensor setup help needed
So, what is it you are struggling with, what is not working? Are there any error messages?
Also maybe you could compress your machine config folder and attach that so we can have a look what your setup looks like.
Not sure which ngc files you are referring to.but found it confusing as there are lines commented out ect of the ngc files
Also maybe you could compress your machine config folder and attach that so we can have a look what your setup looks like.
Please Log in or Create an account to join the conversation.
- handsomebeast
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 4
30 Aug 2023 15:50 #279386
by handsomebeast
Replied by handsomebeast on topic M6 remap on axis gui for a tool length sensor setup help needed
wiki.printnc.info/en/controllers/linuxcnc/tool-setter-no-probe
the ngc files in this tutorial are what im refering to as there are lots of # symbols everywhere and i dont know what to uncomment out of the file, i have a fresh config after running stepconf i havent tried changing yet as i dont want to go back fixing mistakes. i can try to run through the tutorial and upload my files but like i said the parts in the ngc files that are commented out, i dont know where to erase the # symbols and where i should leave them and there are a lot
the ngc files in this tutorial are what im refering to as there are lots of # symbols everywhere and i dont know what to uncomment out of the file, i have a fresh config after running stepconf i havent tried changing yet as i dont want to go back fixing mistakes. i can try to run through the tutorial and upload my files but like i said the parts in the ngc files that are commented out, i dont know where to erase the # symbols and where i should leave them and there are a lot
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
30 Aug 2023 16:51 #279395
by Aciera
Replied by Aciera on topic M6 remap on axis gui for a tool length sensor setup help needed
The pound (#)-symbol on gcode is not a comment but refers to a parameter value:
linuxcnc.org/docs/html/gcode/overview.html#_parameters
So I don't think you really want to be deleting any of those lines.
linuxcnc.org/docs/html/gcode/overview.html#_parameters
So I don't think you really want to be deleting any of those lines.
Please Log in or Create an account to join the conversation.
- handsomebeast
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 4
31 Aug 2023 02:31 - 31 Aug 2023 02:33 #279434
by handsomebeast
Replied by handsomebeast on topic M6 remap on axis gui for a tool length sensor setup help needed
thankyou for the reply aciera, Now i think i understand where my confusion was coming from. All i have done so far with linuxcnc to get things going is make a config in stepconf wizard and edited the hal and ini files to setup joints for my dual or ganged y axis to run in tandem. set some net commands with pins for the joints ect and change values for certain settings like velocity. in the hal and ini file if a pound (#)-symbol was put at the beginning of a line then that line would be ignored by linuxcnc, i assumed that other files used by linuxcnc followed these, But looking at your reply "The pound (#)-symbol on gcode" i realised that the ngc file is a gcode file as you have pointed out and works in a different manner obviously because its gcode, the lines that the author of the file wanted to be ignored by linux cnc seem to be commented out by a ( and ) symbol, not the # symbol, the gc in ngc should have been a big indicator, thts why i was confused i thought that the ngc file was like the hal and ini file but its actually gcode, am i correct in thinking this or am i still missing something, your reply made it click for me thankyou, sometimes asking the silly questions is not a bad idea if it gets you to the understanding you require and in this case i think thats whats happened so im gonna try and edit my config and set this up and upload all my files if i cant get it working which i doubt i will be lucky enough to get it to work as intended on the first attempt!
Last edit: 31 Aug 2023 02:33 by handsomebeast.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
31 Aug 2023 05:51 #279446
by Aciera
Replied by Aciera on topic M6 remap on axis gui for a tool length sensor setup help needed
Yes, .ngc and .nc are Gcode files.
There are no silly questions, we all started out knowing nothing.
There are no silly questions, we all started out knowing nothing.
The following user(s) said Thank You: handsomebeast
Please Log in or Create an account to join the conversation.
- handsomebeast
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 4
01 Sep 2023 01:18 - 01 Sep 2023 01:19 #279534
by handsomebeast
Replied by handsomebeast on topic M6 remap on axis gui for a tool length sensor setup help needed
followed the guide i linked works great after a little fiddling thanks for the help dude appreciated, the guide works great with axis gui lcnc 2.8.4 just need to do some testing before using it to mill anything
Last edit: 01 Sep 2023 01:19 by handsomebeast.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds