Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SetScheduleState

Changes the active state of a certain schedule.

Subroutine

SetScheduleState(Schedule Index, Active State)

Description

This subroutine is used to change the active state of a specified schedule.

Active State

Description

0

Disable the specified schedule.

1

Enable the specified schedule.

Example

Activate the 1st 2nd schedule.

SetScheduleState(12, 1);

 

GetScheduleState

Obtains the active state of a certain schedule.

Subroutine

n = GetScheduleState(Schedule Index)

Description

Returns the active state of a specified schedule.

Active State

Description

0

Disable the specified schedule.

1

Enable the specified schedule.

Example

Enter the command to obtain the active state of the 1st schedule. Returns value 0 or 1.

VAR STATE;

STATE = GetScheduleState(1);

...