Cancel
Showing results for 
Search instead for 
Did you mean: 

Using a Trigger object

Legend
Legend

Can anyone please fix the model i am attaching and explain what was wrong. I just want to run a method periodically every 7 days for 365 days. But it looks like, i am not able to put all the parameters in it.

Sachin
4 REPLIES

Re: Using a Trigger object

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Sachin,

 

it works how it is shown by the attached model for Plant Simulation 12

 

Regards,

Peter

Re: Using a Trigger object

Legend
Legend

Hi Peter, 

 

Thanks for your reply. But I am not able to to download any attachment. Infact i am not able to download my own attachment i attached yesterday. Is there anything wrong with this site. Were you able to download my attached file?

 

Thanks

Sachin

Sachin

Re: Using a Trigger object

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Sachin,

 

I want ot describe the solution.
The Active Interval is 365:00:00:00 and the Period length is 7:00:00:00.
We select the checkbox Repeat periodically.
On the tab Actions we deactivate the inheritance of Method and insert the name of a method object.

 

I recommend to register the calls by the following method:

param a,b:string

TriggerActions[1, TriggerActions.ydim+1] := eventcontroller.simtime

TriggerActions is a Tablefile object the first column of it has the type time.

A Reset method contains

TriggerActions.delete

Regards,

Peter

 

Re: Using a Trigger object

Legend
Legend

Thanks Peter. 

 

I knew it was a simple solution. They should totally replace the period with interval. Its confusing. 

 

 

Sachin