Moxa Technologies INTELLIO C218 Manual de usuario Pagina 73

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 100
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 72
Serial Programming Tools
Intellio C218Turbo User's Manual 4-19
sio_write(port, buff, 10); /* Write 10 byte characters in "buff".
The function blocks until last
character transmitted */
sio_RTS(port, 0); /* Turn off RTS signal. The RS-485
port is ready for receiving data. */
sio_read(port, buff, 10); /* Read 10 bytes */
Solution 2
There is a dedicated RS-458 function in PComm or API-232 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 or API-232.txt file for DOS, respectively.
Vista de pagina 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 99 100

Comentarios a estos manuales

Sin comentarios