Parallel Strings

With parallel branches, switching a single transition leads to a parallel activation of more than one (maximum 32) steps (branches). This applies with Single-Token as well as with Multi-Token

Processing Parallel Strings:

If...

Then

If S_5_10 is active and transition condition a, which belongs to the common transition, is also true,

then a sequence runs from S_5_10 to S_5_11, S_5_12 and S_5_13.

If steps S_5_11, S_5_12 and S_5_13 are activated,

then the strings run independently of one another.

If S_5_14, S_5_15 and S_5_16 are active at the same time and transition condition e, which belongs to the common transition, is true,

then a sequence is run from S_5_14, S_5_15 and S_5_16 to S_5_17.

Terminating a Parallel Branch with an Alternative Merge

Terminating a parallel branch can also be done with an alternative merge instead of a parallel merge with Multi-Token.

Terminating a Parallel String with an Alternative Branch (variation 1):

If...

Then

If the transition condition a is true,

then a sequence runs to S_5_1 and S_5_2.

If steps S_5_1 and S_5_2 are activated,

then the strings run independently of one another.

If transition condition b is true and c is false,

then a sequence runs to S_5_3.

A second token is created by the sequence running on the alternative merge out of the parallel string. The two tokens are running parallel to one another, i.e. S_5_2 and S_5_3 are active at the same time.

Token 1 (S_5_3)

Token 2 (S_5_2)

If...

Then

If...

Then

Step S_5_3 is active.

Step S_5_2 is active.

If the transition condition c is true,

then a sequence runs to S_5_3.

If S_5_3 is still active (token 1) then token 2 is ended and the string is further processed as Single-Token.

If S_5_3 is no longer active (token 1), then it is reactivated by token 2 and both tokens continue running parallel (Multi-Token).

Terminating a Parallel String with an Alternative Branch (variation 2):

If...

Then

If the transition condition a is true,

then a sequence runs to S_5_1 and S_5_2.

A second token is created by the sequence running on the alternative merge out of the parallel string. These two tokens are now running parallel to one another, i.e. S_5_1 and S_5_2 are active at the same time.

Token 1 (S_5_2)

Token 2 (S_5_1)

If...

Then

If...

Then

Step S_5_2 is active.

Step S_5_1 is active.

If transition condition b is true,

then a sequence runs to S_5_2.

If S_5_2 is still active (token 1) then token 2 is ended and the string is further processed as Single-Token.

If S_5_2 is no longer active (token 1), then it is reactivated by token 2 and both tokens continue running parallel (Multi-Token).

Using an Alternative Branch in a Parallel String

If one single alternative branch is used in a parallel string, it may block the string.

Using an Alternative Branch in a Parallel String:

If...

Then

If transition condition a is true,

then a sequence is run to S_7_1 and S_7_2.

If steps S_7_1 and S_7_2 are activated,

then the strings run independently of one another.

If transition condition d is true,

then a sequence runs to S_7_5.

If transition condition b is true,

then a sequence runs to S_7_3.

Since S_7_3, S_7_4 and S_7_5 are linked by a parallel merge, the parallel string cannot be departed because S_7_3 and S_7_4 can never be active at the same time.

(Either S_7_3 is activated with transition condition b or S_7_4 with transition condition c.)

Therefore S_7_3, S_7_4 and S_7_5 cannot be active at the same time either. The string is blocked.

This block can be removed for example, by a second timed token that runs via transition c.