Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Get all cutting data for a tool

Anonymous

Get all cutting data for a tool

Anonymous
Not applicable

I am creating and updating a plugin using Powermill 2017.

I want commands or a macro to read all cutting data from Tools - Settings -Cutting Data from command window.

For example: if cutting data for this tool listing below is:

 

1.png

When I execute process command(s) or a macro the result would be or similar to the below:

 

(ARRAY)

                [0] (STRING) Finishing General 70.0 0.3 0.5 12.0

                [1] (STRING) Finishing Slotting 65.0 0.15 3.0 11.0

                [2] (STRING) Finishing Profiling 70.0 0.2 2.0 12.0

                .......

 

1. The functionality of the macro is to extract the individual values, storing them in local variables, and then build the array from the data extracted.

 

2. The functionality of commands is when changing a specific value, for example, changing tool “End Mill / Schaftfräser” the value “Slotting”’s “Axial ” to 5 from cutting data window, the commands should be:

 

[FORM TOOL "End Mill / Schaftfräser"\r]

[EDIT TOOL FEEDSPEED ROW\r 1 NEW\r]

[EDIT TOOL FEEDSPEED SELECT 0 1\r]

[EDIT TOOL "End Mill / Schaftfräser" QUIT FORM CUTDATAEDITOR\r]

[EDIT TOOL 'End Mill / Schaftfräser' AXIAL DOC "5"\r]

 

Can anyone provide me with commands or macro?

 

thanks and regards!

0 Likes
Reply
Accepted solutions (1)
833 Views
1 Reply
Reply (1)

5axes
Advisor
Advisor
Accepted solution

Sample code to export tool information + Cutting data into a CSV file. You will certainly find some usefull piece of code in this macro.

 

 

0 Likes