beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 260

background image

F

ORCE

(T

AG

,

V

ALUE

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

244

F

ORCE

(T

AG

,

V

ALUE

)

A

RGUMENT

T

YPE

D

ESCRIPTION

Tag

int/float

Tag which will be forced

Value

int/float

Value to be written to the Tag

D

ESCRIPTION

Sets tag to value, removing any existing entries for tag from the write queue and performing
the write whether or not the operation results in a change to the value of tag. This operation
can be useful when making changes to a block of contiguous registers within a remote device,
as it will allow the comms subsystem to write all the changes in a single operation, assuming
the driver is capable of same. Using the usual assignment operator may result in “holes” in
the written data where changes are not being made, forcing the comms subsystem to perform
multiple writes.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

Force(Var1,10);