Moxa Technologies INTELLIO C218 User Manual

Page 70

Advertising
background image

4-16

Intellio C218Turbo /PCI User's Manual

Solution 2

There's a dedicated RS-485 function in

PComm library. It integrates the above

functions of solution 1 regarding sending data as one.

sio_putb_x(port, buff, tick ); /*

1. Turn on RTS and ready for

transmitting data.

2. Send data.
3. Wait for tick time.
4. Turn off RTS and ready for

receiving data. */

For more information on these functions, please refer to

PComm library on-line Help

file for Windows NT and Windows 95/98.

Advertising