Get started with straton



Yüklə 1,48 Mb.
Pdf görüntüsü
tarix17.11.2018
ölçüsü1,48 Mb.
#80625


 

 

 



 

Get started with straton 

Tutorial 

www.copadata.com/embedded 

info.fr@copadata.com 




 

    1 

 

 



 

Content 

1.

 



OVERVIEW .......................................................................................................... 3

 

2.



 

REQUIREMENT AND SETUP ............................................................................. 3

 

3.

 



CREATE AND CONFIGURE AN APPLICATION ................................................. 3

 

 



 

 

 



 

 

 




Overview

 

 



    2 

 

 



 

 

 



 

 

 



 

 

Revision 



 

Revision


 

Date


 

Description

 

Author


 

13/06/2016  Initial version 



MIG 

 

 



 

 

 



 

 

 



 

 

 



 

 

 



 

 

 



 

 

 



 

 

 



 

The information contained in this document is confidential and proprietary to COPA-DATA France and is covered under the 

terms  and  conditions  of  a  Nondisclosure  Agreement  (NDA).  COPA-DATA  France  submits  this  document  with  the 

understanding that it will be held in strict confidence and will not be used for any purpose other than the evaluation of this 

product  and  COPA-DATA  France  qualifications.  No  part  of  the  document  may  be  circulated,  quoted,  or  reproduced  for 

distribution outside the Client organization without prior written approval from COPA-DATA France. 

COPA-DATA France, All Rights Reserved. 

 

 




Overview

 

 



    3 

 

1. Overview 

This document is created in order to allow a user without any knowledge in straton to create a new 

project from scratch, to test it and download it in a straton runtime.  



2. Requirement and setup 

A straton workbench needs to be installed on a PC. If the project needs to be downloaded in a 

runtime, a runtime needs to be running. The PC and the runtime need to be on the same network. 

Download and install from 

http://www.copadata.com/embedded

 

3. Create and configure an application 

When opening straton, the workspace is empty. 

 

 



 

 

 



 


Create and configure an application

 

 



    4 

 

To start and create a new project, Click on File / Add new project… 



 

Write a name for the project and click on Next. 

 

Note: no space - max 15 chr 



Create and configure an application

 

 



    5 

 

Choose the programming language (SFC, FBD, LD, ST, IL), click on Next in order to select I/Os and 



fieldbus. If none is required, then click on finish. 

 

 



Your project appears now in the straton workspace. 

 



Create and configure an application

 

 



    6 

 

Double click on Programs/Main to open the main program. 



 

Note: double click on the name “Main” and not on the icon. 

 

The program can now be edited, here in FBD language. 



 


Create and configure an application

 

 



    7 

 

It’s now possible to choose functional blocks for the program: 



For example: in Blocks / all - select & (*Boolean AND*) 

 

 



Now, to add this block to the project, the line needs to be dragged and dropped to the center of the 

screen. 


 

 

 




Create and configure an application

 

 



    8 

 

Now the Functional block is in the program. As in the screen below, the (&) needs 3 variables (2 



Boolean inputs and 1 Boolean output). 

To add variables, double click on the grey field « ??? ». 

Enter a name for the variable. Here, « Input1 ».  

 

 



 

As the variable does not exist in the project, when click on “OK” a popup window appears. In this 

window it is possible to choose the type of the variable, where to declare the variable and an 

optional description. Click on Yes to finish. 

 

 

 




Create and configure an application

 

 



    9 

 

 



Enter the second variable. Here, « Input2 », BOOL, Main. 

 

 



 

Enter the output variable. Here « output », BOOL, Main. 

 

 

 



 

 



Create and configure an application

 

 



    10 

 

 



Variables are visible in the variables view, on the right of the screen. 

 

 



 

Now it’s time to test the project. First, click on this icon to build the project: 

 

 

 



 

 



Create and configure an application

 

 



    11 

 

 



Then, to test the project, click on simulation. 

 

Click on start 



 

 

The project is now in simulation mode. 



 


Create and configure an application

 

 



    12 

 

To manage the variables, select the variable with the mouse and press on spacebar. Here, the 



variable go from blue to red if the variable go from FALSE to TRUE.

 

 



 

 

 



 

It’s possible to manage the variable by double click on it too (the variable in the central windows or 

in the variables windows). 

 

 



 


Create and configure an application

 

 



    13 

 

The project is now ok. It can be sent to a runtime. First, exit the simulation mode, click on 



« simulation ». 

 

 



 

 

To set the communication parameters, double click on the bar at the bottom of the window. 



 

 

 



 

 



Create and configure an application

 

 



    14 

 

Here it’s possible to edit the communication setting. The kind of runtime can be choose in the drop 



down list. For the address parameters, click on the […] button. 

 

 



 

Enter here the communication settings. Then press OK.  

 

 

 



 

 

 



 

 



Create and configure an application

 

 



    15 

 

It’s now possible to connect the project to the runtime. Click on the « online » button. 



 

 

 



 

If the runtime have never been used, straton ask « do you want to download the application now? », 

click on “Yes”. 

 

 



 


Create and configure an application

 

 



    16 

 

The project is now in the runtime. The values of the variables can be modified as in simulation mode. 



 

 

 



 


Create and configure an application

 

 



    17 

 

 



 

 

 



 

 

 



 

 

 



 

 

 



 

 

 



 

 

 



 

 

© COPA-DATA France.  



All rights reserved. This document is protected by copyright and may not be reproduced, utilized or photocopied in 

any form or by any means without permission in writing from COPA-DATA France. The technical data contained 

herein have been provided solely for informational purposes and are not legally binding. The COPA-DATA logo, 

zenon, zenon Analyzer, zenon Supervisor, zenon Operator, zenon Logic and straton are registered trademarks of 

Ing. Punzenberger COPA-DATA GmbH. All other brands and product names may be the trademarks or registered 

trademarks of their representative owners. Subject to change, technical or otherwise. 



Yüklə 1,48 Mb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə