AutofocusLimitLow Parameter

Default Value: 0.0

Minimum Value: None

Maximum Value: None

Units: distance

Type: double

When you use this parameter in an AeroScript program, the parameter value is in the units specified by the unit mode of the task:

  • If the task is in primary units mode, this parameter is in primary units.
  • If the task is in secondary units mode, this parameter is in secondary units.

HARDWARE: Autofocus does not apply when used with the GI4, the GL4, or the XL4s.

WARNING: Do not change the values of the AutofocusLimitLow parameter or the AutofocusLimitHigh parameter while autofocus is active.

Use the AutofocusLimitLow parameter to set the autofocus loop lower limit. This limit is the minimum position to which the autofocus loop will command the axis to move. You can use the Autofocus Limits setting of the AutofocusSetup Parameter to change how this value is used by the autofocus loop. To see the structure of the autofocus loop and guidance on tuning, refer to the Autofocus Functions topic.

The AutofocusLimitLow parameter must always have a lower-numbered value than the AutofocusLimitHigh parameter. The arithmetic sign of the autofocus parameters is determined by the encoder direction.

For Example

This example shows you how to set the AutofocusLimitLow and AutofocusLimitHigh parameters.

Your programmed autofocus range is -10 mm to 20 mm.

If the ReverseMotionDirection Parameter is set to Disabled on this axis, set the parameters to the values that follow:

Display Position Encoder Position Parameter Parameter Value

-10 mm

-10 mm

AutofocusLimitLow

-10

20 mm

20 mm

AutofocusLimitHigh

20

If the ReverseMotionDirection Parameter is set to Enabled on this axis, set the parameters to the values that follow:

Display Position Encoder Position Parameter Parameter Value

-10 mm

10 mm

AutofocusLimitHigh

10

20 mm

-20 mm

AutofocusLimitLow

-20