Position of the positive software limit switch

Positive software limit switch

The command G99 sets the positive SLS in the programmed axes.

G99 is active blockwise; the programmed SLS programmed in this way are then active across blocks.

Notice

notice

The positions programmed with G99 for the positive SLS are stored in the axis-specific variables V.A.+SWE.X, V.A.+SWE.Y, V.A.+SWE.Z, etc. [PROG].

When there is a reset, mode change or axis change, the variables are pre-assigned the value of P-AXIS-00178 of each axis.

Programing Example

prg_example

Positive software limit switch

(Example 1 – absolute)

%swe_abs.nc
N110 G00 X0  Y0  G90
N120 G00 X20 Y30

(Sets pos. SLS in X to 100 and Y to 200)

N130 G99 X100 Y200

( .... )

(Example 2 – relative)

%swe_rel.nc
N110 G00  X0 Y0  G90
N120 G00 X20 Y30

(Offsets pos. SLS in X by -10 and Y by -20)

N130 G99  G91 X-10 Y-20

( .... )

Warnings, errors and reactions

  1. The new position is not taken over.
  2. P-AXIS-00178 continues to define the positive SLS.
  1. The new position is not taken over.
  1. Interpolation is stopped.
  2. The new position of the SLS is taken over.
  1. Reset the controller.
  2. Move within the valid range.