Sequence Calls

Note

This topic applies only to SWCs specified as block diagrams.

A sequence call is linked to every assignment operation or every method call of an included component. Every sequence call represents an instruction in an ASCET diagram. Sequence calls determine the control flow in diagrams by assigning every instruction to a method or runnable, and determining the order of the instructions within a method or runnable.

In the software component editor, connecting lines between elements and/or operators are shown as colored lines as long as the sequencing for the instruction or operation linked to the element has not been resolved. The color indicates that the sequencing still has to be resolved. All lines to which a sequence call has been assigned are shown in black.

You can edit the sequence calls individually or in groups, manually or automatically.

Connectors are used to connect an assignment with a control flow instruction such as If Then or If Then Else.

Editing Individual Sequence Calls

Individual sequence calls can be assigned automatically or edited in the sequence editor. In the sequence editor, you can either enter a sequence number, or use a button to assign the next free number.

Automatic assignment, as well as the Next free button in the sequence editor, use a set of rulesto determine the sequence number.

Editing Several Sequence Calls

A large number of sequence calls may be necessary in complex diagrams. In that case, the possibilities to edit sequence calls in groups can be helpful. You can edit all sequence calls in a selected part of the diagram, all sequence calls assigned to a selected method/runnable, or all sequence calls in a complete diagram.

The sequencing algorithm uses a logical model graph that is computed from the inputs and outputs of all graphical elements. The algorithm tries to find dependencies between the graphical elements, but severe restrictions apply.

See also

Editing Individual Sequence Calls

Editing Several Sequence Calls

Connectors

Block-Local Sequence Calls