Program relative offset limits
Release Note
As of Build V2.11.2010.02 replaces the command #MANUAL LIMITS […] the command #SET OFFSET [...]. For compatibility reasons, this command is still available but it recommended not to use it in new NC programs.
#MANUAL LIMITS [ AX<Axisname> | AXNR<expr> NEGATIVE<expr> POSITIVE<expr> ] |
AX<Axisname> | Name of axis for which the offset limits are valid. |
AXNR<expr> | Logical number of axis for which the offset limit is to be valid, positive integer |
NEGATIVE<expr> | Negative relative offset value. Must be programmed as <0 in [mm, inch] |
POSITIVE<expr> | Positive relative offset value. Must be programmed as <0 in [mm, inch] |
This command defines the positive and negative limits for the permissible relative path motion in G201/G202 manual mode for each path axis. The relative negative and positive offset limits refer here to the starting point when manual mode was selected. Offset limits are also considered in G200 by setting the parameter P-CHAN-00114.
Notice
Relative offset limits can be overwritten at any time in the NC program. A sign check is made. Relative offset limits apply to each axis in the programming coordinate system (PCS).
Programing Example
Program relative offset limits
%100
N010 G74 Y1
N015 G01 X10 Y10 F1000
N020 #MANUAL LIMITS[AX=X NEGATIVE=-200 POSITIVE=250]
N030 #MANUAL LIMITS[AX=Y NEGATIVE=-300 POSITIVE=350]
N015 G90 G01 X10 Y10 Z0 F1000
N050 G201 X1 Y1
N060 P1 = 1
N070 $WHILE P1 < 10000
N075 Z[P1/1000]
N080 $IF P1 == 100
N090 #MANUAL LIMITS[AX=X NEGATIVE=-14 POSITIVE=14]
N100 $ENDIF
N080 $IF P1 == 600
N050 G202 X1 Y1
N050 G201 X1 Y1
N100 $ENDIF
N080 $IF P1 == 500
N100 $ENDIF
N110 P1 = P1 + 1
N120 #FLUSH WAIT
N120 $ENDWHILE
N1800 M30