Simulating inputs, Running to the next event – Echelon LonPoint Application and Plug-In User Manual

Page 140

Advertising
background image

10-38

Scheduler Interface

3. Click the Eval Next Cond button. The next condition specified for the

current state is evaluated, and the results are displayed in the simulator tab.
If there are more conditions to be evaluated, the Change Mode button is
disabled and the Eval Next Cond button is still displayed. If there are no
more conditions to be evaluated, the Eval Next Cond button is hidden and
the Change Mode button is reenabled.

Simulating Inputs

You can control the simulated input values for the mode, digital, and analog
input network variables of the State Machine functional block. These inputs are
listed under the Inputs heading on the Simulate tab. Only the analog and
digital network variables named in the Name I/O tab are listed.

To update the simulated Mode input, follow these steps:

1. Select a value in the Mode Input field.

2. Update any other inputs then click the Update Inputs button.

To update the simulated digital inputs, follow these steps:

1. Select the box to the left of the digital input name to simulate an On input;

clear the box to simulate an Off input.

2. Update any other inputs then click the Update Inputs button.

To update the simulated analog inputs, follow these steps:

1. Click the box to the right of the analog input name and enter the new value.

2. Press the Enter key to enter the value.

3. Update any other inputs then click the Update Inputs button.

To simulate a power loss, follow these steps:

1. Select the box to the left of the PowerLoss field in the Digital Inputs list to

simulate a power loss input; clear the box to indicate no power loss.

2. Update any other inputs then click the Update Inputs button.

The simulator ignores any inputs to the input fields until you have clicked the
Update Inputs button so that you can make several changes before running the
state machine.

Running to the Next Event

You can force the simulator to skip ahead in time to the next scheduled event.
Scheduled events are defined on the Edit Schedules tabs. To run to the next
event, click the Run Next Event button. The date and time will advance to the
next scheduled event, and the simulator tab will be updated with the current
state of the simulated Event Scheduler and State Machine functional blocks. If
the current schedule has no events defined, the simulator will run until 12:01
AM of the next day.

Advertising