SwitchToActive (FUN)

FUNCTION SwitchToActive : BOOL

Switches a plc to redundancy state RS_CYCLE_ACTIVE. Can be called in state RS_SIMULATION and RS_CYCLE_STANDBY. In state RS_SIMULATION, plc will become RS_CYCLE_ACTIVE (if second plc is running) or RS_CYCLE_STANDALONE (if second plc is not running). In state RS_CYCLE_STANDBY, plc will become RS_CYCLE_ACTIVE. State change is not performed immediately. A commend send to other plc in next StartCycle or EndCycle.

InOut:

Scope

Name

Type

Return

SwitchToActive

BOOL