PROGRAMMING15. COMPENSATION FUNCTION
If the offset amount is negative (–), distribution is made for a figure in
which G41’s and G42’s are all replaced with each other on the program.
Consequently, if the tool center is passing around the outside of the
workpiece, it will pass around the inside, and vice versa.
The figure below shows one example. Generally, the offset amount is
programmed to be positive (+).
When a tool path is programmed as in ((1)), if the offset amount is made
negative (–), the tool center moves as in ((2)), and vice versa.
Consequently, the same tape permits cutting both male and female
shapes, and any gap between them can be adjusted by the selection of the
offset amount. Applicable if start–up and cancel is A type. (See subsec.
15.2.2 and 15.2.4)
Tool center path
Fig.15.1 (d) Tool Center Paths when Positive and Negative Cutter
Compensation Values are Specified
Assign a cutter compensation values to the D codes on the MDI panel.
The table below shows the range in which cutter compensation values can
mm input inch input
Cutter compensation value 0–±999.999mm 0–±99.9999inch
The cutter compensation value corresponding to offset No.
0, that is, D0 always means 0. It is impossible to set D0 to
any other offset amount.
The offset vector is the two dimensional vector that is equal to the cutter
compensation value assigned by D code. It is calculated inside the control
unit, and its direction is up–dated in accordance with the progress of the
tool in each block.
The offset vector is deleted by reset.
Specify a cutter compensation value with a number assigned to it. The
number consists of 1 to 3 digits after address D (D code). The D code is
valid until another D code is specified. The D code is used to specify the
tool offset value as well as the cutter compensation value.
D Positive/negative cutter
compensation value and
tool center path
D Cutter compensation
D Offset vector
D Specifying a cutter