easyio lab test 01 - fg series v1.2

Upload: john-smith

Post on 02-Jun-2018

731 views

Category:

Documents


73 download

TRANSCRIPT

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    1/60

    EasyIO Lab Exercise v1.2

    1

    EasyIO Lab ExerciseV1.1

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    2/60

    EasyIO Lab Exercise v1.2

    2

    Document Change Log

    25th

    Nov 2013Document created.

    27th

    Dec 2013

    Real time chart and collection table view.

    7thJan 2014

    User guide updated base on CPT Tool Built 2014-01-03.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    3/60

    EasyIO Lab Exercise v1.2

    3

    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.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    4/60

    EasyIO Lab Exercise v1.2

    4

    Table of ContentsIntroduction ............................................................................................................................................ 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 SchFolder ............................................................................................... 11

    CreateSedonaProgram in CoolFolder ............................................................................................... 14

    Create Sedona Program in VentFolder ............................................................................................ 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 .................................................................................................... 55Create Bacnet Server Analog Point ................................................................................................... 57

    Test FG Series Bacnet IP Server ........................................................................................................ 57

    Test Lab Submission .............................................................................................................................. 58

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    5/60

    EasyIO Lab Exercise v1.2

    5

    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 Toolby 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.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    6/60

    EasyIO Lab Exercise v1.2

    6

    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 subnetas 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.

    IP Address : 192.168.10.11

    Subnet Mask : 255.255.255.0

    Username : admin

    Password : , do not put in any password

    Step 4

    The CPT Tool should display the navigation tree on the left side bar with the IP address as the header

    (title).

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    7/60

    EasyIO Lab Exercise v1.2

    7

    Step 5

    Double click Kits Management to install the following

    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:

    1. Sys

    2.

    Control

    3.

    dateTime

    4.

    dateTimeStd

    5.

    easyioFG6. inet

    7. sox

    8.

    tcom

    Additional kits that need to be installed are:

    1. easyioControl

    2. easyioCpt

    3. easyioHvac

    4.

    easyioLimKit

    5.

    easyioSchedule

    Hit Apply when finish selecting kits.

    Step 6

    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

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    8/60

    EasyIO Lab Exercise v1.2

    8

    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 1Double click the servicefolder to display all the service objects.

    Double click timeobject brings up the time object property view.

    Step 2

    In the New Date Time option select Configurationradio button and click LocalTime button.

    This will force the controller Real Time Clock (RTC) to sync with the host computer.

    Step 3

    Hit Saveat the New Date Time option. The controller RTC should now sync with the computer. This

    can be verified by checking the Sedona Date Timeoption.

    Step 4

    Save the Sedona app by invoking the Save action.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    9/60

    EasyIO Lab Exercise v1.2

    9

    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 objectfrom 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.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    10/60

    EasyIO Lab Exercise v1.2

    10

    Step 3

    Save the Sedona app by invoking the Save action.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    11/60

    EasyIO Lab Exercise v1.2

    11

    CreateSedona Program in SchFolder

    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 Occupyobject replicating a Scheduler start andstop time.

    Step 1

    Double click Schfolder to display the workspace.

    Drag and drop a Scheduleobject from easyioSchedulelibrary 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.

    Step 3

    In the same Occupyobject set the channel property to DO1.

    Step 4

    Create link between both objects using the draw method by moving the mouse pointer over the

    value slot you require.

    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 outSlotand the destination is Occupy inSlot.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    12/60

    EasyIO Lab Exercise v1.2

    12

    A completed program will display as below.

    Step 5

    Drag and drop an S2Time object from easyioLimKitlibrary in to the same workspace.

    This object is convert 2 Integer value to a string output.

    Step 7Drag and drop 2 WriteInt from the control library and named as OnTimeand OffTime

    respectively.

    Right click on the object chooseAction > Set. Set the output value to 800and 1800respectively.

    0800 represents 8.00AM and 1800 represents 6.00PM.

    Step 8

    Complete the program by linking between objects as display below. In the logic below the OnTime

    and OffTime object is used to represents Monday, Tuesday, Wednesday, Thursday and Friday

    schedule.

    Optionally you can create the combination of these OnTime, OffTimeand S2Timeobject for each

    day.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    13/60

    EasyIO Lab Exercise v1.2

    13

    Step 9

    Save the Sedona app by invoking the Saveaction.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    14/60

    EasyIO Lab Exercise v1.2

    14

    CreateSedonaProgram in CoolFolder

    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 Schfolder (refer to next

    exercise).

    Step 1

    Double click Coolfolder to display the workspace.

    Drag and drop a WriteFloatfrom controllibrary and rename it as Temp.

    This object will replicate a temperature value.

    Right click on the object, chooseAction > Set. Set the output value to 25.00oC (77.00

    oF).

    Step 2

    Drag and drop a second WriteFloatobject 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 singleLoopfrom easyioHvackit, 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

    Scan Time : 5 seconds

    Ramp Time : 5 seconds

    Step 4

    Drag and drop UO object from the easyioFGkit, named it Valve

    Select Percentage 0-10Vin 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.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    15/60

    EasyIO Lab Exercise v1.2

    15

    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 objectEnable Slotand Occupied Slot in (Cool Folder)

    This external link from the Occupy object in the Schfolder 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 Schfolder and right click at the Occupyobject. Choose Make Linkoption.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    16/60

    EasyIO Lab Exercise v1.2

    16

    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 Coolfolder will display as below. Note that there are 2 pins at the

    singleLoopobject.

    Pin/Pins represent a link from external source (another folder) within the Sedona apps.

    In this exercise the external links came from the Occupyobject in the Schfolder

    Step 7

    Save the Sedona app by invoking the Save action.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    17/60

    EasyIO Lab Exercise v1.2

    17

    Create Sedona Program in VentFolder

    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 1Double click Vent(Ventilation) folder to display the workspace.

    Drag and drop a Rampfrom controllibrary 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 WriteFloatobject into the same workspace. The WriteFloatis available fromcontrollibrary. 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 controllibrary and rename it as Fan_En

    Drag and dropAnd2object from the control library.

    Link Fan_En object outSlottoAnd2 objectin1Slot.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    18/60

    EasyIO Lab Exercise v1.2

    18

    Step 5

    Drag and drop 2 DO object from easyioFGlibrary and name it respectively ExFan01and ExFan02.

    In the property sheet of each object select DO2 and DO3.

    Link the ExFan01and ExFan02to theAnd2object outSlot.

    Step 6

    Complete the logic by linking the Cmprobjectxgyslot to And2object in2Slot.

    The completed logic is as below.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    19/60

    EasyIO Lab Exercise v1.2

    19

    Step 5

    Save the Sedona app by invoking the Save action.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    20/60

    EasyIO Lab Exercise v1.2

    20

    Build Graphics Pages (Gr Page)

    First of all, the easyioCptkit 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 toConnecting to the SedonaController.

    The easyioCptService is an object in the easyioCptkit has to be drop in to the service folder.

    Double click the service folder.

    Drag and drop the easyioCptServicein 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 asAHU.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    21/60

    EasyIO Lab Exercise v1.2

    21

    Step 2

    Set theAHUGr 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.

    Step 3

    Renaming Gr page can be done at a later stage by right clicking at the Gr page and choose Rename

    Graphic.

    This Gr page name will appear in the web browser later.

    Step 5

    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

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    22/60

    EasyIO Lab Exercise v1.2

    22

    Build Air Handling Unit Gr Page Part 1

    In this exercise, we will be creating a graphic page for anAir 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 theAHUGr 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 Aimage from the ductslibrary.

    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.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    23/60

    EasyIO Lab Exercise v1.2

    23

    Step 3

    Create text label/labels for a Gr page. Text label widget is available in the generallibrary.

    Drag and drop the Labelwidget into the Gr workspace.

    The labelproperties 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 Unitin the text

    field property.

    Resize and position property

    Zorder is layer position;

    10 = top layer

    1 = lowest layer.

    Text for the label input here

    Font properties

    Font text colour properties

    Text label colour properties

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    24/60

    EasyIO Lab Exercise v1.2

    24

    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. ThefilterVobject

    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

    tempSensorTopobject. is from the devices Gr library.

    The arrows images are dragged and dropped into the Gr page as static image. The arrows

    object are from Gr misclibrary.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    25/60

    EasyIO Lab Exercise v1.2

    25

    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, Occupyobject in the Sch

    folder is used.

    A selection window allows you to select the slot for the point and also the widget to use from the

    library.

    Choose the Occupyout Slot on the left and equipmentlibrary,fanRight on the right.

    Hit OK.This widget will represent Blower Fan. Place the widget to the left of the Coil image.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    26/60

    EasyIO Lab Exercise v1.2

    26

    Step 6Create 2 more Fan widgets by using the ExFan01and ExFan02point from the Ventfolder.

    This time use thefanLeft from the equipmentlibrary.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    27/60

    EasyIO Lab Exercise v1.2

    27

    Place the twofanLeftwidgets at the top of the duct image with ExFan01on the right and ExFan02

    on the left.

    Step 7

    Create 3 text labels to represents the fan images as display below. Text label are available in the

    generallibrary.

    Top right fan image label: Exhaust Fan 01

    Top left fan image label: Exhaust Fan 02

    Bottom fan image label: Blower Fan

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    28/60

    EasyIO Lab Exercise v1.2

    28

    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

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    29/60

    EasyIO Lab Exercise v1.2

    29

    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 Tempfrom the Coolfolder into the AHU Gr page.

    In the selection window choose Outslot and Labelwidget from General library.

    Dragging a point from the Sedona apps into a Gr page and choosing the labelas 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 %sin 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

    the text label binding and choose the text property on theright 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 Cis being used with %.2fformat

    displaying the real time value with 2 precision places.

    This formatting will return Temperature is 25.00 Deg Cwith 25.00point value as the value.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    30/60

    EasyIO Lab Exercise v1.2

    30

    Step 4

    Repeat the above steps to create another text value binding by using the SetPtobject in the Cool

    folder.

    Step 5

    Change 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 Cwith 25.00point 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.

    Step 7

    Place both text value bindings above Tempsensor object near the Coilimage.

    Step 8

    Create the Cooling Valve text label bindings. Use the Valvewidget from the Coolfolder.

    Step 9

    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.00point value as the value.

    The two %%character will format a percentage (%) symbol.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    31/60

    EasyIO Lab Exercise v1.2

    31

    Step 10

    Place the cooling valve text value bindings below cooling valve image.

    Step 11

    Create 2 more text label bindings. This time use the CO2object and the SetPtobject from the Vent

    folder.

    For both texts label bindings use the formatting as below.

    CO2 : CO2 Level is at %.2f PPM

    SetPt : CO2 Set Point is %.2f PPM

    Step 12

    Place both text value bindings above Temp sensor object at the top duct near the filter image.

    Both text bindings are writable.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    32/60

    EasyIO Lab Exercise v1.2

    32

    Step 13

    Change the text binding colour to 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 binding.

    Step 14

    Create the Exhaust Enable text label bindings. Use the Fan_Enobject from the Ventfolder.

    Fan_En formatting :Set Exhaust Fan Enable : %s

    The formatting will return Set Exhaust Fan Enable: true in the web browser.

    Step 15

    Change the text binding colour to 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 binding.

    Step 16

    Place text value bindings above the two Exhaust image.

    A completed AHU Gr Page is as display below.

    Step 17

    Save the Sedona app by invoking the Save or action keyboard shortcut key CtrL + S.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    33/60

    EasyIO Lab Exercise v1.2

    33

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    34/60

    EasyIO Lab Exercise v1.2

    34

    Build Schedule Unit Gr Page

    In this exercise, we will be creating a graphic page to display a weekly schedule with an On Time and

    Off Time for each day.

    Step 1

    Create another Gr pages under Graphics folder and named it SCHEDULE.

    Step 2

    Using the same instructions above, create text labels with black bold font for the text display below.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    35/60

    EasyIO Lab Exercise v1.2

    35

    Step 3

    Create Schedule OnTime and OffTime by using the OnTimeand OffTimeobject in the Schfolder.

    Drag and drop into the Schedule Gr page.

    Place the On Time and Off Time according to the weekday On Time and Off Time.

    In this example the On Time and Off Time for Monday to Friday comes from the same object.

    Step 4

    Change the text binding colour to 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 binding.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    36/60

    EasyIO Lab Exercise v1.2

    36

    Step 5

    Complete the Schedule Gr page as below.

    Step 6

    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

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    37/60

    EasyIO Lab Exercise v1.2

    37

    Build Live Chart Gr Page

    In this exercise, we will be creating a graphic page with a chart and a collection table displaying a real

    time historical data.

    Step 1Create another Gr pages under Graphics folder and named it LIVE CHART.

    Step 2

    Using the same instructions create the page title for the Gr page. Give the title Live History Chart.

    Step 3

    Drag and drop the CO2object from the Ventfolder.

    In the pop up folder choose the Outslot and Tablefrom General Library. Click OK.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    38/60

    EasyIO Lab Exercise v1.2

    38

    Step 4

    Resize the height to half of the original height.

    Choose the property and put in Live Collection Table.

    The text entered here will be the title for the Collection Table.

    Step 5

    Drag and drop the CO2 object again into the Gr page workspace.

    Select Out slot and LineChartfrom Chart library in the pop up.

    Step 6

    Position the chart under the collection table.

    Choose the property and put in CO2 , ppm.

    The text entered here will be the legend for the live chart at the right side of the chart.

    Step 7

    Choose the maxOfYAxisproperty and set it to 2000.00.

    Choose the minOfYAxisproperty and set it to 450.00.

    Optionally you can change the line stroke colour.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    39/60

    EasyIO Lab Exercise v1.2

    39

    Step 8

    Right click the line2 property and choose edit event.

    Step 9In the pop up window select SetPtfrom the Ventfolder.

    Leave the Events binding as default.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    40/60

    EasyIO Lab Exercise v1.2

    40

    The completed Gr page with chart and live history table will display as below. The table and chart is

    not visible in the CPT Tool. Valid data can only be seen in the web browser.

    Step 10

    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

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    41/60

    EasyIO Lab Exercise v1.2

    41

    Deploying Graphics

    In this exercise, we will deploy the created graphics into the EasyIO FG controller.

    The EasyIO FG series controller must preinstalled with a micro SD memory card.

    To install the micro SD card;

    1. Power off the controller

    2.

    Open the top cover by unscrew the 2 mounting screws.

    3.

    Slide the micro SD card holder toward the centre of the controller.

    4. Carefully lift up the metal cage.

    5. Insert the micro SD card and carefully lower down the metal cage.

    6. Slide the metal cage outwards. You will hear a click when the metal cage is fastened.

    7.

    Power On the controller.

    Step 1

    Go to CPT shortcut menu bar. Locate the deploy shortcut icon .

    Click on the triangle to show other option.

    Step 2

    Choose Full Deploy.A full deploy is needed when deploying graphics pages for the first time into a new EasyIO FG

    controller.

    The CPT will transfer all necessary files into the micro SD card.

    Step 3

    Put in the username and password as follow.

    Username : webuser

    Password : 123456

    Optionally the password for deploying the Gr pages can be changed to a preset password to avoid

    reentry each time of deploying graphics.

    The password for deploying graphics is fixed and is not editable or creatable.

    Go to CPT Tool drop down menu Tools > Option and select Graphics option.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    42/60

    EasyIO Lab Exercise v1.2

    42

    Keyin the default password which is 123456into the Default password field.

    Step 4

    The CPT Tools will show the progress bar. Progress bar will close down when deploying graphics is

    done.

    Any subsequent changes to the current graphics pages, a normal deploy are sufficient.

    Step 5

    To view the graphics, click on the preview button . The chosen default web browser will launch

    and EasyIO FG login page will be visible.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    43/60

    EasyIO Lab Exercise v1.2

    43

    Optionally copy this URL link in to the web browser address bar.

    URL link:

    http://192.168.10.11/sdcard/cpt/app/signin.php, where 192.168.10.11 is the controller IP address.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

    http://192.168.10.11/sdcard/cpt/app/signin.phphttp://192.168.10.11/sdcard/cpt/app/signin.phphttp://192.168.10.11/sdcard/cpt/app/signin.php
  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    44/60

    EasyIO Lab Exercise v1.2

    44

    View Graphics in Web Browser

    EasyIO FG Series graphics supports HTML5. Any form of web browser is supported.

    Mobile devices web browser are supported as well.

    The following instructions will show steps to view/preview the finished Gr pages in EasyIO FG Seriescontroller.

    Step 1

    To view the graphics, click on the preview button . The chosen default web browser will launch

    and EasyIO FG login page will be visible.

    Optionally copy this URL link in to the web browser address bar.

    URL link:

    http://192.168.10.11/sdcard/cpt/app/signin.php,where 192.168.10.11 represents the EasyIO FGcontroller IP address.

    Step 2

    The web browser will bring you to the login page.

    Login with the below credentials to view the graphics.

    Username : admin

    Password : hellocpt

    Step 3Successful login will display the home page you had chosen in the earlier stage.

    On the left of the web browser will display all the Gr pages you created in the exercise earlier.

    You can navigate between pages by clicking on each hyperlink here.

    All completed graphics pages are as explained below.

    http://192.168.10.11/sdcard/cpt/app/signin.phphttp://192.168.10.11/sdcard/cpt/app/signin.phphttp://192.168.10.11/sdcard/cpt/app/signin.php
  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    45/60

    EasyIO Lab Exercise v1.2

    45

    Legend

    Writable Point

    Text Label

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    46/60

    EasyIO Lab Exercise v1.2

    46

    Legend

    Writable Points

    Text Label

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    47/60

    EasyIO Lab Exercise v1.2

    47

    Legend

    All Images are read only widgets.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    48/60

    EasyIO Lab Exercise v1.2

    48

    Step 4

    Do a backup by using the Utilities button on the left side bar.

    Choose backup option.

    Step 5In the backup pop up window give the backup a name ie; TestLab_Foo.

    Replace Foowith your name and hit backup button .

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    49/60

    EasyIO Lab Exercise v1.2

    49

    Create User Define Library

    CPT Tools allows you to create a template library for future used. This feature is comes handy and

    reduce Sedona programming time.

    In this exercise, you are going to create 2 user_lib. Each for Sedona objects library (Sedona kits

    object) and graphics library.Properties of the saved object/objects are stored in the custom user library.

    Create Sedona objects library

    Step 1

    Open the Vent Folder workspace. This step is to ensure that you are viewing the Sedona object

    library.

    At the Sedona objects library, choose the User_Libstab.

    Step 2

    In the Sedona workspace, select 3 objects by holding down the mouse while you drag.

    The objects selections are CO2, SetPtand Cmpr

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    50/60

    EasyIO Lab Exercise v1.2

    50

    Step 3

    Drag the selected objects to the Sedona object user_lib side bar and release.

    Step 4

    It will create a single object by merging them together.

    Give a name to the custom object created.

    Name MUST NOTcontain special character such as , * and etc.

    Use underscore (_) instead of space.

    In the example, the custom object is named CO2_Control.

    Optionally a new Category can be created by manually key in the category name in the Category

    field.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    51/60

    EasyIO Lab Exercise v1.2

    51

    Step 4

    To reuse the custom object, drag and drop into the workspace.

    The properties of each saved object are remain when you drop the custom object in to the

    workspace.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    52/60

    EasyIO Lab Exercise v1.2

    52

    Create Gr widget library

    Following steps show create Gr widget user custom library.

    Step 1

    Open the AHU Gr page workspace. This step is to ensure that you are viewing the Sedona object

    library.

    Step 2

    In the Sedona workspace, select 2 objects by holding down the mouse while you drag.

    The objects selections are the Coiland Valvewidget.

    Step 3

    Drag the selected objects to the widget object user_lib side bar and release.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    53/60

    EasyIO Lab Exercise v1.2

    53

    Step 4

    It will create a single object by merging them together.

    Give a name to the custom object created.

    Name MUST NOTcontain special character such as , * and etc.

    Use underscore (_) instead of space.In the example, the custom object is named Coil_Pipe.

    Optionally a new Category can be created by manually type in the category name in the Category

    field.

    Step 4

    To reuse the custom object, drag and drop into the workspace.

    The properties of each saved object are remain when you drop the custom object in to the

    workspace.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    54/60

    EasyIO Lab Exercise v1.2

    54

    FG Series Bacnet Server

    Minimum requirement for FG series controller to run Bacnet IP Server is V2.2.2.0.05.

    Create Bacnet Server Network

    Step 1

    Apart from above exercise, install additional kits as below. This is the minimum requirement.

    1. easyioFGDriver1.0.45.2 or higher

    2. easyioFGBACSvr1.0.45.2 or higher

    Step 2

    Create one folder under apps and named it Bacnet.

    Creating folder is by right click at .

    A drop down menu will display. Choose Add Folder .

    A finish app with folders will display as below.

    Step 3

    Double click Bacnetfolder to display the workspace.

    Drag and drop a BACSvrNetworkobject from easyioFGBACSvrlibrary in the Bacnet folder

    workspace.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    55/60

    EasyIO Lab Exercise v1.2

    55

    Step 4

    Click at the BACSvrNetworkobject and select the enable property at the property side bar to true

    Optionally the ObjectId can be change. This objectId represents the Device Instance ID.

    By default it is 8001.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

    Create Bacnet Server Binary Point

    Step 1

    In the same Bacnetfolder workspace double click the BACSvrNetwork.

    It will display the Bacnet Network workspace.

    Step 2

    Drag and dropBACSvrBV object into the workspace.Rename the object to Occ_BV.

    Step 3

    At the property sheet, select enable to trueto enable the point to able to export out as a Bacnet BV.

    Step 4

    Give the object an instanceNumber.

    Instance number ranges between 0 to 31.

    In this exercise it is set to 1.

    Step 5

    By default after setting the instanceNumberthe object name will be Binary Value X where X

    represents the instanceNumber.

    Optionally a user define name and be used. Max character allowed is 16.

    In this exercise, it is being named Occupy_BN.

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    56/60

    EasyIO Lab Exercise v1.2

    56

    Step 6

    Make a link from Schfolder Occupyobject to Bacnetfolder Occupy_Statusobject.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    57/60

    EasyIO Lab Exercise v1.2

    57

    Create Bacnet Server Analog Point

    Step 1

    In the same Bacnetfolder workspace double click the BACSvrNetwork.

    It will display the Bacnet Network workspace.

    Step 2

    Drag and dropBACSvrAV object into the workspace.Rename the object to Temp_AV.

    Step 3

    At the property sheet, select enable to trueto enable the point to able to export out as a Bacnet AV.

    Step 4

    Give the object an instanceNumber.

    Instance number ranges between 0 to 31.

    In this exercise it is set to 1.

    Step 5

    By default after setting the instanceNumberthe object name will be Analog Value X where X

    represents the instanceNumber.

    Optionally a user define name and be used. Max character allowed is 16.

    In this exercise, it is being named Temp_BN.

    Step 6

    Make a link from Ventfolder CO2object to Bacnetfolder Temp_AVobject.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

    Test FG Series Bacnet IP Server

    Use any Bacnet Client to test the FG Series Bacnet IP Server.

    AT THIS POINT YOU HAVE COMPLETED THIS PART OF THE EXERCISE

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    58/60

    EasyIO Lab Exercise v1.2

    58

    Test Lab Submission

    Step 1

    Double click the kit management . Do a Sedona apps backup by

    clicking the Backup button at the bottom of the kit management.

    Step 2

    The backup will reside in a folder named with the IP address of the connected controller. Select that

    folder. Ensure the folder with the IP address is selected.

    By default the Sedona backup file will be saved in the file path/directory shown below.

    Step 3

    Navigate to the file folder via window explorer. Zipped the IP address folder

  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    59/60

    EasyIO Lab Exercise v1.2

    59

    Step 4

    Email the zipped package to;

    To :[email protected]

    Subject : Test Lab

    The result of the text lab will be email individually.

    AT THIS POINT YOU HAVE COMPLETED THIS TEST LAB EXERCISE

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/10/2019 EasyIO Lab Test 01 - FG Series v1.2

    60/60

    EasyIO Lab Exercise v1.2

    Good Luck

    Thank you for your time