Adding Arguments to Conditions/Actions

If you want to use a trigger argument in an action or condition specified in an ActionCondition diagram, you must generate an argument of the same name and the same type in the action or condition.

  1. In the Outline tab, select the required action or condition.
  2. Open the signature editor (see Editing the Signature of a Method or Process).

    The signature editor for actions/conditions is the same as for normal methods.

  3. In the Arguments tab, add the necessary arguments (see Adding an Argument to the Method). Make sure that the names and the types are the same.

    With this generated argument you can create connections as with a parameter.

  4. If necessary, you can enter a comment for the return value of a condition in the Return tab.

See also

Communication with Other Components

State Machines as Classes

Editing the Signature of a Method or Process

Adding an Argument to the Method