Setting of negative software limit switch (G98)
G98 Setting of negative software limit switch (non-modal)
G98 sets the negative software limit switch positions in all programmed axes. Depending upon the G90/G91 setting, this can be absolute or cumulative to previous software limit-switch position.
The positions for the negative limit switch are filed in the axis-specific variables.
V.A.-SWE.X, V.A.-SWE.Y, V.A.-SWE.Z, etc.
(see also chapter: 13.1 Axis-specific variables).
"Non-modal"only corresponds to G98, the software limit switch itself is, of course, valid program modal. |
During reset and machine start up these variables are pre-allocated with values [2]-10.
Programming example
N10 G90
...
N100 G98 X-1000 Y-2000 Sets negative software limit switch in
X to -1000 and in Y to -2000