Module 47 - WebScheduler
Module 47 - WebScheduler
Interface
Module 47
The WebScheduler
Contents
1 Introduction 4
1.1 PcVue version 4
1.2 In this module you will learn 4
1.3 Files used in this module 4
1.4 Third party products used in this module 4
7 Resume 34
8 Addendum – How the output of a BACnet Schedule is
calculated 35
Figure 1
Figure 2
Installing the WebScheduler also installs the Web Services Server if it is not
already installed.
Figure 3
Figure 4
Enter the Username and Password and click Login. The WebScheduler opens starting
at the Overview page.
3.2.3 Exercise
Exercise 1.
Pre-configuration for the WebScheduler.
At this stage of the module the WebScheduler will start, but you may not be
able to see any schedules as the configuration in PcVue is not done yet.
Challenge !
Create a new mimic called Scheduler. Add a Log Viewer configured
to show Logon/Logoff only from the ALL_EVENTS log list. What do
you see?
You should see the user you just created logging in to the
WebScheduler. WebScheduler user login and logoff can be logged
in the same way as a local PcVue user.
Figure 5
The lower border displays the name of the current user and the version of the
WebScheduler.
Figure 6
You cannot navigate into the past as it would make no sense to edit past
schedules.
The main part of the Calendar page is occupied by the Schedule Control which
displays and can be used to interactively edit the schedule. The Schedule Control,
which is also used in the Standard Week page, is explained in the next section.
Figure 7
Note that there is a Special Days Behavior tab and a Special Days page. They
are related but different.
Figure 9
Figure 11
Figure 12
By default the Schedule Control displays 7 days with a 30 minute grid, but this can be
changed using the zoom tools.
Figure 13
The text that appear in the Mode list box, of the Add Interval dialog, is
supplied by the Associated Label of the variable mapped to the Present-Value
property of the object affected by the schedule. If there is no variable or no
Associated Label then default texts are displayed.
Figure 14
When one or more intervals are selected you can use the various other edit tools to
manipulate them. You can also right click a selected interval to display a context
menu that contains various align tools (Align left, Align right etc.) See the
WebScheduler help for more information.
4.4.1 Adding Special days to a Calendar using the Special Days page
You can add special days by single day or a series of days (for example the first day
of every month, every Monday, etc.…).
Step 1. Click in the calendar on the requested day. A special day is created
with all parameters by default. It also appears in the list of configured intervals.
Step 2. Open the Edit Interval dialog. You can do this either from the
calendar control or the list of configured intervals. Configure the special day. In
the following screen shot a serie of days that repeats on the 1st day of every
month has been configured.
Figure 17
5.1.1 Exercise
Exercise 2.
Check the native schedule configuration in PcVue.
Figure 19
5.2.1 Exercise
Exercise 3.
Change the network configuration on your copy of the project
MODULE_47 (Start) so that it reflects the configuration of your
PC.
Figure 20
Changes you make here appear in PcVue as entries in the schedule’s Standard Week
dialog.
Figure 22
One exception is created for each day that is changed in the Calendar – even if the
days are contiguous. For example, if you created an exception for the 29th, 30th and
31st of August, 3 exceptions would be created to the schedule in PcVue.
Figure 23
5.3.4 Exercise
Exercise 4.
Use the WebScheduler to change a native schedule.
5.3.5 Troubleshooting
Using the WebScheduler with PcVue’s native schedules is not difficult but there are
lots of little things to remember or it will not work!
Figure 24
Figure 25
The changes that you make will appear in the Weekly-Schedule property of the
physical BACnet Schedule object.
In the BACnet configuration of the PcVue Module 47 project, the variable
BUILDING.HVAC_on is mapped to the output of Schedule0 (via a Binary-
Value object).
Exercise 5.
Use the WebScheduler to change a BACnet schedule.
Question!
There may be several trainees on your course. What happens if
you all run the WebScheduler at the same time and try to make
changes?
Figure 26
If you make an exception by deleting an interval that is configured for the Standard
Week, an exception with a null (indeterminate) value is created.
Changes that you make appear in the Exception-Schedule property of the physical
BACnet Schedule object.
In the case of the SCADA Engine simulator null values are not well
supported. Instead we must edit the existing interval creating an interval
(exception) with new properties. This behavior may or may not be the same
on any actual device that you use – you will need to check!
6.3.2 Exercise
Exercise 6.
A fault has been reported to the maintenance department and
they must shut down the building HVAC for a short period to
make a repair.
Figure 27
Step 3. Select the calendar to use from the List of Special Day Groups. Click
OK button.
Figure 28
6.3.6 Exercise
Exercise 7.
Use the WebScheduler to change a BACnet calendar and use it
to change the behavior of a schedule.
6.4 Troubleshooting
A good tool to see what has been configured in the physical BACnet device, schedule
and calendar objects, is PcVue BACnet Helper. This is available from the task pane of
the Application Explorer whenever a BACnet device is selected in the configuration
tree.
The BACnet Helper contains three tabs, Alarms, Logs and Schedules. The Schedules
tab contains a list of known Schedules and Calendars. Selecting a Schedule or
Calendar will display its properties. Of particular interest to us in the context of this
module are:
For a schedule:
Exception-schedule
Weekly-schedule
For a calendar:
Datelist
The syntax of the properties means that they are not always easy to understand but
with some perseverance you should be able to recognise the configuration that you
have just created as part of this module.
For more information on the BACnet Helper see the PcVue help:
The Application Explorer. Communication.Data acquisition.BACnet.Using the BACnet
helpers
Standard week
Schedule default