Tutorial: Getting Started with myPROJECT getting started rev.pdf¢  2016-01-23¢  Getting Started with

  • View
    5

  • Download
    0

Embed Size (px)

Text of Tutorial: Getting Started with myPROJECT getting started rev.pdf¢  2016-01-23¢ ...

  • Tutorial: Getting Started with

    myPROJECT Designer by mySCADA Technologies, Jan. 2014

  • Introduction to myPROJECT Designer All-in-one Development Platform

    mySCADA > Mobile > Compact > Panel > Desktop > Server Series

    myPROJECT Designer is a powerful software tool to develop and setup mySCADA projects for all devices capable of running mySCADA - mobile phones, tablets, desktop PCs or servers. A project is the collections of graphic visualizations - views, trends, alarms, data logs, and scripts.

    The aim of this tutorial is to give you a quick guide of the main myPROJECT Designer functions. At the end of this tutorial you learn the most essential techniques for developing your projects. For further information please download the myPROJECT Designer User’s Manual from our website www.myscada.org.

  • Workplace Getting to know your workplace

    Main Toolbar

    Project window

    GUI Designer

    GUI Menu GUI Toolbar Rulers CanvasOptions

    Properties

  • Managing Workplace - Windows Getting to know your workplace

    Each window in the PD appears as a tab in the pane in which it resides. The PD’s windowing system enables you to arrange the windows anywhere in your workplace by dragging and dropping. The designer remembers the position of both manually and automatically closed windows the next time they are opened. If you drag a window away from the workplace, it will be undocked. You can dock it back by pressing Alt-Shift-D

    To move a window: 1.Click the window header and drag it to the desired position. A red preview box indicates where the window will reside once you drop it. 2.Drop the window.

    Automatically Appearing Windows: Some windows only appear when you are performing a task to which they are related. For example, the Library window only appears when you are designing a view in the graphical editor. You can control which windows will automatically appear in the Main Menu -> Windows

    You can reset all windows to their default location by selecting “Reset Windows”

    Shift-Escape Maximize current window

    Ctrl-Shift-W Closes all open documents in the Source Editor.

    Alt-Shift-D Pins a detached window to the IDE.

    Shortcuts

  • Creating a New Project Getting to know your workplace

    To start working with myPROJECT Designer, you must first create a new project.

    1.Select Projects in the Project window. 2.Click the New Project icon on the main toolbar. 3.Select Empty Project or Project Wizard.

    • use the “New Project” command from the Projects on the main menu to create an empty new project, or

    • click the New Project icon on the main toolbar to create an empty new project, or

    • click the New Project on the main toolbar. and select New Project Wizard. If you select this option, the wizard guides you through several simple steps to create a functional base of your new project. The wizard creates for you a new PLC connection, set up a simple screen with animations, preconfigure alarms and data logging.

  • Creating PLC Connections Connecting to your technology

    1.Select “Connections” from the Project window tree structure

    2.Click on the “Add Connection” button

    3.Select your PLC type and fill in the

    Alias: arbitrary name of your choice. Under this name you will reference this PLC in whole Project IP Address: the IP address of your PLC

    The mySCADA system has built-in all necessary communication drivers for access to PLCs. It is therefore very easy to add and communicate with a new PLC - you do not need to configure the parameters for communication with drivers.

  • Creating Graphics - Views Creating Graphics

    1.First select “Views” from the Project Window tree structure. 2.Click on the Add View icon on the main toolbar. 3. In the configuration window enter the Name of your view and Description. You can select the dimensions of your views to suit your needs. 3. Select Default Connection to your PLC. to simplify entering of tags. 4.Click on the Add button. A new view will be created in the project and you are ready to design your visualization.

    You can create rich graphic visualizations by designing the views in the integrated graphical editor.

  • Creating Graphics - Views Creating Graphics

    mySCADA is based on vector graphics so you do not have to take care of final resolution of your device. However you should design your views with respect to aspect ratio of you devices. You can change default resolution and aspect ratio by clicking on “User defined” in Add New View dialog.

    Choosing the resolution and aspect ratio of your drawings.

  • Layouts & Views Creating Graphics

    Header - the section of the page at the top which can display for example the logo, name, logged user and often the main menu.

    Main Content - the section of the page where your views will be displayed. This section sits prominently in the middle of the page.

    Sidebar Left/Right - the columns on either side of the main content section. The sidebar can display secondary menus, pictures, etc. or can be used for control buttons or gauges.

    Footer - a bar spanning across the bottom of the page..

    Page Layout defines the arrangement and style of content on a page. You can create multiple user defined layouts in mySCADA Designer. Each view you create can use different layout.

    http://en.wikipedia.org/wiki/Content_(media)

  • Layouts & Views Creating Graphics

    • select Views -> Layout Views

    • click on Add Layout View • Fill in the name and click Add button

    To use layouts you must first create layout views. Layout view is behaving exactly as regular view, therefore you can use any functionality such as animations, effects and scripts.

  • Layouts & Views Creating Graphics

    • select Views -> layout • click on Add Layout • Fill in the name and click Add button

    Creating new layout:

  • Creating Graphics - Layouts & Views Creating Graphics

    Specifying details of the Layout

    Right Side Left Side

    Top part - custom header

    Bottom part - custom footer

    Here you can specify multiple views which will be displayed on top of view using this layout

  • Creating Graphics - Layouts & Views Creating Graphics

    Using configured layout in views.

    • select view you would like to apply layout to • in Properties select Layout from drop down combo box

  • GUI Toolbar Creating Graphics

    In the upper part of your view window you see the secondary GUI Toolbar where you find all the necessary functions for designing and animating views.

    undo, redo, save

    cut,copy,delete,paste

    zooming

    draw graphical objects

    group object together

    reorder objects

    modify objects: align, distribute, rotate, scale, trim, combine, flip, fill, stroke

    layers

    effects, scripts, tags, live view

    Properties Bar is located under the GUI toolbar. If no object is selected, you specify the default properties of the object to be created. If you select an object, you see its current properties and can modify them.

    line thickness, line style, line and boundary color fill color

    text color, text family text style, text size

    Options Bar is located in the lower left part of your window. repeat action

    smart guides

    grid

    rulers

    rotate in discrete steps

    draw lines under 45 and 90 deg.

    close the drawn path on double click

  • Drawing Primitives Creating Graphics

    In the DRAW section on the GUI Toolbar, you can choose a shape to draw: line, poly-line, square, rectangle, circle, ellipse, text or arbitrary image from file.

  • Drawing Poly-lines Creating Graphics

    Using a poly-line, you can create independent and continuous lines, arcs, splines or any of their combinations.

    Create line: single click at the start and then at the end point of the line.

    Create arc: keep left mouse button pressed since the starting point, release it at the control vertex point and finally click at the end point.

    Create spline: start spline by a regular mouse click, move a mouse to an endpoint, press and hold a left mouse button while forming the curve. Release mouse to finish the spline creation.

    1. click on start point

    2. click on end point

    1. left mouse click on start point and keep left mouse pressed

    2. release mouse at control vertex 3. click at the endpoint

    1. click on start point

    2. press and hold left mouse button

    3. form the curve, release mouse button when done

  • Drawing Poly-lines Creating Graphics

    End the poly-line drawing by double mouse click or by pressing the ESC key.

    end drawing by double click

    When is the final object drawn, you can see all your end points, control and vertex points. You can modify them by mouse dragging.

    Adding a segment: 
 choose the segment you would like to add from the options menu. Click on the control point on the poly-line where you want to add the segment.

    Delete a segment: 
 choose “Delete segment” from the options menu. Click at the end control point of the segment you would like to remove.

    show options menu by rig