IyCnet Vdesigner 4 5 Advanced Data Logging

46
DATA Logging & Management Vijeo Designer V4.5 V1.1 July, 4th 2007

Transcript of IyCnet Vdesigner 4 5 Advanced Data Logging

Page 1: IyCnet Vdesigner 4 5 Advanced Data Logging

DATA Logging & ManagementVijeo Designer V4.5V1.1 July, 4th 2007

Page 2: IyCnet Vdesigner 4 5 Advanced Data Logging

Part 1 Introduction

Part 3 Trends

Part 2 Data Logging Group

HMI V1.1 – July 07 - English 2

Part 6 Print DataPart 5 Run Time Data

Part 4 Recipes

Page 3: IyCnet Vdesigner 4 5 Advanced Data Logging

Part 1 Introduction

Part 3 Trends

Part 2 Data Logging Group

HMI V1.1 – July 07 - English 3

Part 6 Print DataPart 5 Run Time Data

Part 4 Recipes

Page 4: IyCnet Vdesigner 4 5 Advanced Data Logging

Introduction� Complex, error prone scripts are things of the past with Vijeo Designer

V4.5.� Why? With improved Data logging & management features in Vijeo

Designer V4.5.

� S h t d

HMI V1.1 – July 07 - English 4

� So, how to do:• Create a Data logging group for real time and historical trends• Manage and store Data logged files• Use Recipe features• Use the Data Manager• Use the command line• Retrieve files by FTP• Print logged data

Page 5: IyCnet Vdesigner 4 5 Advanced Data Logging

General Overview

The key elements in VJD 4.5 data logging are :

� Improved runtime performance

� Higher degree of configurability

HMI V1.1 – July 07 - English 5

Higher degree of configurability

– Which data?– Sampling method– Storage files (location, size, number)– Retrieve and print data

Page 6: IyCnet Vdesigner 4 5 Advanced Data Logging

Part 1 Introduction

Part 3 Trends

Part 2 Data Logging Group

HMI V1.1 – July 07 - English 6

Part 6 Print DataPart 5 Run Time Data

Part 4 Recipes

Page 7: IyCnet Vdesigner 4 5 Advanced Data Logging

Create Data Logging Group� Create a new Data Logging Group from the Navigator and configure the

settings in the Property Inspector.

HMI V1.1 – July 07 - English 7

Page 8: IyCnet Vdesigner 4 5 Advanced Data Logging

Configure Data Logging Group� Use the 3 tabs to configure the logging group’s properties

HMI V1.1 – July 07 - English 8

Page 9: IyCnet Vdesigner 4 5 Advanced Data Logging

Sampling – 1 (Periodic)� Create a Data Logging group when you want to record or display variable values

on a graph.

Logging Group Name

HMI V1.1 – July 07 - English 9

Periodic or Trigger

HoursMinutesSeconds

UnitsHours: 1 to 24

Minutes: 1 to 30Seconds: 1 to 30

Page 10: IyCnet Vdesigner 4 5 Advanced Data Logging

Sampling - 2 (Triggered)� Add a Data Logging trigger (tag) property to Data Logging Groups to

enable manual data capture capabilities.Select Trigger Condition for the

Variable: When True, WhenFalse, On Data Change

HMI V1.1 – July 07 - English 10

Select Trigger Variable

Select Status Variable(discrete or integer). Whendata collection is triggered,the status variable is set toone. When the triggervariable is cleared, the statusvariable is set to 0.

Page 11: IyCnet Vdesigner 4 5 Advanced Data Logging

Variable Storage – 1 (Location & Size)

� Define Location & Size

DRAM (not saved on power loss)SRAM (saved on power loss)SRAM & File (DYYMMDDX.datonly on device with secondarystorage device, ex. CF card)

HMI V1.1 – July 07 - English 11

Only for file storage:No. Of Days or Maximum DataSize and No. of files to keep in thefolder

Size or No. of days Estimate

Sampling units(same as sampling index)

Page 12: IyCnet Vdesigner 4 5 Advanced Data Logging

Variable Storage - 2 (Location & Size)� File limit:

– Specify whether you want to limit the size of the Data Logging files byDays or File Size.

– Days (from 1 to 1825)– Size (from 250 kb to 8192 kb)

N f fil t k

HMI V1.1 – July 07 - English 12

� No. of files to keep– From 1 to 999

� Group RAM Usage– Read only, displays RAM usage of the variables in a data logging group.

� Number of days– Read only, displays the estimated number of days to reach the specified

data file size.

Page 13: IyCnet Vdesigner 4 5 Advanced Data Logging

Advanced (Interlocking)� This variable validates data collected in periodic or triggered mode.

Enables data input when the

HMI V1.1 – July 07 - English 13

pcondition defined in the EnableInterlock Field is met.During data input, if the interlockvariable turns off, data input iscancelled.When the interlock condition isFALSE, data collection for thegroup is PAUSED until thecondition returns to TRUE.

Page 14: IyCnet Vdesigner 4 5 Advanced Data Logging

