beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 288

background image

G

ET

R

EAL

T

AG

(

INDEX

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

272

G

ET

R

EAL

T

AG

(

INDEX

)

A

RGUMENT

T

YPE

D

ESCRIPTION

index

int

Tag index number

D

ESCRIPTION

Returns the value of the real tag specified by

index

. The index can be found from the tag

label using the function

FindTagIndex().

This function will only work if the targeted tag is

a real (floating point).

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

float.

E

XAMPLE

Value = GetRealTag(10)

Returns the floating-point value of the tag with index 10.

Value = GetRealTag(FindTagIndex(“Power”))

Returns the floating-point value from the tag with label

Power

.