Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 774 -
(4) After channel is closed
hardware flow ctrl no hardware flow ctrl
-------+-----------------------+---------------------
SD
RD
RS OFF <-
CS
ER OFF <-
DR
CD
List of functions
~~~~~~~~~~~~~~~~~
--------------------------------------------------------------------------
Name Function
--------------------------------------------------------------------------
1. rs_open Initialize communication channel
2. rs_close Close communication channel
3. rs_putc Put one byte data into transmit buffer
4. rs_getc Get one byte data from receive buffer
5. rs_write Put block of data into transmit buffer
6. rs_read Get block of data from receive buffer
7. rs_buffer Test or clear transmit/receive buffer
8. rs_status Get status of communication buffer and
interface
9. rs_wait Wait for communication interface event
10. rs_dma Select DMA transmission channel.
--------------------------------------------------------------------------
(note 1) Even if communication interface is in erroneous state, the serial
library functions do not return errors. The functions, rs_putc(),
rs_getc(), rs_write(), rs_read() returns error only when inadequate
manipulation of send or receive buffer is attempted. To know the state
of the communication interface, use the function, rs_status().
(note 2) The serial library functions do not check the signal, DR. It should
be checked by application program if necessary.