### SN - Scan

The SN command is used to initiate a surface scan. This is for MeasureMax version 1.03 systems only.

Warning

The SN command is not supported by current MeasureMax+ systems.

Command Format

MLString "SN p1,p2,p3,p4,p5"

Examples

1. MLString "SN 1,XY,400,12,.1"

2. MLString "SN XY,400"

Input

- p1 = Column in scan buffer (Numeric; optional)

- p2 = Dependent and independent axes (String; required)

- p3 = Number of targets to scan (Numeric; required)

- p4 = Starting position (Numeric; optional)

- p5 = Interval between successive targets (Numeric; optional)

The optional numeric parameter p1 is the index of the column in the S9 scan data array to be used for dependent axis scan results. If p1 is not specified then scan results are stored in column zero (0).

The required string parameter p2 defines the dependent and independent axes for the scan. The first letter identifies the dependent axis. Valid settings for p2 are XY, XZ, YX, YZ, ZX, ZY, XW, YW, ZW, and RA.

The required numeric parameter p3 must be a value from 1 to 1000 and specifies the number of targets to be scanned.

The optional numeric parameters p4 and p5 define the first independent axis scan target and the spacing between targets for an incremental scan. If p4 and p5 are not specified then targets are absolute and must have been previously transmitted to the MP (see SB command).

The user must have the probe in position before the first scan target before this command is executed. When this command is executed the WAIT light on the MP comes on. The user then moves the probe along the scan path to collect data. After the first target is passed the WAIT light will flash until all scan targets have been collected, then go out.

The first example scans 400 targets along Y collecting X data in column 1 of the S9 array. The first target is at a Y reading of 12 and subsequent targets are spaced at a 0.1 interval in the positive direction.

The second example scans 400 targets along Y collecting X data in column 0 (default) of the S9 array. The Y-axis targets have been previously sent with the SB command.

Results

The system collects the scanned data and stores the results in the S9 array.

Skip Action

Ignored; not executed if part of a skipped block.

Error Messages

- MLB-080 Improper probe installed. Either a hard probe or an analog probe is required.