Create New Folder / Rename Folder In this exercise, we will be creating multiple folders to organize the Sedona program in the EasyIO FG controller.. Step 5 Drag and drop an “S2Time” o
Trang 11
EasyIO Lab Exercise
V1.1
Trang 33
Disclaimer
EasyIO 30P is a product by EasyIO Holdings Pte Ltd The EasyIO 30P was built on the Sedona Framework ® EasyIO FG-32 is a product by EasyIO Holdings Pte Ltd The EasyIO FG-32 was built on the Sedona Framework ® Sedona Framework is a trademark of Tridium, Inc CPT Tool is by Online Tools Inc
Trang 44
Table of Contents
Introduction 5
Prerequisite 5
Connecting to the Sedona Controller 6
Sync the Controller Time 8
Build a simple logic in the Sedona App 9
Create New Folder / Rename Folder 9
CreateSedona Program in Sch Folder 11
CreateSedonaProgram in Cool Folder 14
Create Sedona Program in Vent Folder 17
Build Graphics Pages (Gr Page) 20
Create New Gr Page/Rename Page 20
Build Air Handling Unit Gr Page Part 1 22
Build Air Handling Unit Gr Page Part 2 29
Build Schedule Unit Gr Page 34
Build Live Chart Gr Page 37
Deploying Graphics 41
View Graphics in Web Browser 44
Create User Define Library 49
Create Sedona objects library 49
Create Gr widget library 52
FG Series Bacnet Server 54
Create Bacnet Server Network 54
Create Bacnet Server Binary Point 55
Create Bacnet Server Analog Point 57
Test FG Series Bacnet IP Server 57
Test Lab Submission 58
Trang 55
Introduction
Thank you for attending our EasyIO Sedona Training Program
In this lab exercise, you will be guided in building simple Sedona Application into the EasyIO FG Series Sedona Controller provided to you
The exercise as well will guide you to build simple Graphics Page using the Sedona program built in the Sedona Controller
Prerequisite
1 Computer (PC) Preferably Windows OS
2 Sedona programming tool; the CPT Tool by Online Tools Inc(Minimum version : 27 Dec 2013)
3 Network cable to connect to an EasyIO FG Series controller (optionally a network switch can be used to connect between both PC and an EasyIO FG Series controller)
4 EasyIO Sedona Controller; EasyIO FG Series, minimum firmware V2.2.2.0.05
5 24 VAc power supply to power up the EasyIO FG Series
6 Micro SD memory card Capacity range from 1GB to 16GB
Trang 66
Connecting to the Sedona Controller
This exercise will cover the process of connecting to a Sedona Controller using the CPT Tools
Step 1
Manually change the computer IP address to be same subnet as the EasyIO FG series
Default IP address for EasyIO FG Series controller is 192.168.10.11
You will need to assign an IP address for the computer ranging from 192.168.10.1 to 192.168.10.254 (excluding 192.168.10.11 as this is the EasyIO Controller IP address)
Step 2
Locate the CPT tool executable file and launch the program by double clicking the CPT Tool icon
Step 3
Connect to the EasyIO FG Sedona Controller with the credentials below
The EasyIO FG controller IP address is at default which is as below
Trang 77
Step 5
kits Some kits are pre-installed
To install a kit tick at the check box next to the kit name
Kits that are preinstalled and do not need further action are:
CPT will proceed with kits installation and will reboot the EasyIO FG controller
A manual reconnection to the EasyIO FG controller is required
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 88
Sync the Controller Time
This exercise will sync the EasyIO FG controller Real Time Clock (RTC)with the PC system time and time zone
Step 1
Double click the “service” folder to display all the service objects
Double click “time”object brings up the time object property view
Step 2
In the New Date Time option select “Configuration” radio button and click “LocalTime” button
This will force the controller Real Time Clock (RTC) to sync with the host computer
Step 3
Hit Save at the New Date Time option The controller RTC should now sync with the computer This can be verified by checking the “Sedona Date Time” option
Step 4
Save the Sedona app by invoking the Save action
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 99
Build a simple logic in the Sedona App
In this exercise, we are going to build a simple app replicating a Cooling Only Air Handling Unit and a simple Heat Pump Control
Some Inputs objects such as Temperature will be replicating by using a Ramp object or other object from the Control library
To replicate Output objects such as Modulating Valve control and On/Off control, Sedona controller physical output will be used
Create New Folder / Rename Folder
In this exercise, we will be creating multiple folders to organize the Sedona program in the EasyIO FG controller
Step 1
Rename the default “EasyIO” folder to “Sch”
Renaming object is by double clicking the object (folder) and right side bar will show the
object/folder property
Give a name in the “Name” property slot
Saving is by hitting Enter keyboard key or click elsewhere in the CPT Tool
Step 2
Create 2 more folders under apps and named it “Cool” and “Vent” respectively
Creating folders is by right click at
A drop down menu will display Choose “Add Folder”
A finish app with folders will display as below
Trang 1010
Step 3
Save the Sedona app by invoking the Save action
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 1111
CreateSedona Program in Sch Folder
In this exercise we will creates a program that control a command Start Stop for an Air Handling Unit
This folder contains a Schedule object (Enable) that will control a StartStop Command (Occupy)
object
The Enable(Weekly Schedule)object will trigger the Occupy object replicating a Scheduler start and
stop time
Step 1
Double click “Sch” folder to display the workspace
Drag and drop a “Schedule”object from easyioSchedule library and rename it as “Enable”
Step 2
Drag and drop a “DO” object from easyioFG library and rename it as “Occupy”
This object will replicate a Digital Output
A thumbnail will show, Click and hold on it the required point
Drag the link (almost like a connection wire or line) from the source or output to the destination slot, connection point or input you require, then release the mouse button when the required input is reached (line connects the two points) The link will automatically be made
Source in this exercise is the Enable object outSlot and the destination is Occupy inSlot
Trang 1212
A completed program will display as below
Step 5
Drag and drop an “S2Time” object from easyioLimKit library in to the same workspace
This object is convert 2 Integer value to a string output
Step 7
Drag and drop 2 “WriteInt” from the control library and named as “OnTime” and “OffTime”
respectively
Right click on the object choose Action > Set Set the output value to 800 and 1800 respectively
0800 represents 8.00AM and 1800 represents 6.00PM
Trang 1313
Step 9
Save the Sedona app by invoking the Save action
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 1414
CreateSedonaProgram in Cool Folder
In this exercise we are creating a PID loop control for an Air Handling Unit that is controlling a
cooling valve
The PID loop object is enabled by an On/Off status from the previous “Sch” folder (refer to next
exercise)
Step 1
Double click “Cool” folder to display the workspace
Drag and drop a “WriteFloat” from control library and rename it as “Temp”
This object will replicate a temperature value
Right click on the object, choose Action > Set Set the output value to 25.00oC (77.00 oF)
Step 2
Drag and drop a second “WriteFloat” object into the same workspace Rename it as “SetPt”
Set the output value to 24.50oC (75.00 oF)
Step 3
Drag and drop a third object singleLoop from easyioHvac kit, Rename it as PID
Click on the object and set the property at the right side bar with the given value below and leave the others as default if not mention
Throttling Range : 6.00
Integral Gain : 0.10
Step 4
Drag and drop UO object from the easyioFG kit, named it “Valve”
Select Percentage 0-10V in the output Type property and Channel UO1 in the channel property
Create links between the objects in this workspace as display below using the steps discussed earlier The completed logic including links should same as below
Trang 1515
Step 5
In this step you are going to create a link between objects in different folder Create a link between
Occupy object in (Sch folder) and singleLoop object Enable Slot and Occupied Slot in (Cool Folder)
This external link from the Occupy object in the Sch folder will enable the PID Loop object when the
equipment is running (true state)
The below step shows linking between different folder in the Sedona apps
Double click at the Sch folder and right click at the Occupy object Choose Make Link option
Trang 1616
Step 6
In the popup window choose the source slot and the target slot then hit Link
The source slot has to be in the left side and the target slot has to be on the right side of the pop up Multiple links can be done in the popup window
Optionally linking between objects can be done via “Make Link” shortcut icon at the top of tool bar
A completed program for Cool folder will display as below Note that there are 2 pins at the
singleLoop object
Pin/Pins represent a link from external source (another folder) within the Sedona apps
In this exercise the external links came from the Occupy object in the Sch folder
Step 7
Save the Sedona app by invoking the Save action
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 1717
Create Sedona Program in Vent Folder
In this exercise we are creating an On Off control for 2 Exhaust Fan base on an Indoor Air Quality (CO2 Concentration) and a Fan Enable Status
Step 1
Double click “Vent” (Ventilation) folder to display the workspace
Drag and drop a “Ramp” from control library and rename it as “CO2”
Click on the object and set the property as below and leave the rest as default if not mention
Min : 500.0
Max : 2000.0
Delta : 1.00
Step2
Drag and drop “WriteFloat” object into the same workspace The “WriteFloat” is available from
control library Rename it as “SetPt”
Set the output value to 900.00
Step 3
Drag and drop a third object “Cmpr” (compare) from Control library Make the links between the
objects to complete the logic as display below
Step 4
Drag and drop “WriteBool” object from control library and rename it as Fan_En
Drag and drop “And2”object from the control library
Link Fan_En object outSlot to And2 object in1Slot
Trang 1818
Step 5
Drag and drop 2 “DO” object from easyioFG library and name it respectively ExFan01 and ExFan02
In the property sheet of each object select DO2 and DO3
Link the ExFan01 and ExFan02 to the And2 object outSlot
Step 6
Complete the logic by linking the “Cmpr” object xgy slot to “And2” object in2Slot
The completed logic is as below
Trang 1919
Step 5
Save the Sedona app by invoking the Save action
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 2020
Build Graphics Pages (Gr Page)
First of all, the easyioCpt kit need to be installed into the Sedona apps as mention in the earlier
chapter before proceeding to create Gr pages
In case the easyioCpt kit is not visible in the Sedona library, please refer to Connecting to the Sedona Controller
The easyioCptService is an object in the easyioCpt kit has to be drop in to the service folder
Double click the service folder
Drag and drop the easyioCptService in to the service folder
Create New Gr Page/Rename Page
In this exercise, we will be creating multiple graphics pages in the EasyIO FG controller for the
Sedona apps that we built earlier
Multiple Gr pages can be created The following steps shows creating Gr page/pages in the EasyIO
FG Controller
Step 1
Locate graphic icon on the left side bar, right clicking it will bring the selection menu
Choose “New Graphic” Give the Gr page a name, in this example it is named as AHU
Trang 2121
Step 2
Set the AHU Gr page as home page by right click on the AHU Gr page and choose “Set as Home”
If this step is done correctly, the icon for the Gr page will change and a small home image can be seen in the icon
Save the Sedona app by invoking the Save or action keyboard shortcut key CtrL + S
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 2222
Build Air Handling Unit Gr Page Part 1
In this exercise, we will be creating a graphic page for an Air Handling Unit
The process of building the Gr pages is very similar to the Sedona apps
It is a drag and drop process
To create static image/images drag and drop from the widget library (widget library is image library;
it can only available is you are in the Gr page workspace)
To create image/ images with animation drag and drop objects from the Sedona apps and choose image/widget
Step 1
Double click on the AHU Gr page This will display the workspace for the Gr page
The library side bar will automatically display the library for Gr page
Gr library are groups of graphics images templates Each group consists of one or more images
Step 2
Drag and drop the “Duct A” image from the ducts library
This step demonstrates creating a static image/widget into a Gr page
A single click on the image dropped in the workspace will display the image properties at the right side bar
Trang 2323
Step 3
Create text label/labels for a Gr page Text label widget is available in the general library
Drag and drop the “Label” widget into the Gr workspace
The label properties such as font style, font format and text label colour can be can be configure to
user preference in the properties side bar
This label represents the title of the Gr page Edit the text property to “Air Handling Unit” in the text
Text label colour properties
Trang 2424
Step 4
Drag and drop static widgets as below instructions to complete the Gr page as display below
The two filter images are dragged and dropped into the Gr page as static image The filterV object
is from the “coils” Gr library
The coil image is dragged and dropped into the Gr page as static image The coolingCoilTrueobject
is from the “coils” Gr library
The cooling pipes image is dragged and dropped into the Gr page as static image The cValve2wayR
object is from the “valves” Gr library
The two sensor images are dragged and dropped into the Gr page as static image The
The arrows images are dragged and dropped into the Gr page as static image The “arrows” object are from Gr “misc” library
Trang 2525
Step 5
Create animating widgets In order to create animating image/widget binding to a value of a point,
simply drag and drop a point within the Sedona apps In this exercise, Occupy object in the Sch
Trang 2626
Step 6
Create 2 more Fan widgets by using the ExFan01 and ExFan02point from the Vent folder This time use the fanLeft from the equipment library
Trang 27Top right fan image label: Exhaust Fan 01
Top left fan image label: Exhaust Fan 02
Bottom fan image label: Blower Fan
Trang 2828
Step 8
Save the Sedona app by invoking the Save or action keyboard shortcut key CtrL + S
AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE
Trang 2929
Build Air Handling Unit Gr Page Part 2
Step 1
In the same AHU Gr page, create animating text labels or text label displaying a point value (read
only) This is done by drag and drops an object and chooses the Label as the widget
Drag and drop the Temp from the Cool folder into the AHU Gr page
In the selection window choose Out slot and Label widget from General library
Dragging a point from the Sedona apps into a Gr page and choosing the label as the widget will
automatically create a label with binding to the Sedona point
This label will display real time value of the point
Step 2
By default every text label binding format string will shows %s in the Gr workspace
This is the default formatting The web browser will display numerical value with 4 precision places
as25.1234
The text label binding supports multiple formatting In order view the supported formats, click on
right side bar
In the pop up window move the mouse pointer to the format string field The text label formatting tips will be shown
Step 3
In this example for the temp value binding Temperature is %.2f Deg C is being used with %.2f format
displaying the real time value with 2 precision places
This formatting will return Temperature is 25.00 Deg C with 25.00 point value as the value
Trang 30Change the formatting for this object to be as Temp Set Point is %.2f Deg C
The formatting will return Temp Set Point is 24.50 Deg C with 25.00 point value as the value
Step 6
Change the text binding colour by choosing the text colour property
The colour chooser will prompt for colour selection Change the colour to other than black
In this example a dark blue with the colour RGB code as below
This remark the text binding is a writable text binding
Change the formatting for this object to be as Cooling load is at %.2f %%
The formatting will return Cooling load is at 50.00 % with 50.00 point value as the value
The two %% character will format a percentage (%) symbol