Logging Properties of a tag

� Configure all data logging properties of a tag through its associated DataLogging Group.

To increase Softwareproductivity define

HMI V1.1 – July 07 - English 14

productivity, definea logging groupproperties, createand configurea variable, and thenassign it to the datalogging group.

Page 15: IyCnet Vdesigner 4 5 Advanced Data Logging

Part 1 Introduction

Part 3 Trends

Part 2 Data Logging Group

HMI V1.1 – July 07 - English 15

Part 6 Print DataPart 5 Run Time Data

Part 4 Recipes

Page 16: IyCnet Vdesigner 4 5 Advanced Data Logging

Real time and Historical trends - 1� New trend graph smart parts that display trend data as discrete samples

instead of time based data.

Create Real-timetrend graphs from thetoolbar

HMI V1.1 – July 07 - English 16

Create Historical trendgraphs from thetoolchest

Page 17: IyCnet Vdesigner 4 5 Advanced Data Logging

Real time and Historical trends - 2� Define properties for the Real-Time graph

Position, size andcolors

HMI V1.1 – July 07 - English 17

Graph, Rangeand Axis settings

Channels settings

Save and Restorecurrent propertiesas defaultproperties

Page 18: IyCnet Vdesigner 4 5 Advanced Data Logging

Real time and Historical trends - 3� Define properties for the historical trend graph

Position size

HMI V1.1 – July 07 - English 18

Position, sizeand colors

Graph, Rangeand Axissettings

Channelssettings

Page 19: IyCnet Vdesigner 4 5 Advanced Data Logging

Part 1 Introduction

Part 3 Trends

Part 2 Data Logging Group

HMI V1.1 – July 07 - English 19

Part 6 Print DataPart 5 Run Time Data

Part 4 Recipes

Page 20: IyCnet Vdesigner 4 5 Advanced Data Logging

Read Recipe Variable Values:From PLC to HMI to PC

Use Recipe Features

HMI V1.1 – July 07 - English 20

Write Recipe Variable Values:From PC to HMI to PLC

Page 21: IyCnet Vdesigner 4 5 Advanced Data Logging

Recipe Components and their Relationships� Example of recipe management, from setting up ingredients and recipes

in a recipe Group to sending recipe data to the equipment.

HMI V1.1 – July 07 - English 21

PC HMI PLC

Page 22: IyCnet Vdesigner 4 5 Advanced Data Logging

Recipe Properties

HMI V1.1 – July 07 - English 22

Download RecipeGroup to internalmemory or CF Card

Control Variables forrecipe management

Page 23: IyCnet Vdesigner 4 5 Advanced Data Logging

Steps to Set Up a Recipe Group

In the Navigator window,right-click the recipes nodeand create a new recipegroup.

Enter the Recipe group

1

HMI V1.1 – July 07 - English 23

p g pdata in the recipe editor,and add ingredients.

If needed, create variablesfor the ingredients.

Draw the recipe panel.

If the recipe group is to beoperator controlled, set upthe recipe manager part.

2

3

4

5

Page 24: IyCnet Vdesigner 4 5 Advanced Data Logging

Main Recipe Functions� Recipe Panel

S t fil

Send to PLC

Recipe

Group

HMI V1.1 – July 07 - English 24

Delete recipe

Compare recipe

Snapshot

Save to file

Security

Page 25: IyCnet Vdesigner 4 5 Advanced Data Logging

Optional Recipe Functions� All basic functions are available. New functions to select a group or a

recipe, and create a new recipe in an existing group are available.

HMI V1.1 – July 07 - English 25

Page 26: IyCnet Vdesigner 4 5 Advanced Data Logging

Security Recipe Functions� Access defined by:

HMI V1.1 – July 07 - English 26

Page 27: IyCnet Vdesigner 4 5 Advanced Data Logging

Part 1 Introduction

Part 3 Trends

Part 2 Data Logging Group

HMI V1.1 – July 07 - English 27

Part 6 Print DataPart 5 Run Time Data

Part 4 Recipes

Page 28: IyCnet Vdesigner 4 5 Advanced Data Logging

Manage Run-time Data� Transfer files

� Data Manager (only on Ethernet)� Command Line (only on Ethernet)� Maintenance Mode (by extracting CF Card)� FTP Server

HMI V1.1 – July 07 - English 28

� Locate files� Run-time Data Location Manager

� Files supported:� Recipe files (*.rcp)� Data Logging files (*.dat)� Video files (*.mpg)� Screen shot files (*.jpg)� Project backup files (*.vdz)

Page 29: IyCnet Vdesigner 4 5 Advanced Data Logging

Data Manager – 1 (Ethernet)� The Data Manager is the best way to manage data from/to HMI

Terminal. You can install it on any PC from the Vijeo Designer CD (nosoftware rights required).

HMI V1.1 – July 07 - English 29

Page 30: IyCnet Vdesigner 4 5 Advanced Data Logging

Data Manager - 2 (Ethernet)� Data Manager provides high efficiency functions to manage all files in

