Searches for a peak while executing a 2:1 scan of motor and motor-1. If a peak is found, the zeros are not reset; rather, the lattice parameter is calculated. The variable VLAT is reset to the new value of lattice parameter.
[Motor] is an integer that specifies the motor selected for the scan. [Motor]-1 will be moved together with [Motor].
[Range] is the device range centered at current device position.
[Step size] is the length between two adjacent device positions in the scan. The number of points in the scan will be set to [Range]/[Step size].
[Counts] specifies the number of monitor counts (if [Counts] is greater than zero) or the number of seconds (if [Counts] is less than zero) till which count is performed at every device position.
[Lattice const] is an integer that specifies the multiplication factor used to determine lattice parameter. (Optional)