# Specifying general settings for Smart AMS

To customize the global configuration settings for Smart AMS, 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.

- Click .

- Use and to expand or collapse items within the section.

## Basic

Customer name field: Specify the name of the customer, if any. It is not included in result data.

Plant name field: Specify the name of the plant.

Product sign-in override toggle switch: If turned on, then when a new product is signed in, the current product will be signed out and the new product will be signed in at the same time. Turn it off to prevent new product sign-in while another product is in progress.

Ignore double product sign-in toggle switch: Turn it on to prevent new product sign-in if the product ID is the same as that of the product that was signed in immediately before it. If turned off, then no product ID comparison will be performed. The product will be signed in, and the tightening workflow will start from the beginning.

MNO strategy list:
Inactive workflow: If all tightening retry attempts in a workstep have failed, the tool will be locked until the current workstep is skipped manually.
Product abort: If all tightening retry attempts in a workstep have failed, the product will be signed out automatically.
Workflow restart: If all tightening retry attempts in a workstep have failed, the workflow will be restarted from the beginning. This option is the least recommended because the previous tightening results will be discarded and not sent to the MES.
Proceed: If all tightening retry attempts in a workstep have failed, Smart AMS will automatically proceed to the next workstep.

Emergency result mode list:
Static: When in emergency mode, the tool is always enabled. There is no way to enter a product ID. A static identifier "MANUAL" will be used for all results.
Only by product sign-in: The tool is only enabled after a product is signed in. The product ID, with which the product is signed in, will be used for the results.
Static and overwrite by product sign-in: When in emergency mode, the tool is always enabled. If no product is signed in, a static identifier "MANUAL" will be used for all results. After a product is signed in, the product ID, with which the product has been signed in, will be used for the results.
Passive: Product identification is not under Smart AMS control. For example, if a barcode scanner is attached to the controller, the product ID received from the scanner will be attached to the tightening results. Any product ID received from the controller will not be altered by Smart AMS. If neither scanner nor other input source is specified, the product ID will be empty.

You can use a scanner, connected to the PF6000 controller, for scanning in automatic mode and in the controller's manual mode even when it is not connected to Smart AMS. In this case, the Emergency result mode setting must be set to Passive, and the Product sign-in setting for the PF6000 station must be set to Barcode.
In the settings for PF6000, the scan pass-through function needs to be deactivated. Manual mode on the controller should be configured so that it is active when the keyswitch is set to emergency mode.

Emergency sign-in mode list:
By station sign-in: When in emergency mode, products can be signed in in the same way as when the station is in automatic mode. If scan rules are used at the station, the barcode scanner will not be considered for emergency mode sign-in in this mode.
By station sign-in and barcode scanner: Products can be signed in in the same way as when the station is in automatic mode, as well as by barcode scanner. If a product is signed in by using a barcode scanner and there is a PLC configured for the station, Smart AMS will send the scanned code to the PLC. The sequence will be verified on the PLC and then re-aligned, if necessary. When in emergency mode, no scan rules will be applied to the scanned content.
Only by barcode scanner: Products can only be signed in by using a barcode scanner. If there is a PLC configured for the station, Smart AMS will send the scanned code to the PLC. The sequence will be verified on the PLC and then re-aligned, if necessary. When in emergency mode, no scan rules will be applied to the scanned content.

Station dependency mode list:
Off: No stations are interlocked. The product can be signed in and processed even if it was signed out in the NOK state from the previous station.
In-line dependency: Within an assembly line, the product can be signed in only if it was signed out in the OK state from the previous station. If the tightening result at a station was NOK, then all the bolts tightened at the station should be loosened, and then the product can be signed in at the same station to rerun the tightenings.
Across-line dependency: The product can be signed in only if it was signed out in the OK state from the previous station, even if the previous station belongs to a different assembly line. If the tightening result at a station was NOK, then all the bolts tightened at the station should be loosened, and then the product can be signed in at the same station to rerun the tightenings.

