APOGEE PPCL Editor

Complete the following procedures as needed:

Activating Edit Mode

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to edit.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  • The Edit Program icon turns gray to show that it is active.

Clearing Trace Bits

  • System Manager is in Engineering mode.
  • The Status column for the program displays at least one T.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to clear.
  1. Click the ApogeePPCL tab.
  1. Click Clear Program Trace Bits .
  • The Clear Program Trace Bits dialog box displays.
  1. Accept the default beginning and ending statement program line numbers, or enter your own.
  1. Click OK.
  • The system clears the trace bits from the program.

Compiling a Program

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to compile.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  1. Click Compile Program .
  1. Select one of the following:
  • Compile Selected Statements
  • Compile All Statements
  • The PPCL Editor compiles the statements and displays the results in the Output section.

Compiling and Saving a Program

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to compile and save.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  1. Click Save .
  • The PPCL Editor compiles the statements, saves the program to the field panel, and then displays the results in the Output section.

Copying or Moving Program Lines

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to copy or move.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  1. Select the text, statement, or group of statements you want to copy or move.
  1. Do one of the following:
  • Right-click and select Copy.
  • Right-click and select Cut.
  1. Place the mouse cursor in the program where you want to copy or move it.
    NOTE: You can copy or move information within a program or across programs.
  1. Right-click and select Paste.
  • The system copies or moves the information.

Creating a New Program

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program from which you want to create a new program.
  1. Click the ApogeePPCL tab.
  1. Click New Program .

Deleting a Program

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to delete.
  1. Click the ApogeePPCL tab.
  1. Click Delete .
  • The system deletes the program from the field panel, updates System Browser, and displays the results of the action in the Output section.

Disabling Statements

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to disable.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  1. Do one of the following:
  • Place the cursor in the program statement that you want to disable.
  • Select the block of program (multiple statements) that you want to disable.
  1. Click Disable Program Statements .

Enabling Statements

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to enable.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  1. Do one of the following:
  • Place the cursor in the program statement that you want to enable.
  • Select the block of program (multiple statements) that you want to enable.
  1. Click Enable Program Statements .

Finding and Replacing Text in a Program

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to find and replace.
  1. Click the ApogeePPCL tab.
  1. Click Search Text .
  • The Search Text dialog box displays.
  1. In the Find What field, enter the text you want to find.
  1. In the Replace With field, enter the text you want to substitute.
  1. From the Look In drop-down arrow, select where you want to look for the text—either a selection of code, or the entire program.
  1. In the Search Type section, chose any search options you want included.
  1. Click Find Next, Replace, or Replace All as needed.

Finding Text in a Program

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to find.
  1. Click the ApogeePPCL tab.
  1. Click Search Text .
  • The Search Text dialog box displays.
  1. In the Find What field, enter the text you want to find.
  1. From the Look In drop-down arrow, select where you want to look for the text--either a selection of code, or the entire program.
  1. In the Search Type section, chose any search options you want included.
  1. Click Find Next.

Going to a Program Statement

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to go to.
  1. Click the ApogeePPCL tab.
  1. Click Go To Program Statement .
  • The Go To Program Statement dialog box displays.
  1. Enter the statement number you want to go to.
  1. Click OK.

Opening a PPCL Program

  • System Manager is in Engineering mode.
  1. In System Browser, select Management View.
  1. Select Projects > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to open.
  1. Click the ApogeePPCL tab.

Refreshing a Program

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to refresh.
  1. Click the ApogeePPCL tab.
  1. Click Refresh Program .
  • The management station connects to the field panel and reads program statements and their status, and then displays the results in the workspace.

Renumbering Program Lines

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to renumber.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  1. From the PPCL Program toolbar, click Adjust Program Statement Number .
  • The Adjust Statement Number dialog box displays.
  1. Select a statement option.
  1. Complete the Start Number field.
  1. Complete the Increment By field.
  1. Click OK.
  • The system adjusts the program statement numbers.

Saving a Program Under a New Name

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to save under a new name.
  1. Click the ApogeePPCL tab.
  1. Click Save Program As .
  • The system compiles the program and opens the Save As dialog box.
  1. From the drop-down lists, select the Network, Device, and Program Name.
  1. From the Priority drop-down list, select the PPCL Priority.
    NOTE: This field displays for BACnet devices only.
  1. Click OK.
  • The program is saved.

Using Command Assist

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to assist.
  1. Click the ApogeePPCL tab.
  1. Click Edit Program.
  1. Do one of the following:
  • Place the mouse cursor in an existing line of code where you want to enter a new command.
  • Place the mouse cursor at the beginning of a new line number.
  1. Click Command Assist .
  1. Scroll through the command list to find the command you want to enter in the line of code.
  1. Double-click the command.
  • The system enters the command, and the Attribute Editor displays.
  1. From System Browser, drag the point you want and drop it anywhere in the program workspace.
  • The system adds the point to the program statement.
  1. Repeat the process for each command and point you want to enter.

Using the Horizontal Splitter

  • System Manager is in Engineering mode.
  1. In System Manager, select Management View.
  1. Select Project > Field Networks > [Network name] > [Field Panel name] > PPCL > [Program name].
  1. Select the program you want to split.
  1. Click the ApogeePPCL tab.
  1. Move your cursor over the Horizontal Splitter until you see the double-headed arrow.
  1. Either double-click the splitter or drag it to create two sections in the program.
  1. To close the splitter, either double-click the splitter or drag it back to the top of the program.