Unitary

Pre-APOGEE

APOGEE

BACnet

PXC.A

 

Syntax

TODMOD(momode,tumode,wemode,thmode,frmode,samode, sumode)

NOTE:
Valid mode values are described in the table following the parameter descriptions.

momode

Mode number for Monday.

- Valid values are 1, 2, 4, or 8.

tumode

Mode number for Tuesday.

- Valid values are 1, 2, 4, or 8.

wemode

Mode number for Wednesday.

- Valid values are 1, 2, 4, or 8.

thmode

Mode number for Thursday.

- Valid values are 1, 2, 4, or 8.

frmode

Mode number for Friday.

- Valid values are 1, 2, 4, or 8.

samodet

Mode number for Saturday.

- Valid values are 1, 2, 4, or 8.

sumode

Mode number for Sunday.

- Valid values are 1, 2, 4, or 8.

Valid TODMOD Mode Values.

Mode

Schedule

1

Normal schedule

2

Extended schedule

4

Shortened schedule

8

Weekend schedule

16*

Holiday schedule

*

Mode number 16 (Holiday) should only be used with the HOLIDA command.

Use

This command defines specific modes (normal, weekend, etc.) for each day of the week. Days that have the same schedule are assigned the same mode.

The mode assigned to a specific day of the week is used in conjunction with the TOD and TODSET commands to command points on that day.

Example

110  TODMOD(1,1,1,1,2,4,8)

In this example, Monday through Thursday are assigned to a normal schedule, Friday is assigned to an extended schedule, Saturday is assigned to the shortened schedule, and Sunday is assigned to the weekend schedule.

Notes

The HOLIDA and TODMOD commands must precede any TOD or TODSET commands in order for the program to operate correctly.

A HOLIDA or TODMOD command in a automation station will only affect TOD and TODSET commands in that automation station.

When a holiday date occurs in a HOLIDA command, the system sets the TODMOD mode number for that day to 16.

See also the HOLIDA, SSTO, TOD, and TODSET topics.