### KS - Set Tracking / Scanning Speed

The KS command sets the probe speed to be used during DCC moves while tracking or scanning.

Command Format

MLString "KS p1,p2"

Examples

1. MLString "KS 0.5"

   Set the tracking / scanning move speed to 0.5 units per second.

Input

- p1 = tracking / scanning move speed (Numeric; optional)

- p2 = tracking / scanning move speed (Numeric; optional)

The optional numeric parameters p1 and p2 specify the desired tracking / scanning move speed in current units per second. This value must be positive. If the specified value exceeds the machine-allowed maximum then that will be used rather than the specified value.

If only p1 is specified, the p1 value is used for both open loop and closed loop scan. If both p1 and p2 are specified, p1 is used for open loop scan and p2 is used for closed loop scan.

If no is specified then the current settings for tracking / scanning move speed are returned. The default values after initialization (IL) are 0.1" (or 2.54 mm) per second.

Results

If a value is specified, the tracking / scanning move speed is set to this value except as noted above. If a value is not specified then the current open loop value is returned to variable S7 and the closed loop value is returned to variable S8. The system uses this as the maximum velocity whenever a DCC or joystick move is commanded while tracking a surface with a soft probe or scanning with a soft probe.

Skip Action

Executed normally.

Error Messages

- MLB-090
  DCC is not available.