Require: IP-Symcon >= 5.1
boolean PC_Enter (int $InstanceID)
InstanceID | ID of the Presence-Control-Instance |
If the command succeeds, it returns TRUE, otherwise FALSE.
The function sets the presence variable of the instance with ID InstanceID to true.
In addition, the presence is fixed for the dead-time set in the module and is not changed by status or pulse variables. During the dead-time, pulses on pulse-variables and changes in state-variables are completely ignored. After the dead-time, the presence is initially set based on the state variable.
// Sets Presence-Control-Instance 12345 to "true"
PC_Enter(12345);