cancel
Showing results for 
Search instead for 
Did you mean: 

CSE/PP - second program in the background

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello everybody,

 

is it possible to start a main simulation and run in the background a subprogram?
The subprog just contains some if/while queries.

 

Best wishes

Viktor

6 REPLIES

Re: CSE/PP - second program in the background

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi VikP,

 

'in background' means 'in parallel'?

 

This can be realized by using a second channel.

 

ThomasF

Re: CSE/PP - second program in the background

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

That was my idea, too.

The second programd should be running parallel in the second channel.

 

I need to realize it without the sync manager and without using two nc codes manuel.

At all, is it possible?

 

I think I need to use MOM_run_postprocess, but I need an example for it.

Re: CSE/PP - second program in the background

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi VikP,

 

the alternative can be to use the async motion functionality of CSE

Look into the chapter "Asynchronous Motions and Delays" of CSE help.

 

In that case you dont need to define a channel additonally 

 

ThomasF

 

 

Re: CSE/PP - second program in the background

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi ThomasF,

 

thank you for this idea.

 

I use AddWaitTask for calling a method.

This method calls a subprog, but nothing happens.

Re: CSE/PP - second program in the background

Siemens Phenom Siemens Phenom
Siemens Phenom

Find attached an example of sim08 where tool change and rotation of table runs in parallel non-synchronized in one channel. Maybe that helps.

Thomas Schulz
Siemens PLM
Manufacturing Engineering Software

Re: CSE/PP - second program in the background

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi Thomas,

 

I need to run parallel a subprog to the main prog. And this in one channel.

With the async action I dont get a well result. I dont get the subprog.

 

So now I made a two channel machine...

 

Best regards,

Viktor  

Learn online





Solution Information