SOP-42Q-SFDC0008 SFDC Generic Custom Command Appendix
[[Image:]]
Contents
- 1 Table of Contents
- 2 Introduction
- 3 Activity Commands
- 3.1 Check Unit Failure (CHKFAIL)
- 3.2 Check Unit Failure (CHKFAIL2)
- 3.3 Check Unit Failure (CHKFAIL3)
- 3.4 Check “From” Location (CHKFROM)
- 3.5 Check Process Fail Quantity (CHKPROCFAILQ)
- 3.6 Check Pass Count (CHKPASS)
- 3.7 Check Process Quantity (CHKPROCQ)
- 3.8 Cycle Count (CYCLECOUNT)
- 3.9 Cycle Count (CYCLECOUNTB)
- 4 Attribute Commands
- 5 AutoSFDC-Related Commands
- 6 Component Commands
- 6.1 Add MAC Address (ADDMACID)
- 6.2 Add Sub Component (ADSCMP)
- 6.3 Add Sub Component by Unit (ADSMPU)
- 6.4 Change Tracked Component ID (CHGID60)
- 6.5 Change Part Number for Batch Units (CHGPNBUNITS)
- 6.6 Check All Components Equal to Reference Designator (P22CMD01)
- 6.7 Check COA Number (CHKCOA)
- 6.8 Check Component ID (CHKCMPID)
- 6.9 Check for Component Duplicates (DUPCHK)
- 6.10 Check for Component Duplicates for Ref Designator (DUPCHK2)
- 6.11 Check for Multiple Component Duplicates (DUPCHK3)
- 6.12 Check for All Duplicate Components (DUPCKALL)
- 6.13 Check for Component Duplicates (DUPCHKE)
- 6.14 Component Tree Reference Designator (COMPTREEREF)
- 6.15 Create Component ID (CRE8COMP)
- 6.16 Create MAC Address (CRE8MAC)
- 6.17 Find Components (CMPIDREF)
- 6.18 Generate Component Serial Number (GENCOMP2)
- 6.19 Print Component List (COMPLST)
- 6.20 Count Components Against Mod10 (MOD10CHK)
- 6.21 Reload FIO List from Configuration (RELOADCFG)
- 6.22 Remove Component By ID (RMCMPRD)
- 6.23 Remove Components from Status 60 Parent (RMFROM60)
- 6.24 Replace Component By ID (RPCMPRD)
- 6.25 Repopulate Components of Sub to Top Level SN (REPOP)
- 6.26 Verify Component (VERCMPA)
- 6.27 Verify Component (VERCMPB)
- 6.28 Verify Component (VERCMPC)
- 6.29 Verify Component Not in List (VERCMPNO)
- 6.30 Verify Component String (VERCMPSTR)
- 6.31 Verify Component (VERIFCMP)
- 6.32 Verify No Component (VERIFNOCMP)
- 6.33 Verify Component/Three Attempts Allowed (VERIFOCMPE)
- 7 Container Commands
- 7.1 Check Container for Shop Order (CHK4CNTSHOP)
- 7.2 Check for Lot/Container (CHK4LOTCNT)
- 7.3 Container Quantity (CNTQTY)
- 7.4 Fix Container Status (FIXCNTST)
- 7.5 Fix Lot Status (FIXLOTST)
- 7.6 Move Units to Container/Print Container Packlist (P13CMD1)
- 7.7 Remove Units from Container/Move to Location (DUMPCNTNR)
- 7.8 Remove Units from Container/Move to Location (DUMPCNTNR3)
- 7.9 Remove Unit from Lot (REMOVEFROMLOT)
- 8 Employee-Related Miscellaneous Commands
- 9 Move Commands
- 10 Part Number Commands
- 11 Serial Number Commands
- 11.1 Add Comment to Status 30 Serial (ADCMNT30)
- 11.2 Add Comment to Sub Component (ADCMNTSUB)
- 11.3 Change Serial Number by Algorithm (CHGIDALG)
- 11.4 Change Serial Number by Algorithm (CHGIDALG2)
- 11.5 Change SN based on Component ID (CHGIDMON)
- 11.6 Change SN to Match a Component (CHGIDREF)
- 11.7 Change Serial Number to New Serial Number (CHGSNTS)
- 11.8 Compare SN to Scanned Value (CHECKSN)
- 11.9 Check Defect Quantity (CHKDFCQTY)
- 11.10 Create/Start Serial Number with PN by Alogrithm (CRE8SER)
- 11.11 Create/Start Serial Number w/PN & REV by Alogrithm (CRE8SER2)
- 11.12 Compare Current Serial Number to Traveler Serial Number (FRANK1)
- 11.13 Compare Current Serial Number to Unit Serial Number with Optional Mask (FRANK2a)
- 11.14 Check Components Removed But Not Replaced (FRANK3)
- 11.15 Compare MBRD Serial Number to Scanned Serial Number (FRANK4)
- 11.16 Compare Current Serial Number to Box Label Serial Number (FRANKG)
- 11.17 Generate Serial Number from Algorithm (GENALGOSN)
- 11.18 Generate Serial Number from Alg using parent (GENALGOSN2)
- 11.19 Generate Serial Number/Pass to Data Collector (GENSER)
- 11.20 Generate Serial Number/Pass to SFDC (GENSER2)
- 11.21 Parent Serial Number (PARENTSN)
- 11.22 Parent Serial Number Rescan (PARENTSNSCAN)
- 11.23 Print History (PRTHIST)
- 11.24 Query Location (QRYLOC)
- 11.25 Rename Killed Serial Nnumber (RENAMESER50)
- 11.26 Rescan Serial Number (RESCAN)
- 11.27 Send Serial Number (SERNUM)
- 11.28 Show Unit Comment (SHOWCOMMENT)
- 12 Shop Order Commands
- 12.1 Add Unit to Shop Order (ADD2SO1)
- 12.2 Add Unit to Shop Order from Location (ADD2SO2)
- 12.3 Change Shop Order (CHGSO)
- 12.4 Change Shop Order from Location (CHGSO2)
- 12.5 Change Shop Order from Location (CHGSO3)
- 12.6 Delete Serial Number from Shop Order (DELSNFSO)
- 12.7 Delete SN from Non-complete Shop Order (DELSNFSO2)
- 12.8 Delete SN from Shop Order & Create New SN (DELSNFSO3)
- 12.9 Display Shop Order Number (SHOWSON)
- 13 Time and Timestamp Commands
- 13.1 Check Return Days (CHKRTNDAYS)
- 13.2 Check Return Days [Greater than/Equal to]( CHKRTNDAYSGE)
- 13.3 Check Time (CHKTIME)
- 13.4 Check Time 99 (CHKTIME99)
- 13.5 Check Time Due (CHKTIMEDUE)
- 13.6 Check Time Expired (CHKTIMEEXP2)
- 13.7 Show Time (SHOWTIME)
- 13.8 Check Number of Hours since Process Start (TIMELIMIT)
- 13.9 Time Stamp (TIMESTMP)
- 14 User-Defined Field Commands
- 15 Weight Commands
- 16 Work-In-Process (WIP) Commands
Table of Contents
[#__RefHeading__68_525275486 Table of Revisions]6
[#__RefHeading__70_525275486 Introduction]7
[#__RefHeading__72_525275486 Activity Commands]8
[#__RefHeading__74_525275486 Check Unit Failure (CHKFAIL)]8
[#__RefHeading__76_525275486 Check Unit Failure (CHKFAIL2)]8
[#__RefHeading__78_525275486 Check Unit Failure (CHKFAIL3)]9
[#__RefHeading__80_525275486 Check “From” Location (CHKFROM)]10
[#__RefHeading__82_525275486 Check Process Fail Quantity (CHKPROCFAILQ)]11
[#__RefHeading__84_525275486 Check Pass Count (CHKPASS)]12
[#__RefHeading__86_525275486 Check Process Quantity (CHKPROCQ)]13
[#__RefHeading__88_525275486 Cycle Count (CYCLECOUNT)]14
[#__RefHeading__13782_1866113858 Cycle Count (CYCLECOUNTB)]14
[#__RefHeading__13773_1866113858 Attribute Commands]16
[#__RefHeading__90_525275486 Add Attribute (ATTADD)]16
[#__RefHeading__92_525275486 Attribute Add by Group (ATTADDGRP)]16
[#__RefHeading__94_525275486 Check for Attribute (CHK4ATT)]17
[#__RefHeading__96_525275486 Clear Attribute (CLEARATTRIBUTE)]17
[#__RefHeading__98_525275486 Remove Attribute (ATTREMOVE)]17
[#__RefHeading__100_525275486 Verify Attribute (VERATT)]19
[#__RefHeading__102_525275486 AutoSFDC-Related Commands]20
[#__RefHeading__104_525275486 Show Data (SHOWDATA)]20
[#__RefHeading__106_525275486 Show Part (SHOWPART)]21
[#__RefHeading__108_525275486 Unit Data (UNITDATA)]22
[#__RefHeading__110_525275486 Unit Data plus Shop Order (UNITDATA2)]23
[#__RefHeading__112_525275486 Unit Data w/Process instead of Workstation (UNITDATA3)]23
[#__RefHeading__114_525275486 Component Commands]25
[#__RefHeading__13794_1866113858 Add MAC Address (ADDMACID)]25
[#__RefHeading__116_525275486 Add Sub Component (ADSCMP)]25
[#__RefHeading__118_525275486 Add Sub Component by Unit (ADSMPU)]26
[#__RefHeading__120_525275486 Change Tracked Component ID (CHGID60)]27
[#__RefHeading__122_525275486 Change Part Number for Batch Units (CHGPNBUNITS)]28
[#__RefHeading__124_525275486 Check All Components Equal to Reference Designator (P22CMD01)]28
[#__RefHeading__126_525275486 Check COA Number (CHKCOA)]29
[#__RefHeading__128_525275486 Check Component ID (CHKCMPID)]30
[#__RefHeading__132_525275486 Check for Component Duplicates (DUPCHK)]30
[#__RefHeading__134_525275486 Check for Component Duplicates for Ref Designator (DUPCHK2)]31
[#__RefHeading__136_525275486 Check for Multiple Component Duplicates (DUPCHK3)]32
[#__RefHeading__138_525275486 Check for All Duplicate Components (DUPCKALL)]32
[#__RefHeading__140_525275486 Check for Component Duplicates (DUPCHKE)]33
[#__RefHeading__142_525275486 Component Tree Reference Designator (COMPTREEREF)]34
[#__RefHeading__144_525275486 Create Component ID (CRE8COMP)]34
[#__RefHeading__146_525275486 Create MAC Address (CRE8MAC)]35
[#__RefHeading__148_525275486 Find Components (CMPIDREF)]36
[#__RefHeading__150_525275486 Generate Component Serial Number (GENCOMP2)]36
[#__RefHeading__152_525275486 Print Component List (COMPLST)]37
[#__RefHeading__154_525275486 Count Components Against Mod10 (MOD10CHK)]38
[#__RefHeading__13816_1866113858 Reload FIO List from Configuration (RELOADCFG)]38
[#__RefHeading__156_525275486 Remove Component By ID (RMCMPRD)]39
[#__RefHeading__158_525275486 Remove Components from Status 60 Parent (RMFROM60)]40
[#__RefHeading__160_525275486 Replace Component By ID (RPCMPRD)]41
[#__RefHeading__13499_1174325341 Repopulate Components of Sub to Top Level SN (REPOP)]42
[#__RefHeading__13462_1174325341 Verify Component (VERCMPA)]43
[#__RefHeading__13464_1174325341 Verify Component (VERCMPB)]44
[#__RefHeading__13466_1174325341 Verify Component (VERCMPC)]44
[#__RefHeading__13468_1174325341 Verify Component Not in List (VERCMPNO)]45
[#__RefHeading__162_525275486 Verify Component String (VERCMPSTR)]45
[#__RefHeading__164_525275486 Verify Component (VERIFCMP)]46
[#__RefHeading__13470_1174325341 Verify No Component (VERIFNOCMP)]47
[#__RefHeading__166_525275486 Verify Component/Three Attempts Allowed (VERIFOCMPE)]47
[#__RefHeading__13818_1866113858 Container Commands]49
[#__RefHeading__172_525275486 Check Container for Shop Order (CHK4CNTSHOP)]49
[#__RefHeading__174_525275486 Check for Lot/Container (CHK4LOTCNT)]49
[#__RefHeading__176_525275486 Container Quantity (CNTQTY)]50
[#__RefHeading__178_525275486 Fix Container Status (FIXCNTST)]51
[#__RefHeading__180_525275486 Fix Lot Status (FIXLOTST)]51
[#__RefHeading__182_525275486 Move Units to Container/Print Container Packlist (P13CMD1)]51
[#__RefHeading__184_525275486 Remove Units from Container/Move to Location (DUMPCNTNR)]53
[#__RefHeading__186_525275486 Remove Units from Container/Move to Location (DUMPCNTNR3)]55
[#__RefHeading__188_525275486 Remove Unit from Lot (REMOVEFROMLOT)]56
[#__RefHeading__190_525275486 Employee-Related Miscellaneous Commands]57
[#__RefHeading__192_525275486 Create Web Context Badge Record Label (TECHLABL)]57
[#__RefHeading__194_525275486 Record Time In/Time Out (TIMEIN and TIMEOUT)]57
[#__RefHeading__13820_1866113858 Move Commands]59
[#__RefHeading__202_525275486 Move by Defect (MOVEBYDEFECT)]59
[#__RefHeading__204_525275486 Move From Hold (MOVEFROMHOLD)]59
[#__RefHeading__206_525275486 Move if Reference Designator (MOVEIFREF)]60
[#__RefHeading__208_525275486 Move if No Reference Designator (MOVEIFNOREF)]61
[#__RefHeading__210_525275486 Move if Used Component (MOVEIFUSEDCMP)]62
[#__RefHeading__212_525275486 Move to Location (MOVE2HERE)]62
[#__RefHeading__214_525275486 Move to Hold (MOVETOHOLD)]63
[#__RefHeading__216_525275486 Part Number Commands]65
[#__RefHeading__218_525275486 Change Part Number Prefix (CHGPNPFX)]65
[#__RefHeading__220_525275486 Sample (SAMPLE)]66
[#__RefHeading__222_525275486 Fractional Sample (SAMPLESS)]68
[#__RefHeading__224_525275486 Create SDR Entry Record/With Release (SDR)]69
[#__RefHeading__226_525275486 Create Wakeupscan Record/With Release (SDR26)]69
[#__RefHeading__228_525275486 Create SDR Entry Record/No Release (SDRN)]70
[#__RefHeading__230_525275486 Create Wakeupscan Record/With Release (SDRNT)]71
[#__RefHeading__232_525275486 Serial Number Commands]72
[#__RefHeading__13491_1174325341 Add Comment to Status 30 Serial (ADCMNT30)]72
[#__RefHeading__13493_1174325341 Add Comment to Sub Component (ADCMNTSUB)]72
[#__RefHeading__234_525275486 Change Serial Number by Algorithm (CHGIDALG)]73
[#__RefHeading__13495_1174325341 Change Serial Number by Algorithm (CHGIDALG2)]73
[#__RefHeading__236_525275486 Change SN based on Component ID (CHGIDMON)]74
[#__RefHeading__238_525275486 Change SN to Match a Component (CHGIDREF)]75
[#__RefHeading__240_525275486 Change Serial Number to New Serial Number (CHGSNTS)]75
[#__RefHeading__242_525275486 Compare SN to Scanned Value (CHECKSN)]76
[#__RefHeading__13804_1866113858 Check Defect Quantity (CHKDFCQTY)]77
[#__RefHeading__244_525275486 Create/Start Serial Number with PN by Alogrithm (CRE8SER)]78
[#__RefHeading__246_525275486 Create/Start Serial Number w/PN & REV by Alogrithm (CRE8SER2)]79
[#__RefHeading__248_525275486 Compare Current Serial Number to Traveler Serial Number (FRANK1)]80
[#__RefHeading__252_525275486 Compare Current Serial Number to Unit Serial Number with Optional Mask (FRANK2a)]80
[#__RefHeading__254_525275486 Check Components Removed But Not Replaced (FRANK3)]81
[#__RefHeading__256_525275486 Compare MBRD Serial Number to Scanned Serial Number (FRANK4)]82
[#__RefHeading__258_525275486 Compare Current Serial Number to Box Label Serial Number (FRANKG)]82
[#__RefHeading__260_525275486 Generate Serial Number from Algorithm (GENALGOSN)]83
[#__RefHeading__262_525275486 Generate Serial Number from Alg using parent (GENALGOSN2)]84
[#__RefHeading__264_525275486 Generate Serial Number/Pass to Data Collector (GENSER)]85
[#__RefHeading__266_525275486 Generate Serial Number/Pass to SFDC (GENSER2)]86
[#__RefHeading__268_525275486 Parent Serial Number (PARENTSN)]87
[#__RefHeading__270_525275486 Parent Serial Number Rescan (PARENTSNSCAN)]87
[#__RefHeading__272_525275486 Print History (PRTHIST)]87
[#__RefHeading__274_525275486 Query Location (QRYLOC)]88
[#__RefHeading__276_525275486 Rename Killed Serial Nnumber (RENAMESER50)]88
[#__RefHeading__278_525275486 Rescan Serial Number (RESCAN)]89
[#__RefHeading__280_525275486 Send Serial Number (SERNUM)]89
[#__RefHeading__282_525275486 Show Unit Comment (SHOWCOMMENT)]90
[#__RefHeading__13830_1866113858 Shop Order Commands]92
[#__RefHeading__284_525275486 Add Unit to Shop Order (ADD2SO1)]92
[#__RefHeading__286_525275486 Add Unit to Shop Order from Location (ADD2SO2)]92
[#__RefHeading__288_525275486 Change Shop Order (CHGSO)]93
[#__RefHeading__290_525275486 Change Shop Order from Location (CHGSO2)]94
[#__RefHeading__13512_1174325341 Change Shop Order from Location (CHGSO3)]96
[#__RefHeading__292_525275486 Delete Serial Number from Shop Order (DELSNFSO)]97
[#__RefHeading__294_525275486 Delete SN from Non-complete Shop Order (DELSNFSO2)]98
[#__RefHeading__296_525275486 Delete SN from Shop Order & Create New SN (DELSNFSO3)]98
[#__RefHeading__298_525275486 Display Shop Order Number (SHOWSON)]98
[#__RefHeading__300_525275486 Time and Timestamp Commands]100
[#__RefHeading__302_525275486 Check Return Days (CHKRTNDAYS)]100
[#__RefHeading__304_525275486 Check Return Days [Greater than/Equal to]( CHKRTNDAYSGE)]100
[#__RefHeading__306_525275486 Check Time (CHKTIME)]101
[#__RefHeading__308_525275486 Check Time 99 (CHKTIME99)]101
[#__RefHeading__310_525275486 Check Time Due (CHKTIMEDUE)]102
[#__RefHeading__312_525275486 Check Time Expired (CHKTIMEEXP2)]103
[#__RefHeading__314_525275486 Show Time (SHOWTIME)]103
[#__RefHeading__316_525275486 Check Number of Hours since Process Start (TIMELIMIT)]104
[#__RefHeading__318_525275486 Time Stamp (TIMESTMP)]105
[#__RefHeading__320_525275486 User-Defined Field Commands]106
[#__RefHeading__322_525275486 Copy Generic Receiver User-Defined (HTCOPYUD)]106
[#__RefHeading__324_525275486 Set User-Defined (HTSETUD)]106
[#__RefHeading__326_525275486 Weight Commands]108
[#__RefHeading__328_525275486 Weight Check (P12WEIGH)]108
[#__RefHeading__330_525275486 Weight Check (P12WEIGHA)]108
[#__RefHeading__332_525275486 Set Weight by Predefined 4-Pound Variance (SGIWEIGH)]109
[#__RefHeading__334_525275486 Work-In-Process (WIP) Commands]111
[#__RefHeading__336_525275486 Back to Work-In-Process (BACK2WIP)]111
[#__RefHeading__338_525275486 Back to Work-In-Process (BACK2WIP2)]112
[#__RefHeading__340_525275486 Touch Unit (TOUCH_UNIT)]113
[#__RefHeading__342_525275486 Undo Kill (UNKILL)]113
[#__RefHeading__344_525275486 Transfer SN from Archive (XFERSN-ARCHIVE)]114
[#__RefHeading__346_525275486 Transfer SN from OldDB (XFERSN-OLDDB)]114= Table of Revisions =
Date: | Author: | Description: |
6/23/04 | Karen Ellington | Initial release of document to website. |
7/1/04 | Karen Ellington | Updated the SAMPLE command to include descriptions for all error messages encountered during processing. |
8/5/04 | Karen Ellington | General edits and format clean up. |
12/9/09 | Keith Fuqua | Addition of new commands. |
10/28/10 | Keith Fuqua | Addition of new commands. Removal of obsoleted commands. |
Introduction
This document provides descriptions for the !! custom commands used to perform tasks such as maintenance, query, analysis, and move functions.
Many custom commands are entered at the Menu Selection prompt. These commands operate against the current scanned serial number. A custom menu command barcode consists of the characters !!1 (referred to as bang-bang-one) followed by the name of the custom command. The name may be followed by a period and one or more parameters. Parameters are separated by a period. For example:
!!1ATTREMOVE.c_remove.a_name
Some custom commands are entered at the Serial Number prompt. These commands do not check product flow against a route. A custom command issued at the Serial Number prompt consists of the characters !!2 (referred to as bang-bang-2) followed by the name of the custom command and one or more parameters. Some will prompt for the serial number to run against. An example of a !!2 command is:
!!2FIXCNTST
The commands are divided into sections based on functionality:
- Activity
- Attributes
- AutoSFDC-Related
- Components
- Configuration
- Container Activity
- Employee-Related Miscellaneous
- Labor Tracking
- Move Activity
- Part Numbers
- Sampling
- SDR
- Serial Number
- Shop Orders
- Time and Timestamp
- User-Defined Fields
- Weight
- Work-In-Process (WIP)
Activity Commands
Check Unit Failure (CHKFAIL)
Counts the number of times a board fails. If the fail count is equal to or greater than the set fail limit, the command moves the unit to a specified Fail location and records a 2250 defect code against the serial number.
At the Menu Selection prompt, scan the CHKFAIL command line, specifying a fail limit and Move To location.
Command format:
!!1CHKFAIL.faillimit.moveto
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
faillimit | Minimum number of failures allowed against a board. |
moveto | Move To location for the unit. |
The command operates from the previously scanned serial number. It checks to see if the serial number is ambiguous or unavailable and displays an error on either condition.
If the serial number is valid, the command checks the scan location. If unavailable, an error displays.
Next the command checks the Move To location specified by the moveto parameter in the command line. If the Move To location is unavailable, the LOCATION not found message displays.
If the serial number and locations are valid, the command checks the Number of failures recorded against the serial number. If unknown or less than 1, the command displays INVALID FAILD COUNT.
If the number of failures is less than the limit set by the faillimit parameter in the command line, the command displays OK and exits.
If the number of failures is equal to or greater than the faillimit parameter, the command records defect 2250 against the serial number and moves the unit to the specified Move To location.
Check Unit Failure (CHKFAIL2)
Only runs if unit part description begins with partdesc parameter value. Counts defects recorded for specific board location. If the fail count is equal or greater than the set fail limit, the command moves the unit (with M0V3) to a specified Fail location and records a 2250 defect code against the serial number. M0V3 (M zero V three) must be a named macro for MOVE (MACRO NAME=M0V3 CMD=MOVE) , and the defect 2250 must be in the defcodes table.
At the Menu Selection prompt, scan the CHKFAIL2 command line, specifying a check locatin, fail limit, Move To location and part description.
Command format:
!!1CHKFAIL2. checkloc.faillimit.movetoloc.partdesc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
checkloc | Specified location to check for defects |
faillimit | Minimum number of failures allowed against a board. |
moveto | Move To location for the unit. |
partdesc | Part description parameter to run command against. |
The command operates from the previously scanned serial number. It checks to see if the serial number is ambiguous or unavailable and displays an error on either condition.
If the serial number is valid, the command checks the scan location. If unavailable, an error displays.
Next the command checks the Move To location specified by the moveto parameter in the command line. If the Move To location is unavailable, the LOCATION not found message displays.
If the serial number and locations are valid, the command checks the Number of failures recorded against the serial number. If unknown or less than 1, the command displays INVALID FAILD COUNT.
If the number of failures is less than the limit set by the faillimit parameter in the command line, the command displays OK and exits.
If the number of failures is equal to or greater than the faillimit parameter, the command records defect 2250 against the serial number and moves the unit to the specified Move To location.
Check Unit Failure (CHKFAIL3)
Works exactly as chkfail2, except that uses MOVE to move the unit. (not M0V3).
At the Menu Selection prompt, scan the CHKFAIL3 command line, specifying a check locatin, fail limit, Move To location and part description.
Command format:
!!1CHKFAIL3. checkloc.faillimit.movetoloc.partdesc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
checkloc | Specified location to check for defects |
faillimit | Minimum number of failures allowed against a board. |
moveto | Move To location for the unit. |
partdesc | Part description parameter to run command against. |
The command operates from the previously scanned serial number. It checks to see if the serial number is ambiguous or unavailable and displays an error on either condition.
If the serial number is valid, the command checks the scan location. If unavailable, an error displays.
Next the command checks the Move To location specified by the moveto parameter in the command line. If the Move To location is unavailable, the LOCATION not found message displays.
If the serial number and locations are valid, the command checks the Number of failures recorded against the serial number. If unknown or less than 1, the command displays INVALID FAILD COUNT.
If the number of failures is less than the limit set by the faillimit parameter in the command line, the command displays OK and exits.
If the number of failures is equal to or greater than the faillimit parameter, the command records defect 2250 against the serial number and moves the unit to the specified Move To location.
Check “From” Location (CHKFROM)
Checks the previous activity for the scanned unit. If the unit did not pass to the specified location, the command records a defect against the unit.
At the Menu Selection prompt, scan the CHKFROM command line, specifying the Pass To location and a defect code to use.
Command format:
!!1CHKFROM.actloc.defcode
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
actloc | The expected Pass To location for the previous unit activity. |
defcode | The defect code to use if the check fails. |
The command uses the scanned unit. If the serial number is not valid or is unavailable, SN not found or Ambiguous SN messages display.
If the current location for the unit is unavailable in the database, the command displays App Error 1.
If the serial number is valid, the command checks the location specified by the actloc parameter. If the location is not valid or is unavailable, ACTLOC not found or ACTLOC ambiguous messages display.
If the defect code specified by the defcode parameter is invalid, the command displays Invalid Defcode.
The command checks the activity record for the unit. If the unit is not in the actloc location, the specified defect is recorded against the unit.
Check Process Fail Quantity (CHKPROCFAILQ)
Checks the qty of fail activities at all locations with same process as scanning location. If meets or exceeds moveqty, then records defect (if optional defcode is inclded as parameter) and moves unit to moveloc (on same line as scanning line).
At a Menu Selection prompt, scan the CHKPROCFAILQ command line.
Command format:
!!1 CHKPROCFAILQ.moveqty(.defcode).moveloc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
moveqty | If the fail count is greater than or equal to this value, the unit moves to moveloc. |
defcode | Optional: Defect to record if enough fails found. (leave empty if do not want to record defect) |
moveloc | First 4 characters of the Move To location, where the unit is moved if it reaches the moveqty count. |
The command first checks to see if the scanned serial number is valid and available for processing. If not, the command displays the APP ERROR 1 message.
Next the command checks the current unit location. If it is not available, an APP ERROR 2 message displays.
If the serial number and location are valid, the command checks the Move To location specified by the moveloc parameter. If the location is invalid or not available, the INVALID MOVELOC message displays.
If the command calculates that the moveqty is reached for the unit, it moves the unit to the Move To location, either by logging the specifed defect code, if a defcode parameter is passed, or by simplying moving to the moveloc.
Check Pass Count (CHKPASS)
Counts the number of times a board passes a process-matching scan location. If the pass limit count is reached, the command moves the unit to the specified location.
At a Menu Selection prompt, scan the CHKPASS command line, specifying the pass limit, a defect code, and a Move To location.
Command format:
!!1CHKPASS.passlimit.defcode.moveloc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
passlimit | Minimum number of passes before sending the unit to the Move To location. |
defcode | Defect code to assign. |
moveloc | The Move To location for the unit. |
The command uses the scanned serial number. If the serial number is invalid, AMBIGUOUS SN displays on the data collector. If the serial number is unavailable, SN not found displays.
If the serial number is valid, the command checks to make sure the scan location is valid. If it is not, an Internal Error 1 message displays on the data collector.
The Move To location specified by the moveloc parameter must be long enough to uniquely identify a location on this line. If the location is not available, a Bad Location error message displays.
If the defect code specified by the defcode parameter is invalid, a Bad Defect Code message displays.
Next the command checks the number of times the unit has passed the scan location. If the pass count is unknown or less than 1, the Bad Pass Count error message displays.
If the pass count is less than the pass limit set by the passlimit parameter, the command terminates with an OK message.
If the pass count reaches the specified passlimit parameter value, the command moves the unit to the Move To location. The defect code specified by the defcode parameter is recorded against the unit.
Check Process Quantity (CHKPROCQ)
Checks the quantity of pass/fail activities at all locations for a group of processes. The command requires a string specifying the processes to be checked. If the quantity of pass and fail activities equals or is greater than the value specified by the moveqty parameter, the unit is moved to the location specified by the moveloc parameter.
At a Menu Selection prompt, scan the CHKPROCQ command line.
Command format:
!!1CHKPROCQ.procstr.moveqty.moveloc(.DEBUG)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
procstr | String of processes to count. To allow for procstr containing spaces, use \B as a space. |
moveqty | If the pass/fail count is greater than or equal to this value, the unit moves to moveloc. |
moveloc | First 4 characters of the Move To location, where the unit is moved if it reaches the moveqty count. |
DEBUG | Optional. Specified by .DEBUG in the command line. If SFDC is in DEBUG mode, logs the number of locations found for procstr. |
The command first checks to see if the scanned serial number is valid and available for processing. If not, the command displays the APP ERROR 1 message.
Next the command checks the current unit location. If it is not available, an APP ERROR 2 message displays.
If the serial number and location are valid, the command checks the Move To location specified by the moveloc parameter. If the location is invalid or not available, the INVALID MOVELOC message displays.
The command checks the processes specified by procstr. If no location matches are found, the command displays NO LOCS MATCH.
If DEBUG was specified in the command line, the command displays the number of locations using the specified processes.
If the command calculates that the moveqty is reached for the unit, it moves the unit to the Move To location.
Cycle Count (CYCLECOUNT)
Counts the number of times the unit has passed through a specific location. If the qty paramater is met or exceeded then the unit is moved to the location specified by the move2loc parameter.
At a Menu Selection prompt, scan the CYCLECOUNT command line.
Command format:
!!1 1CYCLECOUNT.location.qty.move2loc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
location | The SFDC routing location (ie: HASS, ICT1, etc.). |
qty | The maximum number of time the serial number is allowed to be scanned through the specified location "location" |
move2loc | The SFDC location to move the serial unit to if the count "qty" has been reached |
The command operates using the previously scanned serial number. If the serial number is ambiguous or unavailable, an error displays.
If the serial number is verified, the command checks the parameters. If a parameter is an unacceptable value, the “PARAM ERROR!” message is displayed.. The command then checks the location parameter and the message “LOC NOT FOUND!” is displayed if it fails. The qty parameter is then checked. It must be greater than 0 (zero) or the message "MAXQTY PARAM ERR" is displayed. Lastly, the move2loc parameter is checked and it an error occurs, the message "TO LOC NOT FOUND!" is displayed.
Cycle Count (CYCLECOUNTB)
Counts the number of times the unit has passed through a specific location by totaling the pass, fail and move to activities. A comment is recorded each time the command is run, displaying the current cycle count. When reaches maximum allowed cycles, the unit is moved to the location specified by the move2loc parameter. The maximum is set to 6 cycles, but if the 6th cycle is a fail, then the maximum is extended to 8 cycles. The chklocproc parameter can be a location or a process. If a process, then all locations with that process are considered.
At a Menu Selection prompt, scan the CYCLECOUNTB command line.
Command format:
!!1 1CYCLECOUNTB.chklocproc.move2loc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
chklocproc | The SFDC location or process name to check. |
move2loc | The SFDC location to move the serial unit to if the maximum count quantity has been reached. |
The command operates using the previously scanned serial number. If the serial number is ambiguous or unavailable, an error displays.
If the serial number is verified, the command checks the parameters. If a parameter is an unacceptable value, the “PARAM ERROR!” message is displayed.. The command then checks the location/process name parameter and the message “LOC/PROC NOT FOUND!” is displayed if it fails. Lastly, the move2loc parameter is checked and it an error occurs, the message "TO LOC NOT FOUND!" is displayed.
Attribute Commands
Add Attribute (ATTADD)
Prompts for and attaches the attribute record associated with the active serial number at the data collection point.
At the Serial Number prompt, scan a serial number.
At the Menu Selection prompt, scan the ATTADD command line.
Command format:
!!1ATTADD
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
s_attribute | User response to the attribute prompt. |
The command prompts for attributes as specified at the data collection point. If END is scanned, the command terminates.
When prompted for an attribute and the wrong attribute is scanned (for example: scan color/blue when looking for color/green), the attribute prompt displays again until a correct value is entered. The attribute is checked against a defined input mask. If the scanned attribute does not fit the mask, an attribute definition error displays.
Scanning NEXT skips the displayed attribute and goes to the next one in the table.
Scanning END terminates the command.
When the command reaches the end of the attribute list or no more attributes are needed, the command ends, and the prompt returns to Menu Selection.
Attribute Add by Group (ATTADDGRP)
Prompts for the specified GROUP attributes for the top level serial number as defined in the attribute table for the current location/process name.
At the “Menu Selection?” prompt, scan the ATTADDGRP command and the GROUP name of the attributes. If the GROUP parameter is not included, the error “PARAM ERROR!” is displayed. If a match to the GROUP is not found in the current attribute table, the message, “no attrib needed” is displayed. If the GROUP is matched in the attribute table, only those attributes with the defined group name will be prompted for, regardless of the number of attributes or groups in the attribute table. The command can be called repeatedly, providing different GROUP names to prompt for a set of attributes.
Command format:
!!1ATTADDGRP.GROUP
Parameters | Description |
GROUP | Attribute Group name defined in MDS. Format is GROUP|ATTRIBUTE_NAME. |
Check for Attribute (CHK4ATT)
Determines if any attributes are needed for the unit serial. If so, CHK4ATT runs the ATTADD command.
Command format:
!!1CHK4ATT
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command will check for the serial record and if a problem is found the error “S/N NOT FOUND” is displayed. The location is then checked to determine the line. If a problem is found the error “LOCATION ERROR!” is displayed. Finally, the command checks for setup and if not found will display the error “LINE DATA ERROR!”
Clear Attribute (CLEARATTRIBUTE)
Removes attribute records associated with a serial number. If R parameter, removes all matching list of names. If L parameter, removes all except those matching name list. Attribute name values can include * character for wilcard matching. For example, ATT* refers to all attributes where name value begins with ATT.
Command format:
!!1CLEARATTRIBUTE.[R,L].NAME1.NAME2[...]
!!2CLEARATTRIBUTE.[R,L].NAME1.NAME2[...]
Parameters | Description |
R, L | R=Remove all matching name parameter
L=Remove all except those matching name |
NAME1, NAME2, … | Attribute name value. Can be an exact match, or use the * wildcard character to match multiple attribute names. |
Remove Attribute (ATTREMOVE)
Removes attribute records associated with a serial number. The command operates on one attribute record at a time. Run the command multiple times to remove/replace multiple attributes. This command can be run at either the Serial Number (!!2) or Menu Selection (!!1) prompts.
If at the Serial Number prompt, scan the !!2 version of the ATTREMOVE command line. The command prompts for the Serial Number. When scanned, the command verifies the serial number is available and valid for processing.
If at the Menu Selection prompt, scan the !!1 version of the ATTREMOVE command line. The command validates the serial number currently in the data collector and prompts for the attribute name if not provided as part of the command line.
Command format:
!!1ATTREMOVE.c_remove.a_name
!!2ATTREMOVE.c_remove.a_name
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part number associated with serial number |
lockey | Location where scanned. |
c_remove | If set to 0 or missing from the command line, the command can only be used to remove and replace the attribute. If set to 1, then the operator can choose to remove and replace, or scan RMVATT to remove the attribute without replacing it(not recommended). |
a_name | The attribute name optionally supplied as part of the command line. Can be supplied by the command. |
targetSerialNumber | User response to serial number prompt. |
x1 | Other parameters requested by the program as needed. |
To replace the old attribute value, scan or key in a new attribute value at the attribute prompt. If the new attribute value fits the input mask definition for the attribute, the existing attribute is replaced. If it does not match the mask, an Invalid Attribute message displays.
Scanning NEXT moves to the next attribute associated with the target serial number.
Scanning or keying in RMVATT at the attribute prompt indicates that you would like the attribute to be removed without replacing it. This is only permitted if the c_remove flag is set to 1 in the command line. If it is not, the message Cannot Remove displays.
If the command reaches the end of the attribute table list, a message displays indicating that no more attributes exist.
Scanning END terminates the command.
Verify Attribute (VERATT)
Verifies that the unit has the attributes that are configured for the product.
for example:
!!1veratt.[fail2loc].A101[.ALL]
!!1veratt.[fail2loc].A101.PROC.DATA LOAD
!!1veratt.[fail2loc].A101.LIST.DATE_CODE.HW REV
fail2loc parameter:
if not entered and an attribute is missing, will fail to location as indicated in the route (if any) by passing MOVE$END back to SFDC.
vertype parameter:
ALL (or no vertype param) - validate that the unit has all attributes that are setup for the top level part number.
PROC - validate that the unit has all attributes that are setup for the top level part number and assigned the process name 'DATA LOAD'; only one process can be checked.
LIST - validate that the unit has each of the attribute names that you pass in the parameter list.
NOTE: This procedure may not work accurately if the serial goes through a part change.
Command format:
!!1VERATT(.fail2loc).defcodeparm(.vertype.parameters)
Parameters | Description |
Fail2loc | Location to fail to, if attribute missing, if not entered and an attribute is missing, will fail to location as indicated in the route (if any) by passing MOVE$END back to SFDC |
Defcode | Defect code to log when attribute not found. |
Vertype | ALL (or no vertype param) - validate that the unit has all attributes that are setup for the top level part number.
PROC - validate that the unit has all attributes that are setup for the top level part number and assigned the process name 'DATA LOAD'; only one process can be checked. LIST - validate that the unit has each of the attribute names that you pass in the parameter list.
|
AutoSFDC-Related Commands
Show Data (SHOWDATA)
Displays data for a serial number on data collector LCD. Mandatory parameter dtype contains the type of data to display. !!1SHOWDATA.ALL will display all datatype and associated data. Initial supported data types are: CNTNR,LINE,LOC,LOT,PART,REV,ROUTE,START,STATUS,SHOP,UDEF - The optional 2nd and 3rd parameters allow adjusments to the messages displayed on the data collector.
At the Menu Selection or Serial Number prompt, scan the SHOWDATA command line.
Command format:
!!1SHOWDATA.dtype(.label)(.nomsg)
!!2SHOWDATA.dtype(.label)(.nomsg)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
dtype | Type of data to display, as int or string as below:
1 CNTNR - skid s/n unit is attached to 2 LINE - location.line of serial current location 3 LOC - location.workstation or workstation and line if on different sfdc pc 4 LOT - lot s/n serial is attached to 5 PART - part.part_number 6 REV - serial.revision 7 ROUTE - route.name 8 START - date of first activity record 9 STATUS - serial.unit_status-key 10 SHOP - shop order unit is on 11 UDEF - serial.user_defined 99 ALL |
label | Optional: (NOTE: for DTYPE ALL, LAB is the default, NUM is only other option)
NO - just display data without label. NUM - display Snn: as the label for the data LAB - display the char string as listed here with colon (e.g. CNTNR:) no value - display the char string as listed above, with colon (e.g. PART:) any other value - use as label (e.g. !!1showdata.1.SKID would display SKID: before displaying container number. |
nodatamsg | Optional:
NO - display nothing if the data field is not populated no value - display default message _MISSING if not populated any other value - use as message to display if not populated: (e.g. NODATA) |
Show Part (SHOWPART)
Displays data for a serial number's part on data collector LCD. Mandatory parameter dtype contains the type of data to display. !!1SHOWPART.ALL will display all datatype and associated data. Initial supported data types are: PART,DESC,MODEL,MODDESC,PRODINT,PRODLINE,PRODNUM,PRODOPT,UPC,EAN,GRAPH,LABEL,COUNTRY,QTY,GENPART,FAMILY,WCODE,EXTPART,UNITID,LENGTH,WIDTH,HEIGHT,WEIGHT,VOLUME,SKIDQTY - The optional 2nd and 3rd parameters allow adjusments to the messages displayed on the data collector.
At the Menu Selection or Serial Number prompt, scan the SHOWPART command line.
Command format:
!!1SHOWPART.dtype(.label)(.nomsg)
!!2SHOWPART.dtype(.label)(.nomsg)
Parameters | Description | |||
ser_num | Serial number character string. | |||
prtkey | Part key. | |||
lockey | Location key. | |||
dtype | Type of data to display, as int or string as below:
1 PART - copics part number 2 DESC - part description 3 MODEL - model number 4 MODDESC - model description 5 PRODINT - product internal 6 PRODLINE - product line_id 7 PRODNUM - product number 8 PRODOPT - product option 9 UPC - upc number 10 EAN - ean number 11 GRAPH - graphic 12 LABEL - label data 13 COUNTRY - country 14 QTY - quantity 15 GENPART - generic part 16 FAMILY - family 17 WCODE - warrany code (from a1) 18 EXTPART - extended part number (from a2) 19 UNITID - unit_id (from a6) 20 LENGTH - length 21 WIDTH - width 22 HEIGHT - height 23 WEIGHT - weight (from weight_dec) 24 VOLUME - volume 25 SKIDQTY - skid quantity 99 ALL | |||
label | Optional: (NOTE: for DTYPE ALL, LAB is the default, NUM is only other option)
NO - just display data without label. NUM - display Pnn: as the label for the data LAB - display the char string as listed here with colon (e.g. PART:) no value - display the char string as listed above, with colon (e.g. PART:) any other value - use as label (e.g. !!1showpart.23.LBS: would display LBS: before displaying weight. | |||
nodatamsg | Optional:
NO - display nothing if the data field is not populated no value - display default message _MISSING if not populated any other value - use as message to display if not populated: (e.g. NODATA) Examples: |
!1showpart.graph.no.no - displays graphic field value without label; displays nothing if no data. | !1showpart.model.ORDPART: - displays ORDPART:xxxx if data, displays ORDPART:_MISSING if no data. | !1showpart.2..NODATA - displays MODEL:xxxxx if data, displays MODEL:NODATA if no data. |
---|
Unit Data (UNITDATA)
Builds a string containing unit data with the @ symbol as a field separator. The data is sent to the data collector display to be accessed by Auto SFDC. The exported data format is as follows:
part_number@revision@quantity@workstation
At the Menu Selection prompt, scan the UNITDATA command line.
Command format:
!!1UNITDATA
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command checks to see if the log file status is turned on. Then it checks the input serial number. If not available or invalid, an error message displays and the command returns to Menu Selection.
If the serial number is valid, the command checks the part number. If not available or invalid, an error message displays and the command returns to Menu Selection.
If the part number is valid, the command checks the workstation location. If not available or invalid, an error message displays the command returns to Menu Selection.
If the location is valid, the command builds the data string using the format above and exports the data to the data collector to be processed by Auto SFDC.
Unit Data plus Shop Order (UNITDATA2)
Builds a string containing unit data with the @ symbol as a field separator. The data is sent to the data collector display to be accessed by Auto SFDC. The exported data format is as follows:
part_number@revision@quantity@workstation@shop_order_number
At the Menu Selection prompt, scan the UNITDATA2 command line.
Command format:
!!1UNITDATA2
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Variation of unitdata command that includes shop order number.
Builds a string containing unit data with @ as field separator. The data is sent to the Data Collector display, to be accessed by Auto SFDC.
Unit Data w/Process instead of Workstation (UNITDATA3)
Builds a string containing unit data with the @ symbol as a field separator. The data is sent to the data collector display to be accessed by Auto SFDC. Supports most types of serial build masks in setupdata editor (when unit barcode does not match recorded serial number) The exported data format is as follows:
part_number@revision@quantity@process
At the Menu Selection prompt, scan the UNITDATA3 command line.
Command format:
!!1UNITDATA3
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Variation of unitdata command that builds a string of serial data with @ as field separator. The data is sent to the Data Collector display, to be used to display process instructions. The data format is:
PRODUCT_NUMBER@REVISION@QTY@PROCESS_NAME
Component Commands
Add MAC Address (ADDMACID)
Adds a component(s) to the active serial number with reference designator MACn, where n is the specified quantity that is a parameter of the command. (ie: QTY=3, ref_des = MAC1, MAC2, MAC3). The command prompts the operator for the first MAC address to associate as the component ID for the first reference designator. The command will then increment the first component_id by one using base HEX. Component IDs are associated to the required number of components. The quantity parameter accepts values between 1-30.
The command supports 1 or 2 prefix characters which contain the quantity of MAC addresses to add. If the scanned/entered MAC address is greater than 12 characters (13-14) the first 2 characters are assumed to be a quantity prefix. The last 12 characters are assumed to be the MAC address.
Example:
MAC address label reads 2000080BE10006
The MAC address is assumed to be 00080BE10006 and the first two characters (20) are assumed to be 20 MAC addresses to be added.
At the Menu Selection prompt, scan the ADMACID command line.
Command format:
!!1ADDMACID[.quantity]
Parameters | Description |
quantity | Optional. Assumed to be 1 if not present, or quantity is expected to be scanned/entered as a prefix on the first MAC address. |
Add Sub Component (ADSCMP)
Prompts for and attaches sub component record(s) to status 60 (tracked) attached components associated with the active serial number at the data collection point.
At the Serial Number prompt, scan a top level serial number containing tracked components.
At the Menu Selection prompt, scan the ADSCMP command line.
Command format:
!!1ADSCMP.ref_des1.ref_des2….
Parameters | Description |
ref_des1 | 1st Reference designator. |
ref_des2 | 2nd Reference designator. |
The command will initially display Unit n, where n is the number of the tracked component found attached to the active serial number. The command prompts for the specified reference designator(s). A minimum of one reference designator is required. The command looks for a matching assembly table for the active part number, containing a matching component prompt and reference designator. The location assigned to the assembly table does not matter. If a matching reference designator cannot be found for the specified reference designator, a “BAD REF DESIG!” error is displayed. The command will then exit, returning to the “Menu Selection?” prompt.
The command will prompt for a component_id for each specified reference designator. The entered component_id is checked against the defined input mask. If the scanned component_id does not fit the mask, a “BAD COMP_ID!” error displays.
Scanning MENU or END terminates the command.
When the component_id for each specified reference designator has been enter successfully, the command will loop, displaying the next “Unit n” for the next tracked component found, if there is more than one status 60 component. The command will continue to prompt for component_ids for each specified reference designator until each tracked component has a component_id added for each reference designator. The command ends, an “adscmp COMPLETE!“ message will be displayed, and the prompt returns to Menu Selection. If the command is terminated early, it can be rerun to resume from the same point at which the termination occurred.
Add Sub Component by Unit (ADSMPU)
The "adsmpu" command adds, replaces, or removes subcomponents for batch processing. The command prompts for a unit serial number to process and iterates through the listed reference designators prompting to replace existing components or to add new ones. A new unit serial number is prompted for upon iterating through the list of reference designators for the current unit serial number.
At the Serial Number prompt, scan a top level serial number containing tracked components.
At the Menu Selection prompt, scan the ADSCMP command line.
Command format:
!!1ADSMPU.ref_des1.ref_des2….
Parameters | Description |
ref_des1 | 1st Reference designator. |
ref_des2 | 2nd Reference designator. |
Masks for components must exist as assembly records for which the reference designators and batch serial unit part numbers match and the prompt begins with the reference designator. The unit status of the batch serial unit must be >= 20 or <= 30. The unit status of the serial unit to be modified must be 60. Reserved words are "end", "next", "no", "delete", and "remove". Entering "end" will terminate the command at any point in processing and relinquish control at the "menu select" prompt. Entering "no" or "next" at the "REPLACE" or "COMP VALUE" prompts for component values iterates to the next reference designator to be processed for the unit serial number without performing any processing of the current component. Entering "delete" or "remove" at the "REPLACE" prompt will remove the current component for the unit serial number. Entering "delete" or "remove" at the "COMP VALUE"(no component exists for this reference designator) prompt causes "INVALID COMP ID" to be displayed and repeats the prompt for the component value for the current reference designator. Attempting to remove or replace a subassembly for a component(which would have a tracked status) results in the error "CANNOT REMOVE SUBASSY!"
This command will run as both a !!1 or !!2 commmand. The batch serial unit status is verified when running as a !!2 and the location and line values used are based on the properties of this unit. Reference designators can be listed in a file named as "/u1/mds/logs/$PROJ$.adsmpu.refdes.txt" in comma delimited or line by line formats. The $PROJ$ in the file name is the uppercase value of the project or copics_prefix such as "JDSU".
A sample setup is :
!!1adsmpu.refdes1.refdes2
-or-
!!1adsmpu.COS.ModuleSN
!!2 setup could look like :
!!2adsmpu.COS.ModuleSN
-or-
!!2adsmpu.COS.ModuleSN.ENDOFREFDESTAG.0.UNITSERIALNO2.ModuleSN.COMPVALUE3
(will add or replace component for serial number UNITSERIALNO2 with reference designator ModuleSN with value COMPVALUE3 then proceed to iterate through remaining reference designators in order. The 0 after the ENDOFREFDESTAG tag is an internal count for the component additions.)
Change Tracked Component ID (CHGID60)
Renames the component identifiers of the first level tracked components (status 60) to the component identifiers of its second level child component, containing the reference designator matching the one in the parameter list of the command, for each reference designator/prefix set in the parameter list.
At the Serial Number prompt, scan a top level serial number containing tracked components. At the Menu Selection prompt, scan the CHGID60 command line.
Command format:
!!1CHGID60.ref_des.prefix
Parameters | Description |
Ref_des | Reference designator of the sub component to be used as the new serial number for the 1st level tracked component. |
Prefix1toadd | Optional prefix that can be prepended to the component_id. |
The command checks to make sure that there was not an existing serial with a
"prefix" + "component identifier" serial number at the time the command ran if a component name does not appear to change. This command can be rerun multiple times on the same batch unit if terminated early. Type "END" at any point in the command to terminate the command and go to a Menu Selection prompt. The prefix is optional. If no prefix is included, the command uses only the component identifier.
After successfully performing a serial number change, the command will loop to the next tracked component attached to the active serial number. The command will loop until an error occurs or all the tracked components attached to the active serial number at the data collection point, have had the serial number changed to the component_id of the specified reference designator.
Change Part Number for Batch Units (CHGPNBUNITS)
Must be run for Batch serial (module select 7), that has had a part change. This command changes the part number of all tracked components of the batch serial, the unit serial records and the component that ties it to the batch. It records a comment in the batch serial history, and moves the batch serial to the location passed as parameter (optional).
At the Menu Selection prompt, scan the CHGPNBUNITS command line, specifying a batch serial number that has had a part number change..
Command format:
!!1CHGPNBUNITS.moveloc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
movloc | Optional location to move batch serial number, if passed. |
Check All Components Equal to Reference Designator (P22CMD01)
Compares the Component ID for all non-removed components where the reference designator begins with the specified partial value. If the component IDs are not equal, the command records a defect using the specified defect code.
The command looks for any \b (backslash b) character pairs in the reference designator parameter and replaces each pair with a single space character. NOTE: In SFDC version 3.5 or higher, the \b is not necessary.
At a Menu Selection prompt, scan the P22CMD01 command line, specifying a defect code, and reference designator as needed.
Command format:
!!1P22CMD01.defcode.REF\bDES
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Specified defect code. |
REF\bDES | Partial reference designator. |
The command operates on the previously scanned serial number.
The command looks at the parameters specified on the command line. If the REF\bDES parameter is provided and contains the \b character pair, the command replaces the \b with a space in the reference designator. Other backslash character pairs are left as found.
Next the command looks at the current serial number. It checks the components assigned to see if they have reference designators matching the REF\bDES partial value.
If the components are not equal, the command records the defect specified by the defcode parameter. The command ends.
Check COA Number (CHKCOA)
Checks to see that the current unit has a component with a COA NUMBER reference designator. The component ID is compared to the unit serial number to make sure they do not match. If no COA or a bad COA is found, the command records a W888 defect and fails the unit.
At a Menu Selection prompt, scan the CHKCOA command line.
Command format:
!!1CHKCOA
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command operates on the previously scanned serial number. It checks to see if the unit has a component with a reference designator of COA NUMBER. If yes, it is added to the command component count.
If the command finds no COA Numbers or if the COA numbers are not valid, the command records a W888 defect against the unit and fails the unit.
If no problems are found, the command ends.
Check Component ID (CHKCMPID)
Verifies that there is one active component for the current serial number where the component ID ends with the compid parameter. If an error is found, the command records the specified defect.
At a Menu Selection prompt, scan the CHKCMPID command line, specifying compid and defcode parameters.
Command format:
!!1CHKCMPID.compid.defcode
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
compid | Unique string for the command to count. To represent spaces, use \B. To represent periods, use \P. |
defcode | Defect code to be used if no match is found. |
The command checks the scanned serial number and displays an App Error 1 message if it is invalid or unavailable. Then it checks the defcode parameter to see if the specified defect code is available. If not, an Invalid defcode message displays.
If the serial number and defect code are valid, the command looks for an active component with a component ID matching the compid parameter specified on the command line. If there is not a matching active component for the scanned unit, the command records the specified defect against the unit.
Check for Component Duplicates (DUPCHK)
Verifies there is one component assigned to the serial number with the specified reference designator; then it verifies the component is not duplicated with any other unit. If either check fails, the command records the defect.
At the Menu Selection prompt, scan the DUPCHK command line with the defect code and reference designator parameters set as needed.
Command format:
!!1DUPCHK.defcode.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code to be used if a duplicate is found. |
refdes | Reference designator for the component. |
The command verifies that the serial number for the unit at the data collector is valid. If it is invalid or not available, an error message displays. If valid, the command compares each component reference designator with the reference designator included as a parameter.
If the unit has zero components or multiple components with same specified reference designator, the command records a defect for the unit and passes END to the data collector.
If the command finds that duplicate components are assigned to another serial number, it records a defect for the unit.
Check for Component Duplicates for Ref Designator (DUPCHK2)
(1) Verifies that there is one and only one component assigned to the serial number with a reference designator that begins with the reference designator entered with the command (or is "equal to", if the EQUAL parameter is entered). (2) Also verifies that the component is not also assigned to another unit (or was ever assigned, if the USED parameter is entered), also with a reference designator that begins with (or is equal to) the reference designator entered with the command. (3) If either check fails, it is recorded as a defect. (4) If the END parameter is entered, AUTOEND will be executed, if no defect or other error is recorded.
At the Menu Selection prompt, scan the DUPCHK2 command line with the defect code and reference designator parameters set as needed.
Command format:
!!1DUPCHK2. defcode.refdes[EQUAL][.USED][.END]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code to be used if a duplicate is found. |
refdes | Reference designator for the component. |
The command verifies that the serial number for the unit at the data collector is valid. If it is invalid or not available, an error message displays. If valid, the command compares each component reference designator with the reference designator included as a parameter.
If the unit has zero components or multiple components with same specified reference designator, the command records a defect for the unit and passes END to the data collector.
If the command finds that duplicate components are assigned to another serial number, it records a defect for the unit.
Check for Multiple Component Duplicates (DUPCHK3)
(1) Verifies, for between 1 to 3 reference designators, that there is one and only one component assigned to the unit serial number with that reference designator. (2) Verifies that, for each component, the component is not also assigned to another unit with one of the reference designators. (3) If either check fails, it is recorded as a defect. (4) If the END parameter is entered, AUTOEND will be executed, if no defect or other error is recorded. The code looks for all ref designators beginning with refdes.
At the Menu Selection prompt, scan the DUPCHK3 command line with the defect code, refdes-count, and reference designator parameters set as needed.
Command format:
!!1DUPCHK 3.defcode.refdes-count.refdes1[.refdes2][.refdes3][.END]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code to be used if a duplicate is found. |
refdes-count | The number of reference designators entered. |
Refdes[1,2,3] | Reference designator(s) for the component. |
The command verifies that the serial number for the unit at the data collector is valid. If it is invalid or not available, an error message displays. If valid, the command checks the refdes-count which must be 1, 2 or 3. If not, the error "REFDES COUNT 1-3" is displayed. If valid, the command then checks for the correct number of reference designators. If the number of reference designators does not match the refdes-count, and error message displays. If valid, the command compares each component reference designator with the reference designator included as a parameter.
If the unit has zero components or multiple components with same specified reference designator, the command records a defect for the unit and passes END to the data collector.
If the command finds that duplicate components are assigned to another serial number, it records a defect for the unit.
Check for All Duplicate Components (DUPCKALL)
Finds all components assigned to the serial number with the specified reference designator prefix. Then the command verifies there are no components duplicated with any other component with the specified reference designator prefix. If the check fails, the command records the defect and ends.
At the Menu Selection prompt, scan the DUPCHKALL command line with the defect code and reference designator parameters set as needed.
Command format:
!!1DUPCHKALL.defcode.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code to be used if a duplicate is found. |
refdes | Reference designator for the components. |
The command verifies that the serial number for the unit at the data collector is valid. If it is invalid or not available, an APP ERROR 1 message displays. If valid, the command compares ALL component reference designators with the reference designator prefix included as a parameter.
If the command finds that any components IDs are assigned to any other component with the specified reference designator prefix, it records the defect specified by the defcode parameter and passes END to the data collector.
Check for Component Duplicates (DUPCHKE)
Verifies there is one component assigned to the serial number with the specified reference designator; then it verifies the component is not duplicated with any other unit. If either check fails, the command records the defect.
At the Menu Selection prompt, scan the DUPCHKE command line with the defect code and reference designator parameters set as needed.
Command format:
!!1DUPCHKE.defcode.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code to be used if a duplicate is found. |
refdes | Reference designator for the component. |
The command verifies that the serial number for the unit at the data collector is valid. If it is invalid or not available, an error message displays. If valid, the command compares each component reference designator with the reference designator included as a parameter.
If the unit has zero components or multiple components with the same specified reference designator, the command records a defect for the unit and passes END to the data collector.
If the command finds that duplicate components are assigned to another serial number, records a defect for the unit and passes END to the data collector.
Component Tree Reference Designator (COMPTREEREF)
Finds all active components of the unit serial, where the component reference designator (at any level) equals the reference designator entered with the command (or where the reference designator begins with that entered with the command, if the command reference designator is prefixed by "BEGINS="). If the optional single character delimiter is not entered, the default delimiter is a comma. The output to the LCD is the reference designator / component ID tree separated by the delimiter.
At the Menu Selection prompt, scan the COMPTREEREF command line, specifying the reference designator and optional delimiter.
Command format:
!!1COMPTREEREF.refdes(.delim)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Reference designator for the component. |
delim | Single character delimiter to separate components on output. Default is comma. |
The command first checks for a reference designator. If the refdes parameter is not found the error "REFDES REQUIRED" is displayed.
Output for component of top-level with default comma as delimiter - refdes,compid Output for component of top-level with @ as delimiter - refdes@compid Output for component at one level below top-level - refdes1,compid1,refdes,compid Output for 2 components at one level below top-level -
refdes1,compid1,refdes,compid
refdes1,compid1,refdes,compid-a
Output if no active component found for refdes - NOCOMPONENT Output if delimiter found within refdes or compid - BADDELIMITER
Create Component ID (CRE8COMP)
Calls algorithm to generate the next value, then adds it as a component to the serial via ADCMP2, using ref_designator passed as parameter. If any issues with algorithm, it will send RLSE back to SFDC.
At the Menu Selection prompt, scan the CRE8COMP command line, specifying the algorithm-number and reference designator.
Command format:
!!1CRE8COMP.algorithm-number.reference-designator
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
algorithm-number | The algorithm number to be used to generate the next serial number. |
reference-designtor | The reference designator to be assigned to the new component. |
The command first checks the active serial number. If an error occurs the error "ERR:NO UNIT S/N" is displayed. The following errors can be displayed depending upon the issue found when checking the algorithm parameter:
- "ERR:ALG NOT NUM"
- "INVALID ALG NUM"
- "ALG NOT DEPLOYED"
- "ERR RUNNING ALG"
- "ERR:NO COMP ID"
The reference designator is checked and the following errors can be displayed:
- "ERR:NO REF DES"
- "COMPNT CONFLICT!"
- "ERR:DUP COMP ID"
Create MAC Address (CRE8MAC)
Creates a specified number of MAC ID serial numbers and adds them to the top level serial as non-tracked components. The number of MAC IDs is determined by serial-count. The prefix for the MAC ID reference designators is entered by the user in the Serial Number Generator for the serial number algorithm, represented by algorithm-number (the algorithm type must be "cre8mac"; if this algorithm type is not available in the Serial Number Generator, contact IT). The reference designator prefix for each MAC ID will be appended by a number, beginning with 1 and continuing up to serial-count.
At the Menu Selection prompt, scan the CRE8COMP command line, specifying the algorithm-number and reference designator.
Command format:
!!1CRE8MAC.algorithm-number.serial-count
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
algorithm-number | The algorithm number to be used to generate the next serial number. |
serial-count | The number of MAC IDs to generate. |
The command first checks the active serial number. If an error occurs the error "ERR:NO UNIT S/N" is displayed. The algorithm number is then checked to insure it is an integer value. If not, the error "ERR:ALG NOT NUM" is displayed. The serial count parameter is then checked to insure it is an integer value. If not, the error "ERR:CNT NOT NUM" is displayed. The following errors can be displayed, depending upon the situation that occurs when attempting to generate the MAC ID numbers or associate them to the top level serial number.
- "ERR:NO REF DES"
- "ERR RUNNING ALG"
- "ERR:NO MAC ID"
- "COMPNT CONFLICT!"
- "ERR:DUP MAC ID"
Find Components (CMPIDREF)
Searches the scanned unit history for active components with the specified reference designator. A list of components is sent to the data collector display, separated by the @ character. The list is limited to 120 characters.
At the Menu Selection prompt, scan the CMPIDREF command line, specifying the reference designator.
Command format:
!!1CMPIDREF.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Specified reference designator. |
The command uses the current serial number. If the serial number is in valid or not available, an APP ERROR 1 message displays and the command terminates.
If the serial number is valid, the command looks for active components assigned to the serial number and creates an @-character separated list that displays on the data collector.
If no components exist for the serial number, the #NO COMP FOUND message displays.
If a component ID is longer than 120 characters, the #COMP TOO LONG message displays.
Generate Component Serial Number (GENCOMP2)
Generates a serial number for a component ID, which is created for the unit serial by calling ADCMP2. The format of the serial number (component ID) is determined by the format of the serial number algorithm, represented by the algorithm number and as defined in the serial number program or in the Serial Number Generator. Note that, in the Serial Number Generator, the algorithm type must be "gencomp2"; if this algorithm type is not available in the Serial Number Generator, contact IT..
At a Serial Number prompt, scan the GENCOMP2 command line, specifying the algonum, refdes, and the optional compPartnum parameters.
Command format:
!! 1GENCOMP2.algonum.refdes.compPartnum
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
algonum | Algorithm number to call for component_id data. |
refdes | Reference designator of component to create |
compPartnum | Optional param, p/n of component. |
The command checks first to see if it is run as a !!1 command. If not, the message "MUST RUN AS !!1" is displayed. The command then checks for a refdes parameter. If not provided, the message "NO REFDES PARAM" is displayed. The command checks the current serial number. If in issues exist then "AMBIGUOUS S/N!" or "S/N NOT FOUND!" message displays. The command then checks to see if the optional compPartnum parameter was provided. If provided, the part number is checked and the message "P/N:" + compPartnum + " NOT FOUND" will display if the partnumber cannot be found. Lastly, the algonum parameter is checked. The following messages could be displayed depending upon the error.
"BAD ALGONUM:" + algonum
"AMBIGUOUS ALGO:" + algonum
"MISSING ALGO:" + algonum
"ALGO " + algonum + " NO SCRIPT"
If valid, the command calls the serial number generator to create a serial number. If unsuccessful, one of the following messages will display.
"Code Error:" + STRING(ERROR-STATUS:GET-NUMBER(1))
"BAD DATA FROM ALGO"
Print Component List (COMPLST)
Prints a report showing the components attached to a serial number.
At a Menu Selection prompt, scan the COMPLST command line, specifying the print queue destination for the output.
Command format:
!!1COMPLST.prtque
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
prtque | Print queue destination for output. |
The command uses the current serial number for processing. It first checks to see if the print queue specified in the command line is valid. If the destination is not valid, the command terminates.
If the print destination is valid, the command checks to make sure the serial number is available. If it is not available, an error displays and the command terminates.
If both the print destination and serial number are valid, the command processes the print request as specified. The output will be a report showing component IDs and reference designators assigned to the serial number.
Count Components Against Mod10 (MOD10CHK)
Uses a reference designator to count components assigned to a serial number. If only one component matches the reference designator, it is checked against the Mod10 calculation. If it fails, the command records a specified defect against the unit. If the component count is zero or greater than one, a specified defect is recorded against the unit.
Command format:
!!1MOD10CHK.defcode.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code recorded if the unit fails. |
refdes | Reference designator. |
The command uses the previously scanned serial number. If the serial number is ambiguous or unavailable, the command issues an error.
If the serial number is valid, the command checks the assigned components against the reference designator specified by the refdes parameter in the command line.
If only one component matches the reference designator, the command runs the Mod10 calculation against the component. If the component fails, the command records the defect code specified by defcode against the component.
If the number of component with the specified reference designator is zero or more than one, the command records the defect code specified by defcode against the component.
Reload FIO List from Configuration (RELOADCFG)
Reloads the FIO list from e-trav SDR records or traveler configuration. Useful with COPS to reload if there are changes or if network problems prevent the FIO list from loading on initial scan. This command issues a REFRESHCFG$serial through SFDC commands, which causes SFDC to run getcfg.r on the server within 60 seconds.
At a Menu Selection prompt, scan the RELOADCFG command line.
Command format:
!!1RELOADCFG
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command uses the existing serial number. If no serial number was provided, the NO SN provided message displays. If the serial number is ambiguous, the AMBIGUOUS SN message displays. If the serial number is not available, the SN not found message displays.
Once the serial number is verified, the location must be verified. If the location is not available, the LOCATION ERROR message displays.
When the location is verified, the command checks the setup table. If it is not available, the SETUP TBL ERROR message displays.
If all command input is verified, the command runs the SFDC REFRESHCFG command against the serial number, recording all activity in the unit history. If any errors occur during processing, the CANT UPDATE message displays and the command ends. If no errors occur and REFRESHCFG SENT message displays and the command finishes in 60 seconds.
Remove Component By ID (RMCMPRD)
Finds the first component with the specified reference designator not removed from the serial number. The command issues a RMCMP2 (Remove Component 2) command to remove the component by the component ID.
This command finds any \b (backslash-b) character pairs in the reference designator parameter and replaces each pair with a single space. NOTE: With SFDC version 3.4 or higher, spaces can be used.
At the Menu Selection prompt, scan the RMCMPRD command line with the reference designator parameter specified.
Command format:
!!1RMCMPRD.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Reference designator. Must be exact. |
The command checks the current serial number and finds the first not-removed component that matches the specified reference designator.
The command issues the RMCMP2 command which prompts for a component ID to be removed. SFDC records the removal, updates the unit history, and returns to Menu Selection.
Remove Components from Status 60 Parent (RMFROM60)
Removes a component from a parent unit, which must itself be a component. The removed component is tracked or not tracked and optionally can be replaced. The parent must be status 60.
NOTE: This command replaces the original FRANK60 command. It is designed to simplify the remove/replace process for multi-level component structures out of Work In Process.
At a Menu Selection prompt, scan the RMFROM60 command line.
Command format:
!!1RMFROM60
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
oldcompid | Old component ID scanned at prompt. |
newcompid | New component ID scanned at prompt. If REMOVEONLY or REMOVE ONLY is scanned at the new component ID prompt, the command performs a remove without replacing the component. |
The command prompts for S/N TO REMOVE. Scan the old component serial number. The command verifies the old component. If the component ID has a length of 0, an OLD SN BAD message displays. The command also verifies that that the serial number has only one component with this component ID. If more than one component is found, OLD SN FOUND 2 displays. If the command cannot find the component ID, OLD SN NOT FOUND displays.
Once the old component is validated, the command checks the status of the parent serial number. If the parent is not at status 60, the command displays NXT SN NOT COMP.
If the parent status is 60, the command prompts NEW COMP SN. Scan the new component serial number. The command verifies the new component. If the new component ID matches the old component ID, the command displays NEW SN = OLD SN.
If a Tracked component is being replaced, the command verifies that the new Tracked component status is 28 or 30. If not a status 28 or 30, NEW SN STAT ERR displays.
The command then checks to see if a new component ID already exists for this unit. If a component with this ID already exists, the NEW SN IN UNIT message displays.
Next the command checks the assembly table for the part and reference designator matching the old component to assign the correct mask for the component. If the mask cannot be assigned or is unavailable, a NO ASSMBLY MASK message displays.
The command checks the new component against the assigned assembly mask. If the mask does not match, the command displays NEW SN MASK ERR.
If the component is tracked and a component location is specified, the command checks to see if the new component is at the correct location. If the location is invalid, the command displays NEW SN LOC ERR.
If the command is able to validate both component IDs completely, it collects the scan location and date/time values to use in recording the serial number activities. The old component ID is marked as removed. If it will be replaced with a new component, the new component record is created and updated with old component information. If the old component is tracked, the old serial number record is updated with correct removed from and move to information.
Replace Component By ID (RPCMPRD)
Finds the first component with the specified reference designator not removed from the serial number. The command issues a RPCMP2 (Replace Component 2) command to replace the component by the component ID.
This command finds any \b (backslash-b) character pairs in the reference designator parameter and replaces each pair with a single space. NOTE: With SFDC version 3.4 or higher, spaces can be used.
At the Menu Selection prompt, scan the RPCMPRD command line with the reference designator parameter specified.
Command format:
!!1RPCMPRD.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Reference designator. Must be exact. |
The command checks the current serial number and finds the first not-removed component that matches the specified reference designator.
The command issues the RPCMP2 command which prompts for a component ID to be replaced. SFDC records the removal and prompts for the replacement component ID. When the replacement component is scanned, the command updates the unit history and ends.
Repopulate Components of Sub to Top Level SN (REPOP)
This command removes all the components of a tracked serial, except for those passed as parameters, and adds them to the top level serial in MDS. This essentially allows them to build the unit as a serial number loaded with components to be used in test, add that tested serial to the final serial, then transfer the components that will be shipped to the top level serial. Note: Top Level Serial Number must be at Status 28.
At the Serial Number prompt, scan the REPOP command line.
Command format:
!! 2REPOP.first_level_refdes.leave_refdes1.leave_refdes2.
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
First_level_refdes | Tracked component to find with refdes matching the parameter first_level_refdes |
leave_refdes1.leave_refdes2, … | Reference designators of component data to NOT move up to the top level component |
Basically operation of this command:
- This command will be run as a !!2 command, prompting for the first level serial (using the prompt parameter)
- The first level component, as defined by the input parameter ‘first_level_refdes’, must already be a component of the top level serial at the time this command is run.
- It finds the parent of that serial (the top level), and validates that it is at a status 28 location and has no other components.
- It moves active components of the first level up to the top level, creating appropriate history records. It will not move any components with ref_designators matching the optional ;leave_refdes’ input parameters, supporting wild cards.
- It creates a comment for the top level serial history to indicate that the repop command has been run.
Example:
BEFORE DEPOP:
top level (chocolate): SERIALNUM1 at status 28.
top level components: refdes: vanilla
2nd level (vanilla) : SERIALNUM2
2nd level components: refdes: PWR_SUPPLY
refdes: PWR_SUPPLY2
refdes: line card1 (tracked)
refdes: line card2 (tracked)
refdes: line card3 (tracked)
refdes: line card4 (tracked)
refdes: BackPlane
refdes: fan1
refdes: fan2
command format: !!2repop.prompt.leave_refdes1.leave_refdes2...
command example: !!2REPOP.VANILLA.BACKPLANE.FAN*
prompt: 1ST LVL REF DES? (VANILLA)
operator scans: SERIALNUM2
AFTER REPOP COMMAND:
top level serial: SERIALNUM1 (still at status 28)
top level components: refdes: vanilla
refdes: PWR_SUPPLY
refdes: PWR_SUPPLY2
refdes: line card1 (tracked)
refdes: line card2 (tracked)
refdes: line card3 (tracked)
refdes: line card4 (tracked)
2nd level (vanilla) : SERIALNUM2
2nd level components: refdes: BackPlane
refdes: fan1
refdes: fan2
Verify Component (VERCMPA)
Prompts operator to enter component id of unit serial. This component id must match the component selected with the reference designator (entered with the command). If the component id does not match, the operator may enter additional component ids, for a total number equal to retries. If the matching component id is not entered, a defect is recorded. Note that the reference designator value may contain one comma.
At the Menu Selection prompt, enter the VERCMPA command line.
Command Format:
!!1VERCMPA.defcode.retries.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
retries | Number of attempts to allow before failing |
refdes | Reference designator. |
Verify Component (VERCMPB)
Same as VERCMPA command, except that stays at Menu Selection? prompt if component is validated.
At the Menu Selection prompt, enter the VERCMPB command line.
Command Format:
!!1VERCMPB.defcode.retries.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
retries | Number of attempts to allow before failing |
refdes | Reference designator. |
Verify Component (VERCMPC)
Same as VERCMPB command, except that if top level serial does not have component with ref_des, will check all tracked components for matching red_des value.
At the Menu Selection prompt, enter the VERCMPC command line.
Command Format:
!!1VERCMPC.defcode.retries.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
retries | Number of attempts to allow before failing |
refdes | Reference designator. |
Verify Component Not in List (VERCMPNO)
Verifies that unit has all components contained in assembly table for unit partnumber. Does not check for those with ref_designators passed in parameter list. If no errors, unit is left at Menu Selection? Prompt.
At the Menu Selection prompt, enter the VERCMPNO command line.
Command Format:
!!1VERCMPNO.defcode.refdes1[.refdes2] (etc)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
refdes1, refdes2, ... | Reference designator. |
Verify Component String (VERCMPSTR)
Prompts operator to scan component, and verifies scanned value against component string for a specific ref_designator, at any level in component tree.
Examples:
!!1VERCMPSTR.X100.CAID.3.5.0..END
- 3 tries to match against CAID component string from position 5
to last character. Use default prompt and auto end if matches.
Default prompt for these parameters is SCAN STR 5...
!!1VERCMPSTR.X100.CAID.2.3.6.SCAN CAID
- 2 tries to match against MAIN BOARD component string for 6 chars
beginning with postion 3. Prompt is SCAN CAID. Does not send END.
!!1VERCMPSTR.X100.MAIN BOARD.2.3.6
- 2 tries to match against MAIN BOARD component string for 6 chars
beginning with postion 3. Use default prompt. Does not send END.
Default prompt for these parameters is SCAN STR 3...8
At a Menu Selection prompt, scan the VERCMPSTR command line, providing the required parameters.
Command format:
!! 1VERCMPSTR.defcode.refdes.tries.startpos.strlen.(prompt).(END)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
refdes | Reference designator. |
tries | Number of attempts to allow before failing |
startpos | Start position in component data field to use for comparison, where 1 is first position. |
strlen | Number of chars in component data to use for for comparision. If 0, then match to end. |
prompt | Optional parameter for custom prompt to operator. Default prompt is "ENTER STR x - y", built from startpos and strlen. |
END | Optional parameter to designate the SFDC should automatically send end after this command. You should use this rather than Auto END in Macro. NOTE: if using END parameter, must either use prompt parameter or include period (.) as placeholder for prompt parameter. |
Verify Component (VERIFCMP)
The command accepts a defect code and a reference designator as parameters. It prompts for the operator to enter the component. If the unit does not have a matching component with that ref_designator, the command records the specified defect.
At a Menu Selection prompt, scan the VERIFCMP command line, providing defect code and reference designator parameters.
Command format:
!!1VERIFCMP.defcode.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
refdes | Reference designator. |
The command prompts for a component, giving the prompt “Scan refdes:” (substituting the parameter value)
After the operator enters a value, the command compares the recorded component for that ref_designator against the scanned value. If the components do not match, the command records the defect code specified in the command line against the component.
Verify No Component (VERIFNOCMP)
Verifies that unit does not have component with ref_designator(s) passed as parameter. If it does, a defect is recorded. If not found, then unit is left at MENU SELECTION? Prompt.
At the Menu Selection prompt, enter the VERIFNOCMP command line.
Command Format:
!!1VERIFNOCMP.defcode.refdes1[.refdes2] (etc)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
refdes1, refdes2, ... | Reference designator. |
Verify Component/Three Attempts Allowed (VERIFOCMPE)
The command accepts a defect code and a reference designator as parameters. It prompts for the operator to enter the component, allowing three tries. If the unit does not have a matching component with that ref_designator, the command records the specified defect.
Unlike the VERIFCMP custom command, this command behaves as follows:
- Does not fail instantly if no match is found and gives the operator three tries to scan the correct component before failing.
- Sends END to pass the unit to the next station if the verify is successful.
At a Menu Selection prompt, scan the VERIFOCMPE command line, providing defect code and reference designator parameters.
Command format:
!!1VERIFOCMPE.defcode.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code assigned if components do not match. |
refdes | Reference designator. |
The command operates on the previously scanned serial number. If the serial number is not available for processing, the command displays APP ERROR 1.
Next, the command verifies the parameters passed on the command line. The following errors may occur. Note the description and error handling for each.
Error Message | Description |
MISS DEF CODE | The defcode parameter was not supplied on the command line. The command displays the message and releases the unit, leaving the unit at its current location and returning the data collector to the serial number prompt. |
MISS REF DESIGNA | The refdes parameter was not supplied on the command line. The command displays the message and releases the unit, leaving the unit at its current location and returning the data collector to the serial number prompt. |
AMBIGUOUS DEFCODE | The defcode parameter could not be resolved or is invalid. The command displays the message and releases the unit normally. |
<defcode> NOT FOUND | The defcode parameter passed could not be found or is not available for processing. The command displays the message and releases the unit normally. |
If the serial number and the parameters are valid, the command checks to see if the component required is available for processing. If it is not available, the command displays COMP NOT FOUND and ENDs the transaction.
If the component is available, the command compares the component reference designator with the parameter provided in the command line. If the component IDs match, the command prompts Scan <refdes>, allowing three attempts to scan the correct component value. If no match is found by the third scan, the command records the defect code specified in the command line against the component.
If the verification is successful, the command ENDs, sending the unit to the next station.
Container Commands
Check Container for Shop Order (CHK4CNTSHOP)
Checks to see if there is a container open at the scanning station, and that the unit has a shop order, and the SO matches all other units in the open container (or the container is currently empty). If not, a RLSE is sent to SFDC. Do not use an AUTOEND with this command, as it will cause the RLSE to fail. Instead, use the END parameter. Also checks that (1) the scanned serial number has a shop order number; and (2) the open container does not contain a serial with a different shop order number.
At a Menu Selection prompt, scan the CHK4CNTSHOP command line.
Command format:
!!1CHK4CNTSHOP(.end)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
.end | option .end to autoend. |
The command uses the existing serial number. The command first checks to insure the command is being run as a !!1 command. If not, the error "MUST RUN AS !!1" is displayed. Next, the .end parameter is checked. If the parameter is included, but incorrect, the error "Invalid END Prm!" is displayed. The serial number is then checked to insure it can be added to the container. The error "Invalid S/N!" is displayed if not. The command then checks for more than one open container. If found, then the error "2 Cntnrs Open!" is displayed. The current location is checked for an open container. If there is a location issue, the error "Location Error!" is displayed. The command checks for an open container. If no container is found, the error "No Cntnr Open!" is displayed. The serial number is then checked to see if it belongs to a shop order. If not, the error "No Shop Order!" is displayed. Lastly, the shop order the serial number belongs to is checked against units in the container to insure they are all the same shop order. If the shop order does not match the shop order of units in the container, the error "Wrong Shop Ordr!" is displayed.
Check for Lot/Container (CHK4LOTCNT)
Checks to see if a lot and/or a container is open at the scanning location. If not, a RLSE is sent back to SFDC. Developed to insure that units are not passed to complete without scanning into the lot or container. Do not use an AUTOEND with this command, as it will cause the RLSE to fail. Instead, use the END parameter.
At a Menu Selection prompt, scan the CHK4CNTSHOP command line.
Command format:
!!1CHK4LOTCNT.param1(.end)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
param1:
|
Mandatory command parameter. Specifies whether to check for container only, lot only , lot or container, or lot and container. |
.end | option .end to autoend. |
Any of the above command formats may be followed by .END, which will cause the command to release the unit (but only if the lot and/or container is open, as required by the command format). For example, !!1CHK4LOTCNT.LOT.END. The command initially checks for the mandatory param1 value. If missing or incorrect, the error "Invalid Param1" is displayed. The .end parameter is then checked and if incorrect, the error "Invalid END" is displayed. The .end parameter is optional. The following errors are displayed, depending upon the param1 value and the conditions found.
- "2 Lots Open"
- "2 Cntnrs Open"
- "No Lot Open"
- "Cntnr Open"
- "Lot & Contr Open"
- "No Lot/Cntr Open"
- "No Contnr Open"
- "Lot Open"
Container Quantity (CNTQTY)
Checks to see if container is open at the scanning station. If not, RLSE is send back to SFDC so that units not passed to COMP station without scanning into the container. Looks up capacity of container using same method as SFDC. Displays "Cnt: cntnrnumber" on first line of LCD, and "xx of yy" on second line of LCD (max of 999).
Command format:
!!1CNTQTY(.end)(.nocnt)
!!1cntqty
- will display container number, current quanity and capacity of container open at this location on LCD, and return to MENU ITEM prompt.
!!1cntqty.END
- will display container number, current quanity and capacity of container open at this location on LCD, and send auto END to data collector (only if container is open)
!!1cntqty..NOCNT
- will display current quanity and capacity of container open at this location on LCD, and return to MENU ITEM prompt. (Does not display Container Number)
!!1cntqty.END.NOCNT
- will display current quanity and capacity of container open at this location on LCD, and send auto END to data collector (only if container is open) Does not display Container Number.
Fix Container Status (FIXCNTST)
Closes any open container at a scanning location, especially for situations where the container is open in the database, but SFDC sees it as closed.
At the Serial Number prompt, scan the FIXCNTST command line.
Command format:
!!2FIXCNTST
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command checks the container status for each serial number. If the container status is open and should be closed, the status is changed.
Fix Lot Status (FIXLOTST)
Closes any open lot at the scanning location, especially for situations where the lot is open in the database, but SFDC sees it as closed. CLOSES LEVEL 99 LOTS. DOES NOT CONTAINERS.
At the Serial Number prompt, scan the FIXLOTST command line.
Command format:
!!2FIXLOTST
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command checks the lot status for each serial number. If the lot status is open and should be closed, the status is changed.
Move Units to Container/Print Container Packlist (P13CMD1)
Moves units to a container and prints a container packing list. The command looks for three values at the Serial Number prompt: CLOSE to close the container and print the packing lists, ABORT to abort the command, or the next serial number to process.
At a Serial Number prompt, scan the P13CMD1 command line, specifying the Move To and From locations, the print queues to use, and the unit skid ID.
Command format:
!!2P13CMD1.MoveTo.From.que1.que2.skid
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
MoveTo | The first 4 characters of the location where the unit will be moved. |
From | The first 4 characters of the location from which the unit comes. |
que1 | First queue specified for output. |
que2 | Second queue specified for output. |
skid | The skid ID for the unit. |
The command validates the command line parameters. The following messages may display:
Error Message | Description |
SEND LOCATION not found | The specified Move To location is not available for processing. |
SETUP TBL ERROR | The location setup table is not available for processing. This can occur on either the Move To or the From location. |
Take LOCATION not found | The specified From location is not available for processing. |
Container already open | The command checked the specified skid ID and the container is already open. If the container were not open, the command would attempt to open the container. |
CANT LOCK CONTAINER | The command is unable to lock the container record for processing. |
AMBIGUOUS CONTAINER | More than one container matching the serial number was found. |
CONTAINER NOT FOUND | The container is not available for processing. |
If no errors occurred during initial command processing, the command prompts Scan SN. The following three values are allowed for this prompt:
- CLOSE - If the command receives CLOSE at the Scan SN prompt, the command verifies that the unit skid ID matches the container serial number. If it matches the command attempts to move the unit. The command updates the serial record and moves the unit to the Move To location. If the Move is successful, the command prints a packing list label for the container to the queues specified on the command line. The command displays CLOSED when processing is complete and successful. The following errors may occur during processing of the Move activity, causing the command to abort:
Error Message | Description |
CANT LOCK SN | The command is unable to lock the serial number to process the Move request. |
SN NOT FOUND | The serial number is not available for processing. |
CANT UPDATE | A problem occurred while recording the Move activity. |
ERROR ON QUEUE: <que1>, CLOSED | The command is unable to output the label to the specified queue (que1). The container is still closed. |
ERROR ON QUEUE: <que2>, CLOSED | The command is unable to output the labele to the specified queue (que2). The container is still closed. |
- ABORT - If the command receives ABORT at the Scan SN prompt, the command displays ABORT and terminates.
- Serial Number - If the command receives a scanned serial number at the Scan SN prompt, the command validates the serial number. The following errors and prompts may displays during validation:
Error Message/Prompt | Description |
ERROR ambiguous, ReScan SN | The scanned serial number has duplicates and cannot be used. Scan another serial number. |
ERROR no found, ReScan SN | The scanned serial number is not available for processing. Scan another serial number. |
ERROR on skid, ReScan SN | The scanned serial number is already in a container. Scan another serial number. |
ERROR not at <From>, ReScan SN | The scanned serial number is not at the specified From location. Scan another serial number. |
If the command received a valid serial number at the prompt and was able to store the serial record, the command prompts Scan SN to get the next serial number to put in the container. The command looks for CLOSE or ABORT to be scanned or processes the next scanned serial number as requested.
Remove Units from Container/Move to Location (DUMPCNTNR)
Removes all units from a scanned container and moves them to the scan location. If a defect code is included as a parameter, the defect is recorded for all units removed from the container. This command is for SFDC containers only. If a container that is part of a COPS customer order is scanned or entered, an Invalid Cntnr # message displays.
NOTE: This is the command that replaces the original P36OBA1 command created for Plant 36.
At a Serial Number prompt, scan the DUMPCNTNR command line, specifying the Move To location and a defect code.
Command format:
!!2DUMPCNTNR.MoveTo.defcode
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
MoveTo | The location to move pass or fail units. |
defcode | The defect code to record when the units are removed. |
If the command is run at a Menu Selection prompt, the command displays Can’t run as !!1.
The command checks the parameters provided on the command line. If the MoveTo location is not available or ambiguous, the command displays Invalid location. If the defect code is not available, the command displays Invalid defcode.
If no errors occur during initial processing, the command prompts for Cntnr number. The command validates the serial number and container status to make sure it can proceed. The following errors may occur, causing the command to stop:
Error Messages | Description |
Invalid Cont # | The container serial number is not available for processing. This is also the error displayed if the container is part of a COPS customer order. |
Not a Cntnr | The container module_select value is not equal to 100. |
Cont in use | The container status value is not equal to 35. |
Cont on skid | The container skid ID is not equal to 0, and the container is on a skid. |
For each unit serial number where the serial skid ID is the same as the container serial key, if the serial lot serial key does not equal 0, the command displays ERR: UNIT IN LOT.
If no errors occur, the command removes the units from the container and moves them to the Move To location and records the specified defect code against them. The command displays DUMPCNTNR: OK.
All command activities are recorded in the unit history.
next scanned serial number as requested.
Remove Units from Container/Move to Location (DUMPCNTNR3)
DUMPCNTNR3 is functionality identical to DUMPCNTNR, with this exception: DUMPCNTNR3 will not return an error if any serial within the container is also in a lot (DUMPCNTNR will return an error).
At a Serial Number prompt, scan the DUMPCNTNR3 command line, specifying the Move To location and a defect code.
Command format:
!!2DUMPCNTNR3.MoveTo.defcode
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
MoveTo | The location to move pass or fail units. |
defcode | The defect code to record when the units are removed. |
If the command is run at a Menu Selection prompt, the command displays Can’t run as !!1.
The command checks the parameters provided on the command line. If the MoveTo location is not available or ambiguous, the command displays Invalid location. If the defect code is not available, the command displays Invalid defcode.
If no errors occur during initial processing, the command prompts for Cntnr number. The command validates the serial number and container status to make sure it can proceed. The following errors may occur, causing the command to stop:
Error Messages | Description |
Invalid Cont # | The container serial number is not available for processing. This is also the error displayed if the container is part of a COPS customer order. |
Not a Cntnr | The container module_select value is not equal to 100. |
Cont in use | The container status value is not equal to 35. |
Cont on skid | The container skid ID is not equal to 0, and the container is on a skid. |
If no errors occur, the command removes the units from the container and moves them to the Move To location and records the specified defect code against them. The command displays DUMPCNTNR: OK.
All command activities are recorded in the unit history.
Remove Unit from Lot (REMOVEFROMLOT)
If unit is tied to a lot, sends OPENLOT$lotnumber+$RMVFRMLOT$serial.serial_number + $CLOSELOT to have SFDC remove it. Will fail if another lot already open at this data collector, or this lot is open at another data collector.
At the Menu Selection prompt, scan the REMOVEFROMLOT command line.
Command format:
!!1REMOVEFROMLOT
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Employee-Related Miscellaneous Commands
Create Web Context Badge Record Label (TECHLABL)
Creates a web context record to store the employee badge number. The command then prints a label using the employee number.
Command format:
!!2TECHLABL
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command prompts S/N for print. If the serial number is not available for processing, the command displays S/N NOT FOUND and releases the unit serial number.
Next the command prompts Badge Number.
The command uses the badge number as the employee number to use in generating labels for the scanned serial number.
Record Time In/Time Out (TIMEIN and TIMEOUT)
Prompts for order number and employee number. Records a TIMEIN or TIMEOUT comment against the order serial number. The comments activity records can be used to generate a time-worked report.
At a Serial Number prompt, scan the TIMEIN or TIMEOUT command line as needed.
Command format:
!!2TIMEIN
!!2TIMEOUT
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command prompts Enter Order # then Employee #. If an invalid serial number or employee number is scanned at the prompts, the command cancels the command, displaying TIMEIN cancelled or TIMEOUT cancelled.
If the scanned order number cannot be found by the command, it displays Order not found.
For the TIMEIN command:
The command looks for a comment already recorded against the serial record. If found and the comment text is TIMEIN, the command displays Alrdy logged in and the command terminates. If the comment text is TIMEOUT, the command terminates. If the command does not find an error, the TIMEIN comment is recorded in the serial record.
For the TIMEOUT command:
The command looks for a comment already recorded against the serial record. If found and the comment text is TIMEIN, the command changes the comment text to TIMEOUT and terminates. If the comment text is already TIMEOUT , the command terminates, displaying Not logged in.
Move Commands
Move by Defect (MOVEBYDEFECT)
Move the scan unit to the repair location (moveloc) associated with the most recent defect code (defcode) entered. If there is no recent defect code or if the most recent defect code is not among the command parameter list, fail to the location defined in the route.
At a Serial Number prompt, scan the MOVEBYDEFECT command line, including at least one defcode and moveloc parameter set.
Command format:
!!1 MOVEBYDEFECT.defcode1.moveloc1[[.defcode2.moveloc2]...]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
defcode[1, 2, …] | Defect code logged against unit to check for. |
moveloc[1, 2, …] | Location to move failed unit to. |
Move the unit to a designated repair location based on the most recent defect code entered. If the defect code is not the one listed as a parameter, it follows the normal "Fail To" processing. Example: BGA Failure would move to BGA repair. Any other failure would fail to the location defined in the route.
The command first checks the number of parameters. Parameters are provided in sets. If number of parameters in incorrect, the error "PARAM CNT ERR " + STRING(numparams, "99") is displayed. The command operates on the current scanned serial number. If the serial number is not available for processing, the command displays “APP ERROR 1” or “APP ERROR 2”. The parameter set(s) are checked and the following messages will be displayed depending upon the error.
"SHORT LOC PARAM " + myloc
"BAD DEFCODE " + mydefcode
"BAD LOC " + myloc
"DUP DEFCODE:" + mydefcode
"APP ERROR 3"
"no dfc match"
Move From Hold (MOVEFROMHOLD)
Restores a unit to Work-In-Process when it had been moved previously to an Online Hold (28) or Repair Hold (29) status location (either manually or in bulk by other means).
At a Serial Number prompt, scan the MOVEFROMHOLD command line.
Command format:
!!2MOVEFROMHOLD
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
sn | Unit serial number scanned at the prompt. |
The command prompts S/N TO MOVEBACK? When a serial number is scanned, it is verified by the command. If ambiguous or unavailable, error messages display and the command prompts for the serial number again.
If the serial number is valid, the command goes on to validate the unit status is On Hold. If not on hold, the command displays a NOT ON HOLD message and the command ends.
If the status is appropriate (either status 28 or 29), the command checks the location. If the location is unavailable, a LOCATION ERROR message displays and the command ends.
If the location is valid, the command checks the unit history to see where the unit was prior to being moved to Online Hold or Repair Hold. The command verifies that the Hold location is valid. If the location is not valid, the CANT BACK UP message displays and the command ends.
If the Hold location is valid, the command checks the setup table for the serial number. If not available, the SETUP TBL ERROR message displays and the command ends.
If all checks are accepted, the command tries to lock the serial number for processing. If unable to lock or find the serial number, error messages display and the command ends.
If the command was able to lock the serial number, it processes the manual move using SFDC commands. If any errors occur during SFDC processing, the CANT UPDATE message displays and the MOVEFROMFHOLD command ends.
If the serial number moved successfully, the command releases the SFDC commands and displays a MOVED TO message for the serial number, indicating that it was restored to Work-In-Process. The unit history is updated as needed.
Move if Reference Designator (MOVEIFREF)
Developed for PC Division to use for audit sampling. It finds a component with ref_designator matching the refdes parameter, moves the unit to location specified in moveloc param, then sends END to end the unit's transaction. (If optional third parameter is NOEND, does NOT end the transaction).
If moveloc param is "USECOMPID", then assumes the component_id value is the location to move to.
At a Serial Number prompt, scan the MOVEIFREF command line.
Command format:
!!1MOVEIFREF.refdes.moveloc[.NOEND]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Component reference designator to check for. |
moveloc | FIRST 4 chars of workstation to move unit to. (If moveloc param is "USECOMPID", then assumes the component_id value is the location to move to.) |
NOEND | optional parameter that disables sending END if move component is found (if you want to leave at Menu Selection prompt). |
If the serial number is not available for processing, the command displays “APP ERROR 1”. If valid, the command checks the moveloc provided. If the first 4 characteres cannot be matched, "MOVE LOC MISSING" is displayed.
Move if No Reference Designator (MOVEIFNOREF)
If a component with a reference designator matching the refdes parameter is NOT found, move the unit to the location specified in the moveloc parameter. If such a component IS found, then send END command to end the unit's transaction (unless the NOEND parameter is used).
At a Menu Selection prompt, scan the MOVEIFNOREF command line.
Command format:
!!1MOVEIFNOREF.refdes.moveloc[.NOEND]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Component reference designator to check for. |
moveloc | FIRST 4 chars of workstation to move unit to. |
NOEND | Optional parameter that disables sending END if move component is found (if you want to leave at Menu Selection prompt). |
If the serial number is not available for processing, the command displays “APP ERROR 1”. The command then checks for the specified reference designator and if not found, displays "Did Not Find Comp". If valid, the command checks the moveloc provided. If the first 4 characteres cannot be matched, "MOVE LOC MISSING" is displayed.
Move if Used Component (MOVEIFUSEDCMP)
If any tracked component of the unit serial was previously attached to another serial number, move the unit serial to the location specified in the move-loc parameter. If the optional move-cmd parameter is used in the MOVEIFUSEDCOMP command, the value of move-cmd will be used as the move command. Otherwise, the move will be performed using the standard MOVE.
At a Menu Selection prompt, scan the MOVEIFUSEDCMP command line.
Command format:
!!1MOVEIFUSEDCMP.move-loc[.move-cmd]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
moveloc | FIRST 4 chars of workstation to move unit to. |
move-cmd | Optional param for how unit is moved. Default is to send MOVE command to SFDC PC. If some other argument then make assumption that it's the command to use to move the unit. |
The command checks the number of parameters and if incorrect, displays the "BAD PARAMS" message. The command then checks for a move-cmd parameter. If not provided, then it uses MOVE as the command. The also checks the active serial number and the move_loc parameter. The following error messages could be displayed: "SCANNER NOT FOUND", "SETUP NOT FOUND", "MOVETO NOT FOUND", "MOVETO WRONG LINE", "SERIAL NOT FOUND". If valid, the command prompts "S/N to check?". The command then checks the entered component serial number. The message "TRK SER NOT FOUND!" or "Tracked S/N previously owned:" can be displayed. If successful, the message "Okay" is displayed.
Move to Location (MOVE2HERE)
Moves a group of units to a specified location. Prompts for a Move To location and allows entering a comment. Prompts for serial numbers with the prompting finished by scanning END. The unit status must be the same as the Move To location. If the unit is not status 28 or 29, the unit’s current location must be on the same line as the Move To location.
At a Serial Number prompt, scan the MOVE2HERE command line with appropriate parameters.
Command format:
!!2MOVE2HERE
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command prompts for WorkStation?. Enter the Move To location. The next prompt is Any Comment?. Enter comment text to explain the reason for the unit move. The comment field is optional and can be left blank.
The command prompts for S/N to Move?. Once a serial number is scanned, the command checks to see if it is valid. If the S/N NOT FOUND message displays, the command prompts for serial number again.
If the serial number is valid, the command checks to see if the unit location is locked or unavailable. If the location is invalid, a LOCATION ERROR message displays and the command prompts for serial number again.
If the unit location is valid, the command checks the unit status. If the status is invalid, the command displays the INVALID STATUS message and prompts for serial number again.
If the unit status is 28 or 29, the command checks to see if the unit location and Move To locations have the same status. If they do not, the command displays the WRONG LINE message and prompts for serial number again.
If the Setup Table line does not match the Move To location, the command displays the SETUP PROBLEM message and terminates.
If no errors occur, the command tries to lock the serial number for processing. If the serial number cannot be locked or is unavailable, the SERIAL IS LOCKED! message displays. The command prompts for serial number again.
Once the command locks a valid serial number, it calls SFDC commands to proceed with the move request and record the activity in the unit history. When the move is complete, the command prompts for the next serial number.
Scan END to terminate the command at any serial number prompt.
Other errors can occur if the command cannot validate the Move To location or the current scanner location.
Move to Hold (MOVETOHOLD)
For !!1 will send MOVE$LOC2X back to SFDC (where LOC2X is loc28 or loc29 parameter) , so that the unit will be moved to hold location. The unit history will actually show PASS TO LOC2X. If loc29 parameter (in repair hold station) is left off, will only work for status 20 units If loc28 parameter (on line hold station) is left off, will only work for status 25 units. A comment will be added to the unit history to say that the command movetohold was run.
For !!2 a manual move activity and comment will be recorded for the unit and if RF param = NO then SFDC will not be refreshed. (SFDC is refreshed by default.)
At a Serial Number prompt, scan the MOVETOHOLD command line with appropriate parameters.
Command format:
!!2MOVETOHOLD .loc28[.loc29]
!!2MOVETOHOLD.loc28[.loc29][.refresh-flag]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The unit history will actually show PASS TO LOCX. If loc29 parameter (in repair hold station) is left off, will only work for status 20 units. If loc28 parameter (on line hold station) is left off, will only work for status 25 units. A comment will be added to the unit history to say that the command movetohold was run. If the parameters are in error, we will just stay at the Menu prompt.
For !!2 a manual move will be recorded for the unit and if RF param = NO then SFDC will not be refreshed. SFDC is refreshed by default.
The command checks the locations first. If it is invalid, the command displays the SCANLOC NOT FOUND, LINE NOT FOUND, loc1 + " NOT FOUND”, loc1 + "BAD STATUS”, or LOCS SAME STATUS message and returns to the Menu Selection? prompt. If the locations are valid, the command checks to see if run as a !!2 command. If it is, then one of the messages could be displayed, APP ERR 1, Dup S/N Found!, S/N not found, S/N status bad, APP ERR 2, or BAD MOV LOC STAT. If the command is run as a !!1 command, the following error messages can be displayed, SN LOC not found, SN LINE ERROR, or Ser rec locked. Lastly, if the command is run as a !!2 command, the following message is displayed at the end of the command, MOVE$" + {&MAN-MOVE-LOCATION}. A manual move activity is recorded in the unit history.
Part Number Commands
Change Part Number Prefix (CHGPNPFX)
Prompts for a part number label and adds it to the prefix parameter to construct the full part number with a COPICS prefix. The command then issues the CHGPN command. The command prompts for part number until a good part number is scanned or until END is scanned.
At a Menu Selection prompt, scan the CHGPNPFX command line, specifying the prefix to use.
Command format:
!!1CHGPNPFX.prefix
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
prefix | The prefix to use in creating the part number string. |
The command uses the scanned serial number and prompts SCAN PARTNUM. If an invalid part number is scanned, the command displays PART REQUIRED and prompts again until a valid part number is scanned.
If the prefix parameter is not provided, the command displays PREFIX REQUIRED.
If the scanned part is not available, PART NOT FOUND displays and the command prompts again for part number.
If EXIT is scanned at the prompt, the command terminates.
Once the command receives a valid part number, it adds the prefix to the scanned string and runs the SFDC CHGPN command.
Sampling Plan Commands
Sample (SAMPLE)
NOTE: To run the SAMPLE command for multiple sampling plans, an autocommand can be created in Setup Data Editor. For example:
# Attribute / Sampling Plan
AUTOCMD LOC=S002 CMD=!!1SAMPLE.AT2.AT3.AT4
AUTOCMD LOC=ATT2 CMD=!!1SAMPLE.COMPONENT1.COMPONENT2.COMPONENT3
However, the SAMPLE command goes through the list of plan parameters sequentially until a sample unit is taken. Once a sample is taken, the remaining plan parameters specified on the command line are not processed. For more information on creating auto-commands, see Creating Auto Commands in the SFDC Configuration Manual.
Calls the Sample Engine to apply a sampling plan to the current serial number. The command looks for the name of the sampling plan as a parameter on the command line.
At a Serial Number prompt, scan the !!2 version of the SAMPLE command line, specifying the sample name parameter. The command prompts S/N to Sample. Scan a serial number.
At a Menu Selection prompt, scan the !!1 version of the SAMPLE command line, specifying the sample name parameter. The command operates on the serial number previously scanned.
Command format:
!!1SAMPLE.s_name
!!2SAMPLE.s_name
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
s_name | The name of the sample plan used to assess the current serial number |
The command looks at the scanned serial number and determines whether or not the unit needs to be sampled based on parameters set within the specified sample plan.
If the unit needs to be sampled, the command moves the unit to the Move To location specified in the sample plan. If required, a comment is added to the unit history.
The command displays SAMPLED TO <MOVE_TO_LOCATION>.
If the s_name parameter is an invalid sample plan name, the command displays INVALID SAMPLE. If the scanned serial number cannot be found, S/N NOT FOUND displays.
If the command is unable to find the scanner location, it displays LOCATION ERROR. If the Move To location is invalid or unavailable, a SAMPLE LOC ERROR displays.
The following additional errors may occur based on the type of sample being performed:
Error Message | Description |
LOCATION ERROR! | The command is unable to find the scanned location to determine the line. |
LINE DATA ERROR! | The command was unable to find a setup for the location line. |
SAMPLE LOC ERROR! | The command was unable to find the sample location. |
PART NOT FOUND | The command was unable to find the part record. |
Plan failure | The command is unable to find the sample plan. |
NO DORDER. | The command is unable to find the specified customer order. |
NO SHOP ORDER | The customer order sampling type is shop order and the command cannot find the shop order. |
INVALID FIO SAMPLE | The command cannot find the specified FIO part. |
INVALID PART | The command is unable to find the specified base part. |
PLAN MISSING | For sample by procedure name without expand, there must be a single sample plan for the master plan. The sample plan is not available. |
NO SAMPLE | The sample record is not available for the procedure type plan. |
No location | The command could not found a location record where the unit should pass. |
No sample plan | There is no sample plan record available for processing. |
CODE ERROR | An error occurred running the procedure specified by the procedure type sample plan. |
CANT SAMPLE | The command is unable to complete the sample request because the update sample record is not available. |
CANT LOCK SAMPLE | Either the update sample record or update serial record is not available for processing. |
Fractional Sample (SAMPLESS)
Exactly the same as the Sample command, except that entered sample percentages are divided by 10, allowing sample rates from .1% to 10% in increments of .1.
At a Serial Number prompt, scan the !!2 version of the SAMPLESS command line, specifying the sample name parameter. The command prompts S/N to Sample. Scan a serial number.
At a Menu Selection prompt, scan the !!1 version of the SAMPLESS command line, specifying the sample name parameter. The command operates on the serial number previously scanned.
Command format:
!!1SAMPLESS.s_name
!!2SAMPLESS.s_name
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
s_name | The name of the sample plan used to assess the current serial number |
The command looks at the scanned serial number and determines whether or not the unit needs to be sampled based on parameters set within the specified sample plan.
If the unit needs to be sampled, the command moves the unit to the Move To location specified in the sample plan. If required, a comment is added to the unit history.
The command displays SAMPLED TO <MOVE_TO_LOCATION>.
See the SAMPLE command for additional errors that could be displayed.
SDR Commands
Create SDR Entry Record/With Release (SDR)
Creates an SDR entry record, releasing the unit to SFDC when finished. However, the record is created with the current serial number and dlink address.
At a Menu Selection prompt, scan the SDR command line. The command uses the current serial number.
Command format:
!!1SDR.dlinkaddr
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command goes through several initial checks to make sure it can mount NFS and access SDR. If SDR is not available, the NO SDR FOUND message displays.
If there is not access to NFS, the CANNOT MOUNT NFS message displays.
If the command cannot access SDR to create the new entry record, the CANNOT CREATE message displays.
If the command can access SDR but cannot rename the file during processing, the CANNOT RENAME message displays.
For each error listed above, the command issues a RELEASE to return the unit to SFDC without creating the SDR entry record.
If no errors occur during processing, the command creates the SDR entry record using the current serial number and dlink address. When finished creating the record, the command issues an RLSE, leaving the unit at its current location.
Create Wakeupscan Record/With Release (SDR26)
Creates a wakeupscan record for a unit, without releasing the unit to SFDC when finished. However, the record is created with the current serial number and dlink address. This command can be issued as a !!2 Serial Number prompt or a !!1 Menu Selection prompt.
At a Serial Number prompt, scan the !!2 SDR26 command line. The command prompts Unit S/N?. Scan the serial number to use in creating the wakeupscan record.
At a Menu Selection prompt, scan the !!1 SDR26 command line. The command uses the current serial number.
Command format:
!!1SDR26.dlinkaddr
!!2SDR26.dlinkaddr
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
dlinkaddr | dlink address specification. |
The command checks to see if the serial number is valid and available. If invalid or not available, a Bad S/N message displays and the command prompts for the serial number again.
If the serial number is valid and available, the command checks to see if a wakeupscan record exists. If it one exists, the command checks to see if the wakeupscan serial number matches the current serial number and if the wakeupscan location matches the current dlink address.
If no wakeupscan record currently exists, the command creates one with the current serial number and dlink address.
Create SDR Entry Record/No Release (SDRN)
Creates an SDR entry record but does not release the unit. However, the record is created with the current serial number and dlink address.
At a Menu Selection prompt, scan the SDRN command line. The command uses the current serial number.
Command format:
!!1SDRN.dlinkaddr
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command goes through several initial checks to make sure it can mount NFS and access SDR. If SDR is not available, the NO SDR FOUND message displays.
If there is not access to NFS, the CANNOT MOUNT NFS message displays.
If the command cannot access SDR to create the new entry record, the CANNOT CREATE message displays.
If the command can access SDR but cannot rename the file during processing, the CANNOT RENAME message displays.
If no errors occur during processing, the command creates the SDR entry record using the current serial number and dlink address.
Create Wakeupscan Record/With Release (SDRNT)
Creates a wakeupscan record for a unit, releasing the unit to SFDC when finished. However, the record is created with the current serial number and dlink address. This command can be issued as a !!2 Serial Number prompt or a !!1 Menu Selection prompt.
At a Serial Number prompt, scan the !!2 SDRNT command line. The command prompts Unit S/N?. Scan the serial number to use in creating the wakeupscan record.
At a Menu Selection prompt, scan the !!1 SDRNT command line. The command uses the current serial number.
Command format:
!!1SDRNT.dlinkaddr
!!2SDRNT.dlinkaddr
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
dlinkaddr | dlink address specification. |
The command checks to see if the serial number is valid and available. If invalid or not available, a Bad S/N message displays and the command prompts for the serial number again.
If the serial number is valid and available, the command checks to see if a wakeupscan record exists. If it one exists, the command checks to see if the wakeupscan serial number matches the current serial number and if the wakeupscan location matches the current dlink address.
If no wakeupscan record currently exists, the command creates one with the current serial number and dlink address.
When the command finishes creating the wakeupscan record, it releases the unit to SFDC.
Serial Number Commands
Add Comment to Status 30 Serial (ADCMNT30)
Adds a short comment to a status 30 serial. If the serial number is not included as a parameter, the command will prompt for it. The comment is restricted to 20 characters or less.
At the Serial Number? prompt, scan the ADCMNT30 command line.
Command format:
!!2ADCMNT30.comment[.serialnum]
Parameters | Description |
serialnum | Optional. Serial number to record comment against. |
comment | Comment to record against serial number. Limit 20 characters or less. |
Add Comment to Sub Component (ADCMNTSUB)
Allows for the adding of comments to sub-level components without removing the sub-component from its parent component. This command can be run as either !!1 or !!2. It searches for the specified sub-component in the product structure, either by serial number or by a ref-des path. When found, a comment (provided by the operator) is saved in the serial record for the component; Does not support adding a comment to a non-tracked component. NOTE: The command only works on the first level of component attached to the parent serial number.
At the Menu Selection? or Serial Number? prompt, scan the ADCMNTSUB command line.
Command format:
!!1ADCMNTSUB [.comment] [.sub-ser-num]
!!1ADCMNTSUB.comment.ref-des1.ref-des2.ref-des3.[...].END
!!2ADCMNTSUB [.comment] [.ser-num] [.sub-ser-num]
Parameters | Description |
ser-num | Parent serial number which contains the component serial number. |
comment | Comment to record against component serial number. |
sub-ser-num | Sub component serial number if attached to a parent serial number. |
Change Serial Number by Algorithm (CHGIDALG)
CHGIDALG uses an algorithm (specified by algorithm-number) to compute the next serial number, and then sends CHGID$serial-number to the SFDC PC. The algorithm type may be either CHGIDALG or Shop Order (created in the Serial Number Generator), allowing serial number sequences to be shared between Shop Order Release and the SFDC command CHGIDALG. This command is based on genser2.p.
At a Menu Selection prompt, scan the CHGIDALG command line.
Command format:
!!1CHGIDALG.algorithm-number
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
algorithm-number | Serial number algorithm to use to get the next number. |
The command operates on the previously scanned serial number and prompts for New S/N.
If a duplicate serial number is found, the command displays DUP SN: <serial_number>, where <serial_number> is the previously scanned serial number.
If the previously scanned serial number is not available for processing, the command displays SN INVALID.
Next the command checks to see if the previously scanned serial number is a catalog serial number or if the new serial number already exists. If either case is true, the command displays NEW SN INVALID.
If no errors occur, the command runs the CHGID command, changing the previously scanned serial number to the new serial number. The update is recorded in the unit history and in a timestamp record.
Change Serial Number by Algorithm (CHGIDALG2)
Based on CHGIDALG. CHGIDALG2 uses an algorithm (specified by algorithm-number) to compute the next serial number, and allows specifying a portion of a component to be included in the new serial_number. It sends CHGID$serial-number to the SFDC PC to change the serial number.
At a Menu Selection prompt, scan the CHGIDALG2 command line.
Command format:
!!1CHGIDALG.algorithm-number
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
algorithm-number | Serial number algorithm to use to get the next number. |
The command operates on the previously scanned serial number and prompts for New S/N.
If a duplicate serial number is found, the command displays DUP SN: <serial_number>, where <serial_number> is the previously scanned serial number.
If the previously scanned serial number is not available for processing, the command displays SN INVALID.
Next the command checks to see if the previously scanned serial number is a catalog serial number or if the new serial number already exists. If either case is true, the command displays NEW SN INVALID.
If no errors occur, the command runs the CHGID command, changing the previously scanned serial number to the new serial number. The update is recorded in the unit history and in a timestamp record.
Change SN based on Component ID (CHGIDMON)
Verifies that there is one tracked component assigned to the serial number with a reference designator of "Monitor S/N". The command then runs the CHGID command, changing the scan unit serial number to "S" + the tracked component ID (if that serial number doesn't already exist).
At the Serial Number prompt, scan a top level serial number containing the Monitor S/N. At the Menu Selection prompt, scan the CHGIDMON command line.
Command format:
!!1CHGIDMON
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Reference designator. |
If there is a problem with the serial number, the error message “APP ERROR 1” is displayed. If a tracked component with reference designator Monitor S/N is not found, or the component is not a tracked component, the error message “NEW SN MISSING”. The command will then check for “S” + the component ID. If the serial number exists, then the error “NEW SN EXISTS” is displayed.
Change SN to Match a Component (CHGIDREF)
Verifies one component matching a specified reference designator is assigned to a serial number and runs a duplicate check on the component. If there is a component error, the command records a specified component error defect code against the component. If verified, the command issues the CHGID command to change the unit serial number to the component ID.
At the Menu Selection prompt, scan the CHGIDCMP command line, specifying a component error defect code and reference designator.
Command format:
!!1CHGIDREF.refdes.defcode
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
defcode | Defect code to use if no match is found. |
refdes | Reference designator. |
The command operates using the previously scanned serial number. If the serial number is ambiguous or unavailable, an error displays.
If the serial number is verified, the command looks for components matching the refdes parameter specified in the command line. If the unit has duplicate components with the specified reference designator, the command records the defect code specified by defcode against the unit.
If only one component matches the reference designator, the unit serial number is changed to the component ID using the CHGID command.
Change Serial Number to New Serial Number (CHGSNTS)
Prompts for a new serial number. If the new serial number is not a catalog serial number and is not found in the database, the command runs the CHGID command on SFDC to change the current serial number to the new serial number. It records the activity in a timestamp record and in the log file.
At a Menu Selection prompt, scan the CHGSNTS command line.
Command format:
!!1CHGSNTS
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command operates on the previously scanned serial number and prompts for New S/N.
If a duplicate serial number is found, the command displays DUP SN: <serial_number>, where <serial_number> is the previously scanned serial number.
If the previously scanned serial number is not available for processing, the command displays SN INVALID.
Next the command checks to see if the previously scanned serial number is a catalog serial number or if the new serial number already exists. If either case is true, the command displays NEW SN INVALID.
If no errors occur, the command runs the CHGID command, changing the previously scanned serial number to the new serial number. The update is recorded in the unit history and in a timestamp record.
Compare SN to Scanned Value (CHECKSN)
Prompts for and validates the unit serial number label. The command compares the entered serial number with the serial number previously scanned. The serial numbers are compared using several options for masking characters in the scanned serial number or the active serial number. A maximum of three attempts is allowed. If not matched in three attempts, the command releases the unit.
The barcode serial number may include extra data identifier characters or only a portion of the actual serial number. The masking options on the command line allow for stripping off characters from either the label or unit serial number to get down to the matching portions.
At the Menu Selection prompt, scan the CHECKSN command line. Three formats are provided.
Command format:
!!1CHECKSN(.LSERIAL=[n;n]) (or .LSERIAL=[n]) Compares a substring from a label scanned to a unit under test.
!!1CHECKSN(.USERIAL=[n;n]) (or .USERIAL=[n]) Compares a substring from a unit under test to a label scanned.
!!1CHECKSN No mask used.
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
LSERIAL or
USERIAL |
The mask fields represent starting position and number of characters, where 1 is the first character position. If the second value (number of characters) is omitted, the mask returns all characters beginning at the starting position. [1] should not be used as it returns all characters. [2] returns all characters starting with the second one. [2;5] returns 5 characters starting with the second one.
If a unit has 100XYZ as the serial number, and the label has 1S100XYZ, the mask might be LSERIAL=[3] to strip off the 1S in the label serial number. If the unit has P100XYZ99 as the serial number and the label has 100XYZ, the mask might be USERIAL=[2;6] to ignore the P and 99 in the unit serial number. |
The command operates using the previously scanned serial number. It prompts Scan Unit Label.
If a mask is specified against the previously scanned serial number, the command uses the mask to match against the new serial number. If they match, the command displays Thank you and the unit is retained.
If a mask is specified against the new serial number, the command uses it to match against the scanned serial number. If they match, the command displays Thank you and the unit is retained.
If an error occurs matching the serial number using the specified mask, an error message displays and the command prompts again for a unit serial number.
The command prompts up to three times for unit serial number. If a match is not found in three attempts, the command releases the unit.
Check Defect Quantity (CHKDFCQTY)
Checks if the unit has failed x times (failnum param) or more for the defcode param. If so, then move unit to moveloc. Triplets of defcode/failnum/moveloc are supported. countNFF and endUnit paremeters are optional but if endUnit is specified then countNFF must also be specified. If countNFF parameter is missing or not equal to Y then serdef's flagged, NFF are not counted so default is to not count NFF's. If failure, auto ends the transaction unless Endunit parameter is N or NO.
At the Menu Selection prompt, scan the CHKDFCQTY command with the necessary parameters.
Command format:
!!1CHKDFCQTY.defcode.failnum.moveloc(.d.f.m...)(.countNFF.endUnit)
Parameters | Description |
ser_num | Serial number character string. |
defcode | Defect code to check for defect quantity. |
failnum | Number of failures (defcode) to look for. |
Movloc | Location to move unit to if failnum/defcode match. |
countNFF | Y or YES – required if endUnit param exists. |
endUnit | N or NO – required to prevent the command from automatically ending the unit. If exists, conuntNFF parameter required. |
If countNFF param exist and is "y" or "yes" then the command also counts the serdef records flagged as NFF (serdef.repiared_NFF = 2). If countNFF parameter is missing or not equal to Y then serdef's flagged NFF are not counted so default is to not count NFF's. If endUnit param exists and is "n" or "no" then the command does not END the unit at the dc else it will END the unit so default is too END the unit.
The command first checks the number of parameters entered and if the countNFF and/or endUnit parameters are supplied. If the count is incorrect, or a required parameter is missing, then the error message "BAD PARAM COUNT" is displayed. If the parameters are correct, the command checks the serial number location. If the serial lock cannot be determined, the "AMBIGUOUS SN" is displayed. If the serial number cannot be found, the error "SN not found" is displayed. The serial number location is then checked. If the location cannot be found, the error "SCANLOC ERR!" is displayed. The command then checks the defcode, failnum, and Movloc parameters. The following errors can occur:
- "BAD DEFCODE:" + defcode
- "Code Err:" + STRING(ERROR-STATUS:GET-NUMBER(1))
- "INVALID FAIL COUNT"
- "BAD MOVELOC:" + moveloc
- "BAD LOC:" + moveloc
- "DUP DFC:" + defcode
Create/Start Serial Number with PN by Alogrithm (CRE8SER)
Creates a serial number using parameter values (algorithm and part number). Passes serial number back to SFDC as input to Serial Number prompt.
At a Serial Number prompt, scan the CRE8SER command line.
Command format:
!!2CRE8SER.algonum.part_num
Parameters | Description |
Ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
algonum | Serial Algorithm number to use for generating next serial number. |
part_num | Part number to assign to new serial number. |
The command first checks the part_num parameter. If missing, the message “NO P/N PARAM” is displayed. The command then checks the algonum parameter. If missing, the message “NO ALGO PARAM” is displayed. The command then checks for a project. If none found, the “Proj not found” message is displayed. The algorithm number is then checked. If invalid, the message “BAD ALGO NUMBER”, “APP ERROR 1”, “APP ERROR 2”, or “APP ERROR 3” is displayed, depending upon the algorithm number error. If valid, the command then attempts to get a serial number from the serial number generator using the algorithm number. If a serial number is not returned, the message "Bad SN value" is returned or if the serial is determined to exist, the message “APP ERROR 3” is displayed.
Create/Start Serial Number w/PN & REV by Alogrithm (CRE8SER2)
Creates a serial number using parameter values (algorithm , part number and revison). Passes serial number back to SFDC as input to Serial Number prompt.
At a Serial Number prompt, scan the CRE8SER2 command line.
Command format:
!!2CRE8SER2.algonum.part_num.rev
Parameters | Description |
Ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
algonum | Serial Algorithm number to use for generating next serial number. |
part_num | Part number to assign to new serial number. |
rev | Revision to assign to new serial number. |
The command first checks the part_num parameter. If missing, the message “NO P/N PARAM” is displayed. The command then checks the algonum parameter. If missing, the message “NO ALGO PARAM” is displayed. The command checks the revision parameter. If missing, the message "NO REV PARAM" is displayed. The command then checks for a project. If none found, the “Proj not found” message is displayed. The algorithm number is then checked. If invalid, the message “BAD ALGO NUMBER”, “APP ERROR 1”, “APP ERROR 2”, or “APP ERROR 3” is displayed, depending upon the algorithm number error. If valid, the command then attempts to get a serial number from the serial number generator using the algorithm number. If a serial number is not returned, the message "Bad SN value" is returned or if the serial is determined to exist, the message “APP ERROR 3” is displayed.
Compare Current Serial Number to Traveler Serial Number (FRANK1)
Prompts for a Traveler serial number. Compares the Traveler serial number to the previously scanned serial number. If they match, the command accepts the serial number. If they do not match, the command prompts again for the Traveler serial number until a matching one is scanned.
At a Menu Selection prompt, scan the FRANK1 command line.
Command format:
!!1FRANK1
Parameters | Description |
Ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command operates on the previously scanned serial number and prompts Scan Traveler.
The command compares the serial numbers. If they match, the command displays THANK YOU.
If they do not match, the command displays INVALID ENTRY and prompts again Scan Traveler. The command stays in this loop until a matching serial number is scanned or until END is scanned.
Compare Current Serial Number to Unit Serial Number with Optional Mask (FRANK2a)
Prompts for a unit serial number. Compares the unit serial number to the previously scanned serial number. If they match, the command accepts the serial number. If they do not match, the command prompts again for the unit serial number until a matching one is scanned. This command provides an optional parameter for specifying the starting position in the scanned serial number. This command allows up to four tries to match serial numbers before releasing the unit.
At a Menu Selection prompt, scan the FRANK2a command line, optionally specifying the startpos parameter.
Command format:
!!1FRANK2a.startpos
Parameters | Description |
Ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
mask | Optional. Sets the starting position for comparison in the scanned serial number. Value must be numeric. |
The command operates on the previously scanned serial number and prompts Scan Unit Label. If a startpos parameter is specified on the command line, the command checks to see if the value is numeric. If it is not numeric, the command displays Must Be Number and releases the unit.
If a valid serial number is scanned and it matches the startpos parameter if specified, the command compares the serial numbers. If they match, the command displays THANK YOU.
If they do not match, the command displays INVALID ENTRY and prompts Try Again. The command stays in this loop until a matching serial number is scanned or until END is scanned.
If the command attempts to match the serial numbers four times, the command displays RELEASING UNIT and ends.
Check Components Removed But Not Replaced (FRANK3)
Checks for any components assigned to the serial number that are removed but not replaced. If any are found, the command records a 0202 defect against the unit. If no component errors are found, the command ends.
At a Menu Selection prompt, scan the FRANK3 command line.
Command format:
!!1FRANK3
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command operates on the previously scanned serial number. If the serial number is not available for processing, the command displays APP ERROR 1.
If the serial number is available, the command looks at the assigned components. If any components are removed but not replaced, the command records a 0202 defect against the unit and ends.
Compare MBRD Serial Number to Scanned Serial Number (FRANK4)
Prompts for the MBRD serial number. The command then compares the scanned serial number with the current MBRD component ID. If it does not match, the command records a 0220 defect against the unit.
At a Menu Selection prompt, scan the FRANK4 command line.
Command format:
!!1FRANK4
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command operates on the previously scanned serial number and prompts Scan MBRD SN.
If the serial number is not available for processing, the command displays APP ERROR 1 and ends.
If available for processing, the command looks for a component with a reference designator beginning MBRD SN assigned to the serial number. If the component is not available, the command records a 0220 defect against the unit and ends.
Compare Current Serial Number to Box Label Serial Number (FRANKG)
Prompts for a box label serial number. Compares the box label serial number to the previously scanned serial number. If they match, the command accepts the serial number. If they do not match, the command prompts again for the box label serial number until a matching one is scanned.
At a Menu Selection prompt, scan the FRANKG command line.
Command format:
!!1FRANKG
Parameters | Description |
Ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command operates on the previously scanned serial number and prompts Scan Box Label SN.
The command compares the serial numbers. If they match, the command displays THANK YOU.
If they do not match, the command displays INVALID ENTRY and prompts again Scan Box Label SN. The command stays in this loop until a matching serial number is scanned or until END is scanned.
Generate Serial Number from Algorithm (GENALGOSN)
Determines the next serial number, based on the part number and algorithm number provided in the SFDC command. This new serial number is written to the database before being returned to the data collector. The algorithm number must be defined in the Serial Number Generator as a "General Algorithm" type. The batch serial record created has module_select=7 and quantity=0.
At a Serial Number prompt, scan the GENALGOSN command line, specifying the part-number and algorithm-number parameters.
Command format:
!! 2GENALGOSN.part-number.algorithm-number
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
part-number | A part number in the part table. |
algorithm-number | Must be a valid algorithm number defined in the Serial Number Generator (Algorithm Tool). The algorithm type must be "General Algorithm" (or, if the algorithm was programmed manually, it must use the "General Algorithm" program interface). |
The command checks the part-number parameter to see if it is valid. If the part number is not valid or unavailable, a Part Not Found message displays. The command then checks the algorithm-number to see if it is valid. If the algorithm number is not valid or unavailable, one of the following messages displays.
“ALG NOT FOUND”
"WRONG ALG TYPE"
"ALG NOT DEPLOYED"
"MISSING ALG PGM"
If valid, the command then calls the serial number generator program. One of the following messages displays, if a serial number was not created.
"S/N NOT CREATED"
"DUPLICATE S/N"
"DUP S/N IN CATLG"
Generate Serial Number from Alg using parent (GENALGOSN2)
Determines the next serial number, based on the batch number, part number, and algorithm number provided in the SFDC command. This new serial number is then written to the database before being returned to the data collector. The batch number (or split batch number) must be in the serial table. If batch-number is a split batch number, then it must be in the format BBB-sss, where BBB is a batch number and sss is a unique sequence number (which was generated previously by the same algorithm). The algorithm number must be defined in the Serial Number Generator as a "General Algorithm" type. The optional BATCH parameter Indicates that the batch number is NOT a split batch number, even though it contains a dash (-). This parameter is not valid when splitting an already split batch number. All batch number parameters that do NOT have dashes in the number are automatically considered to be original batch numbers. All batch number parameters that DO have dashes in the number are automatically considered to be split batch number. To override this behavior, include the optional parameter ".BATCH" at the end of the command string whenever a batch number parameter has a dash in the number but it is NOT a split batch number. The batch serial record created has module_select=7 and quanity=0.
At a Serial Number prompt, scan the GENALGOSN command line, specifying the part-number and algorithm-number parameters.
Command format:
!! 2GENALGOSN2.batch-number.part-number.algorithm-number[.BATCH]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
batch-number | A batch number or split batch number which must be in the serial table. If batch-number is split batch number, then it must be in the format BBB-sss, where BBB is a batch number and sss is a unique sequence number (which was generated previously by algorithm-number below). |
part-number | A part number in the part table. |
algorithm-number | An algorithm number defined in the Serial Number Generator. The algorithm type must be "General Algorithm" (or, if the algorithm was programmed manually, it must use the "General Algorithm" program interface). |
.BATCH | [Optional] Indicates that the batch number is NOT a split batch number, even though it contains a dash (-). This parameter is not valid when splitting an already split batch number. Do not use the characters “[“ and “]” in the actual command. |
The command check the batch-number to see if it is valid. If the batch number is not valid or unavailable, a BATCH# NOT FOUND message displays. The command checks the part-number parameter to see if it is valid. If the part number is not valid or unavailable, a Part Not Found message displays. The command then checks the algorithm-number to see if it is valid. If the algorithm number is not valid or unavailable, one of the following messages displays.
“ALG NOT FOUND”
"WRONG ALG TYPE"
"ALG NOT DEPLOYED"
"MISSING ALG PGM"
If valid, the command then checks the optional BATCH parameter. If invalid, one of the following errors could be displayed.
“BTCH PARM ERROR”
"NO DASH IN ALG"
"BATCH# LEN ERROR"
"ALG NOT FOUND2"
If valid, the command then calls the serial number generator program. One of the following messages displays, if a serial number was not created.
"S/N NOT CREATED"
"DUPLICATE S/N"
"DUP S/N IN CATLG"
Generate Serial Number/Pass to Data Collector (GENSER)
Uses an algorithm assigned to a part number to generate the next serial number. Sends the message SN: newser to the data collector display to be used by an Automated Tester.
At a Serial Number prompt, scan the GENSER command line, specifying the partnum parameter.
Command format:
!!2GENSER.partnum
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
partnum | Specified part number. |
The command checks the partnum parameter to see if it is valid. If the part number is not valid or unavailable, a Part Not Found message displays.
If the part is valid, the command checks to see if an algorithm for generating the next serial number is assigned to the part number. If no algorithm exists for the part number, the No Alg Assigned message displays.
If the algorithm exists but is not available for processing, a No Alg Installed message displays.
If both the part number and algorithm are accepted, the command generates the serial number using the assigned algorithm. The command then checks to make sure the serial number created is valid. If the serial number is not valid, the command displays the Algorithm Error.
If the serial number is valid, the command displays the message SN: newser, where newser is the new serial number generated.
Generate Serial Number/Pass to SFDC (GENSER2)
Uses an algorithm assigned to a part number to generate the next serial number. Sends the new serial number and part number to SFDC.
At a Serial Number prompt, scan the GENSER2 command line, specifying the partnum parameter.
Command format:
!!2GENSER2.partnum
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
partnum | Specified part number. |
The command checks the partnum parameter to see if it is valid. If the part number is not valid or unavailable, a Part Not Found message displays.
If the part is valid, the command checks to see if an algorithm for generating the next serial number is assigned to the part number. If no algorithm exists for the part number, the No Alg Assigned message displays.
If the algorithm exists but is not available for processing, a No Alg Installed message displays.
If both the part number and algorithm are accepted, the command generates the serial number using the assigned algorithm. The command then checks to make sure the serial number created is valid. If the serial number is not valid, the command displays Algorithm Error.
If the serial number is valid, the command displays newser Passed to SFDC, where newser is the new serial number. The command sends newser$partnum to SFDC to be processed as if it were scanned.
Parent Serial Number (PARENTSN)
Prompts for component ID. If finds multiple components recorded with this value, displays "Multipl ParentSN". If finds serial record for it, the serial number must be at status 60 (tracked serial which is used as component). Displays Parent serial number on LCD.
At the “Serial Number?” prompt, scan the PARENTSN command.
Command format:
!!2PARENTSNSCAN
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command will prompt for “Component_id?”. The user enters a component_id and the command will check whether the entered value has a parent serial number. If more than one parent exists, the message “Multiple Parents” is displayed.
Parent Serial Number Rescan (PARENTSNSCAN)
Prompts for a component_id and returns the parent serial number. The parent serial number is then sent to SFDC at the “Serial Number?” prompt.
At the “Serial Number?” prompt, scan the PARENTSNSCAN command.
Command format:
!!2PARENTSNSCAN
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command will prompt for “Component_id?”. The user enters a component_id and the command will check whether the entered value has a parent serial number. If more than one parent exists, the message “Multiple Parents” is displayed. The parent serial number is then fed back to SFDC to the “Serial Number?” prompt, effectively providing a rescan of the parent serial number.
Print History (PRTHIST)
Prints a unit history report for a serial number.
At a Menu Selection prompt, scan the PRTHIST command line.
Command format:
!!1PRTHIST.prtque
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
prtque | Print queue. |
The command accesses the history on the unit currently at this location. If an error occurs processing the serial number, an error message displays and the command ends.
If no error occurs in processing the serial number unit history, the history is sent to the print queue as specified in the command line. The format of the history is predetermined by the command.
Query Location (QRYLOC)
Shows the current location for a scanned serial number. If the unit is on a different line, the command displays the line name and location.
At a Serial Number prompt, scan the QRYLOC command line.
Command format:
!!1QRYLOC.queue
!!2QRYLOC.queue
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
queue | Print queue. |
The command prompts for S/N to locate. Once the serial number is scanned, the command verifies that the serial number is available. If not available, the S/N NOT FOUND message displays.
The command verifies the location and line for the serial number, displaying error messages as needed if either is not available.
If the unit is on a different line, both line name and location are displayed as specified by the queue parameter. If on the same line, the current location displays.
Rename Killed Serial Nnumber (RENAMESER50)
Renames a current serial number to a new serial number. The current serial number must have a Unit Status of 50 (Unit Killed). The new serial number will be one of the following: (1) the current serial number with a Prefix, (2) the current serial number with a Suffix, or (3) a completely new serial number. The new serial number must not already exist. "rename-type" must be PFX, SFX, or NEW. PFX means that "rename-param" will be prefixed to the current serial-number to create the new serial number. SFX means that "rename-param" will be suffixed to the current serial-number. NEW means that "rename-param" will replace the current serial-number as the new serial number. "serial-number" is the current serial number to be renamed. If it is not provided, the program will prompt for it.
At the Serial Number prompt, scan the RENAMESER50 command line.
Command format:
!!2RENAMESER50.rename-type.rename-param[.serial-number]
Parameters | Description |
ser_num | Serial number character string. |
rename-type | New serial format, PFX, SFX, NEW |
rename-param | PFX – parameter will be added as a prefix to the current serial number to create the new serial number.
SFX – parameter will be added as a suffix to the current serial number to create new serial number. NEW – parameter will replace current serial number as the new serial number. |
Rescan Serial Number (RESCAN)
Ends the current transaction and rescans the same serial number at the same data collector. Based on routes, it should be a different process. Can be used for validation of components at the same location where they were added.
At the Menu Selection prompt, scan the RESCAN command line.
Command format:
!!1RESCAN
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command sends END and current serial number back to SFDC to be processed as if scanned on the data collector.
Send Serial Number (SERNUM)
Sends the serial number, followed by a return and line feed characters, to the selected output.
At a Menu Selection prompt, scan the SERNUM command line, specifying parameters as needed. See the example formats below.
Command formats:
!!1SERNUM(use if output through a data collector)
!!1SERNUM.0.queuename(use if output through queue)
!!1SERNUM.0.FILE(use if output to file sernum.dbg)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
lf_flag | Not used. Part of import. |
prt_que | Print queue. If file or filex, output will be to a file named sernum.dbg. If this parameter is not specified, output defaults to the data collector RS232 port. If a valid queue name is provided, output is to the specified print queue. |
The command checks to see if the print queue specified by the prt_que parameter is valid. If invalid, the command displays a message on the data collector and ends.
If the print queue parameter is not specified, the command defaults the output through the data collector and ends.
If the print queue parameter specified a file, the command output the data to the specified file and ends.
If the print queue parameter specified a print queue, the command outputs the data to the specified queue and ends.
Show Unit Comment (SHOWCOMMENT)
Displays all comments for unit on data collector LCD. If matchval parameter sent, then only displays comments which contain that string.
At a Menu Selection or Serial Number prompt, scan the SHOWCOMMENT command line.
Command format:
!!1SHOWCOMMENT(.matchval)
!!2SHOWCOMMENT(.matchval)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
matchval | Optional parameter to only display matching comments. |
If run as a !!2 command, the command will prompt "Unit S/N?". The command first checks the serial number and will display "S/N NOT FOUND" or "APP ERROR 1" to an error. If valid it checks for a matchval parameter. If there is no matchval parameter the command looks for all comments. If no comments (or matching comments – matchval parameter supplied) found, displays “No comment”.
Shop Order Commands
Add Unit to Shop Order (ADD2SO1)
Attaches a unit to a shop order. If the shop order is not passed as parameter, the command prompts “SO NBR OR END?”. The unit must not be on an order, and the shop order must have room for the unit. Serial number is changed to part/rev of shop order. RLSE sent afterwards. Must wait 60 seconds before scanning at next station, or changes to MDS may be lost.
At a Menu Selection prompt, scan the ADD2SO1 command line.
Command format:
!!1ADD2SO1.shoporder
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
shoporder | Optional. Shop order to attach serial unit to. |
The command first checks the serial number. The error messages that can be reported are: AMBIGUOUS S/N!, LOCKED S/N!, or S/N NOT FOUND!. If valid, the command then checks to insure the serial is not attached to a shop order and checks the project. ATTACHED TO SO!, AMBIGUOUS PROJ!, or PROJ NOT FOUND! are the error messages that can be displayed. The command then checks the serial number location, displaying the message AMBIGUOUS LOC! or LOC NOT FOUND! if there is an error. The shop order is then checked and the following messages can be displayed to an error: Invalid SO Nbr!, S/O NOT RELEASED, S/O FULL!.
Add Unit to Shop Order from Location (ADD2SO2)
Prompts (S/N OR END?) for units to attach to shop order, until END is scanned. The unit must not be on an order, and must be at the pull_location specified as parameter. The shop order must have room for the unit. Serial number is changed to part/rev of shop order. If used on WIP units, must wait 60 seconds before scanning at next station, or changes to MDS may be lost.
At a Serial Number prompt, scan the ADD2SO2 command line.
Command format:
!!2ADDSO2.pull_location.shoporder
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Pull_location | Name of workstation to find unit |
Shoporder | Shop order to attach serial unit to. |
Change Shop Order (CHGSO)
Moves completed units at a specified location from one shop order to another. The command uses a dummy serial number as a placeholder in the original shop order to keep counts correct. An activity is associated with the new serial number pointing to the new shop order. The original serial record is associated with an activity record pointing back to the original shop order.
If needed, the command updates the part number and revision of the serial record to match that of the new shop order. Activity records are created to document these changes also.
The command also supports an optional workstation name where the target serial number is located before it can be added to the new shop order.
At a Serial Number prompt, scan the CHGSO command line.
Command format:
!!2CHGSO.wkstation
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
wkstation | Optional. Name of the workstation where the scanned unit is located. If this parameter is not included in the command line, any status 30 unit can be moved to the new shop order. |
MOVEHERE | Optional parameter. If this text is included, the unit is put at scanning location/status. Else the unit is left at location-key 0, status 15. |
The command prompts for Shop Order #. If unable to find the new shop order, a S/O NOT FOUND message displays and the command redisplays the Shop Order prompt. If the new shop order is found, the command checks the number of units attached. If the shop order is full, the command displays S/O FULL and redisplays the Shop Order prompt.
If the new shop order is not full, the command prompts for a serial number. This is the serial number which will move to the new shop order.
If END is scanned at the serial number prompt, the command terminates.
If the serial number is invalid or unavailable, a S/N NOT FOUND message displays and the command prompts for serial number again.
The command also checks the status of the unit. If the unit status is not 30, an error message displays the status (e.g. 'INVLD STATUS 20’) and the command prompts for serial number again.
If the unit is in a container, Unit in Cntr displays and the command prompts for serial number again.
The command attempts to find the old shop order. If not available, NO SO FOUND displays. The command prompts for serial number again.
The command also validates the location and line for the scanned unit. If either is invalid or unavailable, error messages display. If the unit’s current location was provided as part of the command line and is unavailable, LOCATION ERROR displays.
Once the command has validated the new and old shop orders, the unit serial number, location, and line, the command begins processing the shop order change for the scanned unit.
At this time, if the command cannot lock the serial number, SN LOCKED displays and the command prompts for serial number again.
The command creates activities against the unit, making part number and revision changes to match the new shop order. If everything is accepted and no other errors occur, the command moves the unit to the new shop order.
The command checks the unit count for the new shop order. If the new shop order is full, it displays AUTO END. The command prompts for serial number again.
Scanning END terminates the command.
Change Shop Order from Location (CHGSO2)
Moves on-hold units at a specified location from one shop order to another. A skeleton serial number is placed in the original shop order to keep the counts correct. The skeleton serial number is placed at a complete location (parameter c_location). An activity is associated with the new serial number that points to the new shop order. The original serial record is associated with an activity record that points back to the original shop order. If needed, the command will update the part number and revision of the serial record to match that of the new shop order. Activity records are created to document these changes. The command also supports an optional workstation name that the target serial number must be located before it can be added to the new shop order.
At a Serial Number prompt, scan the CHGSO2 command line.
Command format:
!! 2CHGSO2.a_location.c_location(.s_location)
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
a_location | Name of workstation to accept target unit. |
c_location | Name of workstation to put completed skeleton. |
s_location | Optional: Name of workstation to find unit. |
The command prompts for Shop Order #. If unable to find the new shop order, a S/O NOT FOUND message displays and the command redisplays the Shop Order prompt. If the new shop order is found, the command checks the number of units attached. If the shop order is full, the command displays S/O FULL and redisplays the Shop Order prompt.
If the new shop order is not full, the command prompts for a serial number. This is the serial number which will move to the new shop order.
If END is scanned at the serial number prompt, the command terminates.
If the serial number is invalid or unavailable, a S/N NOT FOUND message displays and the command prompts for serial number again.
The command also checks the status of the unit. If the unit status is NOT 28, an error message displays the status (e.g. 'INVLD STATUS 20’) and the command prompts for serial number again.
If the unit is in a container, Unit in Cntr displays and the command prompts for serial number again.
The command attempts to find the old shop order. If not available, NO SO FOUND displays. The command prompts for serial number again.
The command also validates the location and line for the scanned unit. If either is invalid or unavailable, error messages display. If the unit’s current location was provided as part of the command line and is unavailable, LOCATION ERROR displays.
Once the command has validated the new and old shop orders, the unit serial number, location, and line, the command begins processing the shop order change for the scanned unit.
At this time, if the command cannot lock the serial number, SN LOCKED displays and the command prompts for serial number again.
The command creates activities against the unit, making part number and revision changes to match the new shop order. If everything is accepted and no other errors occur, the command moves the unit to the new shop order.
The command checks the unit count for the new shop order. If the new shop order is full, it displays AUTO END. The command prompts for serial number again.
Scanning END terminates the command.
Change Shop Order from Location (CHGSO3)
Based on chgso2. Moves units at a specified location and status from one shop order to another. The serial unit_Status must match the status parameter, which is restricted to status 15, 28 or 30.
The command places a skeleton serial number in the original shop order to keep the counts correct. The serial number is first placed at the move-to location and status (parameter m_location) which is required to be status 15, 28 or 64. Then the serial is moved to the new shop order and placed at the a_location and status. If the shop order part numbers are different (only allowed if the NOMATCH parameter is passed), the command will update the part number and revision of the serial record to match that of the new shop order. . Activities are created to document all moves .
The command also supports an optional workstation name where the target serial number must be located before it can be added to the new shop order.
a_location - name of workstation to accept target unit.
m_location - name of workstation to move the skeleton.
s_location - optional name of workstation to find unit.
At a Serial Number prompt, scan the CHGSO2 command line.
Command format:
!!2CHGSO3.a_location.m_location.status[.s_location][.NOMATCH]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
a_location | Name of workstation to accept target unit. |
m_location | Name of workstation to move the skeleton. |
s_location | Optional: Name of workstation to find unit. |
NOMATCH | Optional: Allows part number of the serial number to be changed to the part number of the end Shop Order number, if different. |
The command prompts for Shop Order #. If unable to find the new shop order, a S/O NOT FOUND message displays and the command redisplays the Shop Order prompt. If the new shop order is found, the command checks the number of units attached. If the shop order is full, the command displays S/O FULL and redisplays the Shop Order prompt.
If the new shop order is not full, the command prompts for a serial number. This is the serial number which will move to the new shop order.
If END is scanned at the serial number prompt, the command terminates.
If the serial number is invalid or unavailable, a S/N NOT FOUND message displays and the command prompts for serial number again.
If the unit is in a container, Unit in Cntr displays and the command prompts for serial number again.
The command attempts to find the old shop order. If not available, NO SO FOUND displays. The command prompts for serial number again.
The command also validates the location and line for the scanned unit. If either is invalid or unavailable, error messages display. If the unit’s current location was provided as part of the command line and is unavailable, LOCATION ERROR displays.
Once the command has validated the new and old shop orders, the unit serial number, location, and line, the command begins processing the shop order change for the scanned unit.
At this time, if the command cannot lock the serial number, SN LOCKED displays and the command prompts for serial number again.
The command creates activities against the unit, making part number and revision changes to match the new shop order. If everything is accepted and no other errors occur, the command moves the unit to the new shop order.
The command checks the unit count for the new shop order. If the new shop order is full, it displays AUTO END. The command prompts for serial number again.
Scanning END terminates the command.
Delete Serial Number from Shop Order (DELSNFSO)
Removes a finished unit (status 30) from a Completed shop order (order_status C). All attributes are removed from the unit, a comment is created to document the use of the command, and a skeleton serial record (status 64) is created in the shop order. The command prompts "S/N to remove?" until END is scanned.
At a Serial Number prompt, scan the DELSNFSO command line.
Command format:
!!2DELSNFSO
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Requirements:
1) shop order must be complete. shop_order.order_status = 'C'
2) unit must be complete. serial.unit_status-key = 30.
The command will prompt "S/N to remove ?" upon execution. If END is entered, the command terminates. The serial number will check the entered serial number and one of the following messages can be displayed to an error.
“Serial locked”, "Not status 30", "Order not found", "Not completed", or "Internal Error"
Delete SN from Non-complete Shop Order (DELSNFSO2)
Same as delsnfso, except that the order does not have to be at Complete status.
At a Serial Number prompt, scan the DELSNFSO2 command line.
Command format:
!!2DELSNFSO2
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Delete SN from Shop Order & Create New SN (DELSNFSO3)
Same as delsnfso2, except that a status 15 serial record is created in the shop order (rather than a skeleton serial), with the next available serial-key used as the serial number.
At a Serial Number prompt, scan the DELSNFSO3 command line.
Command format:
!!2DELSNFSO3
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Display Shop Order Number (SHOWSON)
Displays the shop order number for the scanned serial number.
At the Menu Selection or Serial Number prompt, scan the SHOWSON command line.
Command format:
!!1SHOWSON
!!2SHOWSON
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
sn2 | User response to the serial number prompt. |
If no serial number is available when the command is scanned, the command prompts S/N to get S/O.
Once the command has a serial number, it checks to see if it is available. If unavailable, the command displays S/N NOT FOUND.
If the serial number is available, the command checks to see if a shop order is assigned to the serial number. If not, the command displays S/O # NOT FOUND. Otherwise, the command displays the assigned shop order.
Time and Timestamp Commands
Check Return Days (CHKRTNDAYS)
SFDC command designed to check number of days since a returned unit last had SFDC activity. Command should be used only at first scan for a returned unit.
At the Menu Selection prompt, scan the CHKRTNDAYS command line, specifying the numdays and defect code to use and an optional failloc.
Command format:
!!1CHKRTNDAYSGE.numdays.defcode[.failloc]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
numdays | The maximum number of days needed from last activity to current date to be okay. |
defcode | The defect code to use if the check fails. |
failloc | Location to fail unit to if check fails. |
The command uses the scanned unit. If the number of required parameters is not sufficient, the error "PARAM ERROR" displays. If the serial number is not valid or is unavailable, "S/N NOT FOUND" message displays. If the defcode parameter is missing or ambiguous, or cannot be found, one of the following errors will be displayed: "MISSING DEFCODE", "AMBIGUOUS DEFCOD", or defcode + " NOT FOUND". If the numdays parameter is equal to 0 then the "BAD NUMDAYS PARM" error is displayed. If the scan location cannot be determined, the error "SCAN LOCATION ERR" is displayed. If the failloc parameter is provided, one of two errors will be displayed, if there is a problem with the location provided; "FAIL LOCATION ERR" or "FAILLOC LINE ERROR".
Check Return Days [Greater than/Equal to]( CHKRTNDAYSGE)
Checks the number of days since a returned unit last had SFDC activity, and should be used only at first scan for a returned unit. This command differs from CHKRTNDAYS in that the unit will fail if the elapsed time is greater than or equal to the number of days.
At the Menu Selection prompt, scan the CHKRTNDAYSGE command line, specifying the numdays and defect code to use and an optional failloc.
Command format:
!!1CHKRTNDAYSGE.numdays.defcode[.failloc]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
numdays | The maximum number of days needed from last activity to current date to be okay. |
defcode | The defect code to use if the check fails. |
failloc | Location to fail unit to if check fails. |
The command uses the scanned unit. If the number of required parameters is not sufficient, the error "PARAM ERROR" displays. If the serial number is not valid or is unavailable, "S/N NOT FOUND" message displays. If the defcode parameter is missing or ambiguous, or cannot be found, one of the following errors will be displayed: "MISSING DEFCODE", "AMBIGUOUS DEFCOD", or defcode + " NOT FOUND". If the numdays parameter is equal to 0 then the "BAD NUMDAYS PARM" error is displayed. If the scan location cannot be determined, the error "SCAN LOCATION ERR" is displayed. If the failloc parameter is provided, one of two errors will be displayed, if there is a problem with the location provided; "FAIL LOCATION ERR" or "FAILLOC LINE ERROR".
Check Time (CHKTIME)
Checks the elapsed time since the last activity record, displays a message, and releases the unit if not enough time has passed between activities.
At the Menu Selection prompt, scan the CHKTIME command line specifying the minimum minutes required to elapse between activities.
Command format:
!!1CHKTIME.minmins
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
minmins | Minimum minutes required to elapse. |
The command checks to see if at least the specified minimum minutes have elapsed since the previous scan. If so, Menu Selection displays as normal. If the minimum time has not passed since the previous scan, the Continue Process message displays and the unit is released.
Check Time 99 (CHKTIME99)
Same as chktime command, but ignores flow errors and status errors in history when computing elapsed time. Checks the elapsed time since the last activity record, displays a message, and releases the unit if not enough time has passed between activities.
At the Menu Selection prompt, scan the CHKTIME99 command line specifying the minimum minutes required to elapse between activities.
Command format:
!!1CHKTIME.minmins
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
minmins | Minimum minutes required to elapse. |
The command checks to see if at least the specified minimum minutes have elapsed since the previous scan. If so, Menu Selection displays as normal. If the minimum time has not passed since the previous scan, the Continue Process message displays and the unit is released.
Check Time Due (CHKTIMEDUE)
Checks the amount of time elapsed from the last activity of the defined location/process name, to the current location/process name where the command was called, for the active serial number at the data collection point.
At the Serial Number prompt, scan a top level serial number. At the “Menu Selection” prompt, scan the CHKTIMEDUE command line.
Command format:
!!1CHKTIMEDUE.LOC/PROC.MINS
Parameters | Description |
LOC/PROC | Location or Process Name to use as the starting reference point for time calculation. |
MINS | The minimum amount of time, in minutes, required between the defined starting location or process and the current location/process where the command is being called. |
The command will use the last activity record for the specified location/process name as the starting point for time elapsed to the current location/process. If the specified location or process name does not exist, an “Invalid Loc/Proc” error is displayed. If the location/process defined is 4 or 5 characters and more than one location matches, the “Invalid Loc/Proc” error is displayed. If the location is validated, the active serial number at the data collection point is checked to see if activity exists for the specified location/process name. If the active serial number does not have an activity record for the defined location/process, a “No Activity at Loc/Proc” error is displayed. If any of these errors is returned, it is followed by RLSE. If activity exists, the elapsed amount of time between the two points is calculated and compared to the minimum amount of time specified in the command string, in minutes. If the minimum amount of time has not yet been reached, the command displays the “Due In: nnn Minutes”, where nnn is the amount of time remaining to meet the requirement. The RLSE command is then sent. If the calculated amount of time exceeds the defined minimum, the “Menu Selection” prompt is displayed.
Check Time Expired (CHKTIMEEXP2)
Checks the elapsed time since the last activity at the designated location/process. If no activity there, displays error 'No Activity at Loc/Proc' and sends RLSE. If maximum time has elapsed, displays 'Time Expired', records defect and returns to the MENU prompt. If not expired, returns to the MENU prompt. A comment is recorded in either case, showing the amount of time since most recent activity at the location/process.
At the “Serial Number?” prompt, scan a top level serial number. At the “Menu Selection” prompt, scan the CHKTIMEEXP2 command line.
Command format:
!!1CHKTIMEEXP2.loc4.maxmins.defcode
!!1CHKTIMEEXP2.process.maxmins.defcode
Parameters | Description |
LOC4/PROCESS | Location or Process Name to use as the starting reference point for time calculation. |
MAXMINS | The maximum amount of time, in minutes, allowed between the defined starting location or process and the current location/process where the command is being called. |
DEF_CODE | The defect code to log against the active serial number, if the time check is exceeded. |
The command will use the last activity record for the specified location/process name as the starting point for time elapsed to the current location/process. If the specified location or process name does not exist, an “Invalid Loc/Proc” error is displayed. If the location/process defined is 4 or 5 characters and more than one location matches, the “Invalid Loc/Proc” error is displayed. If the location is validated, the active serial number at the data collection point is checked to see if activity exists for the specified location/process name. If the active serial number does not have an activity record for the defined location/process, a “No Activity at Loc/Proc” error is displayed. If activity exists, the elapsed amount of time between the two points is calculated and compared to the maximum amount of time specified in the command string, in minutes. If the maximum amount of time has not yet been reached, the command sends the END command, passing the unit to the next location/process defined in the SFDC route. If the calculated amount of time exceeds the defined maximum, the “TIME EXPIRED” message is display and the command will log a defect against the active serial, using the defined defect code. If the defined defect code does not exist, the Defcode Missing error is displayed. Upon adding the defect code to the active serial number, the MENU$END command string is then sent to SFDC, failing the active serial to the defined location in the SFDC route.
Any other error will trigger a RLSE command to be sent to SFDC.
Show Time (SHOWTIME)
Displays current time in hh:mm format on data collector.
At a Menu Selection prompt, scan the SHOWTIME command line.
Command format:
!!2SHOWTIME
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
Check Number of Hours since Process Start (TIMELIMIT)
Checks the number of hours passed since a unit started a process. If the unit has not exceeded the maximum time allowed, the command displays UNIT OK and returns to the Menu Selection prompt. If it has exceeded the maximum time, a defect code is recorded against the unit.
At a Menu Selection prompt, scan the TIMELIMIT command line, specifying the required parameters for process name, defect code, and maximum number of hours.
Command format:
!!1TIMELIMIT.process_name.defcode.hours
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
process_name | The desired process location to check against. |
defcode | Defect code to record if the unit exceeded the maximum time at the specified location. |
hours | The maximum time allowed at the specified location. |
The command operates on the previously scanned serial number. If the serial number is not available for processing, the command displays APP ERROR 1.
If the serial number is available and valid, the command checks the parameters on the command line. The following errors may occur:
Error Message | Description |
MISSING PROCESS | The process_name parameter is blank. The unit is released. |
MISSING DEFCODE | The defcode parameter is blank. The unit is released. |
MISSING HOURS | The hours parameter is blank. The unit is released. |
BAD HOUR PARAM | The hours parameter is not an integer value of 1 or greater. The unit is released. |
AMBIGUOUS DEFCODE | The defcode parameter is ambiguous and cannot be used for processing. The unit is released. |
<defcode> NOT FOUND | The defcode parameter specifies a defect code that cannot be found. The unit is released. |
If no errors have occurred, the command looks for the earliest activity recorded for the unit at any location currently tied to the specified process (process_name). If the unit has never been scanned at the specified process, the command displays NOT IN PROCESS and releases the unit. Otherwise, the command calculates the elapsed time for the unit at this location. If the elapsed time is greater than the maximum time set by the hours parameter, the command records the specified defect code against the unit and ends.
If the unit has not exceeded the maximum time allowed, the command displays UNIT OK and returns to the Menu Selection prompt.
Time Stamp (TIMESTMP)
Outputs a time stamp to a serial printer. The command line provides, as an input parameter, the number of lines in the label (default is 4). This command can be run from either the Serial Number prompt (!!2) or the Menu Selection prompt (!!1). The output format is HH:MM:SS.
At the Serial Number prompt, scan the !!2 TIMESTMP command line. The command then prompts for a serial number.
At the Menu Selection prompt, scan the !!1 TIMESTMP command line. The command processes based on the previously scanned serial number.
Command format:
!!1TIMESTMP.#lines
!!2TIMESTMP.#lines
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
#lines | Number of lines in the label (default is 4). |
If no #lines parameter is provided in the command line, the command defaults to 4 lines. The first line of the printout is the serial number. The time stamp prints in the format HH:MM:SS.
User-Defined Field Commands
Copy Generic Receiver User-Defined (HTCOPYUD)
Looks for a tracked component with the specified reference designator for the scanned serial number. If not found, the command sends a release for the unit to SFDC. If the component is found, the command copies the user-defined field contents into the scanned serial number’s user-defined field.
At a Menu Selection prompt, scan the HTCOPYUD command line with the reference designator parameter.
Command format:
!!1HTCOPYUD.refdes
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
refdes | Reference designator. |
The command uses the previously scanned serial number. If no reference designator exists, the command displays Missing Refdes and releases the unit.
If the serial number is not available, the command displays APP ERROR 1 and releases the unit.
Next the command checks for a component matching the reference designator. If the component is not available, a MISSING COMP message displays and the command releases the unit. If the component serial number is not available, the command displays APP ERROR 2 and releases the unit.
If a matching component is found, the command checks to see if it is tracked. If the component is not tracked, the command displays COMP NOT TRACKED and releases the unit.
If the component is tracked, the command copies the tracked component user-defined value to the scanned serial number’s user-defined field. If the component user-defined field is empty, it is not copied.
Set User-Defined (HTSETUD)
Sets the user-defined field for a scanned serial number regardless of previous contents.
NOTE: Replaces the original HTSETLRB and HTSETLRG commands.
At the Menu Selection prompt, scan the HTSETUD command line, specifying the user_defined parameter.
Command format:
!!1HTSETUD.user_defined
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
user_defined | The value written to serial.user_defined field. |
The command uses the previously scanned serial number. If the user_defined parameter is not included on the command line, a Missing Param message displays and the command issues a release to the data collector.
If the serial number is not available, the command displays App Error 1 and releases the unit. If the serial number cannot be locked, the command displays CANNOT LOCK SER and releases the unit.
Otherwise, the command uses the value specified by the user_defined parameter and sets the user-defined field associated with the serial number.
Weight Commands
Weight Check (P12WEIGH)
Prompts for weight in pounds and tenths (for example 10.2) and compares scanned value to the value in the field dpart.weight (which is in tenths of lbs.). Expected to be within the variance supplied in the parameters whole and tenths. If scanned weight is < (dpart.weight - whole.tenths) then unit is failed with defcode 1416, else if > then failed with defcode 1417. If within range then scanned weight is written to serial.i1 as tenths of pounds (scanned weight * 10).
At a Serial Number prompt, scan the P12WEIGH command line.
Command format:
!!1P12WEIGH.whole.tenths
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
whole | The digit(s) to the left of the decimal |
tenths | Single digit to the right of the decimal (tenth) |
Together whole and fraction form the +/- allowed variance when comparing the scanned weight against the weight entered in part maintenance in the field dpart.weight which is in tenths of lbs.
The command first checks the variance weight parameters. If the value is missing, the message INVALID fraction is displayed, followed by Enter Weight:. If the entered weight is not a valid weight, the message BAD INPUT WEIGHT is displayed. The serial number and part number are then checked. If invalid, then one of the messages will be displayed, AMBIGUOUS SN, SN NOT FOUND, AMBIGUOUS PART, PART NOT FOUND, or SERIAL IS LOCKED. The entered weight is then checked against the value in the dpart table. If the entered value is less than the stored value, by the variance weight parameter, the message Underweight is displayed and a 1416 defect code is logged against the serial number. If the entered value is more than the stored value, by the variance weight parameter, the message Overweight is displayed and a 1417 defect code is logged against the serial number.
Weight Check (P12WEIGHA)
Prompts for weight in pounds and tenths (for example 10.2) and compares scanned value to the value in the field dpart.weight (which is in tenths of lbs.). Expected to be within the variance supplied in the parameters whole and tenths. If scanned weight is < (dpart.weight - whole.tenths) then unit is failed with defcode 1416, else if > then failed with defcode 1417. If within range then scanned weight is written to serial.i1 as tenths of pounds (scanned weight * 10). Identical to p12weigh command, except that if within range then scanned weight is recorded as an attribute of the unit.
At a Serial Number prompt, scan the P12WEIGHA command line.
Command format:
!!1P12WEIGHA. attrName.whole.tenths
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
attrName | Attribute name for scanned weight |
whole | The digit(s) to the left of the decimal |
tenths | Single digit to the right of the decimal (tenth) |
Together whole and fraction form the +/- allowed variance when comparing the scanned weight against the weight entered in part maintenance in the field dpart.weight which is in tenths of lbs.
The command first checks the variance weight parameters. If the value is missing, the message INVALID fraction is displayed, followed by Enter Weight:. If the entered weight is not a valid weight, the message BAD INPUT WEIGHT is displayed. The serial number and part number are then checked. If invalid, then one of the messages will be displayed, AMBIGUOUS SN, SN NOT FOUND, AMBIGUOUS PART, PART NOT FOUND, or SERIAL IS LOCKED. The attribute name parameter is checked and if invalid, the Attr Name not found message is displayed.The entered weight is then checked against the value in the dpart table. If the entered value is less than the stored value, by the variance weight parameter, the message Underweight is displayed and a 1416 defect code is logged against the serial number. If the entered value is more than the stored value, by the variance weight parameter, the message Overweight is displayed and a 1417 defect code is logged against the serial number.
Set Weight by Predefined 4-Pound Variance (SGIWEIGH)
Prompts for container weight. Calculates the expected weight by totaling up weights of parts in the traveler configuration. Compares entered weight to expected part weight. If the difference is more than a 4-pound variance, the command records a 1416 or 1417 defect to fail the unit. If the entered weight is within variance, the weight times 10 is saved in the unit serial.il field.
At a Menu Selection prompt, scan the SGIWEIGH command line.
Command format:
!!1SGIWEIGH
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command operates on the previously scanned serial number and prompts to Enter Weight. The command sets this weight as the actual weight.
The command verifies the serial number. If not available for processing, the command displays APP ERROR 1 and ends.
Next the command calculates the expected weight based on the unit part number. The target weight is compared to the actual weight.
If the actual weight is less than the target weight minus the 4-pound variance, the command records a 1416 defect against the unit and displays Underweight.
If the actual weight is greater than the target weight plus the 4-pound variance, the command records a 1417 defect against the unit and displays Overweight.
If the actual weight is within the described variance, the actual weight is recorded in the unit serial.il field and the command ends.
Work-In-Process (WIP) Commands
Back to Work-In-Process (BACK2WIP)
Restores a unit to work-in-process location where it had previously been before last pass/move activity. The move could have been a manual move from a data collector or a bulk move by a program. The command uses the currws parameter to specify the first 4 characters where the unit is expected to be. NOTE: This command cannot restore units moved from the SFDC PC.
At a Serial Number prompt, scan the BACK2WIP command line.
Command format:
!!2BACK2WIP.currws
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
currws | The first 4 characters of the location where the unit is expected to be. |
sn | Unit serial number scanned at prompt. |
The command prompts for Unit S/N. This is the unit being moved.
If the scan location is not available, an App Err 1 message displays. If valid, the command looks for the finished status location and checks to see if it matches the currws parameter. If the location is not a match, an Invalid loc message displays.
If the currws location is not a status 30 location, the Loc stat 30 error message displays.
Next the command checks the serial number to make sure it is valid and available. If it is ambiguous, the Duplicate Serial Number Found message displays. If it is not available, the command displays SN not found. The serial number must also be at status 30. If it is not status 30, a Status 30 rqrd message displays.
If the unit’s current location is not the same as the specified location, the command displays SN not at currws.
The command requires that the last activity be a manual move to the passed location. But if the activity was a manual move from a console, the command displays the error ‘DC Move Rqrd’.
If the activity location is valid, the command checks to see if the serial number is available. If not, the message Ser rec locked displays.
Otherwise, the command processes the move request, sending the unit back to the previous WIP location.
Back to Work-In-Process (BACK2WIP2)
Restores a unit to work-in-process location where it had previously been before last pass/move activity. This command has several extra features not found in the original back2wip command: (1) It uses up to 4 currws parameters to specify the first 4 characters where the unit is expected to be. All but currws1 is optional. 2) An optional parameter anypc. When set to 1 it allows restoring a unit which was cleaned up to a finished location on a different SFDC PC. 3) Unit can be at status 28, 29 or 30, and could have been manually moved, moved by wip cleanup, or passed to this location. 4) Checks that unit is not in container and not part of a COPS order. NOTE: This command cannot restore units moved via the SFDC PC console.
At a Serial Number prompt, scan the BACK2WIP2 command line.
Command format:
!!2BACK2WIP2. currws1[.currws2[.currws3[.currws4]]][.anypc]
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
currws1, currws2, currws3, currws4 | The first 4 characters of the location where the unit is expected to be. |
sn | Unit serial number scanned at prompt. |
The command prompts for Unit S/N. This is the unit being moved.
If the scan location is not available, an App Err 1 message displays. If valid, the command looks for the finished status location and checks to see if it matches the currws parameter. If the location is not a match, an Invalid loc message displays.
Next the command checks the serial number to make sure it is valid and available. If it is ambiguous, the Duplicate Serial Number Found message displays. If it is not available, the command displays SN not found. The serial number must also be at status 30. If it is not status 30, a Status 30 rqrd message displays.
If the scanned location is not the same as the specified location, the command displays SN not at currws.
The command requires that the last activity be a manual move to a passed location. If the activity location was a manual move from a console, the command displays an Activity Error.
If the activity location is valid, the command checks to see if the serial number is available. If not, the message Ser rec locked displays.
Otherwise, the command processes the move request, sending the unit back to Work-In-Process.
Touch Unit (TOUCH_UNIT)
Marks a group of units so they will NOT be cleaned up by the clean-up-wip process. The command prompts for serial numbers. If the unit is Work-In-Process, a comment is created in the unit history and the record is updated with the current date and time.
At a Serial Number prompt, scan the TOUCH_UNIT command line.
Command format:
!!1TOUCH_UNIT
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
The command prompts S/N to Touch. When a serial number is scanned, the command checks to see if it is available. If not available, a S/N NOT FOUND message displays.
The command verifies that the serial number status is not less than 20 or greater than 29. If the status is invalid, a error message displays with the invalid status value.
Next the command tries to lock the serial number for processing. If the serial number is already locked or unavailable, the SERIAL IS LOCKED message displays.
If the serial number is valid and available, the command creates a comment in the unit history and updates the serial number record with the current date and time. The unit is not moved. When complete the command prompts for the next serial number to touch.
If END is scanned at the serial number prompt, the command terminates.
Undo Kill (UNKILL)
Restores a killed or scrapped unit to wip. First parameter (unit_loc) is the location where unit must be. Second parameter (move_to_loc) is the wip location to move the unit to, which must be on the same line as the scan location. Note: The command expects the first 4 characters of the location name for the parameters.
At a Serial Number prompt, scan the UNKILL command line.
Command format:
!!2UNKILL.unit_loc.move_to_loc
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
unit_loc | Location to find the status 50 serial number. |
move_to_loc | Destination location to place the serial number. Location must be on the same line as the scanning location. |
The command checks the parameters, and expects the first 4 characters to be valid for a location. The message INVAL LOC1 or INVAL LOC2 if the location cannot be matched. The message Not Stat 20 is displayed if the MoveToLoc is not status 20. The command prompts Unit S/N? The command checks the entered serial number. The message SN Not Found is displayed if bad serial. Additional messages are SN Not Killed or Scrapped if unit not at status 50 or 55. COPS SN if it is a cops unit (module_select 3). SN Loc Not XXXX if serial is not at the correct location. If successful, the command creates a 'Unkilled' comment record in the unit history.
Transfer SN from Archive (XFERSN-ARCHIVE)
Prompts for serials to be returned from archive db. The command is terminated by scanning END.
At a Serial Number prompt, scan the XFERSN-ARCHIVE command line.
Command format:
!!2XFERSN-ARCHIVE
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
sn | Requested serial number |
The command prompts “Unit S/N?" for a serial from archive db, if it does not already exist in local db, and valid catalog entry is found. If does not find as scanned, applies serial build masks and checks again. Repeats prompting until END is scanned.
The following errors or messages can be displayed depending upon the situation.
MUST RUN AS !!2
END PROG
Serial Exists
Not Archived
Restore in Prog
Restore Requested
ksh NOT Found
INTERNAL ERR 1
ksh FAILED
Transfer SN from OldDB (XFERSN-OLDDB)
Prompts for serials to be transferred from old db. Used when a new db is created with only wip units installed, and old unit histories must be loaded as they are returned or found. Command first verifies that the unit does not already exist in the serial or catalog table. The command is terminated by scanning END.
At a Serial Number prompt, scan the XFERSN-OLDDB command line.
Command format:
!!2XFERSN-OLDDB
Parameters | Description |
ser_num | Serial number character string. |
prtkey | Part key. |
lockey | Location key. |
sn | Requested serial number |
The command prompts “Unit S/N?" for a serial from 'old' db. Used when new db created for existing production, when returned serials must be transferred from old db via moveWipxxxxx program. Command first verifies that the unit does not already exist in the serial or catalog table.
The following errors or messages can be displayed depending upon the situation.
MUST RUN AS !!2
END PROG
NO SPACE ALLOWED
No Project Rec
Serial Exists
Xfer Prev Rqstd
Catalog Exists
Dir Not Exist
Rqst Old Restore