beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 280

background image

G

ET

N

ET

G

ATE

(

PORT

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

264

G

ET

N

ET

G

ATE

(

PORT

)

A

RGUMENT

T

YPE

D

ESCRIPTION

port

int

The index of the Ethernet port. Must be zero.

D

ESCRIPTION

Returns the IP address of the port’s default gateway as a dotted-decimal text string.

F

UNCTION

T

YPE

The function is passive.

R

ETURN

T

YPE

cstring

.

E

XAMPLE

gate := GetNetGate(0)