Action Port
Control port for the action signal.
blockType: ActionPort
Path in the library:
|
Description
The Action Port block controls the execution of Subsystem. The block adds an external input port for action signals to the subsystem. The action signal is a control signal connected to the Action port of the Subsystem block. An action signal message initiates the execution of the subsystem.
It is used in subsystems containing blocks:
Parameters
Main
#
States when execution is resumed —
processing of block states when the unit is switched on again
held
| reset
Details
Select what happens to the internal states when a subsystem with a unit Action Port is re-enabled:
-
held
- When you re-enable the subsystem, the previous state values of the subsystem are retained. The previous state values between calls are retained even if you call other subsystem blocks associated with the If or Switch Case blocks. -
reset
- when you re-enable the subsystem, the state values are re-initialised.
The subsystem is re-enabled when the logical expression for its action port evaluates to true after previously being false.
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
No |
#
Propagate sizes of variable-size signals —
select when to distribute a variable size signal
Only when execution is resumed
| During execution
Details
Select when to distribute a variable size signal.
-
Only when execution is resumed
- propagate the variable size signal when the block Subsystem, containing the block Action Port, is re-enabled. When this option is selected, the calculation step must be periodic. -
During execution
- propagate variable size signals at each time step.
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
No |