Unitary | Pre-APOGEE | APOGEE | BACnet | PXC.A |
---|---|---|---|---|
● | ● | ● | ● | ● |
Syntax
TABLE(input,output,x1,y1,...,x7,y7)
input | Point name of the input (x) variable. - This parameter can be a local variable or virtual LAI point type. |
output | Point name of the output (y) variable. - This parameter can be a local variable or virtual LAO point type. |
x1,y1 through x7,y7 | Pairs of coordinates that define the x-y relationship. y1 is the value of the output when the input equals x1; y2 is the value of the output when the input is x2, etc. - The coordinates can be integers or decimals. |
Use
This command allows you to define a general function of two variables by specifying pairs of coordinates (x,y).
The TABLE command makes a straight line interpolation for the output (y) when the input is between a pair of x values.
The x points must be entered in ascending order (that is x3 must be larger than x2, etc.).
For inputs lower than x1, the output will always equal y1.
For inputs larger than the last x used, the output will equal the last y value entered.
Example
500 C
502 C TABLE COMMAND INFORMATION:
504 C
506 C OATEMP (X) HWSP (Y)
508 C ---------- ----------
510 C 0 DEG F 180 DEG F
512 C 60 DEG F 100 DEG F
The hot water setpoint will remain at 180F when the outside temperature is below 0F. The hot water setpoint will remain at 100F when the outside temperature is above 60F.
Notes
TABLE statements can be cascaded by overlapping x-y pairs using virtual points.
Do not use resident points in either the SET or the TABLE command. With both the SET and TABLE commands, the following should be used for resident points:
Virtual point = Resident point