beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 342

background image

S

ET

I

NT

T

AG

(

INDEX

,

VALUE

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

326

S

ET

I

NT

T

AG

(

INDEX

,

VALUE

)

A

RGUMENT

T

YPE

D

ESCRIPTION

index

int

Tag index number

value

int

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 an integer.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

SetIntTag(5,1234)

Set the tag of index 5 with value 1234.