ToActive: BOOL; bSwitchToSimulation [...] ToActive(); END_IF IF bSwitchToSimulation THEN bSwitchToSimulation