Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data...

16
Schutzvermerk nach DIN 34 beachten EPAM: Trend

Transcript of Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data...

Page 1: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

EPAM: Trend

Page 2: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

How does the data get from the PLC to the visualization ?

LogStructure.Var1.Var2

.

.

.

Symbol file

LogStructure.Var1:=Sin(x)

PLC EPAM

Datalog.log

Trend

Page 3: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

How to define the structure in the PLC ?

Definition of the data transfer structure1

Declaration of the structure2

Loading of data into the structure3

Create symbol file

;Version=2;ProjectId=437778.VisuTrend1:DATA....VisuTrend1.Ctrl:DWORD....VisuTrend1.TimeStamp:DWORD....VisuTrend1.VisuTrendValue1:INT....VisuTrend1.VisuTrendValue2:INT....VisuTrend1.VisuTrendValue3:INT....VisuTrend1.VisuTrendValue4:INT...

4

VisuTrend1.Ctrl:=1; (*Start DataLogger*)

Page 4: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Specifics for the creation of the symbol file

You need only the Structure entry for datalogging!

Page 5: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

How to define the Datalogger?

Object Text/File Font Action VarValue VarType

#Page=Init

#ScreenSaver Touch me Arial12.FNT Click=Inside WORD

#DataLog TrendLog.TXT PLC/VisuTrend1 STRING

Format VarType Comment#size=100 Size of Logf ile in kB#f ile=Trend_UI.log Logf ile name#seperator=; Separator betw een columns#dt=5 Timescale[s]%6d INT INT-Variable (Dezimale Darstellung) %6d INT INT-Variable (Dezimale Darstellung) %6d INT INT-Variable (Dezimale Darstellung) %6d INT INT-Variable (Dezimale Darstellung)

TrendLog.TXT:

Assign the structuredefined in the PLC

Click!1

2 3Define name of the EXCEL tab

4Name the log file

5 Reduce the number of variables to the actualnumber of variables in the structure.The format for data type INT is %6d.

Page 6: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

How to define the Trend?

Object Text/File Font Action VarValue VarType#Page=Trend Trend Arial12.FNT#Trend TrendDIM.TXT Arial12.FNT

Click!1

2 Define name of the EXCEL tab

Format Comment

#Title=Messung U/I ...Diagrammtitle

#Seperator=; ...Seperator in datalogf ile

#Orientation=horizontal ...Orientation horizontal or vertical

#Flow=Right2Left ...Flow of Trend Left2Right or Right2Left

#File=Trend_UI.log ...[Path/]Name of the dataf ile (path optional, w ithout path the PATH_LOG w ill be used)

TrendDIM.TXT

Enter the log name previously definedin the file TrendLog.txt.

3

Page 7: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Page 8: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Page 9: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Parametrizing the trend visualizationFormat Comment

#Title=Measure U/I ...Diagrammtitle

#Seperator=; ...Seperator in datalogf ile

#Orientation=horizontal ...Orientation horizontal or vertical

#Flow=Right2Left ...Flow of Trend Left2Right or Right2Left

#File=Trend_UI.log ...[Path/]Name of the dataf ile (path optional, w ithout path the PATH_LOG w ill be used)

#X=[t] ...Name of X-Axis

#format_time=%H:%M:%S ...Time Format of the X-axis

#format_date=%d-%m-%y ...Date Format of the X-axis

#range=360 ...Range of X-Axis in seconds (mm:ss), minutes(hh:mm) or days (dd:mm)

#dt=1 ...Sampletime in seconds (mm:ss), minutes(hh:mm) or days (dd:mm)

#GridX=90 ...Lettering Grid on X

#y=[U] ...1. Y-Curve (Name,color)

#Type=INT ...IEC Datatype (BYTE, SINT, USINT, WORD, INT, UINT, DWORD, DINT, UDINT, REAL)

#color=green ...curve-color

#max=250 ...Ymax

#min=-250 ...Ymin

#GridY=50 ...Lettering Grid on Trend 1

#y=[I] ...3. Y-Curve (Name,color)

#Type=REAL ...IEC Datatype (BYTE, SINT, USINT, WORD, INT, UINT, DWORD, DINT, UDINT, REAL)

#color=red ...curve-color

#max=100 ...Ymax

#min=-100 ...Ymin

#GridY=50 ...Lettering Grid on Trend 3

[I]100

50

0

-50

-100

[U]25020015010050

0-50

-100-150-200-250

Measure U/I

16:23:5210-07-03

16:23:2210-07-03

16:23:5710-07-03

16:23:2210-07-03

Refresh rate

Page 10: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Exercise: Create a trend visualization

[I]100

50

0

-50

-100

[U]25020015010050

0-50

-100-150-200-250

Measure U/I

16:23:5210-07-03

16:23:2210-07-03

16:23:5710-07-03

16:23:2210-07-03

Page 11: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Solution: Create a trend visualization

[I]100

50

0

-50

-100

[U]25020015010050

0-50

-100-150-200-250

Measure U/I

16:23:5210-07-03

16:23:2210-07-03

16:23:5710-07-03

16:23:2210-07-03

Page 12: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

[I]100

50

0

-50

-100

[U]25020015010050

0-50

-100-150-200-250

Measure U/I

16:23:5210-07-03

16:23:2210-07-03

16:23:5710-07-03

16:23:2210-07-03

SolutionSolution: Create a trend visualization

Page 13: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Exercise: Additional comfort for the trend visualization

<< < <I Online I> > >> Zoom+

Zoom-

EraseTrend

StoreTrendObject Trend

Actual value U= 000 Actual value I= 000

Page 14: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Solution: Additional comfort for the trend visualization

Page 15: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Solution: Additional comfort for the trend visualization

Page 16: Schutzvermerk nach DIN 34 beachten EPAM: Trend. Schutzvermerk nach DIN 34 beachten How does the data get from the PLC to the visualization ? LogStructure.Var1.Var2.

Sch

utz

verm

erk

na

ch D

IN 3

4 b

eac

hte

n

Solution: Additional comfort for the trend visualization