Adding and managing scan rules
Barcode scanning rules define the quantity and sequence of barcodes that the operator will need to scan when the station is in automatic mode. They also define how the data, such as product ID and PR Codes, are extracted from the scanned content.
Each scan rule must contain a barcode for the extraction of product ID.
Product sign-in at the stations in an assembly line with a scan rule assigned will be successful if the expected barcodes are scanned in the specified sequence and the input strings are compliant with the constraints specified for the barcodes in the scan rule.
To add and manage scan rules, 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 Scan rules section, click
in the Navigation Panel on the left of the page.
Click Add scan rule, and then specify the name for the rule.
You can undo or redo one or more actions.
To undo an action, click
.
To redo the previously undone action, click
.
To refresh the data, click
Each scan rule can include multiple barcodes customized the way you want them.
To add a barcode, click
.
To rearrange scan rules and barcodes, use a drag-and-drop operation. The order of scan rules in the Scan rules section does not affect the workflow. The order of barcodes in a scan rule determines the expected sequence of barcodes.
To copy a scan rule or a barcode, to paste it, or delete it, use the right-click context menu.
Use
and
to expand or collapse items within the section.
General
Name field: Specify the name for the barcode.
Length field: Specify the length for the barcode (in characters).
Accept larger barcode toggle switch: If turned on, Smart AMS will accept barcodes whose length is greater than the specified value. Turn it off to discard oversized barcodes.
Legal characters list: Select Everything, Numbers and letters, Only numbers, Only letters, Only uppercase letters, or Only lowercase letters.
Extract toggle switch: If turned on, Smart AMS will extract the product ID from the barcode. If you do not need product ID, turn it off.
Start position field: Enter a number to specify the beginning of product ID in the barcode.
End position field: Enter a number to specify the end of product ID in the barcode. To read to the end of barcode, leave the field blank.
PR Codes
Each barcode can include multiple PR Codes.
To make a PR Code available for extraction, click Add PR Code and specify its settings.
Prefix field: Specify a prefix that will be automatically prepended to the extracted value.
Start position field: Enter a number to specify the beginning of PR Code in the barcode.
End position field: Enter a number to specify the end of PR Code in the barcode. To read to the end of barcode, leave the field blank.
PR Code Sequence
Extract toggle switch: If turned on, Smart AMS will extract multiple PR Codes from the barcode. To disable this feature, turn it off.
PR Code length field: Enter the length of a single PR Code (in characters).
Prefix for each PR Code field: Specify a prefix that will be automatically prepended to each of the extracted PR Codes.
The list of extracted PR Codes is merged with PR Codes received from other sources—for example, MES, if configured in that way. In this case, the combined list of PR Codes will be used to determine the product's workflow.