# 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 .

## 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.
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.
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.

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.

## 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 Devices

IP field: Specify the device's IP address.

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

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

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 another Modbus Device, click Add Modbus Device.