beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 348

background image

S

ET

R

EAL

T

AG

(

INDEX

,

VALUE

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

332

S

ET

R

EAL

T

AG

(

INDEX

,

VALUE

)

A

RGUMENT

T

YPE

D

ESCRIPTION

index

int

Tag index number

value

float

The value to be assigned

D

ESCRIPTION

This function sets the tag specified by

index

to the specified value. The index can be found

from the tag label using the function

FindTagIndex()

.This function will only work if the

target tag is a real (floating point).

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

SetRealTag(5, 12.55)

Set the real tag of index 5 with value 12.55.