Simulation control can be either Interactive or Batch, never a mix of both. Interactive mode means that Simulation control (
GO
commands, element value changes etc.) is done manually, either by typing commands at the command line or by selecting commands from the Simulation menus. Batch mode means that Simulation is controlled by the main section of an SCP program. When an SCP is started, its init section and breakpoint definitions are executed. If this is the only SCP running, its main section (if present) is also executed. The started SCP is now considered “active”, even if the execution of its main section is temporarily paused while interactive commands are performed.Several SCPs can be active at the same time. Breakpoint definitions in active SCPs remain active during Interactive Simulation, until the SCP is stopped. Initially, when Simulation is started, you are in Interactive mode. When an SCP is started, you switch to Batch mode and the simulation is controlled by the main section in the SCP. If the SCP does not include a main section, the Simulator runs a
default main
, consisting of indefinitely repeatedGoExtend
command.A running SCP can be temporarily paused while some interactive commands are performed, and then continued where it left off. During Batch mode (some SCP main section is executing) there are several ways to switch back to Interactive mode. The following automatically causes a return to Interactive mode:
● The SCL commandSET INTERACTIVE
is executed in the SCP. This command is often included as part of the command section for breakpoints.
● You select thePause
command from the Simulation Execution window to interrupt SCP execution.
●