Equivalent expression syntax – Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 582

Advertising
background image

F

ACTORY

T

ALK

V

IEW

M

ACHINE

E

DITION

U

SER

S

G

UIDE

A-14

• •

Some PanelBuilder 1400e objects support both tags and expressions. For these objects, if
the text assigned to a connection could be valid syntax for both a tag and an expression,
the connection is treated as an expression, and is therefore turned off.

For example, N20-0_String_64 could be the name of a tag, or it could be an expression
that subtracts “0_String_64” from the tag “N20.” The text would be converted as an
expression, and turned off.

To turn on an expression

1. Select the object containing the expression.

2. Open the Property Panel, and then click the Connections tab.

3. In the Exprn column, click the Browse button beside the expression to turn on.

4. In the Expression editor, delete the warning text and exclamation marks.

5. Revise the expression, if necessary, using the tables in the following three sections as

guides.

6. Click Check Syntax.

For more information about using the Expression editor, see Chapter 23 or Help.

Equivalent expression syntax

This table describes FactoryTalk View expression syntax that is equivalent to
PanelBuilder 1400e syntax. When you edit the converted expressions, replace the
PanelBuilder 1400e syntax with the FactoryTalk View equivalent.

Syntax that is not listed in this table or in the next section is okay the way it is.

Type of expression component or
operator

PanelBuilder 1400e syntax

FactoryTalk View syntax

Comment

REM or ‘

!

Line continuation

_ (underscore)

Not needed.

Equality

( = )

EQ or ==

Browse button

Advertising