Chapter 3 - Command Syntax - User Guide - PXC4.E16.A - PXC5.E24.A - PXC7.E400.A

PXC.A PPCL User Guide

Product Family
Desigo
Content Language
English
Content Type
Technical Documentation > User Guide
Document No
125-1896 (A6V10374898_en--_j)
Stock No.
S55375-C114
S55375-C120
S55375-C126
Product No.
PXC4.E16.A
PXC5.E24.A
PXC7.E400.A
Access level
Internet
File Type
html
  • Edition notice
  • Copyright
  • How to Use This Manual
  • Manual Organization
  • Manual Conventions
  • Syntax Page Example
  • Compatibility bar
  • Syntax
  • Use
  • Chapter 1 - Program Methodology
  • Introduction
  • PPCL Rules
  • General PPCL Rules
  • Maximum Number of Characters per Program Line
  • Maximum Number of Characters per Comment Line
  • PPCL Rules for PXC.A Controllers
  • Syntax Errors
  • Defining Objects in a PPCL Program
  • Rules for Naming Objects
  • Rules for Naming a PPCL Program
  • BACnet Point Naming (Encoded names)
  • Object type specifier
  • Objects with named references
  • Subpoint member reference
  • Syntax Errors
  • Invalid Property Specifiers
  • Obsolete PPCL Statements Removed from the Language
  • Redundant PPCL Statements
  • New and Modified PPCL Statements
  • PPCL Program Design Guidelines
  • Designing a Program that is Easy to Maintain
  • Designing a Program that Operates Efficiently
  • Relational Operators
  • Equal to (.EQ.)
  • Greater than (.GT.)
  • Greater than or equal to (.GE.)
  • Less than (.LT.)
  • Less than or equal to (.LE.)
  • Not equal to (.NE.)
  • Logical Operators
  • And (.AND.)
  • Not And (.NAND.)
  • Or (.OR.)
  • Exclusive Or (.XOR.)
  • Arithmetic Operators
  • Addition
  • Assignment
  • Division
  • Multiplication
  • Subtraction
  • Arithmetic Functions
  • Arc-Tangent (ATN)
  • Complement (COM)
  • Cosine (COS)
  • Natural Antilog (EXP)
  • Natural Log (LOG)
  • Root (.ROOT.)
  • Square Root (SQRT)
  • Sine (SIN)
  • Tangent (TAN)
  • Special Functions
  • Alarm priority (ALMPRI)
  • Totalized value (TOTAL)
  • Order of Precedence
  • Changing Precedence Levels with Parentheses
  • Resident Points
  • Alarm count (ALMCNT)
  • Alarm count 2 (ALMCT2)
  • Battery condition ($BATT)
  • Communications link (LINK)
  • Day (DAY)
  • Day of the month (DAYOFM)
  • Decimal time (CRTIME)
  • Military time (TIME)
  • Month (MONTH)
  • PDL monitor ($PDL)
  • Seconds counter (SECNDS)
  • Seconds counters (SECND1 through SECND7)
  • Local Variables
  • $ARG1 through $ARG15
  • $LOC1 through $LOC15
  • At (@) Priority Status Indicators
  • Testing Point Priorities
  • Commanding Points to a Specific Priority
  • Operator (@OPER)
  • Smoke (@SMOKE)
  • Emergency (@EMER)
  • Peak Demand Limiting (@PDL)
  • PPCL (@NONE)
  • Pre-APOGEE Firmware
  • Releasing the Point to NONE Priority
  • Releasing the Point from a Specific Priority to NONE Priority
  • Object Status Indicators
  • Failed Object Values
  • Determining Object Status
  • Commanding and Evaluating the HAND Status
  • Object Status Indicators Supported
  • Alarm (ALARM)
  • Alarm Acknowledge (ALMACK)
  • Auto (AUTO)
  • Battery Status—Charged (OK)
  • Battery Status—Discharged (DEAD)
  • Battery Status—Almost Discharged (LOW)
  • Day mode (DAYMOD)
  • Failed (FAILED)
  • Fast (FAST)
  • Manual Override (HAND)
  • Night Mode (NGTMOD)
  • Off (OFF)
  • On (ON)
  • Proof on (PRFON)
  • Slow (SLOW)
  • Converting a Sequence of Operation into Program Code
  • Guidelines
  • Designing Programs Using a Modular Structure
  • Objectives of Modular Programming
  • Benefits of Using Subroutines
  • When to Use a Subroutine
  • Subroutine Commands
  • Using GOTO
  • Using GOSUB
  • Multiple Programs versus Subroutines
  • Program Testing
  • What Should be Tested?
  • Program Documentation
  • Internal Documentation
  • External Documentation
  • Decision Tables
  • Pseudocode
  • Chapter 2 - Control Option Comparisons
  • Overview
  • Duty Cycling (DC)
  • Duty Cycling Commands
  • The DC Command
  • The DCR Command
  • Enthalpy and Dry Bulb Economizer Control
  • Example—Economizer Comparison
  • Enthalpy Economizer Calculations
  • Peak Demand Limiting (PDL)
  • Why Use PDL?
  • Why Use PDL Instead of Duty Cycling?
  • Distributed Peak Demand Limiting
  • Defining Distributed PDL
  • Defining Distributed PDL
  • Start/Stop Time Optimization (SSTO)
  • Where to Use SSTO
  • Defining SSTO
  • SSTO Formulas
  • Cooling Season—Optimum Start Time
  • Cooling Season—Optimum Stop Time
  • Heating Season—Optimum Start Time
  • Heating Season—Optimum Stop Time
  • Cooling Mode at Occupancy Begin
  • Cooling Mode at Occupancy End
  • Heating Mode at Occupancy Begin
  • Heating Mode at Occupancy End
  • Time-of-Day (TOD)
  • Where to Use TOD
  • Defining Time-of-Day
  • Example 1: Holidays defined in PPCL, but not in the TOD calendar
  • Example 2: Holidays defined in TOD calendar, but not in PPCL
  • Example 3: Holidays defined in both PPCL HOLIDA and the TOD calendar
  • IF/THEN/ELSE Time-Of-Day
  • APOGEE Interaction with PPCL TOD
  • Chapter 3 - Command Syntax
  • Overview
  • ACT (Activate lines)
  • ADAPTM (Adaptive control, multiple)
  • tcd Example
  • tch Example
  • tcc Example
  • ADAPTS (Adaptive control, single)
  • llpv Example 1
  • llpv Example 2
  • hlpv Example 1
  • hlpv Example 2
  • ALARM (Alarm state)
  • AUTO (Auto status)
  • DAY (Day mode)
  • DBSWIT (Dead band switch)
  • DC (Duty cycle)
  • DCR (Duty cycle routine)
  • DEACT (Deactivate lines)
  • DEFINE (Define abbreviation)
  • DISABL (Disable lines)
  • DISALM (Disable alarm)
  • DISCOV (Disable COV)
  • DPHONE (Disable phone)
  • EMAUTO (Emergency, Auto status)
  • EMFAST (Emergency, Fast status)
  • EMOFF (Emergency, Off status)
  • EMON (Emergency, On status
  • EMSET (Emergency, set value)
  • EMSLOW (Emergency, Slow status)
  • ENABLE (Enable lines)
  • ENALM (Enable alarm)
  • ENCOV (Enable COV)
  • EPHONE (Enable phone)
  • FAST (Fast status)
  • GETVAL (Read property values)
  • GOSUB (Go to subroutine)
  • GOTO (Go to line)
  • HLIMIT (High limit)
  • HOLIDA (Holiday)
  • IF/THEN and IF/THEN/ELSE (Conditional control)
  • INITTO (Initialize totalized value)
  • LLIMIT (Low limit)
  • LOCAL (Local variable)
  • LOOP (Loop control)
  • MAX (Maximum value)
  • MIN (Minimum value)
  • NIGHT (Night mode)
  • NORMAL (Normal operating mode)
  • OFF (Off status)
  • OIP (Operator interface program)
  • ON (On status)
  • ONPWRT (On after power return)
  • PDL (Peak demand limiting)
  • PDLDAT (PDL, define load attributes)
  • PDLDPG (PDL, digital point group)
  • PDLMTR (PDL, meter monitor)
  • PDLSET (PDL, setpoints)
  • RELEAS (Release)
  • RETURN (Return/end subroutine)
  • SAMPLE (Sample a statement)
  • SET (Set point value)
  • SETVAL (Write property values)
  • SLOW (Slow status)
  • SSTO (Start/stop time optimization)
  • SSTOCO (SSTO coefficients)
  • STATE (State text command)
  • TABLE (Table of coordinates)
  • TIMAVG (Average over time)
  • TOD (Time of day, digital points)
  • TODMOD (TOD modes)
  • TODSET (Time of day, analog points)
  • WAIT (Wait time)
  • Appendix A—PPCL Reserved Word List
  • Appendix B−Property Short Names, Numbers, and Descriptions
  • Appendix C—Program for MEC100K
Chapter 3 - Command Syntax

Back to home page