This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mp:drilling [2021/07/21 15:35] – sonya | mp:drilling [2021/07/21 19:21] (current) – allan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Setting a check for drill ops can be a long line and apparently may not always catch all instances if you don't set it right, so I got this solution from Don Biore in the post team to set up a gobal variable called " | + | ====== Grouping Drill Ops ====== |
| + | |||
| + | Setting a check for drill ops can be a long line and apparently may not always catch all instances if you don't set it right, so I got this solution from Don Boire in the post team to set up a global | ||
| Below are his instructions. | Below are his instructions. | ||
| - | The handy thing about opcode$ is capturing a group of operations rather than having to include many different tool_op$ values in your if statement. To handle that with tool_op$, see “roughing”, “finishing”, and “drilling” in our 2017 Siemens 3x Mill post. (Download it form the Tech Exchange here: Siemens 3x Mill Post_2017.zip) | + | >The handy thing about '' |
| + | > | ||
| + | >The technique works like this: | ||
| + | > | ||
| + | >Define a variable and a list of '' | ||
| - | + | < | |
| - | + | ||
| - | The technique works like this: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Define a variable and a list of tool_op$ codes to include: | + | |
| - | + | ||
| - | < | + | |
| #Define operations to include in the category Drilling | #Define operations to include in the category Drilling | ||
| drilling = | drilling = | ||
| Line 26: | Line 24: | ||
| </ | </ | ||
| - | Then just use “drilling” as your condition: | + | >Then just use '' |
| - | + | <code python> | |
| - | if not(drilling) & cycle832_active = no$, pcycle832 | + | if not(drilling) & cycle832_active = no$, pcycle832 |
| + | </ | ||