Selca G42 Enables tool radius compensation, tool right of profile
G42 [K...] [I1] [Q...] [D0=1] [D1=1] [D2=1]
|K||selects profile approach mode:|
K1: automatic approach with a straight line perpendicular to the first element.
K2: automatic approach with a semicircle tangent to the first element.
|I1||convex edges automatic rounding off with a linking radius equal to mill radius.|
|Q||control code for tool direction reversal because of cutter compensation:|
Q0: displays an error message (ERR 95) and stops execution.
Q1: (default) executes circles and straight lines in the opposite direction.
Q2: executes straight lines in the opposite direction (circles will not be executed).
|D0=1||an alternative to Q. Enables a tool/profile collision control. This eliminates the profile elements that, because of the radius offset, would cause a change of tool direction and possible gouging. To test for gouging the default amount of look ahead is 60 blocks. This number can be modified by programming it directly into the D0 parameter (for example: D0=30, D0=200, etc.).|
|D1=1||With the D0 parameter, it is necessary to program this parameter to handle those closed profiles that begin and end in one point.With this parameter profile beginning/end are on the bisector of the angle formed by the two elements in that point. Program together with D0 parameter.|
|D2=1||This parameter allows the storing of the profile elements that have not been machined into a file defined by the G666 function with the G666LNAME format. Program together with D0 parameter.|
Enabled: until of a G40 is programmed.