Unitary | Pre-APOGEE | APOGEE | BACnet | PXC.A |
---|---|---|---|---|
| ● | ● | ● | ● |
Syntax
DEACT(line1,...,line16)
line1 through line16 | Valid PPCL line numbers. - Line numbers must be entered as integers ranging from 1 to 32767. - A range of PPCL lines cannot be defined using the DEACT command. |
Use
For PXC.A devices, this statement has been replaced with GOTO( ), GOSUB( ) and RETURN( ).
Disables lines of PPCL code to prevent them from being examined or executed.
- The DEACT command only affects the lines of PPCL program for the device where the program resides.
- DEACT only disables PPCL lines that are specifically defined in the command.
- A maximum of 16 lines of PPCL code can be controlled with one DEACT command.
Example
100 IF (TIME.GT.8:00.AND.TIME.LE.17:00) THEN
ACT(120,130) ELSE DEACT(120,130)
Notes
The DEACT and DISABLE commands can be used interchangeably.