Testing a schedule design – Echelon LonPoint Application and Plug-In User Manual

Page 145

Advertising
background image

The LonPoint Application and Plug-in Guide

10-43

3. Right-click the State Machine functional block and select Browse from the

shortcut menu to open the LonMaker Browser.

4. Right-click the Mode or Mode_Out network variables and select Change

Type from the shortcut menu. The Change Network Variable Type dialog
appears.

5. Select a new network variable type from the Type List. The Standard

Network Variable Type option allows you to select the type from the SNVTs
detailed in the SNVT Master List help file. If it is not checked, you can
choose from user-defined types in the type catalog.

6. Click OK to close the Change Network Variable Type dialog.

7. Close the LonMaker Browser.

After changing the type of the Mode input or Mode_Out output, you must
change the type back to SNVT_hvac_mode before downloading a new schedule
design to the SCH-10 module. To change the type back, follow steps 2 through 6
of the above procedure and select SNVT_hvac_mode in step 5.

Testing a Schedule Design

The Event Scheduler functional block includes three network variables to
simplify debugging a supervisory application design that has been downloaded
to an SCH-10 module. The network variables are the DebugEnable, DebugNext,
and Time input network variables. The DebugNext input network variable
operates like the Run Next Event button in the simulator, that is it allows you to
fast forward the Event Scheduler to the next event. The Time input network
variable allows you to monitor the simulated time maintained by the Event
Scheduler functional block while debugging is enabled. To test a schedule
design using these network variables, follow these steps:

1. Download the schedule to the SCH-10 module as described in Downloading a

Supervisory Application Design.

2. Open the LonMaker subsystem containing the Event Scheduler functional

block.

3. Right-click the Event Scheduler functional block and select Browse from the

shortcut menu to open the LonMaker Browser.

4. Right-click the Time input network variable row and select Monitor from the

shortcut menu. This allows you to monitor the simulated time maintained
by the Event Scheduler functional block.

5. Select the DebugEnable input network variable and set its value to 100 1,

corresponding to an input of 100% and On. This stops the real-time clock,
allows you to monitor the simulated time, and enables the DebugNext input.
After setting DebugEnable, you should see the monitored time stop.

6. Select the DebugNext input network variable and set its value to 100 1. The

Time network variable will advance to the next event, and the Event output
from the Event Scheduler functional block will be set to indicate the new

Advertising