[Be...] Posted May 5, 2020 Share Posted May 5, 2020 I am using the pallet option of autorun to measure and output results for 3 parts in a pallet fixture. I measure the 1st, 6th, and 12th part in a batch of parts. I would like to setup the autorun program such that the 6th and 12th serial numbers will be added automatically to their separate results printouts once an operator inputs the first serial number. Can this be accomplished using PCM or some global variable? Link to comment Share on other sites More sharing options...
[Er...] Posted May 6, 2020 Share Posted May 6, 2020 Is it something like this you wish to accomplish? setRecordHead("partnbinc",getRecordHead("partnbinc")+"_"+getRecordHead("palletlocationnumber")) If you only wish to enter part number once, you need to remove that in the "Select printout header parameters". And do it like this. if getRecordHead("palletlocationnumber") == getRecordHead("firstpalletlocationnumber") setRecordHead("partnbinc",inquireText("Input part no")+"_"+getRecordHead("palletlocationnumber")) else setRecordHead("partnbinc",strElement(1,"_",getRecordHead("partnbinc"))+"_"+getRecordHead("palletlocationnumber")) endif Link to comment Share on other sites More sharing options...
[Be...] Posted June 4, 2020 Author Share Posted June 4, 2020 That was exactly what i was looking for. Thank you for pointing me in the right direction. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in