beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 312

background image

M

IN

(

A

,

B

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

296

M

IN

(

A

,

B

)

A

RGUMENT

T

YPE

D

ESCRIPTION

a

int

/

float

The first value to be compared.

b

int

/

float

The second value to be compared.

D

ESCRIPTION

Returns the smaller of the two arguments.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

int

or

float

, depending on the type of the arguments.

E

XAMPLE

Smaller := Min(Tank1, Tank2)