Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 788 -
------------------------------------------------------------------------------
10. Select DMA transmission channel. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
rs_dma
[Syntax]
#include <bios.h>
int rs_dma( int channel ) ;
[Arguments]
channel channel number ( = 0, 1, 2 )
[Return]
Returns zero if successful. If any error, returns non-zero value.
[Description]
Selects the channel which uses the DMA function for transmission.
The DMA transmission is available for only one channel, the channel 1
or the channel 2. Both channel can't use simultaneously the DMA
function. The DMA function for the channel which is selected by this
function goes effective at opening that channel.
Specify the channel number (1 or 2) which uses the DMA function in
"channel". If "0" is specified, the DMA function is effective for
the transmission channel which is opened first. The default selection
is "0".
This function is effective when the DMA function is available (the
CNC parameter No.8650#3 = 1).
[ End of 38serial.man ]