DATA Logging & ManagementVijeo Designer V4.5V1.1 July, 4th 2007
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
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
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
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
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
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
Configure Data Logging Group� Use the 3 tabs to configure the logging group’s properties
HMI V1.1 – July 07 - English 8
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
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.
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)
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.
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.
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.
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
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
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
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
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
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
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
Recipe Properties
HMI V1.1 – July 07 - English 22
Download RecipeGroup to internalmemory or CF Card
Control Variables forrecipe management
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
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
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
Security Recipe Functions� Access defined by:
HMI V1.1 – July 07 - English 26
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
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)
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
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
Data Manager - 3 (Ethernet)� Define files and operations
HMI V1.1 – July 07 - English 31
Data Manager - 4 (Ethernet)� A Recipe Project Identifier is required to transfer recipes.
HMI V1.1 – July 07 - English 32
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.
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
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)
Transfer files by FTP Server - 1� Use a Client FTP Software, for example:
HMI V1.1 – July 07 - English 36
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
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
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
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)
Alarm Message printing
� Real Timeprinting:
print alarmswhenever the
HMI V1.1 – July 07 - English 41
alarm statechanges:- Active- Acknowledge- Unack- Return to normalstate.
Alarm Message printing
�AlarmMessageBatch printing:
Group
HMI V1.1 – July 07 - English 42
Properties
(Prints all thealarm messagesin the alarmgroup).
Screen Snapshots printing� DefineVariablesto performthe ScrenSnapshots.
HMI V1.1 – July 07 - English 43
Video Screen snapshots printing� DefineVariablesto performthe VideoScreen
HMI V1.1 – July 07 - English 44
Snapshots
Print Data from HMI Terminal
� ScriptControl
See HelpExample:
HMI V1.1 – July 07 - English 45
18.8.7
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.
� …