Interface ISiemensToolOffsetConfig
- Namespace
- Hi.NcParsers.Dependencys.Siemens
- Assembly
- HiMech.dll
Siemens (840D/Sinumerik) tool offset configuration. Offsets are addressed by (tool number T, cutting edge D number), unlike IToolOffsetConfig where a single integer selects the row.
Siemens stores up to 25 data fields per cutting edge ($TC_DP1..$TC_DP25), including three independent length components (L1/L2/L3 for Z/X/Y directions), radius, and corresponding wear values.
public interface ISiemensToolOffsetConfig
- Extension Methods
Methods
GetToolHeightOffset_mm(int, int)
Gets the effective tool height offset (geometry - wear) in mm for a specific tool and cutting edge. Corresponds to Siemens $TC_DP3 (length 1, typically Z direction). Returns 0 if the tool/edge is not configured.
double GetToolHeightOffset_mm(int toolNumber, int edgeNumber)
Parameters
Returns
GetToolLengthOffset_mm(int, int, int)
Gets an additional length offset for the specified direction.
directionIndex: 0 = L1 ($TC_DP3, Z), 1 = L2 ($TC_DP4, X), 2 = L3 ($TC_DP5, Y).
Returns 0 if not configured.
double GetToolLengthOffset_mm(int toolNumber, int edgeNumber, int directionIndex)
Parameters
Returns
GetToolRadiusOffset_mm(int, int)
Gets the effective tool radius offset (geometry - wear) in mm for a specific tool and cutting edge. Corresponds to Siemens $TC_DP6 (radius). Returns 0 if the tool/edge is not configured.
double GetToolRadiusOffset_mm(int toolNumber, int edgeNumber)