Unitary | Pre-APOGEE | APOGEE | BACnet | PXC.A |
---|---|---|---|---|
| ● | ● | ● | ● |
Syntax
TODSET(mode,recomd,time1,val1,time2,val2,pt1,..., pt10)
NOTE:
Valid mode values are described in the table following the parameter descriptions.
mode | Mode number. - Valid values are 1, 2, 4, 8, or 16. - Mode numbers can be added together to create customized schedules for the TOD program. - Mode number 16 should only be used with the HOLIDA command. |
recomd | Determines if the points defined will be commanded after a return from a power failure (fail-safe position). Recomd (re-command) is sometimes necessary for automation station warmstarts. - Valid values are 0 and 1. 0 = Does not re-command pt1 through pt10 on return from power failure. 1 = Re-commands pt1 through pt10 on return from power failure. |
time1 | Time at which the output points (pt1 through pt10) are commanded to val1. - This parameter can be a military time (7:30 p.m. = 19:30), a decimal time (7:30 p.m. = 19.50), a logical point name, or a local variable. |
val1 | Analog value which the output points (pt1 through pt10) assume at time1. - This parameter can be a military time (7:30 p.m. = 19:30), a decimal time (7:30 p.m. = 19.50), a logical point name, or a local variable. |
time2 | Time at which the output points (pt1 through pt10) are commanded to val2. - This parameter can be a military time (7:30 p.m. = 19:30), a decimal time (7:30 p.m. = 19.50), a logical point name, or a local variable. |
val2 | Analog value which the output points (pt1 through pt10) assume at time2. - This parameter can be a military time (7:30 p.m. = 19:30), a decimal time (7:30 p.m. = 19.50), a logical point name, or a local variable. |
pt1 through pt10 | Names of analog output points that are commanded to a value. |
Valid TODSET 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 is the counterpart of the TOD command for analog points. It commands analog output points based on the day of the week and the time of day.
If the mode number in the TODSET command matches the mode number in the TODMOD command, then TODSET will command the particular output points to val1 and val2 at the specified times.
Example
550 TODSET(1,1,9:00,72.0,17:00,55.0, SPTEMP)