Unitary

Pre-APOGEE

APOGEE

BACnet

PXC.A

Syntax

SAMPLE(sec) line

sec

Interval in seconds between evaluations of state.

- This value must be entered as an integer ranging from 1 to 32,767.

line

Any PPCL statement that does not include its own timing function. This includes:
WAIT, PDL, TOD, TIMAVG, LOOP, SSTO, or another SAMPLE command.

Use

Defines how often a command is evaluated. The SAMPLE command can be helpful in situations, such as preventing short cycling in ON/OFF decisions or reducing COVs from noisy flow transmitters.

Example

200  SAMPLE(600) ON(HALFAN)

Notes

The SAMPLE command executes immediately on a return from power failure, after an ENABLE command, or during the first execution of PPCL following a database load.

Valid commands can include assignment, calculations, and program control (GOTO, GOSUB).