Discuss (large)

Welcome to the COE Discussion Forums! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


 

Follow COE on

COE DISCUSSION FORUM
How to check if parameter exists before duplicating the same parameter in a catprocess?
Last Post 23 Nov 2009 02:37 PM by SAMARINDER. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
SAMARINDER
500+ Poster
500+ Poster
Posts:858
Avatar


--
19 Aug 2009 03:31 PM  

Hi,

Is there any way to check if the parameter exists before duplicating it? Here is the scenario.

In MFG workbench Part Operation doesn't have Max Spindle RPMs for milling machines. So I create a parameter called MaxRPMs and then drive some other formulas based upon that. Then I strore all that in all of my machining processes(MP).

When I instantiate these MP more than one time in my catprocess, I end up with multiple MaxRPMs under parameter set which are all the same say 8000rpm. If i have to move this job on a different machine with less RPMs. Then I have to change all those parameters with another script.

How can I stay away from duplicating the parameters?

Thanks

Samarinder

Samarinder Singh
CUTPATH CNC
ssc@CutPathCNC.com
SAMARINDER
500+ Poster
500+ Poster
Posts:858
Avatar


--
31 Aug 2009 03:48 PM  

Hi,

I would like to know how to restrict duplications of the parameter if it already exists when any powercopy or machining process is instantiated

Thanks



Samarinder Singh
CUTPATH CNC
ssc@CutPathCNC.com
TONLAAN
Occasional Poster
Occasional Poster
Posts:19


--
29 Sep 2009 09:04 AM  
I don't know about a machining process but for a powercopy I would do it like this. Create a powercopy where the parameter is an input. To do this make the powercopy part with the parameter, including all relations involving the parameter but don''t include the parameter in the powercopy. Now create the parameter seperate from the powercopy, either interactively or using VBA. Now the powercopy can be instantiated and the created parameter can be used as an input for the powercopy. I hope this is clear.
ROARKJE
50+ Poster
50+ Poster
Posts:100


--
01 Oct 2009 08:06 AM  
It seems like there are two operations in this process.
1. test if parameter exists
2. execute power copy

The trick is to have a process for the logic. BKT can do this, but I guess you may not own this module of Knowledgeware.

Using VBScript:
- test for the parameter
-- if the parameter does not exist insert the power copy from the script
-- if the parameter exist display a message stating the parameter already exists
BPHELPS
50+ Poster
50+ Poster
Posts:66


--
13 Oct 2009 09:40 AM  

Is that JPG that of the blank process that you are to apply to a blank catprocess?  If so do you think I could get a sample file such as this to study?  This would be a great help as I automating my own and realize that some parameters and rules will be necessary to accomplish some task outstanding.

SAMARINDER
500+ Poster
500+ Poster
Posts:858
Avatar


--
13 Oct 2009 04:44 PM  
BPHELPS,

I dont have the catprocess with me because this is something I was trying to do at my last workplace using KB "M" knowledge based machining. They were swapping parts from one machine to another and problem is even if the machine configuration is same (5axis B-primary A-secondary vertical) but different dynamics (gear driven vs belt driven, 12000rpm hsk vs 6000rpm cat50, etc) so process has to be modified (speeds, feeds, axial and radial depth of cuts)

So I tried to utilize CatiaV5 knowledge tools but there are few things
*. No proper documentation which is next to none for NC-machining
*. No training thanks to companies vision
*. As far as I know knowledge expert rules can only change the stuff at global level for feed, speeds and I am not sure how it can be done for individual MOs

* So I tried to use adviser rules whenever create a new process but no success.

Back to vb automation where I could change these values on the fly and recompute the MOs in the process but I have to run the vba macro more than once for various modifications.
I think using vb is better way to go with such tasks.
Samarinder Singh
CUTPATH CNC
ssc@CutPathCNC.com
BPHELPS
50+ Poster
50+ Poster
Posts:66


--
13 Oct 2009 09:54 PM  

I program for stamping die components.  If you've ever worked in a die shop, you'd know that they seemingly live in the moment.  They don't see beyound the end of their nose so short sightedness een appliedhas been a thorn in my side too.  With very little training I've come a long ways.  I really have only one issue to resolve.  It's whether or not to apply a .250 drill or to drill (13/32), then come back with a 12mm ream when applying a process.  The check is true for each.  I can only differentiate between two potential parameters available in the host process.  Oh and the color applied is consistent to these holes.  I some how need to prevent the 1of 2 being initiated prior, or I need to delete 1of 2 once it's been applied.  Any ideas would be helpful.  Eventually i've got to learn the vb stuff.  Seems hard as well.

SAMARINDER
500+ Poster
500+ Poster
Posts:858
Avatar


--
23 Nov 2009 02:37 PM  
Thank you guys for all your input. I have solved the problem by creating a parameter in host catprocess file.
Samarinder Singh
CUTPATH CNC
ssc@CutPathCNC.com
You are not authorized to post a reply.

Active Forums 4.1