Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 778 -
------------------------------------------------------------------------------
2. Close communication channel <Main,Alarm,Comm >
------------------------------------------------------------------------------
[Name]
rs_close
[Syntax]
#include <bios.h>
int rs_close( int channel ) ;
[Argument]
channel channel number ( = 1, 2 )
[Return]
Returns zero if successful. If any error, returns non-zero value.
[Description]
Stops using specified communication channel.
If "1" is specified for param->dc_put of rs_open() function, DC3 code
(for receive mode) or DC4 code (for send mode) is sent via
communication channel.