Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 20

Advertising
background image

F

ACTORY

T

ALK

V

IEW

M

ACHINE

E

DITION

U

SER

S

G

UIDE

xx

• •

If-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-16

Nested if-then-else . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-17

Use write expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23-18

24

Use embedded variables

About embedded variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-1
Where you can create embedded variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-2
Create embedded variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-2
Embedded variable syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-3

Numeric embedded variable syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-3
String embedded variable syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-4
Time and date embedded variable syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-6

How embedded variables are updated at run time . . . . . . . . . . . . . . . . . . . . . . . . . 24-6
How embedded variables are shown at run time . . . . . . . . . . . . . . . . . . . . . . . . . . 24-7

Numeric embedded variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-7
String embedded variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-8
Time and date embedded variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24-8

25

Use parameters and global objects

Use tag placeholders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-1

Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-3
Create parameter files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-4
Use the Parameters editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-5

Use global objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-10

Create global object displays and base objects . . . . . . . . . . . . . . . . . . . . . . . 25-11
Create reference objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-12
Set up reference objects’ link properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-13
Delete the base object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-14

Use global object parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-14
Use controller instruction faceplates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25-17

26

Set up data logging

Summary of steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-1
Data log files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-1
Data Log Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-2

Create Data Log Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-2
Data storage locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-3
Data logging methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-3
Tags in the data log model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-4

Change the data log model used at run time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-4

Advertising