HMI terminal.� Create new target with user and password

HMI V1.1 – July 07 - English 30

Page 31: IyCnet Vdesigner 4 5 Advanced Data Logging

Data Manager - 3 (Ethernet)� Define files and operations

HMI V1.1 – July 07 - English 31

Page 32: IyCnet Vdesigner 4 5 Advanced Data Logging

Data Manager - 4 (Ethernet)� A Recipe Project Identifier is required to transfer recipes.

HMI V1.1 – July 07 - English 32

Page 33: IyCnet Vdesigner 4 5 Advanced Data Logging

Transfer files by Command Line - 1 (Ethernet)� This tool is good for Automated (Scheduled) retrieval of runtime data files.

� Use or Copy the file(on another PC without Vijeo Designer software):

HMI V1.1 – July 07 - English 33

� Read the Parameter Options in Help file or launch “data transfer tool” withoutparameter.

Page 34: IyCnet Vdesigner 4 5 Advanced Data Logging

Transfer files by Command Line - 2 (Ethernet)

� Use the command line in Dos Session

� Example:(Get Recipe files from HMI Terminal to folder “Datalog” on hard disk D:)

HMI V1.1 – July 07 - English 34

Page 35: IyCnet Vdesigner 4 5 Advanced Data Logging

Transfer Files during Maintenance Mode� Maintenance Mode is used to stop data logging to the CF Card, so you

can remove it from HMI terminal and plug it on your PC toread/write/remove files on it.

� Use of system variable _Maintenance– Maintenance =0

HMI V1.1 – July 07 - English 35

– Maintenance =0(allows read/write on CF Card, you can’t remove it)

– Maintenance =1 (stops data logging on the CF card and allowsyou to remove the CF card once the access led turns off)

Page 36: IyCnet Vdesigner 4 5 Advanced Data Logging

Transfer files by FTP Server - 1� Use a Client FTP Software, for example:

HMI V1.1 – July 07 - English 36

Page 37: IyCnet Vdesigner 4 5 Advanced Data Logging

Transfer files by FTP Server - 2� Use of FTP function (Internet Explorer, warning ! some difficulties due to

security control)

HMI V1.1 – July 07 - English 37

- Name- Password- HMI Terminal IP Adress- Port: 6001

Page 38: IyCnet Vdesigner 4 5 Advanced Data Logging

Locate files� The Data Locations property in the Target properties defines where data

is located on the HMI Terminal.

HMI V1.1 – July 07 - English 38

Page 39: IyCnet Vdesigner 4 5 Advanced Data Logging

Part 1 Introduction

Part 3 Trends

Part 2 Data Logging Group

HMI V1.1 – July 07 - English 39

Part 6 Print DataPart 5 Run Time Data

Part 4 Recipes

Page 40: IyCnet Vdesigner 4 5 Advanced Data Logging

Print logged data� From HMI Terminal

� Alarm message printing:– Printing alarms when the occur– Batch printing (print an entire alarm group’s alarm messages)

� Screen snapshots printing:– Parameters

HMI V1.1 – July 07 - English 40

– Control variable

� Video Screen snapshots printing:– Parameters– Control variable

� Print Data (script control)

� From your PC, after retrieval� Logvariable.dat -> logvariable.txt (use word or excel)

� Alarmgroup1.csv (use excel)

Page 41: IyCnet Vdesigner 4 5 Advanced Data Logging

Alarm Message printing

� Real Timeprinting:

print alarmswhenever the

HMI V1.1 – July 07 - English 41

alarm statechanges:- Active- Acknowledge- Unack- Return to normalstate.

Page 42: IyCnet Vdesigner 4 5 Advanced Data Logging

Alarm Message printing

�AlarmMessageBatch printing:

Group

HMI V1.1 – July 07 - English 42

Properties

(Prints all thealarm messagesin the alarmgroup).

Page 43: IyCnet Vdesigner 4 5 Advanced Data Logging

Screen Snapshots printing� DefineVariablesto performthe ScrenSnapshots.

HMI V1.1 – July 07 - English 43

Page 44: IyCnet Vdesigner 4 5 Advanced Data Logging

Video Screen snapshots printing� DefineVariablesto performthe VideoScreen

HMI V1.1 – July 07 - English 44

Snapshots

Page 45: IyCnet Vdesigner 4 5 Advanced Data Logging

Print Data from HMI Terminal

� ScriptControl

See HelpExample:

HMI V1.1 – July 07 - English 45

18.8.7

Page 46: IyCnet Vdesigner 4 5 Advanced Data Logging

To end …

� Use Data Logging Groups to store dynamic data and organize the DataLogging Files.

� Recipes is the simple way to manage the data list exchange betweenHMI Terminal and PLC’s.

HMI V1.1 – July 07 - English 46

� Use the Data Manager as the best way to manage Recipes, DataLogging Groups, Alarms, Videos and Snapshots files on the HMITerminal.

� Print items isn’t a global function, but each item has print attributes tomanage print function. Many New Features available in Vijeo Designer4.5 support printing.

� …