beautypg.com

Tcp/ip – B&B Electronics VFG3000 - Manual User Manual

Page 201

background image

U

SING

R

AW

P

ORTS

C

ONFIGURING A

S

ERIAL

P

ORT

R

EVISION

1

P

AGE

185

U

SING

R

AW

P

ORTS

In order to allow customers to implement simple ASCII protocols without having to ask B&B
Electronics to develop custom drivers, Fieldbus Gateway Manager provides a new facility
whereby the software’s programming language can be used to directly control either serial
ports or TCP/IP network sockets. Note that if you are not using custom ASCII protocols, but
are instead using the standard drivers provided with Fieldbus Gateway Manager, you can skip
this section.

C

ONFIGURING A

S

ERIAL

P

ORT

To use a serial port in raw mode, select the Raw Serial Port driver as shown…

The port’s Baud rate and other byte format parameters should be configured to indicate the
required communications settings, and the On Update property should be set to specify the
program that will be performing the communication. This program will be called continually
by the port’s communications task.

C

ONFIGURING A

TCP/IP

S

OCKET

To use a TCP/IP socket in raw mode, select the Raw TCP/IP Passive driver as shown…