« Back to Product

Documentation

PC_Enter

Require: IP-Symcon >= 5.1

 boolean PC_Enter (int $InstanceID) 

Parameters

InstanceID

ID of the Presence-Control-Instance

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

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.

Example

// Sets Presence-Control-Instance 12345 to "true"
PC_Enter(12345);
Any questions?