# Adding and managing lines

You must first navigate to Smart AMS Config.

- Go to the Smart AMS Config address in your web browser by using the Open Smart AMS Config UI shortcut on the Desktop or on the Windows Start menu.
  Sample address: http://localhost:6395. Make sure to replace localhost with the actual IP address of the computer Smart AMS Config is running on.

- To switch to the Configuration section, click in the Navigation Panel on the left of the page. On mobile devices with a smaller screen, click your username in the upper right corner of the page, and then select Configuration.

- To add a line, click Add Line.

- To rearrange lines, use a drag-and-drop operation.

- To copy a line, to paste it, or delete it, use the right-click context menu of the line.

## General

Line number field: Specify the ordinal position of the assembly line. Examples: 1, 2, 3.

Line name field: Enter the name of the assembly line.

Scan rule list: Select a scan rule for the assembly line. The scan rule will be applied to all Smart AMS stations in the line.
Example usage: When a product sign-in attempt is ongoing, the conventional blue lamp on the stack light is blinking. It stops blinking when the attempt has been completed either OK or NOK. If the sign-in attempt has failed, the conventional red lamp on the stack light will indicate an error state. The error status is reset as soon as a new sign-in attempt is made or the station is switched to emergency mode.
If no scan rule is selected, all scans at the stations in the assembly line will be treated as product ID. If no input source is specified, the product ID will be empty.

Use Station Dependency Check toggle switch: If turned on, the product can only be signed in at a station in the assembly line if it was signed out in the OK state from the previous station. Otherwise, the product can be signed in and processed even if it was signed out in the NOK state from the previous station.
Note that SQS3 rework stations ignore the dependency check, even if it is activated for the assembly line in which they reside.

## Line PLC

Enabled toggle switch: If turned on, the PLC is activated. If turned off, Smart AMS ignores it.

IP field: Specify the IP address of the PLC. The same combination of IP address and port can be used on multiple assembly lines.

Port field: Specify the TCP port for connection.

Protocol version list: Specify which protocol the PLC should follow.