Hello All,
I recently mounted a 4mm Proximity sensor to my Plasma CNC table. It works great and consistent however I need to edit my post processor. I need to somehow add an offset for X, Y for the sensor [or as its called in the post processor, switch.] The Post Processor already has a Z offset. Can someone interpret and help edit the post processor file to fit my needs?
I have included in the attachments a picture of my sensor.
https://www.amazon.com/LJ12A3-4-Z-DC6-3 ... B00NWFBOYG
Here is a link to my Post Processor file [provided by Premier Plasma]: https://drive.google.com/file/d/0B_qdl7 ... sp=sharing
Help Editing Post Processor
-
- 1 Star Member
- Posts: 17
- Joined: Tue Sep 27, 2016 12:19 pm
-
- 1 Star Member
- Posts: 17
- Joined: Tue Sep 27, 2016 12:19 pm
Re: Help Editing Post Processor
EDIT:
I had a second idea. If I get it on probe to move by X amount, probe, then move back, it would do what I need too. I just need it to probe the spot it will cut at with the sensor.
I had a second idea. If I get it on probe to move by X amount, probe, then move back, it would do what I need too. I just need it to probe the spot it will cut at with the sensor.
-
- 2.5 Star Member
- Posts: 188
- Joined: Tue Mar 22, 2016 10:30 am
Re: Help Editing Post Processor
Give this a try. You will need to edit the post. Near the start of the file is this line:
sensorX = 50
That is your sensor offset. Note the value is in millimetres.
sensorX = 50
That is your sensor offset. Note the value is in millimetres.
- Attachments
-
- Premier Plasma CNC Floating Head mag sensor.zip
- (1.47 KiB) Downloaded 86 times
- Premier Plasma CNC Floating Head mag sensor.zip
- (1.47 KiB) Downloaded 86 times
-
- 1 Star Member
- Posts: 17
- Joined: Tue Sep 27, 2016 12:19 pm
Re: Help Editing Post Processor
Thanks Les. I will try it out today and let you know.Les Newell wrote:Give this a try. You will need to edit the post. Near the start of the file is this line:
sensorX = 50
That is your sensor offset. Note the value is in millimetres.
-
- 1 Star Member
- Posts: 17
- Joined: Tue Sep 27, 2016 12:19 pm
Re: Help Editing Post Processor
Hello Les,
The Post Processor worked perfectly. If you'd like to see it in action I posted a video here:
https://drive.google.com/file/d/0B_qdl7 ... sp=sharing
I wanted to ask if you could add one more thing. Could we make it probe the spot twice? Becuase the probe can sometimes half-trigger. Is it possible to make it probe the spot twice to double check the value? To make sure Probe attempt 1 and 2 are within a certain margin of error but not too far.
What do you think?
Thanks a lot Les.
The Post Processor worked perfectly. If you'd like to see it in action I posted a video here:
https://drive.google.com/file/d/0B_qdl7 ... sp=sharing
I wanted to ask if you could add one more thing. Could we make it probe the spot twice? Becuase the probe can sometimes half-trigger. Is it possible to make it probe the spot twice to double check the value? To make sure Probe attempt 1 and 2 are within a certain margin of error but not too far.
What do you think?
Thanks a lot Les.
-
- 2.5 Star Member
- Posts: 188
- Joined: Tue Mar 22, 2016 10:30 am
Re: Help Editing Post Processor
That would be difficult. Mach g-code cannot make decisions based on values. Theoretically it could be done in a macro in Mach3 but I haven't done much with Mach macros.
-
- 1 Star Member
- Posts: 17
- Joined: Tue Sep 27, 2016 12:19 pm
Re: Help Editing Post Processor
Hello Les,Les Newell wrote:That would be difficult. Mach g-code cannot make decisions based on values. Theoretically it could be done in a macro in Mach3 but I haven't done much with Mach macros.
I think I'll leave it how it is now. The difference is probably so small that for a plasma CNC machine its unnoticeable. I was trying to apply 3D printer knowledge to a Plasma machine but 3D printing is far more sensitive to those kind of height differences.
Thanks for all the help!