Programming manual.
CNC 8070
12.
ADDITIONAL PREPARATORY FUNCTIONS
Software limits.
·228·
(REF: 1709)
12.2.1 Define the first software limit (G198/G199).
The CNC lets set the software limits on linear axes and on linearlike rotary axes. The first
software limits of the axes are pre-defined in the machine parameters (parameters LIMIT+
/ LIMIT-). These limits may be changed by program using the following functions and
variables.
The CNC also offers the following variables equivalent to functions G198/G199. See
"12.2.2 Define the first software limit via variables." on page 230.
Programming.
Program one of the functions G198/G199, and then, the axes and their new software limits.
These functions may be used to program several axes.
Programming format.
The programming format is the following; the arguments appear between curly brackets and
the optional ones between angle brackets.
G198 X..C{soft_limit}
G199 X..C{soft_limit}
Name of the axis and software limit.
Both limits of an axis (lower and upper) may be positive or negative; but the lower limits must
be smaller than the upper ones. Otherwise, the might not move in any direction.
When setting both upper and lower limits of an axis to ·0·, the CNC cancels the first software
limit of that axis and applies the second one (if it has been defined). To restore the first limit,
it must be programmed again.
Considerations.
Absolute (G90) or incremental (G91) programming.
Depending on the active work mode G90 or G91, the position of the new limits will be defined
in absolute coordinates (G90) in the machine reference system or in incremental coordinates
(G91) referred to the current active limits.
G198 Set lower software travel limits (first limit).
G199 Set upper software travel limits (first limit).
V.A.NEGLIMIT.xn Set lower software travel limits (first limit). Variable equivalent to G198.
V.A.POSLIMIT.xn Set upper software travel limits (first limit). Variable equivalent to G199.
X..C{soft_limit} Name of the axis and software limit.
Units: millimeters/inches.
G198 X-1000 Y-1000
(New lower limits X=-1000 Y=-1000)
G199 X1000 Y1000
(New upper limits X=1000 Y=1000)
G90
G198 X-800
(New lower limit X=-800)
G199 X500
(New upper limit X=500)
·
G91
G198 X-700
(New incremental lower limit X=-1500)