B&B Electronics VFG3000 - Manual User Manual
Page 326
Advertising

P
ORT
S
ET
RTS(
PORT
,
STATE
)
V
LINX
F
IELDBUS
G
ATEWAY
M
ANAGER
U
SER
M
ANUAL
P
AGE
310
P
ORT
S
ET
RTS(
PORT
,
STATE
)
A
RGUMENT
T
YPE
D
ESCRIPTION
port
int
The raw port to control
state
int
The state of the RTS, true (1) or false (0)
D
ESCRIPTION
Sets the RTS.of the port indicated by port with the setting in state. The port must be
configured to use a raw driver and be on of the serial ports. The state argument can take
values 0 or 1 only.
Note: The communication port number can be identified in Fieldbus Gateway Manager’s
status bar when the port is selected.
F
UNCTION
T
YPE
This function is active.
R
ETURN
T
YPE
This function does not return a value.
E
XAMPLE
PortSetRTS(2, 1)
In this example, the function sets the RTS of the RS232 communication port to true.
Advertising