# Global configurations in the .xlsx configuration file

In the .xlsx configuration file, the Global Configurations worksheet contains global configuration settings for Smart AMS.

## Customer information

Customer Name: Specify the name of the customer.

Plant Name: Specify the name of the plant.

Number of Stations: Specify the number of stations.

## Generic Config

Product Sign-in Override drop-down list: Select FALSE to prevent new product sign-in while another product is in progress. If you select TRUE, 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.

Ignore same Product Sign-In drop-down list: Select TRUE 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 you select FALSE, 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 drop-down list:
InactiveWorkflow: If all tightening retry attempts in a workstep have failed, the tool will be locked until the current workstep is skipped manually.
ProductAbort: If all tightening retry attempts in a workstep have failed, the product will be signed out automatically.
WorkflowRestart: 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 drop-down 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.
OnlyByProductSignIn: 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.
StaticAndOverwriteByProductSignIn: 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 drop-down list:
ByStationSignIn: 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.
ByStationSignInAndBarcodeScanner: 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.
OnlyByBarcodeScanner: 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.

Product Status Storage Limit: Specifies the maximum number of product status information entries to be stored in the buffer in Smart AMS. Default value: 10000.

Station Dependency drop-down 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.
InLineDependency: 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.
AcrossLineDependency: 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.

SQS3 rework stations ignore the dependency check, even if it is activated for the assembly line in which they reside.

Reject OK Product Sign-In drop-down list:
TRUE: 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.
FALSE: It will be possible to sign in a product that has already been processed OK at the same station, regardless of sign-in method.

Product Disconnect Timeout: 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.

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

Monitoring API: Select TRUE if you want to use the Monitoring API. Otherwise select FALSE to disable this feature and save system resources.

Wait for Tool Stop: Select TRUE in order 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 set to FALSE, 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.

## ToolsNet 8 Integration

Report to ToolsNet 8 drop-down list: If you want to connect Smart AMS to the ToolsNet 8 server for downloading the result data (OK, NOK, NYD), select TRUE. Otherwise, select FALSE.

ToolsNet 8 IP: Specify the IP address for connection.

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

## MES Build Data Config

Use MES Build Data protocol drop-down list: Select TRUE if you want to receive build data from the MES Adapter. Otherwise select FALSE.

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

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

## MES Result Config

Use MES Result Adapter drop-down list: Select TRUE if you want to send the result data to the specified MES Adapter. Otherwise select FALSE.

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

Result Storage Limit: Specifies the maximum number of results to be stored in the buffer in Smart AMS. Default value: 10000.

## MES Result Adapter Name

The list shows MES Adapters that provide result data to the MES.

Adapter No. column: Specify the ordinal position of the Adapter. Examples: 1, 2, 3.

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

## MES Sign In Config

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

Use MES Sign In protocol drop-down list: Select TRUE if your system is configured to sign-in products by using an MES Adapter. Otherwise select FALSE to disable this feature and save system resources.

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

Adapter Name column: Enter the name of the MES Sign-in Adapter.

## LineConfig

The list shows assembly lines with PLCs.

Line No. column: Specify the ordinal position of the assembly line. Examples: 1, 2, 3.

Line Name column: Enter the name of the assembly line.

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

PLC Port: Specify the TCP port for connection.

Activated drop-down list: Select TRUE to make the PLC active. Otherwise select FALSE to make it inactive. If a PLC is inactive, Smart AMS ignores it.

Protocol drop-down list: Specify which protocol the PLC should follow.

Dependency Check drop-down list: To enable the dependency check within the selected assembly line, select TRUE. In this case, 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. If you select FALSE, 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.

## Applies to: