Jump to content

Second part ident


---
 Share

Recommended Posts

Goodday,

I work at a company that makes moulds for the healthcare industry where engraving of parts is very important. We got our own part ident which is a unique number for each part. In some of these parts we also add another number (cavity number) which goes into the plastic product that comes out of the mould. We would like to add this last number to our measuring report as well. However I can figure out how I add another attribute that automatically counts.

So in short; I would like to have two attributes that can automatically count when I run a pallet.

Thanks for your help in advance.
Link to comment
Share on other sites

What Israel is trying to say: There's no such function built into Calypso. If you need a second header field that counts, you've got to implement it yourself using PCM.
Link to comment
Share on other sites

Please sign in to view this quote.

Thank you for the clarification. So if I understand correctly; I have to add this line of code in PCM and then link it to an attribute and that will make it work the same as the default counter in Calypso?

I will have to work out how to implement this. I might come back to you 🤣
Link to comment
Share on other sites

The two would be synchronized? i.e. Sequential number 101 is cavity one, 102 is cavity two? Enter the base number, in this case 100, into another field you are not using. Then use a formula to subtract?
Link to comment
Share on other sites

Please sign in to view this quote.

It won't work in the exact same way, since the built-in counter is controlled by Calypso, while the "PCM" counter is controlled only by you. The code line above just reads out the current value in a header field named "cavity" (which is just an example), adds 1 to it and writes it back. Of course there must be a number in that field, otherwise it'll throw an error.
The important part is where you put that command. I'd recommend the presettings of the inspection plan. This will trigger it whenever you start a CNC run. But Calypso's internal counter may also be incremented at other occasions, so in this sense it won't work in the exact same way, but it'll be close.
Link to comment
Share on other sites

In the AutoRun pallet you could assign the Cavity ID number to a specific Pallet ID number without PCM you just need to add a variable to the header and then assign the Cavity ID number to a specific Pallet ID number.

At least I am pretty sure you don't need PCM it has been awhile since I have done that.
Link to comment
Share on other sites

 Share

×
×
  • Create New...