Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to write a script for one of our posts that if it detects cutter compensation set to None to write "M112 T.005" and if it is on to leave the line blank and put that script into a user parameter.
Not sure if I have the correct wording for the script I get no errors but the issue I have is that it is always adding the M112 T.005 even when the toolpath is not using cutter comp.
This is the script that I wrote
this is the user parameter I made using the script
this is the NC code with cutter comp set to LEFT in the NC program settings but it's adding M112 T.005 when the line should be blank
Intel Core i9 13900KF CPU
128 GB Kingston Beast DDR4 SDRAM
PNY RTX A2000 6GB Video Card
WD 1 TB SSD Hard Drive
Windows 11 Pro
Solved! Go to Solution.