EnableEvent() - The Enable Event Command

This function enables a local event on a DTC timeclock.
This is useful when you have a schedule that only want to run in certain situations.

Not supported in Ethernet Gateways. For that you will have to use the physical OpCode 0x14 to enable events.

This command is the opposite of the DisableEvent() command.

Syntax

EnableEvent(x)
Where "x" is the schedule you want to enable.

Example

{
EnableEvent(1)      //Enables schedule #1 on the device.
}