DisableEvent() - The Disable Event Command

This function disables 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 0x15 to disable events.

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

Syntax

DisableEvent(x)
Where "x" is the schedule you want to disable.

Example

{
DisableEvent(1)      //Disables schedule #1 on the device.
}