question

Won S2 avatar image
0 Likes"
Won S2 asked Braydn T commented

Can I delete current TE's tasksquence by event trriger?

I want to delete or cancel TE's current tasksquence.

I used to set 'preempt' 3, but It didn't work when current tasksquence's preempt is 3 already.

How I can delete TE's current tasksquence?

I want to use flexsim script.

FlexSim 19.2.0
tasksquence
ts.png (12.5 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Braydn T commented

You can call a preempting state on an already preempted tasksequence. The tasksequence must have a higher priority.and the tasksequence aren't allowed to be created simultaneously. There must be a small time gap. Please look into the attached model. The Tasksequence are created on the Tasksequence Example 1 and minor changes like setting a ascending priority or changing the PREEMPT value through a label.preempt-and-abort-active-ts.fsm


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Braydn T avatar image Braydn T commented ·

Did this answer help you? If so, could you please accept it? If not, could you let us know what else we can do to help you? Thanks!

0 Likes 0 ·