Reject Ok product sign-in toggle switch:
If turned on, it will not be possible to sign in a product that has already been processed OK at the same station. When trying to sign in, the green segment will be actuated on the Stack Light connected to the station. The product will not be signed in. However, such a product can still be signed in at the station by an IO signal sent after the detection that the product is already OK. If the product is not detected as already OK, the IO signal will be ignored.
If turned off, it will be possible to sign in a product that has already been processed OK at the same station, regardless of sign-in method.

## Advanced

Product disconnect timeout field: Specifies the time period, in seconds, to wait until the product is signed out in the event that the connectivity to the controller is lost. If this field is left blank, the product will always be signed out immediately when Smart AMS loses connectivity to the controller. Smart AMS will then wait for a new product sign-in to resume the workflow at the station.

Product status storage limit field: Specifies the maximum number of product status information entries to be stored in the buffer in Smart AMS. Default value: 10000.

ILT Server port field: Specify the TCP port for connection. Default port: 10458.

Use Monitoring API toggle switch: If you want to use the Monitoring API, turn it on. Otherwise, turn it off.

Wait for tool stop toggle switch: Turn it on to have the system wait for all the tools at the station to stop rotating before aborting the workflow and signing out the product. All tightening results generated by the running tools will be reported to the MES. Representative use cases: the "Skip product" button is pressed or another product is signed in.
If turned off, the product will always be signed out immediately on detecting the corresponding signal. The system will discard all results for tightenings that were processed after the product sign-out.

Product idle timeout field: Specifies the time period, in seconds, to wait until the product is signed out due to inactivity. After the idle timeout is reached, the product will be signed out in the NOK state. To deactivate this function, leave the field blank. The setting is applied to all stations for which the Override global setting feature is turned off in the station's settings.

## MES

MES build data

Enabled toggle switch: If you want to receive build data from the MES Adapter, turn it on. Otherwise, turn it off.

Adapter name field: Enter the name of the MES Adapter from which you want to receive the build data.

Server port field: Specify the TCP port that will be used for receiving the build data. Default port: 8089.

MES sign-in

Use these settings to configure the MES sign-in functionality.

Enabled toggle switch: If you want to sign-in products by using an MES Adapter, turn it on. Otherwise, turn it off.

Adapter name field: Enter the name of the MES Sign-In Adapter.

Server port field: Specify the TCP port that will be used for incoming connections from the MES Sign-In Adapter. Default port: 8091.

MES result

Enabled toggle switch: If you want to use MES Adapters that provide result data to the MES, turn it on. Otherwise, turn it off.

Adapter names fields: Enter the names of the MES Adapters to which you want to send the result data.

Server port field: Specify the TCP port that will be used for sending the result data. Default port: 8090.

Result storage limit field: Specifies the maximum number of results to be stored in the buffer in Smart AMS. Default value: 10000.

TooIsNet 8 Integration

Enabled toggle switch: If you want to connect Smart AMS to a ToolsNet 8 server for downloading the result data (OK, NOK, NYD), turn it on. Otherwise, turn it off.

ToolsNet 8 IP field: Specify the IP address for connection.

ToolsNet 8 port field: Specify the TCP port for connection. Default port: 7110.

ILT

You can set minimum and maximum distances to specific values for all ILT devices in all areas for the currently active configuration at a time. It is possible to leave either of the distance fields blank in case the corresponding distance is not specified.

Password field: Enter the password, which is supposed to be the same for all ILT devices in the configuration.

Minimum distance field: Specify the minimum distance between the tools and their base stations. The unit of measure for distance is specified in ILT.

Maximum distance field: Specify the maximum distance between the tools and their base stations. The unit of measure for distance is specified in ILT.

- To set distances, click the Set distances button.

- To add an ILT Device, click Add ILT Device.

IP field: Specify the device's IP address.

Port field: Specify the TCP port for connection. Default port: 80.

ILT devices that are either offline or otherwise unreachable will not receive settings update.

Modbus Devices

IP field: Specify the IP address for connection. Only Modbus devices that support the Read Coils (function code 1) and Write Single Coil (function code 5) functions can be used with Smart AMS.

Port field: Specify the TCP port for connection. Default port: 502.

- To add a Modbus Device, click Add Modbus Device.