Documentation Home Page RT-XSG Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Simulation State

Block

Mask

Description

This block outputs the state of the RT-LAB simulation, sensitive to the 'Load', 'Execute' or 'Pause' buttons from the software tool such RT-LAB. This block can be used to output default values to digital or analog outputs when the simulation is not running.

Parameters

This block has no parameters.

Inputs

This block has no input.

Outputs

Stopped

It is set to '1' when the RT-LAB simulation synchronization signal timed out, the simulation appears to be in reset mode (if the Sync pulse is not received after a delay longer than the timeout time).

It goes to '0' while the simulation is running.

PauseIt is set to '1' when simulation = PAUSE.
ExecuteIt is set to '1' when simulation = EXECUTE.
ResetIt is set to '1' when simulation = RESET.
LoadIt is set to '1' when simulation = LOAD.
CrashedIt is set to '1' when the RT-LAB simulation crashed (lacking Sync and/or Update Request pulse for a period exceeding a timeout time).

Characteristics and Limitations

This block is only compatible with simulation time steps shorter than 40 milliseconds.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter