The lonpoint application and plug-in guide 10-3 – Echelon LonPoint Application and Plug-In User Manual

Page 105

Advertising
background image

The LonPoint Application and Plug-in Guide

10-3

schedule consists of a time (in hours and minutes) and an event. This event has
a name and an On or Off value. For example, an event called evtEnableAlarm
may be set to On at 7:00 PM and set to Off at 7:00 AM. When the time input to
the Event Scheduler functional block equals the specified time for an event, the
Event_Out output is set equal to the event. For the previous example, the
Event_Out output of the Event Scheduler functional block would be set to
evtEnableAlarm On

at 7:00 PM and would be set to evtEnableAlarm Off at

7:00 AM. The Event Scheduler functional block also has two input network
variables that are used to verify and debug operation of the schedule on the
SCH-10 module during system commissioning.

Time
Day

Event_Out

DebugEnable
DebugNext

SCH- 1 Event Scheduler

ES-1

The State Machine functional block, shown in the following figure, maintains
current state and calculates a next state based on the current state and inputs
from up to 8 digital inputs, 8 analog inputs, a mode input, and a scheduled event
input. The scheduled event input comes from an Event Scheduler functional
block. The mode input may come from another State Machine functional block
so that a system-wide State Machine functional block Mode output can be
cascaded to multiple subsystem State Machine Mode inputs. Exit conditions can
be defined for each state based on logical and arithmetic operations on the
inputs to the State Machine. If an exit condition becomes true, the State
Machine changes the current state, and sets up to 16 digital outputs and one
mode output based on the last state and the selected exit condition. Many
LonPoint functional blocks have mode inputs and can be configured to behave
differently depending on what mode they are in.

D_Out_1

D_Out_10
D_Out_11
D_Out_12
D_Out_13
D_Out_14
D_Out_15
D_Out_16

D_Out_2
D_Out_3
D_Out_4
D_Out_5
D_Out_6
D_Out_7
D_Out_8
D_Out_9

Mode_Out

State_Out

A1
A2
A3
A4
A5
A6
A7
A8

D1
D2
D3
D4
D5
D6
D7
D8

Mode
Event
Set_State

SCH- 1 State Machine

SM-1

For example, in an air handler, a cndDayStart exit condition may be defined for
the stNight state. The cndDayStart exit condition may be defined as the

Advertising