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

Page 583

Advertising
background image

A

Convert PanelBuilder 1400e applications

A-15

• •

Unsupported expression syntax

This table describes the PanelBuilder 1400e expression syntax that is not supported in
FactoryTalk View with information about how to achieve the same result where possible.

Bitwise Not

Bitwise And

Bitwise Or

Bitwise XOr

If both operands are Byte, Integer,
Long, Variant, or any combination of
these data types, use the FactoryTalk
View syntax. For other data types, no
change is needed.

Not

And

Or

XOr

~ (tilde)

&

| (pipe)

^

Type of expression component or
operator

PanelBuilder 1400e syntax

Equivalent FactoryTalk View syntax
(if any)

Exit statement

Exit

Local variables

DIM varname AS ...

varname =

Integer division

\

(x - (x MOD y))/y

Endif

If then endif

If then else endif

If then else 0

If then else

Select case

Select Case

Case1...CaseN

CaseElse

EndSelect

Use nested if-then-else.

Logical Xor (if one or both operands
are Boolean or Single data types)

Xor

NOT ((x AND y)
OR NOT (x OR y))

Type of expression component or
operator

PanelBuilder 1400e syntax

FactoryTalk View syntax

Advertising