Professional Documents
Culture Documents
Tutorial
www.copadata.com/embedded
info.fr@copadata.com
Content
1. OVERVIEW .......................................................................................................... 3
1
Overview
Revision
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.
2
Overview
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.
3
Create and configure an application
To start and create a new project, Click on File / Add new project…
4
Create and configure an application
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.
5
Create and configure an application
Note: double click on the name “Main” and not on the icon.
6
Create and configure an application
Now, to add this block to the project, the line needs to be dragged and dropped to the center of the
screen.
7
Create and configure an application
Now the Functional block is in the program. As in the screen below, the (&) needs 3 variables (2
Boolean inputs and 1 Boolean output).
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.
8
Create and configure an application
9
Create and configure an application
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:
10
Create and configure an application
Click on start
11
Create and configure an application
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).
12
Create and configure an application
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.
13
Create and configure an application
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.
14
Create and configure an application
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”.
15
Create and configure an application
The project is now in the runtime. The values of the variables can be modified as in simulation mode.
16
Create and configure an application
© 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.
17