beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 217

background image

P

ROGRAMMING

R

EFERENCE

E

XPRESSION

O

PERATORS

R

EVISION

1

P

AGE

201

P

ROGRAMMING

R

EFERENCE

This section is a summary of all the commands used for programming.

E

XPRESSION

O

PERATORS

For more information on the following operators, refer to the Writing Expression Section of
this manual.

L

OGICAL

C

ONSTANTS

V

ALUE

E

XAMPLE

0

False

1

True

I

NTEGER

C

ONSTANTS

B

ASE

E

XAMPLE

Decimal

123

Binary

0b1111011

Octal

0173

Hexadecimal

0x7B

C

HARACTER

C

ONSTANTS

S

EQUENCE

V

ALUE

ASCII

\a

Hex 0x07, Decimal 7

BEL

\t

Hex 0x09, Decimal 9

TAB

\n

Hex 0x0A, Decimal 10

LF

\f

Hex 0x0C, Decimal 12

FF

\r

Hex 0x0D, Decimal 13

CR

\e

Hex 0x1B, Decimal 27

ESC

\xnnn

The hex value represented by nnn.

-

\nnn

The octal value represented by
nnn.

-

\\

A single backslash character.

-

\'

A single quotation mark character.

-

\"

A double quotation mark character.

-

L

OGIC

O

PERATORS

O

PERATOR

P

RIORITY

E

XAMPLE

Equal To

Group 7

Data == 100

Not Equal To

Group 7

Data != 100

Greater Than

Group 6

Data > 100

Greater Than or Equal To

Group 6

Data >= 100